Searched refs:thrd_error (Results 1 – 14 of 14) sorted by relevance
/external/virglrenderer/src/gallium/include/c11/ |
D | threads_posix.h | 106 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error; in cnd_broadcast() 122 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error; in cnd_init() 130 return (pthread_cond_signal(cond) == 0) ? thrd_success : thrd_error; in cnd_signal() 150 return (rt == 0) ? thrd_success : thrd_error; in cnd_timedwait() 159 return (pthread_cond_wait(cond, mtx) == 0) ? thrd_success : thrd_error; in cnd_wait() 182 return thrd_error; in mtx_init() 196 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error; in mtx_lock() 221 return (rt == ETIMEDOUT) ? thrd_busy : thrd_error; in mtx_timedlock() 250 return (pthread_mutex_unlock(mtx) == 0) ? thrd_success : thrd_error; in mtx_unlock() 267 return thrd_error; in thrd_create() [all …]
|
D | threads_win32.h | 325 if (!cond) return thrd_error; in cnd_broadcast() 352 if (!cond) return thrd_error; in cnd_init() 370 if (!cond) return thrd_error; in cnd_signal() 383 if (!cond || !mtx || !xt) return thrd_error; in cnd_timedwait() 387 return (GetLastError() == ERROR_TIMEOUT) ? thrd_busy : thrd_error; in cnd_timedwait() 397 if (!cond || !mtx) return thrd_error; in cnd_wait() 420 if (!mtx) return thrd_error; in mtx_init() 425 return thrd_error; in mtx_init() 434 if (!mtx) return thrd_error; in mtx_lock() 444 if (!mtx || !xt) return thrd_error; in mtx_timedlock() [all …]
|
D | threads.h | 62 thrd_error, // failed enumerator
|
/external/mesa3d/include/c11/ |
D | threads_posix.h | 106 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error; in cnd_broadcast() 122 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error; in cnd_init() 130 return (pthread_cond_signal(cond) == 0) ? thrd_success : thrd_error; in cnd_signal() 146 return (rt == 0) ? thrd_success : thrd_error; in cnd_timedwait() 155 return (pthread_cond_wait(cond, mtx) == 0) ? thrd_success : thrd_error; in cnd_wait() 204 return thrd_error; in mtx_init() 223 return (pthread_mutex_lock(mtx) == 0) ? thrd_success : thrd_error; in mtx_lock() 245 return (rt == ETIMEDOUT) ? thrd_busy : thrd_error; in mtx_timedlock() 274 return (pthread_mutex_unlock(mtx) == 0) ? thrd_success : thrd_error; in mtx_unlock() 291 return thrd_error; in thrd_create() [all …]
|
D | threads_win32.h | 329 if (!cond) return thrd_error; in cnd_broadcast() 356 if (!cond) return thrd_error; in cnd_init() 374 if (!cond) return thrd_error; in cnd_signal() 387 if (!cond || !mtx || !abs_time) return thrd_error; in cnd_timedwait() 391 return (GetLastError() == ERROR_TIMEOUT) ? thrd_busy : thrd_error; in cnd_timedwait() 401 if (!cond || !mtx) return thrd_error; in cnd_wait() 424 if (!mtx) return thrd_error; in mtx_init() 429 return thrd_error; in mtx_init() 438 if (!mtx) return thrd_error; in mtx_lock() 448 if (!mtx || !ts) return thrd_error; in mtx_timedlock() [all …]
|
D | threads.h | 56 thrd_error, // failed enumerator
|
/external/llvm-project/libc/src/threads/linux/ |
D | thrd_create.cpp | 58 return llvmlibc_errno == ENOMEM ? thrd_nomem : thrd_error; in LLVM_LIBC_ENTRYPOINT() 92 return error_val == ENOMEM ? thrd_nomem : thrd_error; in LLVM_LIBC_ENTRYPOINT()
|
D | mtx_unlock.cpp | 39 return thrd_error; in LLVM_LIBC_ENTRYPOINT()
|
D | thrd_join.cpp | 38 return thrd_error; in LLVM_LIBC_ENTRYPOINT()
|
D | mtx_lock.cpp | 57 return thrd_error; in LLVM_LIBC_ENTRYPOINT()
|
/external/llvm-project/clang/test/Analysis/ |
D | c11lock.c | 11 thrd_error = 2 enumerator
|
/external/llvm-project/libc/config/linux/ |
D | api.td | 345 "thrd_error",
|
/external/llvm-project/libc/spec/ |
D | stdc.td | 465 EnumeratedNameValue<"thrd_error">,
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | CSymbolMap.inc | 805 SYMBOL(thrd_error, None, <threads.h>)
|