/external/strace/tests/ |
getxxid.c | 40 pid_t ppid; local 43 ppid = getppid(); 44 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid); 45 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid);
|
fork-f.c | 83 pid_t ppid = getpid(); local 91 ppid, prefix, 92 ppid, prefix, 95 ppid, prefix);
|
vfork-f.c | 95 pid_t ppid = getpid(); local 103 ppid, prefix, 105 ppid, prefix, 107 ppid, prefix);
|
/external/strace/tests-m32/ |
getxxid.c | 40 pid_t ppid; local 43 ppid = getppid(); 44 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid); 45 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid);
|
fork-f.c | 83 pid_t ppid = getpid(); local 91 ppid, prefix, 92 ppid, prefix, 95 ppid, prefix);
|
vfork-f.c | 95 pid_t ppid = getpid(); local 103 ppid, prefix, 105 ppid, prefix, 107 ppid, prefix);
|
/external/strace/tests-mx32/ |
getxxid.c | 40 pid_t ppid; local 43 ppid = getppid(); 44 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid); 45 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid);
|
fork-f.c | 83 pid_t ppid = getpid(); local 91 ppid, prefix, 92 ppid, prefix, 95 ppid, prefix);
|
vfork-f.c | 95 pid_t ppid = getpid(); local 103 ppid, prefix, 105 ppid, prefix, 107 ppid, prefix);
|
/external/ltp/testcases/kernel/syscalls/getppid/ |
getppid02.c | 59 pid_t pid, ppid; local 68 ppid = getpid(); 76 if (TEST_RETURN != ppid) 78 TEST_RETURN, ppid);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
1-1.c | 35 int ret, ppid; local 56 ppid = getpid(); 58 if (pid != ppid) { 59 printf("Test FAILED: Pids are different %i != %i\n", pid, ppid);
|
/external/ltp/testcases/kernel/controllers/cgroup_fj/ |
cgroup_fj_stress.sh | 100 local ppid="$3" 107 if [ -z "$ppid" ]; then 111 pid="$ppid" 120 attach_task "$new_path" $((cur_depth+1)) "$ppid" 123 if [ -n "$ppid" ]; then
|
/external/ltp/testcases/kernel/containers/pidns/ |
pidns01.c | 72 pid_t cpid, ppid; local 74 ppid = getppid(); 77 if (cpid == CHILD_PID && ppid == PARENT_PID) { 78 printf("Got expected cpid and ppid\n"); 81 printf("Got unexpected result of cpid=%d ppid=%d\n", 82 cpid, ppid);
|
pidns04.c | 77 pid_t cpid, ppid; local 79 ppid = getppid(); 85 if ((cpid == CHILD_PID) && (ppid == PARENT_PID)) { 95 printf("got unexpected result of cpid=%d ppid=%d\n", 96 cpid, ppid);
|
pidns06.c | 62 int cpid, ppid, *par_pid; local 65 ppid = getppid(); 69 if (cpid != CINIT_PID || ppid != PARENT_PID) { 71 "pid=%d ppid=%d\n", cpid, ppid);
|
pidns10.c | 61 pid_t pid, ppid; local 65 ppid = getppid(); 66 if (pid != CHILD_PID || ppid != PARENT_PID) {
|
pidns12.c | 75 pid_t pid, ppid; local 79 ppid = getppid(); 80 if (pid != CHILD_PID || ppid != PARENT_PID) {
|
pidns16.c | 93 pid_t pid, ppid; local 97 ppid = getppid(); 99 if ((pid != CHILD_PID) || (ppid != PARENT_PID))
|
pidns17.c | 62 pid_t pid, ppid; local 66 ppid = getppid(); 67 if (pid != CHILD_PID || ppid != PARENT_PID) {
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
pscap.c | 67 int pid, ppid, uid = -1, euid = -1; local 101 sscanf(buf, "%d (%15c", &ppid, cmd); 102 sscanf(tmp+2, "%c %d", &state, &ppid); 105 if (pid == 2 || ppid == 2) 149 "ppid", "pid", "name", "command", 166 printf("%-5d %-5d %-10s %-16s ", ppid, pid, 169 printf("%-5d %-5d %-10d %-16s ", ppid, pid,
|
proc-llist.h | 33 pid_t ppid; // parent process ID member in struct:_lnode
|
/external/valgrind/memcheck/tests/ |
gone_abrt_xml.stderr.exp | 16 <ppid>...</ppid>
|
/external/linux-kselftest/tools/testing/selftests/powerpc/signal/ |
signal.c | 44 pid_t ppid = getpid(); local 67 signal_self(ppid, SIGUSR1); 89 rc = signal_self(ppid, SIGUSR1);
|
/external/autotest/client/site_tests/login_LogoutProcessCleanup/ |
login_LogoutProcessCleanup.py | 101 ppid = pid 102 while not (ppid == ancestor_pid or ppid == '0'): 107 ppid = self.__get_parent_pid(ppid) 110 return ppid == ancestor_pid
|
/external/ltp/utils/sctp/func_tests/ |
test_inaddr_any.c | 83 uint32_t ppid; local 164 ppid = rand(); /* Choose an arbitrary value. */ 166 sinfo->sinfo_ppid = ppid; 198 MSG_EOR, stream, ppid); 212 ppid++; 214 sinfo->sinfo_ppid = ppid; 228 MSG_EOR, stream, ppid); 233 MSG_EOR, stream, ppid);
|