Lines Matching refs:completed
216 void WaitForRemote(pid_t pid, uint64_t addr, bool leave_attached, bool* completed) { in WaitForRemote() argument
217 *completed = false; in WaitForRemote()
230 *completed = true; in WaitForRemote()
232 if (!*completed || !leave_attached) { in WaitForRemote()
235 if (*completed) { in WaitForRemote()
254 bool completed; in TEST_F() local
255 WaitForRemote(pid, reinterpret_cast<uint64_t>(&g_ready_for_remote), true, &completed); in TEST_F()
256 ASSERT_TRUE(completed) << "Timed out waiting for remote process to be ready."; in TEST_F()
278 bool completed; in TEST_F() local
279 WaitForRemote(pid, reinterpret_cast<uint64_t>(&g_ready_for_remote), true, &completed); in TEST_F()
280 ASSERT_TRUE(completed) << "Timed out waiting for remote process to be ready."; in TEST_F()
306 bool completed; in RemoteCheckForLeaks() local
307 WaitForRemote(pid, reinterpret_cast<uint64_t>(&g_ready_for_remote), true, &completed); in RemoteCheckForLeaks()
308 ASSERT_TRUE(completed) << "Timed out waiting for remote process to be ready."; in RemoteCheckForLeaks()
408 bool completed; in RemoteThroughSignal() local
410 WaitForRemote(pid, reinterpret_cast<uint64_t>(&g_ready_for_remote), false, &completed); in RemoteThroughSignal()
411 ASSERT_TRUE(completed) << "Timed out waiting for remote process to be ready."; in RemoteThroughSignal()
414 WaitForRemote(pid, reinterpret_cast<uint64_t>(&g_signal_ready_for_remote), true, &completed); in RemoteThroughSignal()
415 ASSERT_TRUE(completed) << "Timed out waiting for remote process to be in signal handler."; in RemoteThroughSignal()