Searched refs:child_pid (Results 1 – 1 of 1) sorted by relevance
7278 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } in set_child_pid() argument7336 const pid_t child_pid = fork(); in AssumeRole() local7337 GTEST_DEATH_TEST_CHECK_(child_pid != -1); in AssumeRole()7338 set_child_pid(child_pid); in AssumeRole()7339 if (child_pid == 0) { in AssumeRole()7498 pid_t child_pid = -1; in ExecDeathTestSpawnChild() local7525 child_pid = spawn(args.argv[0], 0, NULL, &inherit, args.argv, GetEnviron()); in ExecDeathTestSpawnChild()7568 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestSpawnChild()7576 if (use_fork && (child_pid = fork()) == 0) { in ExecDeathTestSpawnChild()7586 GTEST_DEATH_TEST_CHECK_(child_pid != -1); in ExecDeathTestSpawnChild()[all …]