/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/ |
H A D | 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/ |
H A D | 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/ |
H A D | 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);
|
H A D | 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);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
H A D | 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);
|
H A D | 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/compiler-rt/test/asan/TestCases/Posix/ |
H A D | coverage-fork-direct.cc | 23 pid_t child_pid = fork(); local 24 if (child_pid == 0) {
|
H A D | coverage-fork.cc | 22 pid_t child_pid = fork(); local 23 if (child_pid == 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/ |
H A D | 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/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | task_event_pinned_vs_ebb_test.c | 22 static int setup_child_event(struct event *event, pid_t child_pid) argument 32 FAIL_IF(event_open_with_pid(event, child_pid));
|
H A D | task_event_vs_ebb_test.c | 22 static int setup_child_event(struct event *event, pid_t child_pid) argument 30 FAIL_IF(event_open_with_pid(event, child_pid));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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/openssh/ |
H A D | sandbox-capsicum.c | 47 pid_t child_pid; member in struct:ssh_sandbox 62 box->child_pid = 0; 117 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument 119 box->child_pid = child_pid;
|
H A D | sandbox-darwin.c | 40 pid_t child_pid; member in struct:ssh_sandbox 54 box->child_pid = 0; 94 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument 96 box->child_pid = child_pid;
|
H A D | sandbox-null.c | 67 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
|
H A D | sandbox-pledge.c | 41 pid_t child_pid; member in struct:ssh_sandbox 51 box->child_pid = 0; 71 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument 73 box->child_pid = child_pid;
|
H A D | sandbox-rlimit.c | 40 pid_t child_pid; member in struct:ssh_sandbox 54 box->child_pid = 0; 91 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument 93 box->child_pid = child_pid;
|
H A D | sandbox-solaris.c | 103 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
|
/external/libbrillo/brillo/ |
H A D | 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/libchrome/sandbox/linux/services/ |
H A D | init_process_reaper.cc | 33 pid_t child_pid = fork(); local 34 if (child_pid == -1) { 42 if (child_pid) { 71 if (reaped_child_info.si_pid == child_pid) {
|
/external/ltp/testcases/kernel/syscalls/clone/ |
H A D | clone01.c | 45 int status, child_pid; local 61 child_pid = wait(&status); 62 if (child_pid == -1) 66 if (TEST_RETURN == child_pid) 70 TEST_RETURN, child_pid);
|
H A D | 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/ |
H A D | fcntl22.c | 42 int child_pid; variable 63 child_pid = FORK_OR_VFORK(); 64 switch (child_pid) { 90 tst_record_childstatus(cleanup, child_pid);
|