Lines Matching refs:pRef

2363 	typelib_TypeDescriptionReference * pRef )  in typelib_typedescriptionreference_acquire()  argument
2366 ::osl_incrementInterlockedCount( &pRef->nRefCount ); in typelib_typedescriptionreference_acquire()
2371 typelib_TypeDescriptionReference * pRef ) in typelib_typedescriptionreference_release() argument
2375 if( reallyWeak( pRef->eTypeClass ) ) in typelib_typedescriptionreference_release()
2377 if( ! ::osl_decrementInterlockedCount( &pRef->nRefCount ) ) in typelib_typedescriptionreference_release()
2383 WeakMap_Impl::iterator aIt = rInit.pWeakMap->find( (sal_Unicode*)pRef->pTypeName->buffer ); in typelib_typedescriptionreference_release()
2384 if( !(aIt == rInit.pWeakMap->end()) && (*aIt).second == pRef ) in typelib_typedescriptionreference_release()
2391 rtl_uString_release( pRef->pTypeName ); in typelib_typedescriptionreference_release()
2392 OSL_ASSERT( pRef->pType == 0 ); in typelib_typedescriptionreference_release()
2396 delete pRef; in typelib_typedescriptionreference_release()
2401 typelib_typedescription_release( (typelib_TypeDescription *)pRef ); in typelib_typedescriptionreference_release()
2407 typelib_TypeDescription ** ppRet, typelib_TypeDescriptionReference * pRef ) in typelib_typedescriptionreference_getDescription() argument
2416 if( !reallyWeak( pRef->eTypeClass ) && pRef->pType && pRef->pType->pWeakRef ) in typelib_typedescriptionreference_getDescription()
2419 osl_incrementInterlockedCount( &((typelib_TypeDescription *)pRef)->nRefCount ); in typelib_typedescriptionreference_getDescription()
2420 *ppRet = (typelib_TypeDescription *)pRef; in typelib_typedescriptionreference_getDescription()
2427 if( pRef->pType && pRef->pType->pWeakRef ) in typelib_typedescriptionreference_getDescription()
2429 sal_Int32 n = ::osl_incrementInterlockedCount( &pRef->pType->nRefCount ); in typelib_typedescriptionreference_getDescription()
2434 *ppRet = pRef->pType; in typelib_typedescriptionreference_getDescription()
2439 ::osl_decrementInterlockedCount( &pRef->pType->nRefCount ); in typelib_typedescriptionreference_getDescription()
2442 pRef->pType = 0; in typelib_typedescriptionreference_getDescription()
2447 typelib_typedescription_getByName( ppRet, pRef->pTypeName ); in typelib_typedescriptionreference_getDescription()
2448 …OSL_ASSERT( !*ppRet || rtl_ustr_compare( pRef->pTypeName->buffer, (*ppRet)->pTypeName->buffer ) ==… in typelib_typedescriptionreference_getDescription()
2449 OSL_ASSERT( !*ppRet || pRef->eTypeClass == (*ppRet)->eTypeClass ); in typelib_typedescriptionreference_getDescription()
2450 OSL_ASSERT( !*ppRet || pRef == (*ppRet)->pWeakRef ); in typelib_typedescriptionreference_getDescription()
2451 pRef->pType = *ppRet; in typelib_typedescriptionreference_getDescription()