Lines Matching refs:aMutex
391 Mutex aMutex; in TEST_F() local
393 sal_Bool bRes = aMutex.acquire( ); in TEST_F()
395 HoldThread myThread( &aMutex ); in TEST_F()
403 aMutex.release( ); in TEST_F()
415 Mutex aMutex; in TEST_F() local
417 sal_Bool bRes = aMutex.acquire(); in TEST_F()
418 sal_Bool bRes1 = aMutex.acquire(); in TEST_F()
420 sal_Bool bRes2 = aMutex.tryToAcquire(); in TEST_F()
422 aMutex.release(); in TEST_F()
441 Mutex aMutex; in TEST_F() local
442 WaitThread myThread(&aMutex); in TEST_F()
448 sal_Bool bRes1 = aMutex.tryToAcquire(); in TEST_F()
451 aMutex.release(); in TEST_F()
455 sal_Bool bRes2 = aMutex.tryToAcquire(); in TEST_F()
458 aMutex.release(); in TEST_F()
476 Mutex aMutex; in TEST_F() local
477 WaitThread myThread( &aMutex ); in TEST_F()
484 sal_Bool bRes1 = aMutex.tryToAcquire( ); in TEST_F()
488 sal_Bool bRes2 = aMutex.tryToAcquire( ); in TEST_F()
491 aMutex.release( ); in TEST_F()
502 Mutex aMutex; in TEST_F()
503 sal_Bool bRes1 = aMutex.release( ); in TEST_F()
504 sal_Bool bRes2 = aMutex.release( ); in TEST_F()
594 Mutex aMutex; in TEST_F() local
595 GuardThread myThread(&aMutex); in TEST_F()
599 sal_Bool bRes = aMutex.tryToAcquire(); in TEST_F()
604 sal_Bool bRes2 = aMutex.tryToAcquire(); in TEST_F()
611 Mutex aMutex; in TEST_F() local
614 MutexGuard myGuard( aMutex ); in TEST_F()
617 GuardThread myThread( &aMutex ); in TEST_F()
625 aMutex.release( ); in TEST_F()
677 Mutex aMutex; in TEST_F() local
680 ClearableMutexGuard myMutexGuard( &aMutex ); in TEST_F()
683 sal_Bool bRes = aMutex.release( ); in TEST_F()
690 Mutex aMutex; in TEST_F() local
693 ClearableMutexGuard myMutexGuard( aMutex ); in TEST_F()
696 sal_Bool bRes = aMutex.release( ); in TEST_F()
708 Mutex aMutex; in TEST_F() local
709 ClearGuardThread myThread(&aMutex); in TEST_F()
719 if (aMutex.tryToAcquire() == sal_True) in TEST_F()
737 Mutex aMutex; in TEST_F() local
740 ClearableMutexGuard myMutexGuard( &aMutex ); in TEST_F()
743 HoldThread myThread( &aMutex ); in TEST_F()
801 Mutex aMutex; in TEST_F() local
804 ResettableMutexGuard myMutexGuard( &aMutex ); in TEST_F()
807 sal_Bool bRes = aMutex.release( ); in TEST_F()
814 Mutex aMutex; in TEST_F() local
817 ResettableMutexGuard myMutexGuard( aMutex ); in TEST_F()
820 sal_Bool bRes = aMutex.release( ); in TEST_F()
834 Mutex aMutex; in TEST_F() local
835 ResetGuardThread myThread( &aMutex ); in TEST_F()
836 ResettableMutexGuard myMutexGuard( aMutex ); in TEST_F()
846 sal_Bool bRes1 = aMutex.release( ); in TEST_F()
855 Mutex aMutex; in TEST_F() local
856 ResettableMutexGuard myMutexGuard( &aMutex ); in TEST_F()
860 sal_Bool bRes = aMutex.release( ); in TEST_F()
864 sal_Bool bRes1 = aMutex.release( ); in TEST_F()