Lines Matching refs:pInst
212 WinSalInstance* pInst = GetSalData()->mpFirstInstance; in ImplSalYieldMutexAcquireWithWait() local
213 if ( !pInst ) in ImplSalYieldMutexAcquireWithWait()
229 if ( pInst->mpSalYieldMutex->tryToAcquire() ) in ImplSalYieldMutexAcquireWithWait()
233 pInst->mpSalWaitMutex->acquire(); in ImplSalYieldMutexAcquireWithWait()
234 if ( pInst->mpSalYieldMutex->tryToAcquire() ) in ImplSalYieldMutexAcquireWithWait()
237 pInst->mpSalWaitMutex->release(); in ImplSalYieldMutexAcquireWithWait()
241 pInst->mnYieldWaitCount++; in ImplSalYieldMutexAcquireWithWait()
242 pInst->mpSalWaitMutex->release(); in ImplSalYieldMutexAcquireWithWait()
244 … ImplGetMessage( &aTmpMsg, pInst->mhComWnd, SAL_MSG_RELEASEWAITYIELD, SAL_MSG_RELEASEWAITYIELD ); in ImplSalYieldMutexAcquireWithWait()
245 pInst->mnYieldWaitCount--; in ImplSalYieldMutexAcquireWithWait()
246 if ( pInst->mnYieldWaitCount ) in ImplSalYieldMutexAcquireWithWait()
247 ImplPostMessage( pInst->mhComWnd, SAL_MSG_RELEASEWAITYIELD, 0, 0 ); in ImplSalYieldMutexAcquireWithWait()
254 pInst->mpSalYieldMutex->acquire(); in ImplSalYieldMutexAcquireWithWait()
261 WinSalInstance* pInst = GetSalData()->mpFirstInstance; in ImplSalYieldMutexTryToAcquire() local
262 if ( pInst ) in ImplSalYieldMutexTryToAcquire()
263 return pInst->mpSalYieldMutex->tryToAcquire(); in ImplSalYieldMutexTryToAcquire()
272 WinSalInstance* pInst = GetSalData()->mpFirstInstance; in ImplSalYieldMutexAcquire() local
273 if ( pInst ) in ImplSalYieldMutexAcquire()
274 pInst->mpSalYieldMutex->acquire(); in ImplSalYieldMutexAcquire()
281 WinSalInstance* pInst = GetSalData()->mpFirstInstance; in ImplSalYieldMutexRelease() local
282 if ( pInst ) in ImplSalYieldMutexRelease()
285 pInst->mpSalYieldMutex->release(); in ImplSalYieldMutexRelease()
293 WinSalInstance* pInst = GetSalData()->mpFirstInstance; in ImplSalReleaseYieldMutex() local
294 if ( !pInst ) in ImplSalReleaseYieldMutex()
297 SalYieldMutex* pYieldMutex = pInst->mpSalYieldMutex; in ImplSalReleaseYieldMutex()
313 WinSalInstance* pInst = GetSalData()->mpFirstInstance; in ImplSalAcquireYieldMutex() local
314 if ( !pInst ) in ImplSalAcquireYieldMutex()
317 SalYieldMutex* pYieldMutex = pInst->mpSalYieldMutex; in ImplSalAcquireYieldMutex()
579 WinSalInstance* pInst = new WinSalInstance; in CreateSalInstance() local
582 pSalData->mpFirstInstance = pInst; in CreateSalInstance()
583 pInst->mhInst = pSalData->mhInst; in CreateSalInstance()
584 pInst->mhComWnd = hComWnd; in CreateSalInstance()
589 return pInst; in CreateSalInstance()
594 void DestroySalInstance( SalInstance* pInst ) in DestroySalInstance() argument
603 if ( pSalData->mpFirstInstance == pInst ) in DestroySalInstance()
606 delete pInst; in DestroySalInstance()
778 WinSalInstance* pInst = GetSalData()->mpFirstInstance; in SalComWndProc() local
779 if ( pInst && pInst->mnYieldWaitCount ) in SalComWndProc()