/ndk/tests/device/test-wait/jni/ |
test_wait.c | 40 typedef int (*wait_call_function)(pid_t child_pid); 72 static int check_wait(pid_t child_pid) { 75 if (ret != child_pid) { 76 fprintf(stderr, "ERROR: wait() returned %d, expected %d\n", ret, child_pid); 83 static int check_waitpid(pid_t child_pid) { 86 if (ret != child_pid) { 87 fprintf(stderr, "ERROR: waitpid() returned %d, expected %d\n", ret, child_pid); 94 static int check_wait4(pid_t child_pid) { 98 if (ret != child_pid) { 99 fprintf(stderr, "ERROR: wait4() returned %d, expected %d\n", ret, child_pid); [all...] |
/external/compiler-rt/test/asan/TestCases/Posix/ |
coverage-fork-direct.cc | 23 pid_t child_pid = fork(); local 24 if (child_pid == 0) {
|
coverage-fork.cc | 22 pid_t child_pid = fork(); local 23 if (child_pid == 0) {
|
/external/autotest/client/profilers/powertop/ |
powertop.py | 20 self.child_pid = os.fork() 21 if self.child_pid: # parent 36 os.kill(self.child_pid, 15)
|
/external/libchrome/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/libchrome/sandbox/linux/syscall_broker/ |
broker_process.cc | 71 int child_pid = fork(); local 72 if (child_pid == -1) { 75 if (child_pid) { 78 broker_pid_ = child_pid;
|
/external/autotest/client/profilers/catprofile/ |
catprofile.py | 23 self.child_pid = os.fork() 24 if self.child_pid: # parent 44 os.kill(self.child_pid, 15)
|
/device/google/marlin/dataservices/datatop/src/ |
datatop_sys_snap.c | 75 pid_t child_pid; local 88 child_pid = fork(); 89 if (child_pid == 0) { 101 } else if (child_pid < 0) { 105 waitpid(child_pid, &return_status, 0);
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
linux_core_dumper_unittest.cc | 76 pid_t child_pid; local 78 kCrashSignal, &child_pid)); 92 LinuxCoreDumper dumper(child_pid, core_file.c_str(), procfs_path.c_str());
|
minidump_writer_unittest.cc | 358 pid_t child_pid = fork(); local 359 if (child_pid == 0) { 396 context.tid = child_pid; 397 ASSERT_TRUE(WriteMinidump(templ.c_str(), child_pid, &context, 399 kill(child_pid, SIGKILL); 600 pid_t child_pid = fork(); local 601 if (child_pid == 0) { 649 child_pid, NULL, 0, 680 child_pid, NULL, 0, 713 child_pid, NULL, 0 [all...] |
/external/google-breakpad/src/common/linux/tests/ |
crash_generator.h | 73 int crash_signal, pid_t* child_pid);
|
/external/selinux/policycoreutils/run_init/ |
open_init_pty.c | 200 pid_t child_pid; local 249 child_pid = forkpty(&pty_master, NULL, &tty_attr, &window_size); 251 child_pid = forkpty(&pty_master, NULL, NULL, NULL); 254 if (child_pid < 0) { 258 if (child_pid == 0) { /* in the child */ 323 while (waitpid(child_pid, &child_exit_status, 0) < 0) 399 if (!done && waitpid(child_pid, &child_exit_status, WNOHANG) > 0)
|
/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/autotest/client/bin/ |
parallel.py | 99 (child_pid, status) = os.waitpid(pid, os.WNOHANG) 100 if (child_pid, status) == (0, 0): 109 (child_pid, status) = os.waitpid(pid, 0)
|
/external/libbrillo/brillo/ |
asynchronous_signal_handler_unittest.cc | 122 pid_t child_pid = fork(); local 123 if (child_pid == 0) { 133 EXPECT_EQ(child_pid, infos_[0].ssi_pid);
|
/bionic/libc/kernel/uapi/linux/ |
cn_proc.h | 55 __kernel_pid_t child_pid; member in struct:proc_event::__anon416::fork_proc_event
|
/development/ndk/platforms/android-21/include/linux/ |
cn_proc.h | 55 __kernel_pid_t child_pid; member in struct:proc_event::__anon1553::fork_proc_event
|
/external/kernel-headers/original/uapi/linux/ |
cn_proc.h | 75 __kernel_pid_t child_pid; member in struct:proc_event::__anon14496::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::__anon38988::fork_proc_event
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
cn_proc.h | 73 __kernel_pid_t child_pid; member in struct:proc_event::__anon40902::fork_proc_event
|
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/linux/ |
cn_proc.h | 55 __kernel_pid_t child_pid; member in struct:proc_event::__anon56040::fork_proc_event
|
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/linux/ |
cn_proc.h | 55 __kernel_pid_t child_pid; member in struct:proc_event::__anon56807::fork_proc_event
|
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/linux/ |
cn_proc.h | 55 __kernel_pid_t child_pid; member in struct:proc_event::__anon57586::fork_proc_event
|
/prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/include/linux/ |
cn_proc.h | 55 __kernel_pid_t child_pid; member in struct:proc_event::__anon58364::fork_proc_event
|
/prebuilts/ndk/current/platforms/android-21/arch-x86/usr/include/linux/ |
cn_proc.h | 55 __kernel_pid_t child_pid; member in struct:proc_event::__anon59140::fork_proc_event
|