/third_party/glfw/deps/ |
D | tinycthread.c | 73 return ret == 0 ? thrd_success : thrd_error; in mtx_init() 97 return pthread_mutex_lock(mtx) == 0 ? thrd_success : thrd_error; in mtx_lock() 106 return thrd_error; in mtx_timedlock() 131 return pthread_mutex_unlock(mtx) == 0 ? thrd_success : thrd_error;; in mtx_unlock() 153 return thrd_error; in cnd_init() 160 return thrd_error; in cnd_init() 165 return pthread_cond_init(cond, NULL) == 0 ? thrd_success : thrd_error; in cnd_init() 201 return thrd_error; in cnd_signal() 207 return pthread_cond_signal(cond) == 0 ? thrd_success : thrd_error; in cnd_signal() 226 return thrd_error; in cnd_broadcast() [all …]
|
D | tinycthread.h | 169 #define thrd_error 0 /**< The requested operation failed */ macro
|
/third_party/mesa3d/src/c11/impl/ |
D | threads_posix.c | 86 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error; in cnd_broadcast() 102 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error; in cnd_init() 110 return (pthread_cond_signal(cond) == 0) ? thrd_success : thrd_error; in cnd_signal() 126 return (rt == 0) ? thrd_success : thrd_error; in cnd_timedwait() 135 return (pthread_cond_wait(cond, mtx) == 0) ? thrd_success : thrd_error; in cnd_wait() 184 return thrd_error; in mtx_init() 203 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error; in mtx_lock() 219 return (rt == ETIMEDOUT) ? thrd_timedout : thrd_error; in mtx_timedlock() 248 return (pthread_mutex_unlock(mtx) == 0) ? thrd_success : thrd_error; in mtx_unlock() 265 return thrd_error; in thrd_create() [all …]
|
D | threads_win32.c | 229 return (GetLastError() == ERROR_TIMEOUT) ? thrd_timedout : thrd_error; in cnd_timedwait() 261 return thrd_error; in mtx_init() 325 return thrd_error; in thrd_create() 403 return thrd_error; in thrd_join() 407 return thrd_error; in thrd_join() 444 return thrd_error; in tss_create() 447 return (*key != 0xFFFFFFFF) ? thrd_success : thrd_error; in tss_create() 468 return TlsSetValue(key, val) ? thrd_success : thrd_error; in tss_set()
|
/third_party/mesa3d/src/util/ |
D | cnd_monotonic.h | 56 int ret = thrd_error; in u_cnd_monotonic_init() 92 return (pthread_cond_broadcast(&cond->cond) == 0) ? thrd_success : thrd_error; in u_cnd_monotonic_broadcast() 105 return (pthread_cond_signal(&cond->cond) == 0) ? thrd_success : thrd_error; in u_cnd_monotonic_signal() 122 return (GetLastError() == ERROR_TIMEOUT) ? thrd_timedout : thrd_error; in u_cnd_monotonic_timedwait() 127 return (rt == 0) ? thrd_success : thrd_error; in u_cnd_monotonic_timedwait() 141 return (pthread_cond_wait(&cond->cond, mtx) == 0) ? thrd_success : thrd_error; in u_cnd_monotonic_wait()
|
D | u_thread.h | 109 int ret = thrd_error; in u_thread_create()
|
/third_party/musl/src/thread/ |
D | tss_create.c | 9 return __pthread_key_create(tss, dtor) ? thrd_error : thrd_success; in tss_create()
|
D | mtx_timedlock.c | 9 default: return thrd_error; in mtx_timedlock()
|
D | thrd_create.c | 10 default: return thrd_error; in thrd_create()
|
D | cnd_timedwait.c | 10 default: return thrd_error; in cnd_timedwait()
|
D | mtx_trylock.c | 11 default: return thrd_error; in mtx_trylock()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_sync_timeline.c | 311 if (ret == thrd_error) in vk_sync_timeline_point_install() 385 if (ret == thrd_error) in vk_sync_timeline_signal_locked() 461 if (ret == thrd_error) in vk_sync_timeline_wait_locked()
|
D | vk_queue.c | 75 if (ret == thrd_error) { in vk_queue_init() 81 if (ret == thrd_error) { in vk_queue_init() 87 if (ret == thrd_error) { in vk_queue_init() 278 if (ret == thrd_error) { in vk_queue_drain() 467 if (ret == thrd_error) { in vk_queue_submit_thread_func() 530 if (ret == thrd_error) in vk_queue_start_submit_thread()
|
/third_party/musl/ndk_musl_include/ |
D | threads.h | 30 thrd_error = 2, enumerator
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | threads.h | 30 thrd_error = 2, enumerator
|
/third_party/musl/include/ |
D | threads.h | 30 thrd_error = 2, enumerator
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | threads.h | 30 thrd_error = 2, enumerator
|
/third_party/mesa3d/src/c11/ |
D | threads.h | 155 thrd_error, // failed enumerator
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_pipe_sync.c | 179 if (ret == thrd_error) in lvp_pipe_sync_wait_locked()
|