Lines Matching refs:that
262 uno_DefaultEnvironment * that = in defenv_registerInterface() local
264 ::osl::ClearableMutexGuard guard( that->mutex ); in defenv_registerInterface()
268 that->aOId2ObjectMap.insert( OId2ObjectMap::value_type( rOId, 0 ) ) ); in defenv_registerInterface()
274 pOEntry->append( that, *ppInterface, pTypeDescr, 0 ); in defenv_registerInterface()
296 pOEntry->append( that, *ppInterface, pTypeDescr, 0 ); in defenv_registerInterface()
310 uno_DefaultEnvironment * that = in defenv_registerProxyInterface() local
312 ::osl::ClearableMutexGuard guard( that->mutex ); in defenv_registerProxyInterface()
316 that->aOId2ObjectMap.insert( OId2ObjectMap::value_type( rOId, 0 ) ) ); in defenv_registerProxyInterface()
322 pOEntry->append( that, *ppInterface, pTypeDescr, freeProxy ); in defenv_registerProxyInterface()
354 pOEntry->append( that, *ppInterface, pTypeDescr, freeProxy ); in defenv_registerProxyInterface()
366 uno_DefaultEnvironment * that = in s_stub_defenv_revokeInterface() local
368 ::osl::ClearableMutexGuard guard( that->mutex ); in s_stub_defenv_revokeInterface()
371 that->aPtr2ObjectMap.find( pInterface ) ); in s_stub_defenv_revokeInterface()
372 OSL_ASSERT( iFind != that->aPtr2ObjectMap.end() ); in s_stub_defenv_revokeInterface()
377 that->aOId2ObjectMap.erase( pOEntry->oid ); in s_stub_defenv_revokeInterface()
381 that->aPtr2ObjectMap.erase( pOEntry->aInterfaces[nPos].pInterface ); in s_stub_defenv_revokeInterface()
436 that->aPtr2ObjectMap.erase( pInterface ); in s_stub_defenv_revokeInterface()
466 uno_DefaultEnvironment * that = in defenv_getObjectIdentifier() local
468 ::osl::ClearableMutexGuard guard( that->mutex ); in defenv_getObjectIdentifier()
471 that->aPtr2ObjectMap.find( pInterface ) ); in defenv_getObjectIdentifier()
472 if (iFind == that->aPtr2ObjectMap.end()) in defenv_getObjectIdentifier()
498 uno_DefaultEnvironment * that = in defenv_getRegisteredInterface() local
500 ::osl::MutexGuard guard( that->mutex ); in defenv_getRegisteredInterface()
503 ( that->aOId2ObjectMap.find( rOId ) ); in defenv_getRegisteredInterface()
504 if (iFind != that->aOId2ObjectMap.end()) in defenv_getRegisteredInterface()
521 uno_DefaultEnvironment * that = in defenv_getRegisteredInterfaces() local
523 ::osl::MutexGuard guard( that->mutex ); in defenv_getRegisteredInterfaces()
525 sal_Int32 nLen = that->aPtr2ObjectMap.size(); in defenv_getRegisteredInterfaces()
529 Ptr2ObjectMap::const_iterator iPos( that->aPtr2ObjectMap.begin() ); in defenv_getRegisteredInterfaces()
530 Ptr2ObjectMap::const_iterator const iEnd( that->aPtr2ObjectMap.end() ); in defenv_getRegisteredInterfaces()
544 uno_DefaultEnvironment * that = (uno_DefaultEnvironment *)pEnv; in defenv_acquire() local
545 ::osl_incrementInterlockedCount( &that->nWeakRef ); in defenv_acquire()
546 ::osl_incrementInterlockedCount( &that->nRef ); in defenv_acquire()
552 uno_DefaultEnvironment * that = (uno_DefaultEnvironment *)pEnv; in defenv_release() local
553 if (! ::osl_decrementInterlockedCount( &that->nRef )) in defenv_release()
561 OSL_ENSURE( that->aOId2ObjectMap.empty(), "### object entries left!" ); in defenv_release()
564 if (! ::osl_decrementInterlockedCount( &that->nWeakRef )) in defenv_release()
566 delete that; in defenv_release()
573 uno_DefaultEnvironment * that = (uno_DefaultEnvironment *)pEnv; in defenv_acquireWeak() local
574 ::osl_incrementInterlockedCount( &that->nWeakRef ); in defenv_acquireWeak()
580 uno_DefaultEnvironment * that = (uno_DefaultEnvironment *)pEnv; in defenv_releaseWeak() local
581 if (! ::osl_decrementInterlockedCount( &that->nWeakRef )) in defenv_releaseWeak()
583 delete that; in defenv_releaseWeak()
602 uno_DefaultEnvironment * that = (uno_DefaultEnvironment *)pEnv; in defenv_harden() local
605 if (1 == ::osl_incrementInterlockedCount( &that->nRef )) // is dead in defenv_harden()
607 that->nRef = 0; in defenv_harden()
611 ::osl_incrementInterlockedCount( &that->nWeakRef ); in defenv_harden()
627 uno_Environment * that = reinterpret_cast< uno_Environment * >(this); in uno_DefaultEnvironment() local
628 that->pReserved = 0; in uno_DefaultEnvironment()
630 that->acquire = defenv_acquire; in uno_DefaultEnvironment()
631 that->release = defenv_release; in uno_DefaultEnvironment()
632 that->acquireWeak = defenv_acquireWeak; in uno_DefaultEnvironment()
633 that->releaseWeak = defenv_releaseWeak; in uno_DefaultEnvironment()
634 that->harden = defenv_harden; in uno_DefaultEnvironment()
635 that->dispose = defenv_dispose; in uno_DefaultEnvironment()
636 that->pExtEnv = this; in uno_DefaultEnvironment()
639 that->pTypeName = rEnvDcp_.pData; in uno_DefaultEnvironment()
640 that->pContext = pContext_; in uno_DefaultEnvironment()
643 that->environmentDisposing = 0; in uno_DefaultEnvironment()
740 uno_DefaultEnvironment * that = in uno_dumpEnvironment() local
742 ::osl::MutexGuard guard( that->mutex ); in uno_dumpEnvironment()
744 Ptr2ObjectMap ptr2obj( that->aPtr2ObjectMap ); in uno_dumpEnvironment()
745 OId2ObjectMap::const_iterator iPos( that->aOId2ObjectMap.begin() ); in uno_dumpEnvironment()
746 while (iPos != that->aOId2ObjectMap.end()) in uno_dumpEnvironment()
1094 uno_DefaultEnvironment * that = (uno_DefaultEnvironment *)pEnv; in initDefaultEnvironment() local
1095 that->computeObjectIdentifier = unoenv_computeObjectIdentifier; in initDefaultEnvironment()
1096 that->acquireInterface = unoenv_acquireInterface; in initDefaultEnvironment()
1097 that->releaseInterface = unoenv_releaseInterface; in initDefaultEnvironment()