/external/igt-gpu-tools/lib/tests/ |
D | igt_simulation.c | 48 static int do_fork(void) in do_fork() function 104 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SKIP); in main() 107 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SUCCESS); in main() 115 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SUCCESS); in main() 118 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SUCCESS); in main() 122 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SUCCESS); in main() 126 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SUCCESS); in main() 132 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SUCCESS); in main() 136 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SUCCESS); in main() 145 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SKIP); in main() [all …]
|
D | igt_conflicting_args.c | 46 static int do_fork(void) in do_fork() function 76 internal_assert_wexited(do_fork(), 0); in main() 81 internal_assert_wsignaled(do_fork(), SIGABRT); in main() 86 internal_assert_wsignaled(do_fork(), SIGABRT); in main() 91 internal_assert_wsignaled(do_fork(), SIGABRT); in main() 96 internal_assert_wsignaled(do_fork(), SIGABRT); in main()
|
D | igt_fork.c | 88 static int do_fork(void (*test_to_run)(void)) in do_fork() function 116 ret = do_fork(igt_fork_vs_assert); in main() 120 ret = do_fork(igt_fork_vs_skip); in main() 124 ret = do_fork(igt_fork_leak); in main() 128 ret = do_fork(igt_fork_timeout_leak); in main() 132 ret = do_fork(plain_fork_leak); in main()
|
D | igt_segfault.c | 59 static int do_fork(void) in do_fork() function 107 internal_assert_wsignaled(do_fork(), SIGSEGV); in main() 113 internal_assert_wexited(do_fork(), SIGSEGV + 128); in main() 120 internal_assert_wexited(do_fork(), SIGSEGV + 128); in main() 128 internal_assert_wexited(do_fork(), SIGSEGV + 128); in main()
|
D | igt_no_exit.c | 59 static int do_fork(void (*test_to_run)(void)) in do_fork() function 81 ret = do_fork(no_exit); in main() 84 ret = do_fork(no_exit_list_only); in main()
|
D | igt_invalid_subtest_name.c | 63 static int do_fork(void (*test_to_run)(void)) in do_fork() function 85 ret = do_fork(invalid_subtest_name); in main() 88 ret = do_fork(nonexisting_subtest); in main()
|
D | igt_assert.c | 58 static int do_fork(void) in do_fork() function 153 ret = do_fork(); 161 ret = do_fork();
|
D | igt_describe.c | 171 static pid_t do_fork(int argc, char **argv, int *out, int *err) in do_fork() function 228 pid_t pid = do_fork(fake_argc, fake_argv, &outfd, &errfd); in main() 248 pid_t pid = do_fork(fake_argc, fake_argv, &outfd, &errfd); in main() 268 pid_t pid = do_fork(fake_argc, fake_argv, &outfd, &errfd); in main()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/ |
D | fork.c | 67 static int do_fork = 0; variable 200 if (do_fork) in bench_proc() 211 { "fork", no_argument, &do_fork, 1 }, 260 if (do_fork && do_vfork) { in main() 264 if (do_exec && !do_fork && !do_vfork) { in main() 302 if (do_fork) in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/ |
D | 2-1.c | 135 int do_fork; in main() local 230 do_fork = 0; in main() 267 do_fork = 1; in main() 317 if (do_fork != 0) { in main() 350 if (do_fork != 0) { in main()
|
D | 4-2.c | 156 int do_fork; in main() local 265 do_fork = 0; in main() 303 do_fork = 1; in main() 336 if (do_fork != 0) { in main() 369 if (do_fork != 0) { in main()
|
D | 1-2.c | 158 int do_fork; in main() local 264 do_fork = 0; in main() 302 do_fork = 1; in main() 354 if (do_fork != 0) { in main() 387 if (do_fork != 0) { in main()
|
/external/ltp/testcases/kernel/syscalls/waitpid/ |
D | waitpid10.c | 30 static void do_fork(void); 48 do_fork(); in do_child_1() 85 static void do_fork(void) in do_fork() function
|
/external/virglrenderer/vtest/ |
D | vtest_server.c | 85 bool do_fork; member 112 .do_fork = true, 143 if (server.do_fork) { in main() 198 server.do_fork = false; in vtest_server_parse_args() 201 server.do_fork = false; in vtest_server_parse_args() 253 server.do_fork = false; in vtest_server_parse_args() 522 server.do_fork = false; in vtest_server_fork() 615 if (server.do_fork) { in vtest_server_run()
|
/external/iproute2/lib/ |
D | exec.c | 8 int cmd_exec(const char *cmd, char **argv, bool do_fork) in cmd_exec() argument 11 if (do_fork) { in cmd_exec()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
D | 2-2.c | 264 int do_fork; in main() local 372 do_fork = 0; in main() 440 do_fork = 1; in main() 492 if (do_fork != 0) { in main() 579 if (do_fork != 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
D | 4-2.c | 203 int do_fork; in main() local 313 do_fork = 0; in main() 395 do_fork = 1; in main() 438 if (do_fork != 0) { in main() 538 if (do_fork != 0) { in main()
|
D | 2-7.c | 255 int do_fork; in main() local 363 do_fork = 0; in main() 431 do_fork = 1; in main() 483 if (do_fork != 0) { in main() 566 if (do_fork != 0) { in main()
|
D | 2-4.c | 248 int do_fork; in main() local 356 do_fork = 0; in main() 424 do_fork = 1; in main() 476 if (do_fork != 0) { in main() 562 if (do_fork != 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
D | stress1.c | 388 int do_fork; in main() local 499 do_fork = 0; in main() 572 do_fork = 1; in main() 587 CD.fork = do_fork; in main()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/ |
D | stress1.c | 382 int do_fork; in main() local 493 do_fork = 0; in main() 566 do_fork = 1; in main() 581 CD.fork = do_fork; in main()
|
/external/sg3_utils/testing/ |
D | sg_tst_ioctl.c | 87 static bool do_fork = false; variable 573 if (do_fork && is_parent) in tst_extended_ioctl() 597 if (do_fork && is_parent && fnp && (sock >= 0)) { /* master/READ side */ in tst_extended_ioctl() 611 } else if (do_fork && !is_parent && fn2p && (sock >= 0)) { in tst_extended_ioctl() 805 do_fork = true; in main() 1177 if (do_fork) { in main() 1205 cp = do_fork ? relative_cp : ""; in main() 1214 if (do_fork && !is_parent) in main() 1284 if (do_fork) in main()
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify19.c | 120 static void do_fork(void) in do_fork() function 184 do_fork(); in test_fanotify()
|
D | fanotify21.c | 93 static void do_fork(void) in do_fork() function 151 do_fork(); in do_test()
|
/external/selinux/mcstrans/src/ |
D | mcstransd.c | 534 int do_fork = 1; in main() local 538 do_fork = 0; in main() 567 if (do_fork && daemon(0, 0)) { in main()
|