Searched refs:wait_pid (Results 1 – 3 of 3) sorted by relevance
/bionic/benchmarks/ |
D | unistd_benchmark.cpp | 55 pid_t wait_pid = waitpid(pid, 0, 0); in BM_unistd_fork_call() local 56 if (wait_pid != pid) { in BM_unistd_fork_call() 57 if (wait_pid == -1) { in BM_unistd_fork_call() 62 "waitpid return an unknown pid, expected %d, actual %d", pid, wait_pid); in BM_unistd_fork_call()
|
/bionic/tests/ |
D | malloc_iterate_test.cpp | 258 pid_t wait_pid = TEMP_FAILURE_RETRY(waitpid(pid, nullptr, WNOHANG)); in TEST() local 259 if (wait_pid <= 0) { in TEST() 262 ASSERT_NE(-1, wait_pid) << "Unknown failure in waitpid."; in TEST() 263 ASSERT_EQ(0, wait_pid) << "malloc_disable did not prevent allocation calls."; in TEST()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 131 int wait_pid = waitpid(*pid, &status, WNOHANG); in Exec() local 132 if (*pid == wait_pid) { in Exec() 145 int wait_pid = waitpid(*pid, &kill_status, WNOHANG); in Exec() local 146 if (wait_pid == *pid || (time(nullptr) - start_time) > timeout_seconds) { in Exec()
|