/external/google-breakpad/src/client/linux/crash_generation/ |
client_info.h | 39 ClientInfo(pid_t pid, CrashGenerationServer* crash_server) 41 pid_(pid) {} 44 pid_t pid() const { return pid_; } function in class:google_breakpad::ClientInfo
|
/external/google-breakpad/src/common/mac/ |
launch_reporter.cc | 41 pid_t pid = fork(); local 43 if (pid == -1) { 51 if (pid == 0) { 69 pid_t result = waitpid(pid, &status, WNOHANG);
|
/external/libcap/progs/ |
getpcaps.c | 17 "usage: getcaps <pid> [<pid> ...]\n\n" 35 int pid; local 38 pid = atoi(argv[0]); 40 cap_d = cap_get_pid(pid); 43 " (%s)\n", pid, strerror(errno));
|
/external/libchrome/base/process/ |
process_handle_linux.cc | 13 ProcessId pid = local 15 if (pid) 16 return pid;
|
/external/libunwind/src/ptrace/ |
_UPT_access_fpreg.c | 36 pid_t pid = ui->pid; local 50 ptrace (PTRACE_POKEUSER, pid, (void*) (_UPT_reg_offset[reg] + i * sizeof(wp[i])), 64 wp[i] = ptrace (PTRACE_PEEKUSER, pid, 79 pid_t pid = ui->pid; local 85 if (ptrace(PT_GETFPREGS, pid, (caddr_t)&fpreg, 0) == -1) 95 if (ptrace(PT_SETFPREGS, pid, (caddr_t)&fpreg, 0) == -1)
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
ebb_on_willing_child_test.c | 55 pid_t pid; local 62 pid = fork(); 63 if (pid == 0) { 80 FAIL_IF(event_open_with_pid(&event, pid)); 84 FAIL_IF(wait_for_child(pid));
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
skew_consistency.c | 46 pid_t pid; local 51 pid = fork(); 52 if (!pid) 58 while (pid != waitpid(pid, &ret, WNOHANG)) {
|
/external/ltp/lib/tests/ |
tst_process_state.c | 40 int pid; local 43 pid = fork(); 45 switch (pid) { 67 TST_PROCESS_STATE_WAIT(NULL, pid, 'S'); 69 kill(pid, SIGALRM);
|
/external/ltp/testcases/kernel/security/tomoyo/ |
newns.c | 45 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, (void *)argv); local 46 while (waitpid(pid, NULL, __WALL) == EOF && errno == EINTR)
|
/external/ltp/testcases/kernel/syscalls/chdir/ |
chdir03.c | 42 pid_t pid; local 44 pid = SAFE_FORK(); 45 if (!pid) {
|
/external/ltp/testcases/kernel/syscalls/execl/ |
execl01.c | 53 pid_t pid; local 64 switch (pid = FORK_OR_VFORK()) { 72 tst_record_childstatus(NULL, pid);
|
/external/ltp/testcases/kernel/syscalls/execlp/ |
execlp01.c | 55 pid_t pid; local 62 switch (pid = FORK_OR_VFORK()) { 70 tst_record_childstatus(NULL, pid);
|
/external/ltp/testcases/kernel/syscalls/execvp/ |
execvp01.c | 53 pid_t pid; local 61 switch (pid = FORK_OR_VFORK()) { 69 tst_record_childstatus(NULL, pid);
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
madvise07.c | 85 pid_t pid; local 87 pid = SAFE_FORK(); 88 if (pid == 0) { 93 SAFE_WAITPID(pid, &status, 0);
|
/external/ltp/testcases/kernel/syscalls/pause/ |
pause01.c | 45 int pid, status; local 47 pid = SAFE_FORK(); 48 if (pid == 0) 52 TST_PROCESS_STATE_WAIT(pid, 'S'); 53 kill(pid, SIGINT);
|
/external/ltp/testcases/kernel/syscalls/waitpid/ |
waitpid12.c | 29 * Check proper functioning of waitpid with pid = 0 and < -1 with arg 37 pid_t pid, group; local 47 pid = SAFE_FORK(); 48 if (pid == 0) 51 fork_kid_pid[i] = pid;
|
waitpid13.c | 28 * Check proper functioning of waitpid with pid = 0 and < -1 with arg 36 pid_t pid, group; local 46 pid = SAFE_FORK(); 47 if (pid == 0) 50 fork_kid_pid[i] = pid;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/ |
1-4.c | 23 int pid; local 30 if ((pid = fork()) == 0) { 41 if (kill(pid, SIGABRT) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
1-1.c | 23 static int pid; variable 27 pid = getpid(); 58 if (pid != ppid) { 59 printf("Test FAILED: Pids are different %i != %i\n", pid, ppid);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
17-1.c | 38 pid_t pid; local 41 if ((pid = fork()) == 0) { 82 kill(pid, SIGABRT); 83 waitpid(pid, &s, 0);
|
17-10.c | 38 pid_t pid; local 41 if ((pid = fork()) == 0) { 82 kill(pid, SIGPIPE); 83 waitpid(pid, &s, 0);
|
17-11.c | 38 pid_t pid; local 41 if ((pid = fork()) == 0) { 82 kill(pid, SIGQUIT); 83 waitpid(pid, &s, 0);
|
17-12.c | 38 pid_t pid; local 41 if ((pid = fork()) == 0) { 82 kill(pid, SIGSEGV); 83 waitpid(pid, &s, 0);
|
17-13.c | 38 pid_t pid; local 41 if ((pid = fork()) == 0) { 82 kill(pid, SIGTERM); 83 waitpid(pid, &s, 0);
|
17-14.c | 38 pid_t pid; local 41 if ((pid = fork()) == 0) { 82 kill(pid, SIGTSTP); 83 waitpid(pid, &s, 0);
|