Home
last modified time | relevance | path

Searched refs:pid_ (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp255 if ((pid_ = fork()) == 0) { in InternalExec()
278 ASSERT_NE(-1, pid_); in InternalExec()
283 log_main_.reset(new LogReader(pid_, LOG_ID_MAIN)); in InternalExec()
284 log_crash_.reset(new LogReader(pid_, LOG_ID_CRASH)); in InternalExec()
306 kill(pid_, SIGINT); in InternalExec()
315 int wait_pid = waitpid(pid_, &status, WNOHANG); in InternalExec()
316 if (pid_ == wait_pid) { in InternalExec()
325 kill(pid_, SIGKILL); in InternalExec()
329 int wait_pid = waitpid(pid_, &kill_status, WNOHANG); in InternalExec()
330 if (wait_pid == pid_ || (time(nullptr) - start_time) > kWaitpidTimeoutSeconds) { in InternalExec()
[all …]
/bionic/benchmarks/tests/
Dinterface_test.cpp48 pid_t pid_; member in SystemTests
79 if ((pid_ = fork()) == 0) { in Exec()
95 ASSERT_NE(-1, pid_); in Exec()
138 ASSERT_EQ(pid_, TEMP_FAILURE_RETRY(waitpid(pid_, &status, 0))) << "Test output:\n" << raw_output_; in RunTest()
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp101 pid_t pid_; member in MallocHooksTest