Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 73) sorted by relevance

123

/sysdeps/nptl/
A Daio_misc.h44 int status; \
48 status = __futex_abstimed_wait_cancelable64 ( \
52 status = __futex_abstimed_wait64 ((unsigned int *) futexaddr, \
54 if (status != EAGAIN) \
61 if (status == EINTR) \
63 else if (status == ETIMEDOUT) \
65 else if (status == EOVERFLOW) \
68 assert (status == 0 || status == EAGAIN); \
A Dgai_misc.h45 int status; \
49 status = __futex_abstimed_wait_cancelable64 ( \
53 status = __futex_abstimed_wait64 ((unsigned int *) futexaddr, \
55 if (status != EAGAIN) \
62 if (status == EINTR) \
64 else if (status == ETIMEDOUT) \
66 else if (status == EOVERFLOW) \
69 assert (status == 0 || status == EAGAIN); \
/sysdeps/mach/hurd/
A Dwaitid.c35 int status; in __waitid() local
73 &status, &sigcode, in __waitid()
78 &status, &sigcode, in __waitid()
102 if (WIFEXITED (status)) in __waitid()
105 infop->si_status = WEXITSTATUS (status); in __waitid()
107 else if (WIFSIGNALED (status)) in __waitid()
109 infop->si_code = WCOREDUMP (status) ? CLD_DUMPED : CLD_KILLED; in __waitid()
110 infop->si_status = WTERMSIG (status); in __waitid()
112 else if (WIFSTOPPED (status)) in __waitid()
115 infop->si_status = WSTOPSIG (status); in __waitid()
[all …]
A D_exit.c25 _hurd_exit (int status) in _hurd_exit() argument
28 __USEPORT (PROC, __proc_mark_exit (port, status, 0)); in _hurd_exit()
49 _exit (int status) in _exit() argument
51 _hurd_exit (W_EXITCODE (status, 0)); in _exit()
/sysdeps/pthread/
A Dtst-fork4.c48 int status; in do_test() local
50 if (wait (&status) != pid) in do_test()
52 else if (WIFSIGNALED (status) && WTERMSIG (status) == SIGTERM) in do_test()
58 printf ("child died with bad status %#x\n", status); in do_test()
A Dtst-join14.c53 void *status; in do_test_clock() local
55 ? pthread_timedjoin_np (th, &status, NULL) in do_test_clock()
56 : pthread_clockjoin_np (th, &status, clockid, NULL); in do_test_clock()
59 if (status != (void *) 42l) in do_test_clock()
60 FAIL_EXIT1 ("return value %p, expected %p\n", status, (void *) 42l); in do_test_clock()
A Dtst-atfork2.c95 int status; in do_test() local
96 if (TEMP_FAILURE_RETRY (waitpid (pid, &status, 0)) != pid) in do_test()
102 if (status != 0) in do_test()
103 exit (status); in do_test()
144 if (TEMP_FAILURE_RETRY (waitpid (pid, &status, 0)) != pid) in do_test()
150 if (status != 0) in do_test()
151 exit (status); in do_test()
A Dtst-join3.c54 void *status; in do_test_clock() local
60 val = pthread_timedjoin_np (th, &status, &timeout); in do_test_clock()
62 val = pthread_clockjoin_np (th, &status, clockid, &timeout); in do_test_clock()
74 val = pthread_timedjoin_np (th, &status, &timeout); in do_test_clock()
76 val = pthread_clockjoin_np (th, &status, clockid, &timeout); in do_test_clock()
83 if (status != (void *) 42l) in do_test_clock()
84 FAIL_EXIT1 ("return value %p, expected %p\n", status, (void *) 42l); in do_test_clock()
A Dtst-getpid3.c88 int status; in do_test() local
89 if (TEMP_FAILURE_RETRY (waitpid (child, &status, 0)) != child) in do_test()
96 if (!WIFEXITED (status)) in do_test()
98 if (WIFSIGNALED (status)) in do_test()
99 printf ("died from signal %s\n", strsignal (WTERMSIG (status))); in do_test()
104 if (WEXITSTATUS (status) != 0) in do_test()
106 printf ("exit code %d\n", WEXITSTATUS (status)); in do_test()
A Dtst-join2.c59 void *status; in do_test() local
60 int val = pthread_tryjoin_np (th, &status); in do_test()
78 while ((val = pthread_tryjoin_np (th, &status)) != 0) in do_test()
92 if (status != (void *) 42l) in do_test()
94 printf ("return value %p, expected %p\n", status, (void *) 42l); in do_test()
A Dtst-spin4.c77 void *status; in do_test() local
78 if (pthread_join (thr1, &status) != 0) in do_test()
83 if (status != NULL) in do_test()
88 if (pthread_join (thr2, &status) != 0) in do_test()
93 if (status != NULL) in do_test()
A Dtst-signal2.c170 int status; in do_test() local
171 if (TEMP_FAILURE_RETRY (waitpid (pid, &status, 0)) != pid) in do_test()
177 if (!WIFEXITED (status)) in do_test()
179 if (WIFSIGNALED (status)) in do_test()
180 printf ("child exited with signal %d\n", WTERMSIG (status)); in do_test()
186 if (WEXITSTATUS (status) != 0) in do_test()
188 printf ("exit status %d != 0\n", WEXITSTATUS (status)); in do_test()
A Dtst-cancel18.c96 void *status; in do_test() local
97 if (pthread_join (th, &status) != 0) in do_test()
102 if (status != PTHREAD_CANCELED) in do_test()
144 if (pthread_join (th, &status) != 0) in do_test()
149 if (status != PTHREAD_CANCELED) in do_test()
A Dtst-fork2.c80 int status; in main() local
81 if (TEMP_FAILURE_RETRY (waitpid (child, &status, 0)) != child) in main()
87 return status; in main()
A Dtst-atfork1.c70 int status = 0; in do_test() local
99 if (TEMP_FAILURE_RETRY (waitpid (pid, &status, 0)) != pid) in do_test()
115 return status; in do_test()
/sysdeps/x86/
A Delide.h29 elision_adapt(signed char *adapt_count, unsigned int status) in elision_adapt() argument
31 if (status & _XABORT_RETRY) in elision_adapt()
33 if ((status & _XABORT_EXPLICIT) in elision_adapt()
34 && _XABORT_CODE (status) == _ABORT_LOCK_BUSY) in elision_adapt()
70 unsigned int status; \
71 if ((status = _xbegin ()) == _XBEGIN_STARTED) \
80 if (!elision_adapt (&(adapt_count), status)) \
A Dtst-string-rtm.h32 int status = prepare (); in do_test_1() local
33 if (status != EXIT_SUCCESS) in do_test_1()
34 return status; in do_test_1()
/sysdeps/ieee754/ldbl-128ibm-compat/
A Dieee128-err.c66 IEEE128_DECL (verr) (int status, const char *format, __gnuc_va_list ap) in IEEE128_ALIAS()
69 exit (status); in IEEE128_ALIAS()
74 IEEE128_DECL (verrx) (int status, const char *format, __gnuc_va_list ap) in IEEE128_ALIAS()
77 exit (status); in IEEE128_ALIAS()
82 IEEE128_DECL (err) (int status, const char *format, ...) in IEEE128_ALIAS()
84 VA (verr (status, format, ap)) in IEEE128_ALIAS()
89 IEEE128_DECL (errx) (int status, const char *format, ...) in IEEE128_ALIAS()
91 VA (verrx (status, format, ap)) in IEEE128_ALIAS()
A Dieee128-error.c29 IEEE128_DECL (error) (int status, int errnum, const char *message, ...) in IEEE128_DECL()
33 __error_internal (status, errnum, message, ap, in IEEE128_DECL()
40 IEEE128_DECL (error_at_line) (int status, int errnum, in IEEE128_ALIAS()
47 __error_at_line_internal (status, errnum, file_name, line_number, in IEEE128_ALIAS()
A Dtest-scanf-ldbl-compat.sh26 status=0
41 > ${test_program_output} || status=1
59 status=1
63 exit $status
/sysdeps/unix/sysv/linux/x86/
A Delision-lock.c49 unsigned status; in __lll_lock_elision() local
56 if ((status = _xbegin()) == _XBEGIN_STARTED) in __lll_lock_elision()
67 if (!(status & _XABORT_RETRY)) in __lll_lock_elision()
69 if ((status & _XABORT_EXPLICIT) in __lll_lock_elision()
70 && _XABORT_CODE (status) == _ABORT_LOCK_BUSY) in __lll_lock_elision()
A Delision-trylock.c44 unsigned status; in __lll_trylock_elision() local
46 if ((status = _xbegin()) == _XBEGIN_STARTED) in __lll_trylock_elision()
57 if (!(status & _XABORT_RETRY)) in __lll_trylock_elision()
/sysdeps/unix/sysv/linux/
A D_exit.c26 _exit (int status) in _exit() argument
30 INLINE_SYSCALL (exit_group, 1, status); in _exit()
31 INLINE_SYSCALL (exit, 1, status); in _exit()
/sysdeps/unix/sysv/linux/alpha/
A Dosf_adjtime.c34 int status; /* clock command/status */ member
82 tx64.status = tx->status; in __adjtimex_tv32()
97 int status = __adjtimex (&tx64); in __adjtimex_tv32() local
98 if (status < 0) in __adjtimex_tv32()
99 return status; in __adjtimex_tv32()
107 tx->status = tx64.status; in __adjtimex_tv32()
122 return status; in __adjtimex_tv32()
/sysdeps/unix/sysv/linux/s390/
A Delision-trylock.c57 int status = __libc_tbegin ((void *) 0); in __lll_trylock_elision() local
58 if (__glibc_likely (status == _HTM_TBEGIN_STARTED)) in __lll_trylock_elision()
82 else if (status != _HTM_TBEGIN_TRANSIENT) in __lll_trylock_elision()

Completed in 50 milliseconds

123