Home
last modified time | relevance | path

Searched refs:my_pid (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/kernel/syscalls/getpgid/
Dgetpgid01.c64 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/
Dsigaltstack01.c85 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-m32/
Dprocess_vm_readv_writev.c211 pid_t my_pid = getpid(); in main() local
269 do_call(my_pid, ptr_cast(bogus_iov + ARRAY_SIZE(bogus_iovec)), in main()
272 do_call(my_pid, ptr_cast(bogus_iov + ARRAY_SIZE(bogus_iovec)), NULL, in main()
276 do_call(my_pid, ptr_cast(bogus_iov), (char *) &bogus_arg, in main()
285 do_call(my_pid, ptr_cast(lcl_iov + 2), (char *) &lcl_arg_cut, in main()
295 do_call(my_pid, ptr_cast(lcl_iov + 2), (char *) &lcl_arg_cut, in main()
300 do_call(my_pid, ptr_cast(lcl_iov), (char *) &lcl_arg, in main()
/external/strace/tests-mx32/
Dprocess_vm_readv_writev.c211 pid_t my_pid = getpid(); in main() local
269 do_call(my_pid, ptr_cast(bogus_iov + ARRAY_SIZE(bogus_iovec)), in main()
272 do_call(my_pid, ptr_cast(bogus_iov + ARRAY_SIZE(bogus_iovec)), NULL, in main()
276 do_call(my_pid, ptr_cast(bogus_iov), (char *) &bogus_arg, in main()
285 do_call(my_pid, ptr_cast(lcl_iov + 2), (char *) &lcl_arg_cut, in main()
295 do_call(my_pid, ptr_cast(lcl_iov + 2), (char *) &lcl_arg_cut, in main()
300 do_call(my_pid, ptr_cast(lcl_iov), (char *) &lcl_arg, in main()
/external/strace/tests/
Dprocess_vm_readv_writev.c211 pid_t my_pid = getpid(); in main() local
269 do_call(my_pid, ptr_cast(bogus_iov + ARRAY_SIZE(bogus_iovec)), in main()
272 do_call(my_pid, ptr_cast(bogus_iov + ARRAY_SIZE(bogus_iovec)), NULL, in main()
276 do_call(my_pid, ptr_cast(bogus_iov), (char *) &bogus_arg, in main()
285 do_call(my_pid, ptr_cast(lcl_iov + 2), (char *) &lcl_arg_cut, in main()
295 do_call(my_pid, ptr_cast(lcl_iov + 2), (char *) &lcl_arg_cut, in main()
300 do_call(my_pid, ptr_cast(lcl_iov), (char *) &lcl_arg, in main()
/external/ltp/testcases/kernel/syscalls/sigprocmask/
Dsigprocmask01.c100 pid_t my_pid; /* test process id */ in main() local
118 my_pid = getpid(); in main()
121 kill(my_pid, SIGINT); in main()
/external/python/cpython2/Python/
Dthread_sgi.h21 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/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsigsys_handlers.cc194 volatile uint64_t my_pid = sys_getpid(); in SIGSYSKillFailure() local
195 volatile char* addr = reinterpret_cast<volatile char*>(my_pid & 0xFFF); in SIGSYSKillFailure()
/external/valgrind/mpi/
Dlibmpiwrap.c173 static pid_t my_pid = -1; variable
187 my_pid = getpid(); in before()
205 preamble, my_pid, my_pid); in before()
231 fprintf(stderr, "%s %5d: exiting now\n", preamble, my_pid ); in before()
237 preamble, my_pid); in before()
241 fprintf(stderr, "%s %5d: enter PMPI_%s\n", preamble, my_pid, fnname ); in before()
248 preamble, my_pid, fnname, err ); in after()
253 fprintf(stderr, "%s %5d: fatal: %s\n", preamble, my_pid, msg); in barf()
254 fprintf(stderr, "%s %5d: exiting now\n", preamble, my_pid ); in barf()
869 preamble, my_pid, (long)ty); in walk_type()
[all …]