Lines Matching refs:child_pid
748 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; }
806 const pid_t child_pid = fork();
807 GTEST_DEATH_TEST_CHECK_(child_pid != -1);
808 set_child_pid(child_pid);
809 if (child_pid == 0) {
955 pid_t child_pid = -1;
970 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args);
978 if (use_fork && (child_pid = fork()) == 0) {
983 GTEST_DEATH_TEST_CHECK_(child_pid != -1);
984 return child_pid;
1029 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]);
1031 set_child_pid(child_pid);