| /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/tests/ |
| H A D | test_common.h | 27 #define ASSERT(cond) \ 29 if (!(cond)) { \ 31 __FILE__, __LINE__, # cond); \
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | cnd_monotonic.h | 43 pthread_cond_t cond; 48 u_cnd_monotonic_init(struct u_cnd_monotonic *cond) argument 50 assert(cond != NULL); 53 InitializeConditionVariable(&cond->condvar); 60 (pthread_cond_init(&cond->cond, &condattr) == 0)) { 72 u_cnd_monotonic_destroy(struct u_cnd_monotonic *cond) argument 74 assert(cond != NULL); 79 pthread_cond_destroy(&cond->cond); 84 u_cnd_monotonic_broadcast(struct u_cnd_monotonic * cond) argument 97 u_cnd_monotonic_signal(struct u_cnd_monotonic * cond) argument 110 u_cnd_monotonic_timedwait(struct u_cnd_monotonic * cond,mtx_t * mtx,const struct timespec * abs_time) argument 132 u_cnd_monotonic_wait(struct u_cnd_monotonic * cond,mtx_t * mtx) argument [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/kdrive/ephyr/ |
| H A D | ephyrlog.h | 58 #define EPHYR_RETURN_IF_FAIL(cond) \ 59 if (!(cond)) {EPHYR_LOG_ERROR("condition %s failed\n", #cond);return;} 63 #define EPHYR_RETURN_VAL_IF_FAIL(cond,val) \ 64 if (!(cond)) {EPHYR_LOG_ERROR("condition %s failed\n", #cond);return val;}
|
| /xsrc/external/mit/xorg-server/dist/hw/kdrive/ephyr/ |
| H A D | ephyrlog.h | 58 #define EPHYR_RETURN_IF_FAIL(cond) \ 59 if (!(cond)) {EPHYR_LOG_ERROR("condition %s failed\n", #cond);return;} 63 #define EPHYR_RETURN_VAL_IF_FAIL(cond,val) \ 64 if (!(cond)) {EPHYR_LOG_ERROR("condition %s failed\n", #cond);return val;}
|
| /xsrc/external/mit/MesaLib/dist/include/android_stub/log/ |
| H A D | log_radio.h | 64 #define RLOGV_IF(cond, ...) ((void)0) 66 #define RLOGV_IF(cond, ...) \ 67 ((__predict_false(cond)) \ 84 #define RLOGD_IF(cond, ...) \ 85 ((__predict_false(cond)) \ 101 #define RLOGI_IF(cond, ...) \ 102 ((__predict_false(cond)) \ 118 #define RLOGW_IF(cond, ...) \ 119 ((__predict_false(cond)) \ 135 #define RLOGE_IF(cond, [all...] |
| H A D | log_system.h | 62 #define SLOGV_IF(cond, ...) ((void)0) 64 #define SLOGV_IF(cond, ...) \ 65 ((__predict_false(cond)) \ 82 #define SLOGD_IF(cond, ...) \ 83 ((__predict_false(cond)) \ 99 #define SLOGI_IF(cond, ...) \ 100 ((__predict_false(cond)) \ 116 #define SLOGW_IF(cond, ...) \ 117 ((__predict_false(cond)) \ 133 #define SLOGE_IF(cond, [all...] |
| H A D | log_main.h | 87 #define android_vprintLog(prio, cond, tag, ...) \ 122 #define android_printAssert(cond, tag, ...) \ 123 __android_log_assert(cond, tag, \ 134 #define LOG_ALWAYS_FATAL_IF(cond, ...) \ 135 ((__predict_false(cond)) ? (__FAKE_USE_VA_ARGS(__VA_ARGS__), \ 136 ((void)android_printAssert(#cond, LOG_TAG, ##__VA_ARGS__))) \ 153 #define LOG_FATAL_IF(cond, ...) __FAKE_USE_VA_ARGS(__VA_ARGS__) 162 #define LOG_FATAL_IF(cond, ...) LOG_ALWAYS_FATAL_IF(cond, ##__VA_ARGS__) 175 #define ALOG_ASSERT(cond, [all...] |
| /xsrc/external/mit/MesaLib.old/dist/include/c11/ |
| H A D | threads_win32.h | 175 static void impl_cond_do_signal(cnd_t *cond, int broadcast) argument 179 EnterCriticalSection(&cond->monitor); 180 if (cond->to_unblock != 0) { 181 if (cond->blocked == 0) { 182 LeaveCriticalSection(&cond->monitor); 186 cond->to_unblock += nsignal = cond->blocked; 187 cond->blocked = 0; 190 cond->to_unblock++; 191 cond 213 impl_cond_do_wait(cnd_t * cond,mtx_t * mtx,const struct timespec * ts) argument 327 cnd_broadcast(cnd_t * cond) argument 340 cnd_destroy(cnd_t * cond) argument 354 cnd_init(cnd_t * cond) argument 372 cnd_signal(cnd_t * cond) argument 385 cnd_timedwait(cnd_t * cond,mtx_t * mtx,const struct timespec * abs_time) argument 399 cnd_wait(cnd_t * cond,mtx_t * mtx) argument [all...] |
| H A D | threads_posix.h | 103 cnd_broadcast(cnd_t *cond) argument 105 assert(cond != NULL); 106 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error; 111 cnd_destroy(cnd_t *cond) argument 113 assert(cond); 114 pthread_cond_destroy(cond); 119 cnd_init(cnd_t *cond) argument 121 assert(cond != NULL); 122 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error; 127 cnd_signal(cnd_t *cond) argument 135 cnd_timedwait(cnd_t * cond,mtx_t * mtx,const struct timespec * abs_time) argument 151 cnd_wait(cnd_t * cond,mtx_t * mtx) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/os/ |
| H A D | os_thread.h | 72 cnd_t cond; member in struct:__anonecf466fd0108 81 cnd_init(&sema->cond); 89 cnd_destroy(&sema->cond); 98 cnd_signal(&sema->cond); 108 cnd_wait(&sema->cond, &sema->mutex);
|
| /xsrc/external/mit/xorg-server/dist/include/ |
| H A D | misc.h | 420 #define __BUG_WARN_MSG(cond, with_msg, ...) \ 421 do { if (cond) { \ 422 ErrorFSigSafe("BUG: triggered 'if (" #cond ")'\n"); \ 429 #define BUG_WARN_MSG(cond, ...) \ 430 __BUG_WARN_MSG(cond, 1, __VA_ARGS__) 432 #define BUG_WARN(cond) __BUG_WARN_MSG(cond, 0, NULL) 434 #define BUG_RETURN(cond) \ 435 do { if (cond) { __BUG_WARN_MSG(cond, [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| H A D | brw_fs_validate.cpp | 33 #define fsv_assert(cond) \ 34 if (!(cond)) { \ 37 fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, #cond); \
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| H A D | brw_fs_validate.cpp | 33 #define fsv_assert(cond) \ 34 if (!(cond)) { \ 37 fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, #cond); \
|
| /xsrc/external/mit/MesaLib/dist/include/c11/ |
| H A D | threads_posix.h | 103 cnd_broadcast(cnd_t *cond) argument 105 assert(cond != NULL); 106 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error; 111 cnd_destroy(cnd_t *cond) argument 113 assert(cond); 114 pthread_cond_destroy(cond); 119 cnd_init(cnd_t *cond) argument 121 assert(cond != NULL); 122 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error; 127 cnd_signal(cnd_t *cond) argument 135 cnd_timedwait(cnd_t * cond,mtx_t * mtx,const struct timespec * abs_time) argument 151 cnd_wait(cnd_t * cond,mtx_t * mtx) argument [all...] |
| H A D | threads_win32.h | 218 cnd_broadcast(cnd_t *cond) argument 220 assert(cond != NULL); 221 WakeAllConditionVariable(cond); 227 cnd_destroy(cnd_t *cond) argument 229 assert(cond != NULL); 235 cnd_init(cnd_t *cond) argument 237 assert(cond != NULL); 238 InitializeConditionVariable(cond); 244 cnd_signal(cnd_t *cond) argument 246 assert(cond ! 253 cnd_timedwait(cnd_t * cond,mtx_t * mtx,const struct timespec * abs_time) argument 270 cnd_wait(cnd_t * cond,mtx_t * mtx) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/tests/ |
| H A D | unit_test.h | 43 void test_check(struct test_result * result, int cond);
|
| H A D | unit_test.c | 56 void test_check(struct test_result * result, int cond) argument 59 if (cond) {
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/tests/ |
| H A D | unit_test.h | 43 void test_check(struct test_result * result, int cond);
|
| H A D | unit_test.c | 56 void test_check(struct test_result * result, int cond) argument 59 if (cond) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/os/ |
| H A D | os_thread.h | 72 cnd_t cond; member in struct:__anonda1668aa0108 81 cnd_init(&sema->cond); 89 cnd_destroy(&sema->cond); 98 cnd_signal(&sema->cond); 108 cnd_wait(&sema->cond, &sema->mutex);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ir/gp/ |
| H A D | optimize.c | 34 * if (cond) 42 * branch_cond !cond block_3 54 * branch_cond cond block_0 101 gpir_alu_node *cond = gpir_node_create(prev_block, gpir_op_not); local in function:optimize_branches 102 cond->children[0] = prev_branch->cond; 103 cond->num_child = 1; 104 gpir_node_add_dep(&cond->node, cond->children[0], GPIR_DEP_INPUT); 105 list_addtail(&cond [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/vulkan/wsi/ |
| H A D | wsi_common_queue.h | 34 pthread_cond_t cond; member in struct:wsi_queue 60 ret = pthread_cond_init(&queue->cond, &condattr); 72 pthread_cond_destroy(&queue->cond); 86 pthread_cond_destroy(&queue->cond); 97 pthread_cond_signal(&queue->cond); 132 ret = pthread_cond_timedwait(&queue->cond, &queue->mutex, &abstime);
|
| /xsrc/external/mit/MesaLib/dist/src/vulkan/wsi/ |
| H A D | wsi_common_queue.h | 34 pthread_cond_t cond; member in struct:wsi_queue 58 ret = pthread_cond_init(&queue->cond, &condattr); 70 pthread_cond_destroy(&queue->cond); 84 pthread_cond_destroy(&queue->cond); 95 pthread_cond_signal(&queue->cond); 130 ret = pthread_cond_timedwait(&queue->cond, &queue->mutex, &abstime);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_opt_conditional_discard.c | 29 * Handles optimization of lowering if (cond) discard to discard_if(cond). 87 nir_src cond; local in function:nir_opt_conditional_discard_block 91 cond = if_stmt->condition; 93 cond = nir_src_for_ssa(nir_iand(b, 99 nir_src_copy(&discard_if->src[0], &cond, discard_if);
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_loop_analyze.h | 97 nir_is_supported_terminator_condition(nir_ssa_scalar cond) argument 99 if (!nir_ssa_scalar_is_alu(cond)) 102 nir_alu_instr *alu = nir_instr_as_alu(cond.def->parent_instr);
|