Lines Matching refs:pId
163 IdContainer * pId = reinterpret_cast< IdContainer * >( p ); in delete_IdContainer() local
164 if (pId->pCurrentContext) in delete_IdContainer()
166 (*pId->pCurrentContextEnv->releaseInterface)( in delete_IdContainer()
167 pId->pCurrentContextEnv, pId->pCurrentContext ); in delete_IdContainer()
168 (*((uno_Environment *)pId->pCurrentContextEnv)->release)( in delete_IdContainer()
169 (uno_Environment *)pId->pCurrentContextEnv ); in delete_IdContainer()
171 if (pId->bInit) in delete_IdContainer()
173 ::rtl_byte_sequence_release( pId->pLocalThreadId ); in delete_IdContainer()
174 ::rtl_byte_sequence_release( pId->pCurrentId ); in delete_IdContainer()
176 delete pId; in delete_IdContainer()
185 IdContainer * pId = reinterpret_cast< IdContainer * >( ::osl_getThreadKeyData( aKey ) ); in getIdContainer() local
186 if (! pId) in getIdContainer()
188 pId = new IdContainer(); in getIdContainer()
189 pId->pCurrentContext = 0; in getIdContainer()
190 pId->pCurrentContextEnv = 0; in getIdContainer()
191 pId->bInit = sal_False; in getIdContainer()
192 ::osl_setThreadKeyData( aKey, pId ); in getIdContainer()
194 return pId; in getIdContainer()
205 IdContainer * pId = getIdContainer(); in uno_setCurrentContext() local
206 OSL_ASSERT( pId ); in uno_setCurrentContext()
209 if (pId->pCurrentContext) in uno_setCurrentContext()
211 (*pId->pCurrentContextEnv->releaseInterface)( in uno_setCurrentContext()
212 pId->pCurrentContextEnv, pId->pCurrentContext ); in uno_setCurrentContext()
213 (*((uno_Environment *)pId->pCurrentContextEnv)->release)( in uno_setCurrentContext()
214 (uno_Environment *)pId->pCurrentContextEnv ); in uno_setCurrentContext()
215 pId->pCurrentContextEnv = 0; in uno_setCurrentContext()
217 pId->pCurrentContext = 0; in uno_setCurrentContext()
229 pId->pCurrentContextEnv = pEnv->pExtEnv; in uno_setCurrentContext()
230 (*pId->pCurrentContextEnv->acquireInterface)( in uno_setCurrentContext()
231 pId->pCurrentContextEnv, pCurrentContext ); in uno_setCurrentContext()
232 pId->pCurrentContext = pCurrentContext; in uno_setCurrentContext()
252 IdContainer * pId = getIdContainer(); in uno_getCurrentContext() local
253 OSL_ASSERT( pId ); in uno_getCurrentContext()
274 if (0 == pId->pCurrentContext) in uno_getCurrentContext()
285 Mapping mapping((uno_Environment *) pId->pCurrentContextEnv, target_env.get()); in uno_getCurrentContext()
290 … mapping.mapInterface(ppCurrentContext, pId->pCurrentContext, ::cppu::get_type_XCurrentContext() ); in uno_getCurrentContext()