Lines Matching refs:pid
22 pid_t pid = fork(); in ForkChildAndExit() local
23 PCHECK(pid != -1); in ForkChildAndExit()
24 if (pid == 0) { in ForkChildAndExit()
27 return pid; in ForkChildAndExit()
31 pid_t pid = fork(); in ForkChildAndKill() local
32 PCHECK(pid != -1); in ForkChildAndKill()
33 if (pid == 0) { in ForkChildAndKill()
39 return pid; in ForkChildAndKill()
76 pid_t pid = ForkChildAndExit(123); in TEST_F() local
77 EXPECT_TRUE(process_reaper_.WatchForChild(FROM_HERE, pid, base::Bind( in TEST_F()
93 pid_t pid = ForkChildAndExit(exit_value); in TEST_F() local
94 EXPECT_TRUE(process_reaper_.WatchForChild(FROM_HERE, pid, base::Bind( in TEST_F()
111 pid_t pid = ForkChildAndKill(SIGKILL); in TEST_F() local
112 EXPECT_TRUE(process_reaper_.WatchForChild(FROM_HERE, pid, base::Bind( in TEST_F()
122 pid_t pid = ForkChildAndExit(0); in TEST_F() local
123 EXPECT_TRUE(process_reaper_.WatchForChild(FROM_HERE, pid, base::Bind( in TEST_F()
128 EXPECT_TRUE(process_reaper_.ForgetChild(pid)); in TEST_F()
131 EXPECT_FALSE(process_reaper_.ForgetChild(pid)); in TEST_F()