/external/ltp/testcases/kernel/syscalls/getpgid/ |
D | getpgid01.c | 64 register int my_pid, my_ppid; in main() local 104 my_pid = getpid(); in main() 105 if ((pgid_1 = getpgid(my_pid)) == -1) in main() 106 tst_resm(TFAIL | TERRNO, "getpgid(%d) failed", my_pid); in main() 110 "[%d != %d]", my_pid, pgid_1, pgid_0); in main()
|
/external/ltp/testcases/kernel/syscalls/sigaltstack/ |
D | sigaltstack01.c | 85 pid_t my_pid; /* test process id */ variable 128 kill(my_pid, SIGUSR1); in main() 185 my_pid = getpid(); in setup() 195 kill(my_pid, SIGUSR1); in setup()
|
/external/strace/tests/ |
D | process_vm_readv_writev.c | 212 pid_t my_pid = getpid(); in main() local 270 do_call(my_pid, ptr_cast(bogus_iov + ARRAY_SIZE(bogus_iovec)), in main() 273 do_call(my_pid, ptr_cast(bogus_iov + ARRAY_SIZE(bogus_iovec)), NULL, in main() 277 do_call(my_pid, ptr_cast(bogus_iov), (char *) &bogus_arg, in main() 286 do_call(my_pid, ptr_cast(lcl_iov + 2), (char *) &lcl_arg_cut, in main() 296 do_call(my_pid, ptr_cast(lcl_iov + 2), (char *) &lcl_arg_cut, in main() 301 do_call(my_pid, ptr_cast(lcl_iov), (char *) &lcl_arg, in main()
|
/external/strace/tests-m32/ |
D | process_vm_readv_writev.c | 212 pid_t my_pid = getpid(); in main() local 270 do_call(my_pid, ptr_cast(bogus_iov + ARRAY_SIZE(bogus_iovec)), in main() 273 do_call(my_pid, ptr_cast(bogus_iov + ARRAY_SIZE(bogus_iovec)), NULL, in main() 277 do_call(my_pid, ptr_cast(bogus_iov), (char *) &bogus_arg, in main() 286 do_call(my_pid, ptr_cast(lcl_iov + 2), (char *) &lcl_arg_cut, in main() 296 do_call(my_pid, ptr_cast(lcl_iov + 2), (char *) &lcl_arg_cut, in main() 301 do_call(my_pid, ptr_cast(lcl_iov), (char *) &lcl_arg, in main()
|
/external/strace/tests-mx32/ |
D | process_vm_readv_writev.c | 212 pid_t my_pid = getpid(); in main() local 270 do_call(my_pid, ptr_cast(bogus_iov + ARRAY_SIZE(bogus_iovec)), in main() 273 do_call(my_pid, ptr_cast(bogus_iov + ARRAY_SIZE(bogus_iovec)), NULL, in main() 277 do_call(my_pid, ptr_cast(bogus_iov), (char *) &bogus_arg, in main() 286 do_call(my_pid, ptr_cast(lcl_iov + 2), (char *) &lcl_arg_cut, in main() 296 do_call(my_pid, ptr_cast(lcl_iov + 2), (char *) &lcl_arg_cut, in main() 301 do_call(my_pid, ptr_cast(lcl_iov), (char *) &lcl_arg, in main()
|
/external/ltp/testcases/kernel/syscalls/sigprocmask/ |
D | sigprocmask01.c | 100 pid_t my_pid; /* test process id */ in main() local 118 my_pid = getpid(); in main() 121 kill(my_pid, SIGINT); in main()
|
/external/llvm-project/compiler-rt/test/tsan/ |
D | fiber_cleanup.cpp | 10 pid_t my_pid = getpid(); in count_memory_mappings() local 12 snprintf(proc_file_name, sizeof(proc_file_name), "/proc/%ld/maps", my_pid); in count_memory_mappings()
|
/external/python/cpython2/Python/ |
D | thread_sgi.h | 21 static pid_t my_pid; /* PID of main thread */ variable 50 my_pid = getpid(); /* so that we know which is the main thread */ in PyThread__init_thread() 183 if (getpid() == my_pid) { in PyThread_exit_thread()
|
/external/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ |
D | ittnotify_static.cpp | 847 const pid_t my_pid = getpid(); in __itt_get_lib_name() local 854 res = snprintf(cmdline_path, PATH_MAX - 1, "/proc/%d/cmdline", my_pid); in __itt_get_lib_name()
|