Home
last modified time | relevance | path

Searched refs:WEXITSTATUS (Results 1 - 25 of 415) sorted by relevance

12345678910>>...17

/third_party/libsnd/tests/
H A Dstdio_test.c60 #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 Dtest_integration.c59 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 Dxargs.c191 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 Dvfork.c36 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 D3-1.c204 if (WEXITSTATUS(status) == 1) { in main()
208 if (WEXITSTATUS(status) == 2) { in main()
212 if (WEXITSTATUS(status) != 0) { in main()
H A D2-2.c221 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 Dhelper.c180 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 Dwait401.c51 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 Dmin_free_kbytes.c77 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 D1-5.c202 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 Dtst_status.c16 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 Dnetns_netlink.c104 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 Ddaemon-failure.c65 else if (WEXITSTATUS(s)) in main()
66 t_error("child exited with %d\n", WEXITSTATUS(s)); in main()
H A Dpthread_exit-dtor.c61 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 Dwait.h48 #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 Dwait.h48 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) macro
50 #define WSTOPSIG(s) WEXITSTATUS(s)
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dwait.h48 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) macro
50 #define WSTOPSIG(s) WEXITSTATUS(s)
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dwait.h52 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) macro
54 #define WSTOPSIG(s) WEXITSTATUS(s)
/third_party/ltp/testcases/kernel/syscalls/fork/
H A Dfork13.c94 if (WEXITSTATUS(status) != retval) { in check()
97 WEXITSTATUS(status), retval); in check()
/third_party/ltp/testcases/kernel/syscalls/keyctl/
H A Dkeyctl07.c87 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 Dendian_switch01.c57 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 Dwait.h48 #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 D8-1.c217 && 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 Dptrace01.c105 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 Dprocess_vm_readv02.c106 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) in run()
113 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) in run()

Completed in 7 milliseconds

12345678910>>...17