Lines Matching refs:pid_
44 if ((pid_ = fork()) == 0) { in Fork()
48 ASSERT_NE(-1, pid_); in Fork()
49 if (Attach(pid_)) { in Fork()
52 kill(pid_, SIGKILL); in Fork()
53 waitpid(pid_, nullptr, 0); in Fork()
54 pid_ = -1; in Fork()
63 if (WaitForPidStateAfterAttach(pid_, state_check_func)) { in ForkAndWaitForPidState()
66 kill(pid_, SIGKILL); in ForkAndWaitForPidState()
67 waitpid(pid_, nullptr, 0); in ForkAndWaitForPidState()
68 pid_ = -1; in ForkAndWaitForPidState()
74 if (pid_ == -1) { in TearDown()
77 Detach(pid_); in TearDown()
78 kill(pid_, SIGKILL); in TearDown()
79 waitpid(pid_, nullptr, 0); in TearDown()
82 pid_t pid_ = -1; variable