Lines Matching refs:s_aAutoReleaseKey
33 oslThreadKey SalData::s_aAutoReleaseKey = 0; member in SalData
62 if( s_aAutoReleaseKey == 0 ) in SalData()
63 s_aAutoReleaseKey = osl_createThreadKey( releasePool ); in SalData()
78 if( s_aAutoReleaseKey ) in ~SalData()
82 pPool = reinterpret_cast<NSAutoreleasePool*>( osl_getThreadKeyData( s_aAutoReleaseKey ) ); in ~SalData()
85 osl_setThreadKeyData( s_aAutoReleaseKey, NULL ); in ~SalData()
89 osl_destroyThreadKey( s_aAutoReleaseKey ); in ~SalData()
90 s_aAutoReleaseKey = 0; in ~SalData()
99 if( s_aAutoReleaseKey ) in ensureThreadAutoreleasePool()
101 pPool = reinterpret_cast<NSAutoreleasePool*>( osl_getThreadKeyData( s_aAutoReleaseKey ) ); in ensureThreadAutoreleasePool()
105 osl_setThreadKeyData( s_aAutoReleaseKey, pPool ); in ensureThreadAutoreleasePool()
117 if( s_aAutoReleaseKey ) in drainThreadAutoreleasePool()
119 pPool = reinterpret_cast<NSAutoreleasePool*>( osl_getThreadKeyData( s_aAutoReleaseKey ) ); in drainThreadAutoreleasePool()
129 osl_setThreadKeyData( s_aAutoReleaseKey, pPool ); in drainThreadAutoreleasePool()