/external/ltp/testcases/kernel/syscalls/kill/ |
D | kill10.c | 202 pid_t mypid = 0; variable 251 mypid, -child_checklist[cnt].pid); in main() 260 mypid, child_signal_counter, num_pgrps); in main() 298 mypid = getpid(); in setup() 303 printf("%d: setting SIGTRAP -> SIG_DFL\n", mypid); in setup() 306 printf("%d: setting SIGCONT -> SIG_DFL\n", mypid); in setup() 311 printf("%d: setting SIGALRM -> set_create_procs\n", mypid); in setup() 318 printf("%d: setting SIGUSR1 -> ack_ready\n", mypid); in setup() 325 printf("Master: %d\n", mypid); in setup() 330 mypid, pgrps_ready, num_pgrps); in setup() [all …]
|
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/event/ |
D | event-pid.tc | 42 read mypid rest < /proc/self/stat 44 echo $mypid > set_event_pid 45 grep -q $mypid set_event_pid 50 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l` 57 echo $mypid > set_event_pid 63 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l`
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open04.c | 41 static int fd, ifile, mypid, first; variable 88 mypid = getpid(); in setup() 90 sprintf(fname, "open04.%d", mypid); in setup() 106 sprintf(fname, "open04.%d.%d", ifile, mypid); in setup() 124 sprintf(fname, "open04.%d.%d", ifile, mypid); in cleanup()
|
D | open10.c | 76 pid_t mypid; in main() local 89 mypid = getpid(); in main() 90 sprintf(DIR_A, DIR_A_TEMP, mypid); in main() 91 sprintf(DIR_B, DIR_B_TEMP, mypid); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/getpid/ |
D | 1-1.c | 72 pid_t mypid, hispid, ctlpid; in main() local 77 mypid = getpid(); in main() 79 output("Main pid: %d\n", mypid); in main() 95 if (mypid != hispid) { in main() 185 if (hispid == mypid) { in main()
|
/external/ltp/testcases/kernel/syscalls/fork/ |
D | fork09.c | 61 static int mypid, nfiles; variable 81 mypid = getpid(); in main() 86 sprintf(filname, "fork09.%d", mypid); in main() 98 sprintf(filname, "file%d.%d", nfiles, mypid); in main() 151 sprintf(filname, "file%d.%d", nf, mypid); in main()
|
/external/ltp/testcases/kernel/syscalls/close/ |
D | close01.c | 104 int mypid; in setup() local 114 mypid = getpid(); in setup() 115 sprintf(fname, "fname.%d", mypid); in setup()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl01.c | 49 int mypid, i; in main() local 61 mypid = getpid(); in main() 63 sprintf(fname, "./fcntl%d.%d", i, mypid); in main() 160 sprintf(fname, "./fcntl%d.%d", i, mypid); in main()
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod03.c | 100 pid_t mypid; /* process id */ variable 214 mypid = getpid(); in setup() 217 sprintf(node_name, TNODE, mypid); in setup()
|
D | mknod08.c | 99 pid_t mypid; /* process id */ variable 215 mypid = getpid(); in setup() 218 sprintf(node_name, TNODE, mypid); in setup()
|
D | mknod05.c | 100 pid_t mypid; /* process id */ variable 211 mypid = getpid(); in setup() 214 sprintf(node_name, TNODE, mypid); in setup()
|
D | mknod02.c | 100 pid_t mypid; /* process id */ variable 218 mypid = getpid(); in setup() 221 sprintf(node_name, TNODE, mypid); in setup()
|
D | mknod04.c | 100 pid_t mypid; /* process id */ variable 219 mypid = getpid(); in setup() 222 sprintf(node_name, TNODE, mypid); in setup()
|
/external/libcap/progs/ |
D | quicktest.sh | 146 mypid=\$\$ 147 caps=\$(./getpcaps \$mypid 2>&1 | /usr/bin/cut -d: -f2) 190 mypid=\$\$ 191 caps=\$(./getpcaps \$mypid 2>&1 | /usr/bin/cut -d: -f2)
|
/external/ltp/testcases/kernel/controllers/cgroup/ |
D | cgroup_regression_getdelays.c | 260 __u32 mypid; in main() local 356 mypid = getpid(); in main() 365 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main() 381 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main() 397 rc = send_cmd(nl_sd, id, mypid, CGROUPSTATS_CMD_GET, in main() 517 rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET, in main()
|
/external/python/cpython2/Python/ |
D | thread_sgi.h | 81 pid_t mypid, pid; in clean_threads() local 84 mypid = getpid(); in clean_threads() 87 if (pidlist[i].parent == mypid && (pid = pidlist[i].child) > 0) { in clean_threads()
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat08.c | 88 pid_t mypid; in main() local 102 mypid = getpid(); in main() 103 sprintf(DIR_A, DIR_A_TEMP, mypid); in main() 104 sprintf(DIR_B, DIR_B_TEMP, mypid); in main()
|
/external/linux-kselftest/android/patches/ |
D | 0017-seccomp_bpf.patch | 64 pid_t mypid, parent; 67 EXPECT_EQ(mypid, syscall(__NR_getpid));
|
D | 0009-seccomp-disable-tests-broken-on-kernels-4.8.patch | 35 EXPECT_NE(self->mypid, syscall(__NR_getpid));
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 1328 pid_t mypid, parent; 1331 mypid = getpid(); 1343 EXPECT_EQ(mypid, syscall(__NR_getpid)); 1348 pid_t mypid, parent; 1351 mypid = getpid(); 1363 EXPECT_EQ(mypid, syscall(__NR_getpid)); 1833 pid_t tracer, mytid, mypid, parent; in FIXTURE_DATA() local 1865 self->mypid = getpid(); in FIXTURE_SETUP() 1866 ASSERT_GT(self->mypid, 0); in FIXTURE_SETUP() 1867 ASSERT_EQ(self->mytid, self->mypid); in FIXTURE_SETUP() [all …]
|
/external/seccomp-tests/linux/ |
D | seccomp_bpf.c | 1379 pid_t tracer, mytid, mypid, parent; in FIXTURE_DATA() local 1409 self->mypid = getpid(); in FIXTURE_SETUP() 1410 ASSERT_GT(self->mypid, 0); in FIXTURE_SETUP() 1411 ASSERT_EQ(self->mytid, self->mypid); in FIXTURE_SETUP() 1415 ASSERT_NE(self->parent, self->mypid); in FIXTURE_SETUP() 1440 EXPECT_NE(self->mypid, syscall(__NR_getppid)); in TEST_F() 1455 EXPECT_NE(self->mypid, syscall(__NR_getpid)); in TEST_F()
|
/external/ppp/pppd/ |
D | sys-linux.c | 2174 pid_t mypid = getpid(); in logwtmp() local 2185 while ((utp = getutent()) && (utp->ut_pid != mypid)) in logwtmp() 2203 ut.ut_pid = mypid; in logwtmp()
|
/external/python/cpython3/Modules/ |
D | posixmodule.c | 7642 pid_t mypid; in win32_getppid() local 7647 mypid = getpid(); /* This function never fails */ in win32_getppid() 7656 if (mypid == (pid_t)pe.th32ProcessID) { in win32_getppid()
|
/external/mksh/src/ |
D | check.t | 12886 (mypid=$$; try mypid) 12917 mypid=nz
|