/third_party/ltp/testcases/kernel/crypto/ |
H A D | af_alg04.c | 25 pid_t pid; in test_with_symm_enc_algs() local 39 pid = SAFE_FORK(); in test_with_symm_enc_algs() 48 if (pid != 0) { in test_with_symm_enc_algs()
|
/third_party/node/deps/v8/tools/testrunner/objects/ |
H A D | output.py | 38 pid=None, duration=None): 43 self.pid = pid
|
/third_party/node/test/parallel/ |
H A D | test-util-sigint-watchdog.js | 23 process.kill(process.pid, 'SIGINT'); 34 process.kill(process.pid, 'SIGINT'); 48 process.kill(process.pid, 'SIGINT');
|
/third_party/node/test/async-hooks/ |
H A D | test-graph.signal.js | 20 exec(`kill -USR2 ${process.pid}`); 27 exec(`kill -USR2 ${process.pid}`); 33 exec(`kill -USR2 ${process.pid}`);
|
/third_party/musl/src/linux/ |
H A D | wait4.c | 8 pid_t wait4(pid_t pid, int *status, int options, struct rusage *ru) in wait4() argument 14 r = __syscall(SYS_wait4_time64, pid, status, options, kru64); in wait4() 29 r = __sys_wait4(pid, status, options, dest); in wait4()
|
/third_party/musl/src/process/ |
H A D | system.c | 14 pid_t pid; in system() local 37 ret = posix_spawn(&pid, "/bin/sh", 0, &attr, in system() 41 if (!ret) while (waitpid(pid, &status, 0)<0 && errno == EINTR); in system()
|
/third_party/musl/src/stdio/ |
H A D | popen.c | 15 pid_t pid; in popen() local 43 if (!(e = posix_spawn(&pid, "/bin/sh", &fa, 0, in popen() 46 f->pipe_pid = pid; in popen()
|
/third_party/musl/porting/liteos_a/user/src/stdio/ |
H A D | popen.c | 15 pid_t pid; in popen() local 43 if (!(e = posix_spawn(&pid, "/bin/sh", &fa, 0, in popen() 46 f->pipe_pid = pid; in popen()
|
/third_party/musl/porting/liteos_a/user/src/process/ |
H A D | system.c | 14 pid_t pid; in system() local 38 ret = posix_spawn(&pid, "/bin/sh", 0, &attr, in system() 42 if (!ret) while (waitpid(pid, &status, 0)<0 && errno == EINTR); in system()
|
/third_party/ninja/src/ |
H A D | browse.cc | 37 pid_t pid = fork(); in RunBrowsePython() local 38 if (pid < 0) { in RunBrowsePython() 43 if (pid > 0) { // Parent. in RunBrowsePython()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmget/ |
H A D | hugeshmget05.c | 28 pid_t pid; in test_hugeshmget() local 31 switch (pid = fork()) { in test_hugeshmget() 42 SAFE_WAITPID(pid, &status, 0); in test_hugeshmget()
|
/third_party/ltp/testcases/kernel/mem/shmt/ |
H A D | shmt07.c | 63 int shmid, pid, status; in main() local 96 pid = fork(); in main() 97 switch (pid) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/execveat/ |
H A D | execveat01.c | 53 pid_t pid; in verify_execveat() local 55 pid = SAFE_FORK(); in verify_execveat() 56 if (pid == 0) { in verify_execveat()
|
/third_party/ltp/testcases/kernel/syscalls/flock/ |
H A D | flock03.c | 60 pid_t pid; in verify_flock() local 64 pid = SAFE_FORK(); in verify_flock() 65 if (pid == 0) in verify_flock()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgsnd/ |
H A D | msgsnd01.c | 22 static int queue_id = -1, pid; variable 48 if (qs_buf.msg_lspid == pid) in verify_msgsnd() 70 pid = getpid(); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/ |
H A D | semop04.c | 67 pid_t pid; in run() local 79 pid = SAFE_FORK(); in run() 81 if (pid) { in run()
|
/third_party/ltp/testcases/kernel/syscalls/pipe/ |
H A D | pipe11.c | 64 pid_t pid; in run() local 83 pid = SAFE_FORK(); in run() 85 if (!pid) { in run()
|
H A D | pipe02.c | 40 pid_t pid; in verify_pipe() local 54 pid = SAFE_FORK(); in verify_pipe() 55 if (pid == 0) { in verify_pipe()
|
/third_party/ltp/testcases/kernel/syscalls/sched_setscheduler/ |
H A D | sched_setscheduler01.c | 15 * 1. Call sched_setscheduler with an invalid pid, and expect 42 pid_t *pid; member 47 /* The pid is invalid - ESRCH */ 69 TST_EXP_FAIL(tv->sched_setscheduler(*tc->pid, tc->policy, tc->p), in run() 71 *tc->pid, tc->policy, tc->p); in run()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugefork/ |
H A D | hugefork01.c | 37 pid_t pid; in run_test() local 42 pid = SAFE_FORK(); in run_test() 43 if (pid != 0) { in run_test()
|
H A D | hugefork02.c | 53 int pid; in run_test() local 60 pid = SAFE_FORK(); in run_test() 62 if (pid == 0) in run_test()
|
/third_party/ltp/testcases/kernel/syscalls/futex/ |
H A D | futex_wait02.c | 46 int res, pid; in run() local 48 pid = SAFE_FORK(); in run() 49 if (!pid) in run()
|
/third_party/ltp/testcases/kernel/syscalls/kill/ |
H A D | kill05.c | 5 * Test case to check that kill() fails when passed a pid owned by another user. 76 pid_t pid; in verify_kill() local 78 pid = SAFE_FORK(); in verify_kill() 79 if (pid == 0) { in verify_kill()
|
/third_party/ltp/testcases/kernel/syscalls/readlink/ |
H A D | readlink01.c | 52 pid_t pid; in verify_readlink() local 56 pid = SAFE_FORK(); in verify_readlink() 58 if (!pid) { in verify_readlink()
|
/third_party/ltp/testcases/kernel/tracing/ftrace_test/ |
H A D | ftrace_stress_test.sh | 69 local pid_var=pid${p} 90 eval pid${index}=$! 91 tst_resm TINFO "Start pid${index}=$! $SPATH/ftrace_${target}.sh" 101 export pid${p}
|