Home
last modified time | relevance | path

Searched refs:WEXITSTATUS (Results 1 – 25 of 439) sorted by relevance

12345678910>>...18

/third_party/libsnd/tests/
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/toybox/toys/posix/
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/selinux/libsepol/cil/test/unit/
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/musl/libc-test/src/functional/
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/kernel/syscalls/setpgid/
Dsetpgid03.c95 if (!(WIFEXITED(status)) || (WEXITSTATUS(status) != 0)) in main()
97 WEXITSTATUS(status)); in main()
124 if (!(WIFEXITED(status)) || (WEXITSTATUS(status) != 0)) in main()
126 WEXITSTATUS(status)); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
D3-1.c204 if (WEXITSTATUS(status) == 1) { in main()
208 if (WEXITSTATUS(status) == 2) { in main()
212 if (WEXITSTATUS(status) != 0) { in main()
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/
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/flutter/skia/third_party/externals/sdl/visualtest/src/linux/
Dlinux_process.c100 ps->exit_status = WEXITSTATUS(status); in SDL_GetProcessExitStatus()
161 ps->exit_status = WEXITSTATUS(status); in SDL_QuitProcess()
195 ps->exit_status = WEXITSTATUS(status); in SDL_KillProcess()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
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/testcases/kernel/mem/tunable/
Dmin_free_kbytes.c78 if (WIFEXITED(status) && WEXITSTATUS(status) != 0) in min_free_kbytes_test()
124 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) in test_tune()
146 if (WEXITSTATUS(status) != 0) { in test_tune()
/third_party/ltp/testcases/kernel/syscalls/wait4/
Dwait401.c51 if (WEXITSTATUS(status)) in run()
52 tst_res(TFAIL, "WEXITSTATUS() != 0 but %i", WEXITSTATUS(status)); in run()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/
D8-1.c217 && WEXITSTATUS(status) == 0) { in main()
222 && WEXITSTATUS(status) == 0) { in main()
227 && WEXITSTATUS(status) == 0) { in main()
/third_party/musl/ndk_musl_include/sys/
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/
Dwait.h48 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) macro
50 #define WSTOPSIG(s) WEXITSTATUS(s)
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dwait.h48 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) macro
50 #define WSTOPSIG(s) WEXITSTATUS(s)
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dwait.h52 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) macro
54 #define WSTOPSIG(s) WEXITSTATUS(s)
/third_party/musl/porting/uniproton/kernel/include/sys/
Dwait.h48 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) macro
50 #define WSTOPSIG(s) WEXITSTATUS(s)
/third_party/musl/include/sys/
Dwait.h48 #define WEXITSTATUS(s) (((s) & 0xff00) >> 8) macro
50 #define WSTOPSIG(s) WEXITSTATUS(s)
/third_party/ltp/testcases/kernel/containers/netns/
Dnetns_netlink.c102 if (WEXITSTATUS(system("ip tuntap add dev dummy0 mode tap"))) in test_netns_netlink()
106 if (WEXITSTATUS(system("ip tuntap del mode tap dummy0"))) in test_netns_netlink()
/third_party/ltp/testcases/kernel/syscalls/keyctl/
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/
Dendian_switch01.c51 int rc = WEXITSTATUS(status); in check_le_switch_supported()
79 int rc = WEXITSTATUS(status); in test_le_switch()
/third_party/ltp/testcases/kernel/syscalls/vfork/
Dvfork02.c146 if (WEXITSTATUS(exit_status) == 0) { in main()
149 } else if (WEXITSTATUS(exit_status) == 1) { in main()
/third_party/musl/libc-test/src/regression/
Ddaemon-failure.c65 else if (WEXITSTATUS(s)) in main()
66 t_error("child exited with %d\n", WEXITSTATUS(s)); in main()
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()

12345678910>>...18