Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 56) sorted by relevance

123

/libpthread/linuxthreads/sysdeps/avr32/
A Dpt-machine.h21 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 Dpthread_join.c55 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 Dpthread_key_delete.c27 int result = EINVAL; in pthread_key_delete() local
37 result = 0; in pthread_key_delete()
40 return result; in pthread_key_delete()
A Dpthread_rwlock_tryrdlock.c28 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 Dpthread_getschedparam.c39 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 Dpthread_detach.c34 int result = 0; in pthread_detach() local
44 result = EINVAL; in pthread_detach()
54 return result; in pthread_detach()
A Dpthread_timedjoin.c40 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 Dsem_close.c46 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 Dpthread_getspecific.c56 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 Dpthread_rwlock_trywrlock.c28 int result = EBUSY; in __pthread_rwlock_trywrlock() local
35 result = 0; in __pthread_rwlock_trywrlock()
40 return result; in __pthread_rwlock_trywrlock()
A Dpthread_setschedprio.c39 int result = 0; in pthread_setschedprio() local
52 result = errno; in pthread_setschedprio()
64 return result; in pthread_setschedprio()
A Dpthread_cancel.c42 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 Dpthread_rwlock_timedrdlock.c32 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 Dpthread_barrier_destroy.c29 int result = EBUSY; in pthread_barrier_destroy() local
37 result = 0; in pthread_barrier_destroy()
42 return result; in pthread_barrier_destroy()
A Dtpp.c99 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 Dpthread_rwlock_timedwrlock.c32 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 Dpthread_rwlock_rdlock.c32 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 Dpthread_sigmask.c48 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 Dpthread_rwlock_wrlock.c32 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 Dpthread_barrier_wait.c31 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 Dpthread_barrier_destroy.c28 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 Dtd_ta_thr_iter.c111 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 Dgetpid.c32 pid_t result = INTERNAL_SYSCALL (getpid, err, 0); in __getpid() local
33 return result; in __getpid()
/libpthread/linuxthreads/sysdeps/i386/
A Dtls.h105 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 Ddl-tls.c158 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 …]

Completed in 28 milliseconds

123