/external/valgrind/main/none/tests/ |
H A D | fork.c | 9 pid_t pid; local 11 pid = fork (); 18 printf("%s", pid==0 ? "X" : "XX"); 20 if (pid != 0) 21 waitpid(pid, NULL, 0);
|
/external/bison/lib/ |
H A D | waitpid.c | 27 waitpid (pid_t pid, int *statusp, int options) argument 29 return _cwait (statusp, pid, WAIT_CHILD);
|
H A D | spawnp.c | 27 posix_spawnp (pid_t *pid, const char *file, argument 32 return __spawni (pid, file, file_actions, attrp, argv, envp, 1);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
H A D | kill.c | 8 int kill(pid_t pid, int sig) { argument 9 return ki_kill(pid, sig);
|
H A D | killpg.c | 8 int killpg(pid_t pid, int sig) { argument 9 return ki_killpg(pid, sig);
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
H A D | sched_getscheduler.c | 42 sched_getscheduler (pid_t pid) argument 49 if (0 != pid) 53 if (pid != selfPid) 56 OpenProcess (PROCESS_QUERY_INFORMATION, PTW32_FALSE, (DWORD) pid);
|
H A D | sched_setscheduler.c | 42 sched_setscheduler (pid_t pid, int policy) argument 51 if (0 != pid) 55 if (pid != selfPid) 58 OpenProcess (PROCESS_SET_INFORMATION, PTW32_FALSE, (DWORD) pid);
|
/external/compiler-rt/test/lsan/TestCases/ |
H A D | fork.cc | 16 pid_t pid = fork(); local 17 assert(pid >= 0); 18 if (pid > 0) { 19 waitpid(pid, &status, 0);
|
/external/libunwind/src/ptrace/ |
H A D | _UPT_create.c | 31 _UPT_create (pid_t pid) argument 39 ui->pid = pid;
|
H A D | _UPT_internal.h | 53 pid_t pid; /* the process-id of the child we're unwinding */ member in struct:UPT_info
|
/external/ltrace/testsuite/ltrace.minor/ |
H A D | trace-fork.c | 20 pid_t pid; local 21 pid = fork (); 23 if (pid == -1) 25 else if (pid == 0) 29 printf("My child pid is %d\n",pid);
|
H A D | trace-clone.c | 25 pid_t pid; local 29 pid = __clone2((myfunc)&child, stack, STACK_SIZE, CLONE_FS, NULL); 31 pid = clone((myfunc)&child, stack + STACK_SIZE, CLONE_FS, NULL); 33 if (pid < 0)
|
/external/fio/ |
H A D | debug.c | 10 pid_t pid; local 14 pid = getpid(); 16 && pid != *fio_debug_jobp) 20 log_info("%-5u ", (int) pid);
|
/external/chromium_org/base/process/ |
H A D | process_handle_linux.cc | 13 ProcessId pid = local 15 if (pid) 16 return pid;
|
H A D | process_info_linux.cc | 17 ProcessHandle pid = GetCurrentProcessHandle(); local 19 internal::ReadProcStatsAndGetFieldAsInt64(pid, internal::VM_STARTTIME);
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
H A D | ptrace.cc | 17 pid_t pid; local 18 pid = fork(); 19 if (pid == 0) { // child 30 res = ptrace(PTRACE_GETREGS, pid, NULL, pregs); 41 res = ptrace(PTRACE_GETFPREGS, pid, NULL, &fpregs); 47 res = ptrace(PTRACE_GETFPXREGS, pid, NULL, &fpxregs); 52 ptrace(PTRACE_CONT, pid, NULL, NULL);
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
H A D | ptrace.cc | 14 pid_t pid; local 15 pid = fork(); 16 if (pid == 0) { // child 23 res = ptrace(PTRACE_GETREGS, pid, NULL, ®s); 29 res = ptrace(PTRACE_GETFPREGS, pid, NULL, &fpregs); 35 res = ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo); 37 assert(siginfo.si_pid == pid); 39 ptrace(PTRACE_CONT, pid, NULL, NULL);
|
/external/compiler-rt/test/tsan/ |
H A D | fork_atexit.cc | 20 int pid = fork(); local 21 if (pid == 0) { 27 if (waitpid(pid, 0, 0) == -1) {
|
/external/oprofile/libutil/ |
H A D | op_lockfile.c | 47 pid_t pid = op_read_lock_file(file); local 50 if (kill(pid, 0)) {
|
/external/qemu/include/hw/android/goldfish/ |
H A D | nand.h | 22 int pid; member in struct:__anon29710
|
/external/strace/test/ |
H A D | procpollable.c | 10 int pid; local 15 pid = fork(); 16 if (pid == 0) { 21 sprintf(proc, "/proc/%d", pid); 39 kill(pid, SIGKILL); 42 kill(pid, SIGKILL);
|
/external/strace/tests/ |
H A D | net-accept-connect.c | 29 pid_t pid = fork(); local 30 assert(pid >= 0); 32 if (pid) { 36 assert(waitpid(pid, &status, 0) == pid);
|
/external/valgrind/main/coregrind/ |
H A D | vgdb-invoker-none.c | 47 Bool invoker_invoke_gdbserver(pid_t pid) argument
|
/external/valgrind/main/gdbserver_tests/ |
H A D | clean_after_fork.c | 8 int mem = 0, pid; local 9 pid = fork(); 10 if (pid == -1) { 16 if (pid == 0) { 26 while((ret = waitpid(pid, &status, 0)) != pid) {
|
H A D | fork_chain.c | 8 int pid; local 12 pid = fork(); 13 if (pid == -1) { 18 if (pid == 0) { 25 while((ret = waitpid(pid, &status, 0)) != pid) {
|