/third_party/libsnd/tests/ |
H A D | stdio_test.c | 60 #ifndef WEXITSTATUS 61 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) macro 95 { retval = WIFEXITED (retval) ? WEXITSTATUS (retval) : 1 ; in stdio_test() 108 { retval = WIFEXITED (retval) ? WEXITSTATUS (retval) : 1 ; in stdio_test() 115 { retval = WIFEXITED (retval) ? WEXITSTATUS (retval) : 1 ; in stdio_test()
|
/third_party/selinux/libsepol/cil/test/unit/ |
H A D | test_integration.c | 59 CuAssertIntEquals(tc, 0, WEXITSTATUS(status)); in test_integration() 61 CuAssertIntEquals(tc, 0, WEXITSTATUS(status1)); in test_integration() 63 CuAssertIntEquals(tc, 0, WEXITSTATUS(status2)); in test_integration() 75 CuAssertIntEquals(tc, 0, WEXITSTATUS(status)); in test_min_policy()
|
/third_party/toybox/toys/posix/ |
H A D | xargs.c | 191 if (WEXITSTATUS(status) == 126 || WEXITSTATUS(status) == 127) { in xargs_main() 192 toys.exitval = WEXITSTATUS(status); in xargs_main() 194 } else if (WEXITSTATUS(status) >= 1 && WEXITSTATUS(status) <= 125) { in xargs_main() 196 } else if (WEXITSTATUS(status) == 255) { in xargs_main()
|
/third_party/musl/libc-test/src/functional/ |
H A D | vfork.c | 36 TEST(WEXITSTATUS(r) == code, "child exited with %d, expected %d\n", WEXITSTATUS(r), code); in test_exit() 58 TEST(WEXITSTATUS(r) == code, "child exited with %d, expected %d\n", WEXITSTATUS(r), code); in test_shell_exit()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
H A D | 3-1.c | 204 if (WEXITSTATUS(status) == 1) { in main() 208 if (WEXITSTATUS(status) == 2) { in main() 212 if (WEXITSTATUS(status) != 0) { in main()
|
H A D | 2-2.c | 221 if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) { in main() 231 if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) { in main() 241 if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/ |
H A D | helper.c | 180 if (WEXITSTATUS(status) == 0) { in main() 183 printf("Test %s: returned %d\n", argv[2], WEXITSTATUS(status)); in main() 185 exit(WEXITSTATUS(status)); in main()
|
/third_party/ltp/testcases/kernel/syscalls/wait4/ |
H A D | wait401.c | 51 if (WEXITSTATUS(status)) in run() 52 tst_res(TFAIL, "WEXITSTATUS() != 0 but %i", WEXITSTATUS(status)); in run() 54 tst_res(TPASS, "WEXITSTATUS() == 0"); in run()
|
/third_party/ltp/testcases/kernel/mem/tunable/ |
H A D | min_free_kbytes.c | 77 if (WIFEXITED(status) && WEXITSTATUS(status) != 0) in min_free_kbytes_test() 123 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) in test_tune() 145 if (WEXITSTATUS(status) != 0) { in test_tune()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
H A D | 1-5.c | 202 if (WEXITSTATUS(status) == 0) { in threaded() 206 if (WEXITSTATUS(status) == PTS_UNRESOLVED) { in threaded() 214 WEXITSTATUS(status)); in threaded()
|
/third_party/ltp/lib/ |
H A D | tst_status.c | 16 snprintf(buf, sizeof(buf), "exited with %i", WEXITSTATUS(status)); in exited() 63 if (!WIFEXITED(status) || WEXITSTATUS(status)) { in tst_validate_children_()
|
/third_party/ltp/testcases/kernel/containers/netns/ |
H A D | netns_netlink.c | 104 if (WEXITSTATUS(system("ip tuntap add dev dummy0 mode tap"))) in test_netns_netlink() 108 if (WEXITSTATUS(system("ip tuntap del mode tap dummy0"))) in test_netns_netlink()
|
/third_party/musl/libc-test/src/regression/ |
H A D | daemon-failure.c | 65 else if (WEXITSTATUS(s)) in main() 66 t_error("child exited with %d\n", WEXITSTATUS(s)); in main()
|
H A D | pthread_exit-dtor.c | 61 if (!WIFEXITED(r) || WEXITSTATUS(r) != 1) { in main() 64 WIFEXITED(r), !WIFEXITED(r)&&WIFSIGNALED(r)?WTERMSIG(r):0, WIFEXITED(r)?WEXITSTATUS(r):0); in main()
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | wait.h | 48 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) macro 50 #define WSTOPSIG(s) WEXITSTATUS(s)
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | wait.h | 48 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) macro 50 #define WSTOPSIG(s) WEXITSTATUS(s)
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | wait.h | 48 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) macro 50 #define WSTOPSIG(s) WEXITSTATUS(s)
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | wait.h | 52 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) macro 54 #define WSTOPSIG(s) WEXITSTATUS(s)
|
/third_party/ltp/testcases/kernel/syscalls/fork/ |
H A D | fork13.c | 94 if (WEXITSTATUS(status) != retval) { in check() 97 WEXITSTATUS(status), retval); in check()
|
/third_party/ltp/testcases/kernel/syscalls/keyctl/ |
H A D | keyctl07.c | 87 if (WIFEXITED(status) && WEXITSTATUS(status) == 0) { in do_test() 97 if (WIFEXITED(status) && WEXITSTATUS(status) == TCONF) in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/switch/ |
H A D | endian_switch01.c | 57 int rc = WEXITSTATUS(status); in check_le_switch_supported() 85 int rc = WEXITSTATUS(status); in test_le_switch()
|
/third_party/musl/include/sys/ |
H A D | wait.h | 48 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) macro 50 #define WSTOPSIG(s) WEXITSTATUS(s)
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/ |
H A D | 8-1.c | 217 && WEXITSTATUS(status) == 0) { in main() 222 && WEXITSTATUS(status) == 0) { in main() 227 && WEXITSTATUS(status) == 0) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/ptrace/ |
H A D | ptrace01.c | 105 if (((WIFEXITED(status)) && (WEXITSTATUS(status))) in run() 115 WIFEXITED(status) && WEXITSTATUS(status) == tc->exp_wifexited) || in run()
|
/third_party/ltp/testcases/kernel/syscalls/cma/ |
H A D | process_vm_readv02.c | 106 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) in run() 113 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) in run()
|