/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
4-43.c | 43 pid_t pid; local 44 if ((pid = fork()) == 0) { 69 if (waitpid(pid, &s, WUNTRACED) == -1) { 77 kill(pid, SIGKILL);
|
4-44.c | 43 pid_t pid; local 44 if ((pid = fork()) == 0) { 69 if (waitpid(pid, &s, WUNTRACED) == -1) { 77 kill(pid, SIGKILL);
|
4-45.c | 43 pid_t pid; local 44 if ((pid = fork()) == 0) { 69 if (waitpid(pid, &s, WUNTRACED) == -1) { 77 kill(pid, SIGKILL);
|
4-46.c | 43 pid_t pid; local 44 if ((pid = fork()) == 0) { 69 if (waitpid(pid, &s, WUNTRACED) == -1) { 77 kill(pid, SIGKILL);
|
4-47.c | 43 pid_t pid; local 44 if ((pid = fork()) == 0) { 69 if (waitpid(pid, &s, WUNTRACED) == -1) { 77 kill(pid, SIGKILL);
|
4-48.c | 43 pid_t pid; local 44 if ((pid = fork()) == 0) { 69 if (waitpid(pid, &s, WUNTRACED) == -1) { 77 kill(pid, SIGKILL);
|
4-49.c | 43 pid_t pid; local 44 if ((pid = fork()) == 0) { 69 if (waitpid(pid, &s, WUNTRACED) == -1) { 77 kill(pid, SIGKILL);
|
4-50.c | 43 pid_t pid; local 44 if ((pid = fork()) == 0) { 69 if (waitpid(pid, &s, WUNTRACED) == -1) { 77 kill(pid, SIGKILL);
|
4-51.c | 43 pid_t pid; local 44 if ((pid = fork()) == 0) { 69 if (waitpid(pid, &s, WUNTRACED) == -1) { 77 kill(pid, SIGKILL);
|
4-52.c | 43 pid_t pid; local 44 if ((pid = fork()) == 0) { 69 if (waitpid(pid, &s, WUNTRACED) == -1) { 77 kill(pid, SIGKILL);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigsuspend/ |
3-1.c | 34 pid_t pid; local 35 pid = fork(); 37 if (pid == 0) { 62 kill(pid, SIGABRT);
|
/external/valgrind/gdbserver_tests/ |
fork_chain.c | 8 int pid; local 12 pid = fork(); 13 if (pid == -1) { 18 if (pid == 0) { 25 while((ret = waitpid(pid, &status, 0)) != pid) {
|
/external/valgrind/none/tests/ |
pth_2sig.c | 26 pid_t pid = getpid(); local 30 for (i = 0; i < 20 && kill(pid, SIGTERM) == 0; i++)
|
res_search.c | 27 pthread_t pid; local 42 if(0 != pthread_create(&pid, 0, fn, (void*)argv[1])) 48 pthread_join(pid, 0);
|
/external/valgrind/none/tests/solaris/ |
block_all_signals.c | 21 pid_t pid = fork(); local 22 if (pid < 0) { 25 } else if (pid == 0) { 33 while ((ret = waitpid(pid, &status, 0)) != pid) {
|
/packages/services/Car/procfs-inspector/server/ |
impl.cpp | 41 pid_t pid; local 42 if (asNumber(entry.getChild(), &pid)) { 43 processes.push_back(ProcessInfo{pid, entry.getOwnerUserId()});
|
/system/extras/iotop/ |
tasklist.cpp | 40 pid_t pid = atoi(entry->d_name); local 41 f(pid); 62 return ScanPidsInDir(filename, [&pid_list](pid_t pid) { 63 pid_list.push_back(pid);
|
/system/extras/tests/kernel.config/ |
sysvipc_test.cpp | 37 pid_t pid = getpid(); local 38 int ret = kcmp(pid, pid, KCMP_SYSVSEM, 0, 0); 40 EXPECT_EQ(-1, kcmp(pid, pid, KCMP_SYSVSEM, 0, 0));
|
/bionic/libc/bionic/ |
abort.cpp | 37 static inline __always_inline void inline_tgkill(pid_t pid, pid_t tid, int sig) { 39 register int r0 __asm__("r0") = pid; 45 register long x0 __asm__("x0") = pid; 51 syscall(__NR_tgkill, pid, tid, sig); 56 // Protect ourselves against stale cached PID/TID values by fetching them via syscall. 58 pid_t pid = syscall(__NR_getpid); local 68 inline_tgkill(pid, tid, SIGABRT); 76 inline_tgkill(pid, tid, SIGABRT);
|
/device/google/marlin/dataservices/rmnetctl/inc/ |
librmnetctl_hndl.h | 50 * @var pid process id to be used for the netlink message 58 uint32_t pid; member in struct:rmnetctl_hndl_s
|
/external/clang/test/Analysis/ |
vfork.c | 10 pid_t pid = vfork(); // expected-warning{{Call to function 'vfork' is insecure}} local 11 if (pid != 0) 16 // Ensure that modifying pid is ok. 17 pid = 1; // no-warning 38 // Same as previous but without explicit pid variable. 40 pid_t pid = vfork(); // expected-warning{{Call to function 'vfork' is insecure}} local 44 // Ensure that writing pid is ok. 45 pid = 1; // no-warning 96 pid_t pid; local 97 if ((pid = vfork()) == 0) // expected-warning{{Call to function 'vfork' is insecure} [all...] |
/external/compiler-rt/test/asan/TestCases/Linux/ |
signal_during_stop_the_world.cc | 26 pid_t pid = fork(); local 27 if (pid < 0) { 31 if (pid == 0) { 46 kill(pid, SIGTERM); 47 waitpid(pid, 0, 0);
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
wait3.cc | 14 pid_t pid = fork(); local 15 if (pid) { // parent
|
waitid.cc | 10 pid_t pid = fork(); local 11 if (pid) { // parent
|
/external/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
getpass.cc | 17 int pid = forkpty(&master, NULL, NULL, NULL); local 19 if(pid == -1) { 22 } else if (pid > 0) {
|