/libpthread/linuxthreads/sysdeps/avr32/ |
A D | pt-machine.h | 21 int result; in _test_and_set() local 26 : [old] "=&r"(result) in _test_and_set() 30 return result; in _test_and_set() 55 long int result; in __compare_and_swap() local 66 : [result] "=&r"(result), [mem] "=m"(*p) in __compare_and_swap() 70 return result == 0; in __compare_and_swap()
|
/libpthread/nptl/ |
A D | pthread_join.c | 55 int result = 0; in pthread_join() local 78 result = EDEADLK; in pthread_join() 85 result = EINVAL; in pthread_join() 98 if (__builtin_expect (result == 0, 1)) in pthread_join() 105 *thread_return = pd->result; in pthread_join() 112 return result; in pthread_join()
|
A D | pthread_key_delete.c | 27 int result = EINVAL; in pthread_key_delete() local 37 result = 0; in pthread_key_delete() 40 return result; in pthread_key_delete()
|
A D | pthread_rwlock_tryrdlock.c | 28 int result = EBUSY; in __pthread_rwlock_tryrdlock() local 39 result = EAGAIN; in __pthread_rwlock_tryrdlock() 42 result = 0; in __pthread_rwlock_tryrdlock() 47 return result; in __pthread_rwlock_tryrdlock()
|
A D | pthread_getschedparam.c | 39 int result = 0; in __pthread_getschedparam() local 51 result = 1; in __pthread_getschedparam() 60 result = 1; in __pthread_getschedparam() 65 if (result == 0) in __pthread_getschedparam() 73 return result; in __pthread_getschedparam()
|
A D | pthread_detach.c | 34 int result = 0; in pthread_detach() local 44 result = EINVAL; in pthread_detach() 54 return result; in pthread_detach()
|
A D | pthread_timedjoin.c | 40 int result; in pthread_timedjoin_np() local 81 result = lll_timedwait_tid (pd->tid, abstime); in pthread_timedjoin_np() 92 if (result == 0) in pthread_timedjoin_np() 96 *thread_return = pd->result; in pthread_timedjoin_np() 105 return result; in pthread_timedjoin_np()
|
A D | sem_close.c | 46 int result = 0; in sem_close() local 64 result = munmap (rec->sem, sizeof (sem_t)); in sem_close() 72 result = -1; in sem_close() 79 return result; in sem_close()
|
A D | pthread_getspecific.c | 56 void *result = data->data; in __pthread_getspecific() local 57 if (result != NULL) in __pthread_getspecific() 62 result = data->data = NULL; in __pthread_getspecific() 65 return result; in __pthread_getspecific()
|
A D | pthread_rwlock_trywrlock.c | 28 int result = EBUSY; in __pthread_rwlock_trywrlock() local 35 result = 0; in __pthread_rwlock_trywrlock() 40 return result; in __pthread_rwlock_trywrlock()
|
A D | pthread_setschedprio.c | 39 int result = 0; in pthread_setschedprio() local 52 result = errno; in pthread_setschedprio() 64 return result; in pthread_setschedprio()
|
A D | pthread_cancel.c | 42 int result = 0; in pthread_cancel() local 83 result = INTERNAL_SYSCALL_ERRNO (val, err); in pthread_cancel() 93 return result; in pthread_cancel()
|
/libpthread/nptl/sysdeps/pthread/ |
A D | pthread_rwlock_timedrdlock.c | 32 int result = 0; in pthread_rwlock_timedrdlock() local 52 result = EAGAIN; in pthread_rwlock_timedrdlock() 63 result = EDEADLK; in pthread_rwlock_timedrdlock() 75 result = EINVAL; in pthread_rwlock_timedrdlock() 96 result = ETIMEDOUT; in pthread_rwlock_timedrdlock() 105 result = EAGAIN; in pthread_rwlock_timedrdlock() 127 result = ETIMEDOUT; in pthread_rwlock_timedrdlock() 135 return result; in pthread_rwlock_timedrdlock()
|
A D | pthread_barrier_destroy.c | 29 int result = EBUSY; in pthread_barrier_destroy() local 37 result = 0; in pthread_barrier_destroy() 42 return result; in pthread_barrier_destroy()
|
A D | tpp.c | 99 int result = 0; in __pthread_tpp_change_priority() local 104 result = errno; in __pthread_tpp_change_priority() 113 result = errno; in __pthread_tpp_change_priority() 118 if (result == 0) in __pthread_tpp_change_priority() 127 result = errno; in __pthread_tpp_change_priority() 133 return result; in __pthread_tpp_change_priority() 144 int result = 0; in __pthread_current_priority() local 151 result = -1; in __pthread_current_priority() 160 result = -1; in __pthread_current_priority() 165 if (result != -1) in __pthread_current_priority() [all …]
|
A D | pthread_rwlock_timedwrlock.c | 32 int result = 0; in pthread_rwlock_timedwrlock() local 54 result = EDEADLK; in pthread_rwlock_timedwrlock() 66 result = EINVAL; in pthread_rwlock_timedwrlock() 86 result = ETIMEDOUT; in pthread_rwlock_timedwrlock() 95 result = EAGAIN; in pthread_rwlock_timedwrlock() 117 result = ETIMEDOUT; in pthread_rwlock_timedwrlock() 125 return result; in pthread_rwlock_timedwrlock()
|
A D | pthread_rwlock_rdlock.c | 32 int result = 0; in __pthread_rwlock_rdlock() local 50 result = EAGAIN; in __pthread_rwlock_rdlock() 61 result = EDEADLK; in __pthread_rwlock_rdlock() 70 result = EAGAIN; in __pthread_rwlock_rdlock() 92 return result; in __pthread_rwlock_rdlock()
|
A D | pthread_sigmask.c | 48 int result = INTERNAL_SYSCALL (rt_sigprocmask, err, 4, how, newmask, in pthread_sigmask() local 51 return (INTERNAL_SYSCALL_ERROR_P (result, err) in pthread_sigmask() 52 ? INTERNAL_SYSCALL_ERRNO (result, err) in pthread_sigmask()
|
A D | pthread_rwlock_wrlock.c | 32 int result = 0; in __pthread_rwlock_wrlock() local 52 result = EDEADLK; in __pthread_rwlock_wrlock() 61 result = EAGAIN; in __pthread_rwlock_wrlock() 84 return result; in __pthread_rwlock_wrlock()
|
A D | pthread_barrier_wait.c | 31 int result = 0; in pthread_barrier_wait() local 51 result = PTHREAD_BARRIER_SERIAL_THREAD; in pthread_barrier_wait() 77 return result; in pthread_barrier_wait()
|
/libpthread/nptl/sysdeps/unix/sysv/linux/sparc/ |
A D | pthread_barrier_destroy.c | 28 int result = EBUSY; in pthread_barrier_destroy() local 38 result = 0; in pthread_barrier_destroy() 43 return result; in pthread_barrier_destroy()
|
/libpthread/linuxthreads_db/ |
A D | td_ta_thr_iter.c | 111 td_err_e result = TD_OK; in td_ta_thr_iter() local 135 result = handle_descr (ta, callback, cbdata_p, state, ti_pri, 0, in td_ta_thr_iter() 137 if (result != TD_OK) in td_ta_thr_iter() 138 return result; in td_ta_thr_iter() 139 result = handle_descr (ta, callback, cbdata_p, state, ti_pri, 1, in td_ta_thr_iter() 141 if (result != TD_OK) in td_ta_thr_iter() 142 return result; in td_ta_thr_iter() 165 result = handle_descr (ta, callback, cbdata_p, state, ti_pri, cnt, in td_ta_thr_iter() 167 if (result != TD_OK) in td_ta_thr_iter() 171 return result; in td_ta_thr_iter()
|
/libpthread/nptl/sysdeps/unix/sysv/linux/ |
A D | getpid.c | 32 pid_t result = INTERNAL_SYSCALL (getpid, err, 0); in __getpid() local 33 return result; in __getpid()
|
/libpthread/linuxthreads/sysdeps/i386/ |
A D | tls.h | 105 int result; \ 109 : "=a" (result) \ 116 __builtin_expect (result, 0) != 0 ? -1 : nr * 8 + 7; \ 124 int result; \ 132 : "=a" (result), "=m" (ldt_entry.entry_number) \ 138 __builtin_expect (result, 0) == 0 ? ldt_entry.entry_number * 8 + 3 : -1; \
|
/libpthread/nptl/sysdeps/generic/ |
A D | dl-tls.c | 158 size_t result; in _dl_next_tls_modid() local 181 ++result; in _dl_next_tls_modid() 211 return result; in _dl_next_tls_modid() 417 result = NULL; in allocate_dtv() 419 return result; in allocate_dtv() 437 void *result; in _dl_allocate_tls_storage() local 457 result = (char *) result + size - TLS_TCB_SIZE; in _dl_allocate_tls_storage() 463 result = (char *) result + size - GL(dl_tls_static_size); in _dl_allocate_tls_storage() 472 result = allocate_dtv (result); in _dl_allocate_tls_storage() 477 return result; in _dl_allocate_tls_storage() [all …]
|