Home | History | Annotate | Download | only in tests

Lines Matching defs:ArgIsOne

198 static bool ArgIsOne(int *arg) { return *arg == 1; };
436 MU.LockWhen(Condition(&ArgIsOne, &COND)); // calls ANNOTATE_CONDVAR_WAIT
865 MU.LockWhen(Condition(&ArgIsOne, &COND));
949 MU.LockWhen(Condition(&ArgIsOne, &COND));
1074 MU.Await(Condition(&ArgIsOne, &COND)); // calls ANNOTATE_CONDVAR_WAIT
1107 CHECK(MU.AwaitWithTimeout(Condition(&ArgIsOne, &COND), INT_MAX));
1136 CHECK(!MU.AwaitWithTimeout(Condition(&ArgIsOne, &COND), 100));
1166 CHECK(!MU.LockWhenWithTimeout(Condition(&ArgIsOne, &COND), 100));
1299 MU.ReaderLockWhen(Condition(&ArgIsOne, &COND));
1332 CHECK(MU.ReaderLockWhenWithTimeout(Condition(&ArgIsOne, &COND), INT_MAX));
1360 CHECK(!MU.ReaderLockWhenWithTimeout(Condition(&ArgIsOne, &COND), 100));