Home
last modified time | relevance | path

Searched refs:thrd_error (Results 1 – 19 of 19) sorted by relevance

/third_party/glfw/deps/
Dtinycthread.c73 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 …]
Dtinycthread.h169 #define thrd_error 0 /**< The requested operation failed */ macro
/third_party/mesa3d/src/c11/impl/
Dthreads_posix.c86 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 …]
Dthreads_win32.c229 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/
Dcnd_monotonic.h56 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()
Du_thread.h109 int ret = thrd_error; in u_thread_create()
/third_party/musl/src/thread/
Dtss_create.c9 return __pthread_key_create(tss, dtor) ? thrd_error : thrd_success; in tss_create()
Dmtx_timedlock.c9 default: return thrd_error; in mtx_timedlock()
Dthrd_create.c10 default: return thrd_error; in thrd_create()
Dcnd_timedwait.c10 default: return thrd_error; in cnd_timedwait()
Dmtx_trylock.c11 default: return thrd_error; in mtx_trylock()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_sync_timeline.c311 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()
Dvk_queue.c75 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/
Dthreads.h30 thrd_error = 2, enumerator
/third_party/musl/porting/liteos_m/kernel/include/
Dthreads.h30 thrd_error = 2, enumerator
/third_party/musl/include/
Dthreads.h30 thrd_error = 2, enumerator
/third_party/musl/porting/uniproton/kernel/include/
Dthreads.h30 thrd_error = 2, enumerator
/third_party/mesa3d/src/c11/
Dthreads.h155 thrd_error, // failed enumerator
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipe_sync.c179 if (ret == thrd_error) in lvp_pipe_sync_wait_locked()