HomeSort by: relevance | last modified time | path
    Searched refs:cond (Results 1 - 25 of 373) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/tests/
test_common.h 27 #define ASSERT(cond) \
29 if (!(cond)) { \
31 __FILE__, __LINE__, # cond); \
  /xsrc/external/mit/MesaLib/dist/src/util/
cnd_monotonic.h 43 pthread_cond_t cond;
48 u_cnd_monotonic_init(struct u_cnd_monotonic *cond)
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)
74 assert(cond != NULL);
79 pthread_cond_destroy(&cond->cond);
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/kdrive/ephyr/
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.old/dist/hw/kdrive/ephyr/
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/
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...]
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...]
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, ...) LOG_FATAL_IF(!(cond), ##__VA_ARGS__
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/include/c11/
threads_win32.h 175 static void impl_cond_do_signal(cnd_t *cond, int broadcast)
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->blocked--
    [all...]
threads_posix.h 103 cnd_broadcast(cnd_t *cond)
105 assert(cond != NULL);
106 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error;
111 cnd_destroy(cnd_t *cond)
113 assert(cond);
114 pthread_cond_destroy(cond);
119 cnd_init(cnd_t *cond)
121 assert(cond != NULL);
122 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error;
127 cnd_signal(cnd_t *cond)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/os/
os_thread.h 72 cnd_t cond; member in struct:__anon1054
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/
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, 0, NULL); return; } } while(0
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/intel/compiler/
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.old/dist/src/intel/compiler/
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/
threads_posix.h 103 cnd_broadcast(cnd_t *cond)
105 assert(cond != NULL);
106 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error;
111 cnd_destroy(cnd_t *cond)
113 assert(cond);
114 pthread_cond_destroy(cond);
119 cnd_init(cnd_t *cond)
121 assert(cond != NULL);
122 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error;
127 cnd_signal(cnd_t *cond)
    [all...]
threads_win32.h 218 cnd_broadcast(cnd_t *cond)
220 assert(cond != NULL);
221 WakeAllConditionVariable(cond);
227 cnd_destroy(cnd_t *cond)
229 assert(cond != NULL);
235 cnd_init(cnd_t *cond)
237 assert(cond != NULL);
238 InitializeConditionVariable(cond);
244 cnd_signal(cnd_t *cond)
246 assert(cond != NULL)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/tests/
unit_test.h 43 void test_check(struct test_result * result, int cond);
unit_test.c 56 void test_check(struct test_result * result, int cond)
59 if (cond) {
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/tests/
unit_test.h 43 void test_check(struct test_result * result, int cond);
unit_test.c 56 void test_check(struct test_result * result, int cond)
59 if (cond) {
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/os/
os_thread.h 72 cnd_t cond; member in struct:__anon3563
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/
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
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->node.list, &prev_block_last->list)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/vulkan/wsi/
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/vulkan/wsi/
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.old/dist/src/compiler/nir/
nir_opt_conditional_discard.c 29 * Handles optimization of lowering if (cond) discard to discard_if(cond).
87 nir_src cond;
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/
nir_loop_analyze.h 97 nir_is_supported_terminator_condition(nir_ssa_scalar cond)
99 if (!nir_ssa_scalar_is_alu(cond))
102 nir_alu_instr *alu = nir_instr_as_alu(cond.def->parent_instr);

Completed in 26 milliseconds

1 2 3 4 5 6 7 8 91011>>