/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/ |
5-1.c | 27 int result = -1, child_pid; local 31 child_pid = fork(); 32 if (child_pid == -1) { 35 } else if (child_pid == 0) { 46 result = sched_getscheduler(child_pid);
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
coverage-fork-direct.cc | 23 pid_t child_pid = fork(); local 24 if (child_pid == 0) {
|
coverage-fork.cc | 22 pid_t child_pid = fork(); local 23 if (child_pid == 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/ |
4-1.c | 28 int result = -1, child_pid; local 32 child_pid = fork(); 33 if (child_pid == -1) { 36 } else if (child_pid == 0) { 47 result = sched_getparam(child_pid, ¶m);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
23-7.c | 25 int child_pid, stat_loc, old_priority; local 34 child_pid = fork(); 35 if (child_pid == -1) { 38 } else if (child_pid == 0) { 50 sched_setparam(child_pid, ¶m);
|
27-1.c | 28 int result, child_pid, stat_loc; local 36 child_pid = fork(); 37 if (child_pid == -1) { 40 } else if (child_pid == 0) { 51 result = sched_setparam(child_pid, ¶m);
|
1-1.c | 46 int result, child_pid, tmp_errno, policy; local 51 child_pid = fork(); 52 if (child_pid == -1) { 55 } else if (child_pid == 0) { 59 if (sched_getparam(child_pid, ¶m) != 0) { 61 kill(child_pid, SIGUSR1); 80 result = sched_setparam(child_pid, ¶m); 83 if (sched_getparam(child_pid, ¶m) != 0) { 85 kill(child_pid, SIGUSR1); 91 kill(child_pid, SIGUSR1) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
21-1.c | 27 int result, child_pid, stat_loc; local 33 child_pid = fork(); 34 if (child_pid == -1) { 37 } else if (child_pid == 0) { 48 result = sched_setscheduler(child_pid, SCHED_FIFO, ¶m);
|
17-7.c | 34 int child_pid, stat_loc; local 58 child_pid = fork(); 59 if (child_pid == -1) { 62 } else if (child_pid == 0) { 73 sched_setscheduler(child_pid, policy, ¶m);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/ |
3-1.c | 29 int result = -2, child_pid, stat_loc; local 40 child_pid = fork(); 41 if (child_pid == -1) { 44 } else if (child_pid == 0) { 55 result = sched_rr_get_interval(child_pid, &interval);
|
/external/ltp/testcases/kernel/syscalls/clone/ |
clone01.c | 46 int status, child_pid; local 62 child_pid = SAFE_WAIT(cleanup, &status); 64 if (TEST_RETURN == child_pid) 68 TEST_RETURN, child_pid);
|
clone03.c | 62 int child_pid, status; local 100 child_pid = atoi(buff); 102 if (TEST_RETURN == child_pid)
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl22.c | 42 int child_pid; variable 63 child_pid = FORK_OR_VFORK(); 64 switch (child_pid) { 90 tst_record_childstatus(cleanup, child_pid);
|
/external/ltp/testcases/kernel/syscalls/sched_getparam/ |
sched_getparam02.c | 92 pid_t child_pid; local 102 switch (child_pid = FORK_OR_VFORK()) { 140 if ((waitpid(child_pid, &status, 0)) < 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
11-1.c | 67 pid_t child_pid; local 88 child_pid = fork(); 89 if (child_pid == -1) { 94 if (child_pid == 0) 97 if (waitpid(child_pid, &child_stat, 0) == -1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/killpg/ |
1-2.c | 39 int child_pid, child_pgid; local 41 if ((child_pid = fork()) == 0) { 71 if ((child_pgid = getpgid(child_pid)) == -1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
5-1.c | 79 int fd, child_pid; local 82 child_pid = fork(); 83 if (child_pid == -1) { 86 } else if (child_pid == 0) {
|
/external/libbrillo/brillo/ |
asynchronous_signal_handler_unittest.cc | 122 pid_t child_pid = fork(); local 123 if (child_pid == 0) { 133 EXPECT_EQ(child_pid, infos_[0].ssi_pid);
|
/external/ltp/testcases/kernel/syscalls/prctl/ |
prctl01.c | 95 pid_t child_pid; local 108 switch (child_pid = FORK_OR_VFORK()) { 135 if ((waitpid(child_pid, &status, 0)) < 0) {
|
prctl02.c | 109 pid_t child_pid; local 122 switch (child_pid = FORK_OR_VFORK()) { 147 if ((waitpid(child_pid, &status, 0)) < 0) {
|
/external/ltp/testcases/kernel/syscalls/ptrace/ |
ptrace01.c | 116 pid_t child_pid; local 148 switch (child_pid = FORK_OR_VFORK()) { 168 if ((waitpid(child_pid, &status, 0)) < 0) { 186 if ((ptrace(PTRACE_KILL, child_pid, 195 if ((waitpid(child_pid, &status, 0)) < 0) {
|
ptrace02.c | 116 pid_t child_pid; local 148 switch (child_pid = FORK_OR_VFORK()) { 168 if ((waitpid(child_pid, &status, 0)) < 0) { 186 if ((ptrace(PTRACE_CONT, child_pid, 196 if ((waitpid(child_pid, &status, 0)) < 0) {
|
/external/ltp/testcases/kernel/syscalls/sched_setparam/ |
sched_setparam03.c | 93 pid_t child_pid; local 103 switch (child_pid = FORK_OR_VFORK()) { 128 if ((waitpid(child_pid, &status, 0)) < 0) {
|
sched_setparam05.c | 96 pid_t child_pid; local 106 switch (child_pid = FORK_OR_VFORK()) { 144 if ((waitpid(child_pid, &status, 0)) < 0) {
|
/external/ltp/testcases/kernel/syscalls/setpgid/ |
setpgid03.c | 52 int child_pid; local 69 if ((child_pid = FORK_OR_VFORK()) == -1) 72 if (child_pid == 0) { 82 rval = setpgid(child_pid, getppid()); 100 if ((child_pid = FORK_OR_VFORK()) == -1) 103 if (child_pid == 0) { 111 rval = setpgid(child_pid, getppid());
|