| /netbsd-src/external/bsd/kyua-testers/dist/ |
| H A D | atf_result.c | 346 reason, WEXITSTATUS(status)); in convert_broken() 371 if (WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS) { in convert_expected_death() 399 if (status_arg == NO_STATUS_ARG || status_arg == WEXITSTATUS(status)) { in convert_expected_exit() 407 "code %d but got code %d", status_arg, WEXITSTATUS(status)); in convert_expected_exit() 434 if (WEXITSTATUS(status) == EXIT_SUCCESS) { in convert_expected_failure() 442 "exited with error code %d", WEXITSTATUS(status)); in convert_expected_failure() 485 "signal but exited with code %d", WEXITSTATUS(status)); in convert_expected_signal() 505 "exited with code %d", WEXITSTATUS(status)); in convert_expected_timeout() 531 if (WEXITSTATUS(status) == EXIT_SUCCESS) { in convert_failed() 564 if (WEXITSTATUS(status) == EXIT_SUCCESS) { in convert_passed() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/ |
| H A D | wait.d | 139 extern (D) int WEXITSTATUS( int status ) { return ( status & 0xFF00 ) >> 8; } in version() 147 extern (D) int WSTOPSIG( int status ) { return WEXITSTATUS( status ); } in version() 155 extern (D) int WEXITSTATUS( int status ) { return (status >> 8); } in version() 171 extern (D) int WEXITSTATUS( int status ) { return (status >> 8); } in version() 187 extern (D) int WEXITSTATUS( int status ) { return (status >> 8); } in version() 203 extern (D) int WEXITSTATUS(int status) { return (status >> 8) & 0xFF; } in version() 219 extern (D) int WEXITSTATUS( int status ) { return (status >> 8); } in version() 234 extern (D) int WEXITSTATUS(int status) { return (status >> 8) & 0xff; } in version() 245 extern (D) int WEXITSTATUS( int status ) { return ( status & 0xFF00 ) >> 8; } in version() 249 extern (D) int WSTOPSIG( int status ) { return WEXITSTATUS(status); } in version() [all …]
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
| H A D | wait-process.c | 40 #define WEXITSTATUS(x) (((x) >> 8) & 0xff) /* or: (x) ?? */ macro 59 # ifndef WEXITSTATUS 60 # define WEXITSTATUS(x) ((x).w_retcode) macro 70 # ifndef WEXITSTATUS 71 # define WEXITSTATUS(x) (((x) >> 8) & 0xff) macro 397 if (WEXITSTATUS (status) == 127) in wait_subprocess() 404 return WEXITSTATUS (status); in wait_subprocess()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/ |
| H A D | execute_command_line.c | 127 _exit (WIFEXITED(res) ? WEXITSTATUS(res) : res); in execute_command_line() 144 #if defined(WEXITSTATUS) && defined(WIFEXITED) in execute_command_line() 145 || (WIFEXITED(res) && WEXITSTATUS(res) == 127) in execute_command_line() 146 || (WIFEXITED(res) && WEXITSTATUS(res) == 126) in execute_command_line() 157 #if defined(WEXITSTATUS) && defined(WIFEXITED) in execute_command_line() 158 *exitstat = WIFEXITED(res) ? WEXITSTATUS(res) : res; in execute_command_line()
|
| /netbsd-src/external/gpl3/gcc/dist/libgfortran/intrinsics/ |
| H A D | execute_command_line.c | 127 _exit (WIFEXITED(res) ? WEXITSTATUS(res) : res); in execute_command_line() 144 #if defined(WEXITSTATUS) && defined(WIFEXITED) in execute_command_line() 145 || (WIFEXITED(res) && WEXITSTATUS(res) == 127) in execute_command_line() 146 || (WIFEXITED(res) && WEXITSTATUS(res) == 126) in execute_command_line() 157 #if defined(WEXITSTATUS) && defined(WIFEXITED) in execute_command_line() 158 *exitstat = WIFEXITED(res) ? WEXITSTATUS(res) : res; in execute_command_line()
|
| /netbsd-src/tests/lib/libc/sys/ |
| H A D | t_getlogin.c | 114 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 170 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { in ATF_TC_BODY() 172 if (WEXITSTATUS(sta) == EFAULT) in ATF_TC_BODY() 175 if (WEXITSTATUS(sta) == EINVAL) in ATF_TC_BODY() 223 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
|
| H A D | t_kill.c | 113 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { in ATF_TC_BODY() 115 if (WEXITSTATUS(sta) == EINVAL) in ATF_TC_BODY() 118 if (WEXITSTATUS(sta) == ESRCH) in ATF_TC_BODY() 202 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) == EPERM) in ATF_TC_BODY() 205 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
|
| H A D | t_setrlimit.c | 220 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 292 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 340 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 399 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 440 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 593 WEXITSTATUS(status)); in checkstack() 602 ATF_REQUIRE_EQ_MSG(WEXITSTATUS(status), 0, "exitstatus=%d", in checkstack() 603 WEXITSTATUS(status)); in checkstack()
|
| H A D | t_mprotect.c | 206 if (WEXITSTATUS(sta) != SIGSEGV) { in ATF_TC_BODY() 213 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV); in ATF_TC_BODY() 312 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV); in ATF_TC_BODY() 365 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV); in ATF_TC_BODY() 380 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV); in ATF_TC_BODY()
|
| H A D | t_chroot.c | 95 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 167 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 218 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 299 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
|
| H A D | t_clone.c | 152 WEXITSTATUS(stat), frobme[1]); in ATF_TC_BODY() 154 switch (WEXITSTATUS(stat)) { in ATF_TC_BODY() 169 WEXITSTATUS(stat)); in ATF_TC_HEAD()
|
| /netbsd-src/tests/lib/libc/stdlib/ |
| H A D | t_exit.c | 77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 105 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 133 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != i) in ATF_TC_BODY() 168 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
|
| /netbsd-src/tests/lib/libc/gen/posix_spawn/ |
| H A D | t_fileactions.c | 104 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY() 130 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY() 156 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_FAILURE); in ATF_TC_BODY() 197 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY() 226 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 127); in ATF_TC_BODY() 314 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY() 352 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY()
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-m4/ |
| H A D | unionwait.m4 | 17 #ifdef WEXITSTATUS 20 conflicts with WEXITSTATUS et al, we don't want to use it at all. */ 21 if (WEXITSTATUS (status) != 0) pid = -1; 23 /* If we have WEXITSTATUS and WTERMSIG, just use them on ints. */
|
| /netbsd-src/external/gpl2/gettext/dist/gnulib-local/m4/ |
| H A D | unionwait.m4 | 17 #ifdef WEXITSTATUS 20 conflicts with WEXITSTATUS et al, we don't want to use it at all. */ 21 if (WEXITSTATUS (status) != 0) pid = -1; 23 /* If we have WEXITSTATUS and WTERMSIG, just use them on ints. */
|
| /netbsd-src/external/gpl3/gdb/dist/gnulib/import/ |
| H A D | sys_wait.in.h | 69 # ifndef WEXITSTATUS 70 # define WEXITSTATUS(x) (((x) >> 8) & 0xff) macro 100 # define WEXITSTATUS(x) (x)
|
| /netbsd-src/external/bsd/atf/dist/atf-c++/ |
| H A D | utils_test.cpp | 239 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TEST_CASE_BODY() 352 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TEST_CASE_BODY() 367 ATF_REQUIRE_EQ(EXIT_FAILURE, WEXITSTATUS(status)); in ATF_TEST_CASE_BODY() 382 ATF_REQUIRE_EQ(EXIT_FAILURE, WEXITSTATUS(status)); in ATF_TEST_CASE_BODY() 397 ATF_REQUIRE_EQ(EXIT_FAILURE, WEXITSTATUS(status)); in ATF_TEST_CASE_BODY() 412 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TEST_CASE_BODY() 429 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TEST_CASE_BODY()
|
| /netbsd-src/external/bsd/atf/dist/atf-c/ |
| H A D | utils_test.c | 247 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TC_BODY() 407 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TC_BODY() 422 ATF_REQUIRE_EQ(EXIT_FAILURE, WEXITSTATUS(status)); in ATF_TC_BODY() 437 ATF_REQUIRE_EQ(EXIT_FAILURE, WEXITSTATUS(status)); in ATF_TC_BODY() 452 ATF_REQUIRE_EQ(EXIT_FAILURE, WEXITSTATUS(status)); in ATF_TC_BODY() 467 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TC_BODY() 484 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TC_BODY()
|
| /netbsd-src/tests/kernel/kqueue/ |
| H A D | t_proc4.c | 125 ATF_REQUIRE(WEXITSTATUS(status) == EXIT_CHILD || in ATF_TC_BODY() 126 WEXITSTATUS(status) == EXIT_GRANDCHILD); in ATF_TC_BODY() 127 if (WEXITSTATUS(status) == EXIT_CHILD) { in ATF_TC_BODY()
|
| /netbsd-src/external/gpl2/xcvs/dist/lib/ |
| H A D | wait.h | 40 #ifndef WEXITSTATUS 41 #define WEXITSTATUS(w) (((w) >> 8) & 0xff) macro
|
| /netbsd-src/external/bsd/openldap/dist/include/ac/ |
| H A D | wait.h | 36 #ifndef WEXITSTATUS 37 # define WEXITSTATUS(s) LDAP_HI(s) macro
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/kadm5/ |
| H A D | ipropd_common.c | 179 switch (WEXITSTATUS(status)) { in restarter() 189 krb5_errx(context, WEXITSTATUS(status), in restarter() 240 exit(WEXITSTATUS(status)); in restarter()
|
| /netbsd-src/tests/lib/libc/c063/ |
| H A D | t_fexecve.c | 81 if (WEXITSTATUS(status) == 76) in ATF_TC_BODY() 84 ATF_REQUIRE(WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY()
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/misc/ |
| H A D | lvm-exec.c | 88 if (WEXITSTATUS(status)) { in exec_cmd() 89 log_error("%s failed: %u", argv[0], WEXITSTATUS(status)); in exec_cmd()
|
| /netbsd-src/bin/mv/ |
| H A D | mv.c | 396 if (WEXITSTATUS(status)) { in copy() 398 _PATH_CP, WEXITSTATUS(status)); in copy() 414 if (WEXITSTATUS(status)) { in copy() 416 _PATH_RM, WEXITSTATUS(status)); in copy()
|