Lines Matching refs:pPool
35 static void SAL_CALL releasePool( void* pPool ) in releasePool() argument
37 if( pPool ) in releasePool()
38 [(NSAutoreleasePool*)pPool release]; in releasePool()
81 NSAutoreleasePool* pPool = nil; in ~SalData() local
82 pPool = reinterpret_cast<NSAutoreleasePool*>( osl_getThreadKeyData( s_aAutoReleaseKey ) ); in ~SalData()
83 if( pPool ) in ~SalData()
86 [pPool release]; in ~SalData()
98 NSAutoreleasePool* pPool = nil; in ensureThreadAutoreleasePool() local
101 pPool = reinterpret_cast<NSAutoreleasePool*>( osl_getThreadKeyData( s_aAutoReleaseKey ) ); in ensureThreadAutoreleasePool()
102 if( ! pPool ) in ensureThreadAutoreleasePool()
104 pPool = [[NSAutoreleasePool alloc] init]; in ensureThreadAutoreleasePool()
105 osl_setThreadKeyData( s_aAutoReleaseKey, pPool ); in ensureThreadAutoreleasePool()
116 NSAutoreleasePool* pPool = nil; in drainThreadAutoreleasePool() local
119 pPool = reinterpret_cast<NSAutoreleasePool*>( osl_getThreadKeyData( s_aAutoReleaseKey ) ); in drainThreadAutoreleasePool()
120 if( pPool ) in drainThreadAutoreleasePool()
124 [pPool drain]; in drainThreadAutoreleasePool()
128 pPool = [[NSAutoreleasePool alloc] init]; in drainThreadAutoreleasePool()
129 osl_setThreadKeyData( s_aAutoReleaseKey, pPool ); in drainThreadAutoreleasePool()