Searched refs:ArgIsOne (Results 1 – 1 of 1) sorted by relevance
/external/valgrind/main/drd/tests/ |
D | tsan_unittest.cpp | 198 static bool ArgIsOne(int *arg) { return *arg == 1; }; in ArgIsOne() function 436 MU.LockWhen(Condition(&ArgIsOne, &COND)); // calls ANNOTATE_CONDVAR_WAIT in Waiter() 865 MU.LockWhen(Condition(&ArgIsOne, &COND)); in Waiter() 949 MU.LockWhen(Condition(&ArgIsOne, &COND)); in Waiter() 1074 MU.Await(Condition(&ArgIsOne, &COND)); // calls ANNOTATE_CONDVAR_WAIT in Waiter() 1107 CHECK(MU.AwaitWithTimeout(Condition(&ArgIsOne, &COND), INT_MAX)); in Waiter() 1136 CHECK(!MU.AwaitWithTimeout(Condition(&ArgIsOne, &COND), 100)); in Waiter() 1166 CHECK(!MU.LockWhenWithTimeout(Condition(&ArgIsOne, &COND), 100)); in Waiter() 1299 MU.ReaderLockWhen(Condition(&ArgIsOne, &COND)); in Waiter() 1332 CHECK(MU.ReaderLockWhenWithTimeout(Condition(&ArgIsOne, &COND), INT_MAX)); in Waiter() [all …]
|