/third_party/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 …]
|
/third_party/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()
|
/third_party/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()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl01.c | 49 int mypid; in main() local 62 mypid = getpid(); in main() 64 sprintf(fname, "./fcntl%d.%d", i, mypid); in main() 161 sprintf(fname, "./fcntl%u.%d", i, mypid); in main()
|
/third_party/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod05.c | 100 pid_t mypid; /* process id */ variable 211 mypid = getpid(); in setup() 214 sprintf(node_name, TNODE, mypid); in setup()
|
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 | 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()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/ |
D | page-poisoning.c | 95 static pid_t mypid; variable 149 printf("[pid %d] %s", mypid, buf); in mylog() 150 fprintf(log_fd, "[pid %d] %s", mypid, buf); in mylog() 164 fprintf(result_fd, "[pid %d] %s", mypid, buf); in result() 338 snprintf(buf, PATH_MAX, "%s/dirty%d", tmp_dir, mypid); in playfile() 408 snprintf(fn, PATH_MAX, "%s/clean%d", tmp_dir, mypid); in do_file_clean() 616 *shmptr = mypid; in shm_test() 722 mypid = getpid(); in run_test() 877 mypid = getpid(); in main()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_smd/ |
D | main.c | 82 unsigned int mypid = 0; in _thread_spam() local 84 unsigned int mypid = (unsigned int)getpid(); in _thread_spam() 95 mypid, (unsigned int)n)) { in _thread_spam()
|
/third_party/node/deps/uv/src/unix/ |
D | openbsd.c | 66 pid_t mypid; in uv_exepath() local 72 mypid = getpid(); in uv_exepath() 80 mib[2] = mypid; in uv_exepath()
|
/third_party/libuv/src/unix/ |
D | openbsd.c | 66 pid_t mypid; in uv_exepath() local 72 mypid = getpid(); in uv_exepath() 80 mib[2] = mypid; in uv_exepath()
|
/third_party/python/Modules/ |
D | posixmodule.c | 7776 pid_t mypid; in win32_getppid() local 7781 mypid = getpid(); /* This function never fails */ in win32_getppid() 7790 if (mypid == (pid_t)pe.th32ProcessID) { in win32_getppid()
|
/third_party/mksh/ |
D | check.t | 12883 (mypid=$$; try mypid) 12914 mypid=nz
|