Searched refs:child_pid (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/googletest/googletest/src/
H A Dgtest-death-test.cc795 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument
853 const pid_t child_pid = fork(); local
854 GTEST_DEATH_TEST_CHECK_(child_pid != -1);
855 set_child_pid(child_pid);
856 if (child_pid == 0) {
1022 pid_t child_pid = -1; local
1049 child_pid = spawn(args.argv[0], 0, NULL, &inherit, args.argv, GetEnviron());
1092 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args);
1100 if (use_fork && (child_pid
1156 const pid_t child_pid = ExecDeathTestSpawnChild(args.Argv(), pipe_fd[0]); local
[all...]
/gem5/ext/googletest/googletest/test/
H A Dgtest-death-test_test.cc230 pid_t child_pid = fork(); local
231 if (child_pid == 0) {
235 waitpid(child_pid, &status, 0);
245 pid_t child_pid = fork(); local
246 if (child_pid == 0) {
251 waitpid(child_pid, &status, 0);

Completed in 13 milliseconds