Lines Matching refs:progress

924   std::atomic<Progress> progress;  member
934 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_INITIALIZED, arg->progress); in pthread_rwlock_wakeup_helper()
935 arg->progress = RwlockWakeupHelperArg::LOCK_WAITING; in pthread_rwlock_wakeup_helper()
939 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_RELEASED, arg->progress); in pthread_rwlock_wakeup_helper()
942 arg->progress = RwlockWakeupHelperArg::LOCK_ACCESSED; in pthread_rwlock_wakeup_helper()
949 wakeup_arg.progress = RwlockWakeupHelperArg::LOCK_INITIALIZED; in test_pthread_rwlock_reader_wakeup_writer()
958 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_WAITING, wakeup_arg.progress); in test_pthread_rwlock_reader_wakeup_writer()
960 wakeup_arg.progress = RwlockWakeupHelperArg::LOCK_RELEASED; in test_pthread_rwlock_reader_wakeup_writer()
964 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_ACCESSED, wakeup_arg.progress); in test_pthread_rwlock_reader_wakeup_writer()
1016 wakeup_arg.progress = RwlockWakeupHelperArg::LOCK_INITIALIZED; in test_pthread_rwlock_writer_wakeup_reader()
1025 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_WAITING, wakeup_arg.progress); in test_pthread_rwlock_writer_wakeup_reader()
1027 wakeup_arg.progress = RwlockWakeupHelperArg::LOCK_RELEASED; in test_pthread_rwlock_writer_wakeup_reader()
1031 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_ACCESSED, wakeup_arg.progress); in test_pthread_rwlock_writer_wakeup_reader()
1081 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_INITIALIZED, arg->progress); in pthread_rwlock_wakeup_timeout_helper()
1082 arg->progress = RwlockWakeupHelperArg::LOCK_WAITING; in pthread_rwlock_wakeup_timeout_helper()
1099 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_WAITING, arg->progress); in pthread_rwlock_wakeup_timeout_helper()
1100 arg->progress = RwlockWakeupHelperArg::LOCK_TIMEDOUT; in pthread_rwlock_wakeup_timeout_helper()
1108 wakeup_arg.progress = RwlockWakeupHelperArg::LOCK_INITIALIZED; in pthread_rwlock_timedrdlock_timeout_helper()
1118 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_WAITING, wakeup_arg.progress); in pthread_rwlock_timedrdlock_timeout_helper()
1121 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_TIMEDOUT, wakeup_arg.progress); in pthread_rwlock_timedrdlock_timeout_helper()
1176 wakeup_arg.progress = RwlockWakeupHelperArg::LOCK_INITIALIZED; in pthread_rwlock_timedwrlock_timeout_helper()
1186 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_WAITING, wakeup_arg.progress); in pthread_rwlock_timedwrlock_timeout_helper()
1189 ASSERT_EQ(RwlockWakeupHelperArg::LOCK_TIMEDOUT, wakeup_arg.progress); in pthread_rwlock_timedwrlock_timeout_helper()
1480 std::atomic<Progress> progress; member in pthread_CondWakeupTest
1499 progress = INITIALIZED; in StartWaitingThread()
1503 while (progress != WAITING) { in StartWaitingThread()
1521 progress = SIGNALED; in RunTimedTest()
1536 ASSERT_EQ(FINISHED, progress); in TearDown()
1544 test->progress = WAITING; in WaitThreadFn()
1545 while (test->progress == WAITING) { in WaitThreadFn()
1548 ASSERT_EQ(SIGNALED, test->progress); in WaitThreadFn()
1549 test->progress = FINISHED; in WaitThreadFn()
1559 progress = SIGNALED; in TEST_F()
1568 progress = SIGNALED; in TEST_F()
2176 std::atomic<Progress> progress; member in MutexWakeupHelper
2181 ASSERT_EQ(LOCK_INITIALIZED, helper->progress); in thread_fn()
2182 helper->progress = LOCK_WAITING; in thread_fn()
2185 ASSERT_EQ(LOCK_RELEASED, helper->progress); in thread_fn()
2188 helper->progress = LOCK_ACCESSED; in thread_fn()
2197 progress = LOCK_INITIALIZED; in test()
2205 ASSERT_EQ(LOCK_WAITING, progress); in test()
2207 progress = LOCK_RELEASED; in test()
2211 ASSERT_EQ(LOCK_ACCESSED, progress); in test()
2259 std::atomic<Progress> progress; member in PIMutexWakeupHelper
2266 ASSERT_EQ(LOCK_INITIALIZED, helper->progress); in thread_fn()
2270 helper->progress = LOCK_CHILD_READY; in thread_fn()
2275 ASSERT_EQ(LOCK_WAITING, helper->progress); in thread_fn()
2282 helper->progress = LOCK_RELEASED; in thread_fn()
2295 progress = LOCK_INITIALIZED; in test()
2303 ASSERT_EQ(LOCK_CHILD_READY, progress); in test()
2305 progress = LOCK_WAITING; in test()
2308 ASSERT_EQ(LOCK_RELEASED, progress); in test()