/external/compiler-rt/test/asan/TestCases/Linux/ |
H A D | coverage-fork-direct.cc | 23 pid_t child_pid = fork(); local 24 if (child_pid == 0) {
|
H A D | coverage-fork.cc | 23 pid_t child_pid = fork(); local 24 if (child_pid == 0) {
|
/external/chromium_org/sandbox/linux/services/ |
H A D | init_process_reaper.cc | 33 pid_t child_pid = fork(); local 34 if (child_pid == -1) { 42 if (child_pid) { 71 if (reaped_child_info.si_pid == child_pid) {
|
H A D | broker_process.cc | 183 int child_pid = fork(); local 184 if (child_pid == -1) { 189 if (child_pid) { 197 broker_pid_ = child_pid;
|
/external/protobuf/gtest/src/ |
H A D | gtest-death-test.cc | 700 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument 758 const pid_t child_pid = fork(); local 759 GTEST_DEATH_TEST_CHECK_(child_pid != -1); 760 set_child_pid(child_pid); 761 if (child_pid == 0) { 902 pid_t child_pid = -1; local 917 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); 925 if (use_fork && (child_pid = fork()) == 0) { 930 GTEST_DEATH_TEST_CHECK_(child_pid ! 976 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); local [all...] |
/external/e2fsprogs/misc/ |
H A D | logsave.c | 40 static pid_t child_pid = -1; variable 155 if (child_pid > 0) 156 kill(child_pid, sig); 198 child_pid = pid; 204 child_pid = -1;
|
/external/chromium_org/content/zygote/ |
H A D | zygote_linux.cc | 516 base::ProcessId child_pid = ForkWithRealPid(process_type, local 523 if (!child_pid) { 544 } else if (child_pid < 0) { 546 << " numfds " << numfds << " child_pid " << child_pid; local 548 return child_pid; 558 base::ProcessId child_pid = ReadArgsAndFork( local 560 if (child_pid == 0) 570 reply_pickle.WriteInt(child_pid);
|
/external/chromium_org/sandbox/mac/ |
H A D | xpc_message_server_unittest.cc | 139 int64_t __block child_pid = 0; 142 child_pid = xpc_dictionary_get_int64(request.xpc, "child_pid"); 163 EXPECT_EQ(base::GetProcId(child_handle), child_pid); 164 EXPECT_EQ(sender_pid, child_pid); 180 xpc_dictionary_set_int64(message, "child_pid", getpid());
|
/external/chromium_org/tools/android/forwarder2/ |
H A D | daemon.cc | 79 pid_t child_pid = waitpid(-1 /* any child */, &status, WNOHANG); local 80 if (child_pid < 0) { 84 if (child_pid == 0) 91 string_builder.Append("Daemon (pid=%d) died unexpectedly with ", child_pid);
|
/external/kernel-headers/original/uapi/linux/ |
H A D | cn_proc.h | 75 __kernel_pid_t child_pid; member in struct:proc_event::__anon22924::fork_proc_event
|
/external/chromium_org/components/nacl/loader/ |
H A D | nacl_helper_linux.cc | 176 pid_t child_pid = fork(); local 177 if (child_pid < 0) { 181 if (child_pid == 0) { 194 VLOG(1) << "nacl_helper: child_pid is " << child_pid; 196 // Now send child_pid (eventually -1 if fork failed) to the Chrome Zygote. 197 output_pickle->WriteInt(child_pid);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_coverage_libcdep.cc | 63 void AfterFork(int child_pid); 141 void CoverageData::AfterFork(int child_pid) { argument 144 if (child_pid == 0) ReInit(); 353 void CovAfterFork(int child_pid) { argument 354 coverage_data.AfterFork(child_pid);
|
/external/chromium_org/testing/gtest/src/ |
H A D | gtest-death-test.cc | 784 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument 842 const pid_t child_pid = fork(); local 843 GTEST_DEATH_TEST_CHECK_(child_pid != -1); 844 set_child_pid(child_pid); 845 if (child_pid == 0) { 1006 pid_t child_pid = -1; local 1033 child_pid = spawn(args.argv[0], 0, NULL, &inherit, args.argv, GetEnviron()); 1076 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); 1084 if (use_fork && (child_pid 1140 const pid_t child_pid = ExecDeathTestSpawnChild(args.Argv(), pipe_fd[0]); local [all...] |
/external/gtest/src/ |
H A D | gtest-death-test.cc | 784 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument 842 const pid_t child_pid = fork(); local 843 GTEST_DEATH_TEST_CHECK_(child_pid != -1); 844 set_child_pid(child_pid); 845 if (child_pid == 0) { 1004 pid_t child_pid = -1; local 1031 child_pid = spawn(args.argv[0], 0, NULL, &inherit, args.argv, GetEnviron()); 1074 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); 1082 if (use_fork && (child_pid 1138 const pid_t child_pid = ExecDeathTestSpawnChild(args.Argv(), pipe_fd[0]); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gtest/src/ |
H A D | gtest-death-test.cc | 748 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument 806 const pid_t child_pid = fork(); local 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; local 970 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); 978 if (use_fork && (child_pid = fork()) == 0) { 983 GTEST_DEATH_TEST_CHECK_(child_pid ! 1029 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); local [all...] |
/external/llvm/utils/unittest/googletest/src/ |
H A D | gtest-death-test.cc | 750 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument 808 const pid_t child_pid = fork(); local 809 GTEST_DEATH_TEST_CHECK_(child_pid != -1); 810 set_child_pid(child_pid); 811 if (child_pid == 0) { 957 pid_t child_pid = -1; local 972 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); 980 if (use_fork && (child_pid = fork()) == 0) { 985 GTEST_DEATH_TEST_CHECK_(child_pid ! 1031 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); local [all...] |
/external/mesa3d/src/gtest/src/ |
H A D | gtest-death-test.cc | 748 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument 806 const pid_t child_pid = fork(); local 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; local 970 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); 978 if (use_fork && (child_pid = fork()) == 0) { 983 GTEST_DEATH_TEST_CHECK_(child_pid ! 1029 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); local [all...] |
/external/chromium_org/sandbox/linux/suid/ |
H A D | sandbox.c | 199 // Block until child_pid exits, then exit. Try to preserve the exit code. 200 static void WaitForChildAndExit(pid_t child_pid) { argument 214 HANDLE_EINTR(waitid(P_PID, child_pid, &reaped_child_info, WEXITED)); 216 if (!wait_ret && reaped_child_info.si_pid == child_pid) {
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
H A D | browser.py | 122 for child_pid in self._platform_backend.GetChildPids(browser_pid): 124 child_cmd_line = self._platform_backend.GetCommandLine(child_pid) 125 child_stats = pid_stats_function(child_pid)
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
H A D | builtin-stat.c | 90 static volatile pid_t child_pid = -1; variable 465 child_pid = evsel_list->workload.pid; 491 if (child_pid != -1) 492 kill(child_pid, SIGTERM); 516 while (!waitpid(child_pid, &status, WNOHANG)) { 1177 if ((child_pid == -1) || interval) 1182 * render child_pid harmless 1187 child_pid = -1; 1196 * in skip_signal() which is modifying child_pid 1204 if (child_pid ! [all...] |
/external/chromium_org/testing/gtest/test/ |
H A D | gtest-death-test_test.cc | 230 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);
|
/external/gtest/test/ |
H A D | gtest-death-test_test.cc | 230 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);
|
/external/protobuf/gtest/test/ |
H A D | gtest-death-test_test.cc | 218 pid_t child_pid = fork(); local 219 if (child_pid == 0) { 223 waitpid(child_pid, &status, 0); 233 pid_t child_pid = fork(); local 234 if (child_pid == 0) { 239 waitpid(child_pid, &status, 0);
|
/external/lldb/tools/debugserver/source/ |
H A D | DNB.cpp | 134 pid_t child_pid = waitpid(pid, &status, 0); local 135 DNBLogThreadedIf(LOG_PROCESS, "waitpid_thread (): waitpid (pid = %i, &status, 0) => %i, status = %i, errno = %i", pid, child_pid, status, errno); 137 if (child_pid < 0) 151 DNBLogThreadedIf(LOG_PROCESS, "waitpid_thread (): setting exit status for pid = %i to %i", child_pid, status); 152 DNBProcessSetExitStatus (child_pid, status);
|
/external/mksh/src/ |
H A D | check.pl | 391 kill(9, $child_pid) if $child_kill_ok; 587 $child_pid = $pid;
|