Lines Matching refs:pInst
60 SalInstance* pInst = NULL; in tryInstance() local
77 pInst = aProc( aMod ); in tryInstance()
81 pInst ); in tryInstance()
83 if( pInst ) in tryInstance()
127 return pInst; in tryInstance()
190 SalInstance* pInst = NULL; in autodetect_plugin() local
191 while( pList[nListEntry] && pInst == NULL ) in autodetect_plugin()
194 pInst = tryInstance( aTry ); in autodetect_plugin()
196 if( pInst ) in autodetect_plugin()
202 return pInst; in autodetect_plugin()
220 SalInstance* pInst = NULL; in CreateSalInstance() local
225 pInst = check_headless_plugin(); in CreateSalInstance()
227 pInst = tryInstance( OUString::createFromAscii( pUsePlugin ) ); in CreateSalInstance()
229 if( ! pInst ) in CreateSalInstance()
230 pInst = autodetect_plugin(); in CreateSalInstance()
233 if( ! pInst ) in CreateSalInstance()
234 pInst = tryInstance( OUString( RTL_CONSTASCII_USTRINGPARAM( "gen" ) ) ); in CreateSalInstance()
236 if( ! pInst ) in CreateSalInstance()
243 pInst->AcquireYieldMutex( 1 ); in CreateSalInstance()
245 return pInst; in CreateSalInstance()
248 void DestroySalInstance( SalInstance *pInst ) in DestroySalInstance() argument
251 pInst->ReleaseYieldMutex(); in DestroySalInstance()
253 delete pInst; in DestroySalInstance()