/ndk/tests/device/test-wait/jni/ |
test_wait.c | 36 typedef int (*wait_call_function)(pid_t child_pid); 69 static int check_wait(pid_t child_pid) { 72 if (ret != child_pid) { 73 fprintf(stderr, "ERROR: wait() returned %d, expected %d\n", ret, child_pid); 80 static int check_waitpid(pid_t child_pid) { 83 if (ret != child_pid) { 84 fprintf(stderr, "ERROR: waitpid() returned %d, expected %d\n", ret, child_pid); 91 static int check_wait3(pid_t child_pid) { 95 if (ret != child_pid) { 96 fprintf(stderr, "ERROR: wait3() returned %d, expected %d\n", ret, child_pid); [all...] |
/external/compiler-rt/test/asan/TestCases/Linux/ |
coverage-fork-direct.cc | 23 pid_t child_pid = fork(); local 24 if (child_pid == 0) {
|
coverage-fork.cc | 23 pid_t child_pid = fork(); local 24 if (child_pid == 0) {
|
/external/chromium_org/sandbox/linux/services/ |
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) {
|
/external/e2fsprogs/misc/ |
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/ |
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);
|
/bionic/libc/kernel/uapi/linux/ |
cn_proc.h | 55 __kernel_pid_t child_pid; member in struct:proc_event::__anon356::fork_proc_event
|
/development/ndk/platforms/android-L/include/linux/ |
cn_proc.h | 55 __kernel_pid_t child_pid; member in struct:proc_event::__anon1968::fork_proc_event
|
/external/chromium_org/sandbox/mac/ |
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/ |
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/ |
cn_proc.h | 75 __kernel_pid_t child_pid; member in struct:proc_event::__anon27542::fork_proc_event
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/linux/ |
cn_proc.h | 71 __kernel_pid_t child_pid; member in struct:proc_event::__anon46609::fork_proc_event
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
cn_proc.h | 71 __kernel_pid_t child_pid; member in struct:proc_event::__anon48345::fork_proc_event
|
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/linux/ |
cn_proc.h | 55 __kernel_pid_t child_pid; member in struct:proc_event::__anon76011::fork_proc_event
|
/prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/linux/ |
cn_proc.h | 55 __kernel_pid_t child_pid; member in struct:proc_event::__anon76778::fork_proc_event
|
/prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/linux/ |
cn_proc.h | 55 __kernel_pid_t child_pid; member in struct:proc_event::__anon77557::fork_proc_event
|
/prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/linux/ |
cn_proc.h | 55 __kernel_pid_t child_pid; member in struct:proc_event::__anon78335::fork_proc_event
|
/prebuilts/ndk/9/platforms/android-21/arch-x86/usr/include/linux/ |
cn_proc.h | 55 __kernel_pid_t child_pid; member in struct:proc_event::__anon79111::fork_proc_event
|
/prebuilts/ndk/9/platforms/android-21/arch-x86_64/usr/include/linux/ |
cn_proc.h | 55 __kernel_pid_t child_pid; member in struct:proc_event::__anon79888::fork_proc_event
|
/external/chromium_org/components/nacl/loader/ |
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/ |
sanitizer_coverage_libcdep.cc | 63 void AfterFork(int child_pid); 141 void CoverageData::AfterFork(int child_pid) { 144 if (child_pid == 0) ReInit(); 353 void CovAfterFork(int child_pid) { 354 coverage_data.AfterFork(child_pid);
|
/external/chromium_org/testing/gtest/src/ |
gtest-death-test.cc | 784 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } 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 1140 const pid_t child_pid = ExecDeathTestSpawnChild(args.Argv(), pipe_fd[0]); local [all...] |
/external/gtest/src/ |
gtest-death-test.cc | 784 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } 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 1138 const pid_t child_pid = ExecDeathTestSpawnChild(args.Argv(), pipe_fd[0]); local [all...] |
/ndk/sources/third_party/googletest/googletest/src/ |
gtest-death-test.cc | 784 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } 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 1138 const pid_t child_pid = ExecDeathTestSpawnChild(args.Argv(), pipe_fd[0]); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gtest/src/ |
gtest-death-test.cc | 748 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } 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 1029 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); local [all...] |