/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
D | log.h | 145 #define CONDITION(cond) ((cond) != 0) argument 150 #define MPL_LOGV_IF(cond, fmt, ...) \ argument 153 #define MPL_LOGV_IF(cond, fmt, ...) \ 154 ((CONDITION(cond)) \ 168 #define MPL_LOGD_IF(cond, fmt, ...) \ argument 169 ((CONDITION(cond)) \ 186 #define MPL_LOGI_IF(cond, fmt, ...) \ argument 187 ((CONDITION(cond)) \ 204 #define MPL_LOGW_IF(cond, fmt, ...) \ argument 205 ((CONDITION(cond)) \ [all …]
|
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/ |
D | log.h | 176 #define CONDITION(cond) ((cond) != 0) argument 181 #define MPL_LOGV_IF(cond, fmt, ...) \ argument 184 #define MPL_LOGV_IF(cond, fmt, ...) \ 185 ((CONDITION(cond)) \ 204 #define MPL_LOGD_IF(cond, fmt, ...) \ argument 205 ((CONDITION(cond)) \ 227 #define MPL_LOGI_IF(cond, fmt, ...) \ argument 228 ((CONDITION(cond)) \ 245 #define MPL_LOGW_IF(cond, fmt, ...) \ argument 246 ((CONDITION(cond)) \ [all …]
|
/hardware/st/secure_element2/secure_element/1.0/esehal/src/ |
D | compiler.h | 36 #define __COMPILE_ASSERT(cond) ((void)sizeof(char[1 - 2 * !(cond)])) argument 37 #define _COMPILE_ASSERT(cond) __COMPILE_ASSERT(cond) argument 38 #define COMPILE_ASSERT(cond) _COMPILE_ASSERT(!!(cond)) argument
|
/hardware/libhardware/modules/camera/3_4/ |
D | common.h | 27 #define HAL_LOGE_IF(cond, fmt, args...) do { \ argument 28 ALOGE_IF(cond, "%s:%d: " fmt, __func__, __LINE__, ##args); \ 35 #define HAL_LOGW_IF(cond, fmt, args...) do { \ argument 36 ALOGW_IF(cond, "%s:%d: " fmt, __func__, __LINE__, ##args); \ 43 #define HAL_LOGI_IF(cond, fmt, args...) do { \ argument 44 ALOGI_IF(cond, "%s:%d: " fmt, __func__, __LINE__, ##args); \
|
/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
D | cam_semaphore.h | 50 pthread_cond_t cond; member 56 PTHREAD_COND_INIT(&(s->cond)); in cam_sem_init() 64 pthread_cond_signal(&(s->cond)); in cam_sem_post() 73 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait() 84 rc = pthread_cond_timedwait(&(s->cond), &(s->mutex), abs_timeout); in cam_sem_timedwait() 103 pthread_cond_destroy(&(s->cond)); in cam_sem_destroy()
|
D | cam_cond.h | 20 #define PTHREAD_COND_INIT(cond) \ argument 28 rc = pthread_cond_init(cond, &cond_attr); \
|
/hardware/qcom/msm8998/json-c/ |
D | debug.h | 37 #define JASSERT(cond) do {} while(0) argument 41 #define JASSERT(cond) do { \ argument 42 if (!(cond)) { \ 43 mc_error("cjson assert failure %s:%d : cond \"" __STRING(cond) "failed\n", __FILE__, __LINE__); \
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | gr.h | 78 pthread_cond_t cond; variable 88 pthread_cond_init(&cond, 0); in Locker() 92 pthread_cond_destroy(&cond); in ~Locker() 95 inline void wait() { pthread_cond_wait(&cond, &mutex); } in wait() 97 inline void signal() { pthread_cond_signal(&cond); } in signal()
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | gr.h | 78 pthread_cond_t cond; variable 88 pthread_cond_init(&cond, 0); in Locker() 92 pthread_cond_destroy(&cond); in ~Locker() 95 inline void wait() { pthread_cond_wait(&cond, &mutex); } in wait() 97 inline void signal() { pthread_cond_signal(&cond); } in signal()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | gr.h | 85 pthread_cond_t cond; variable 95 pthread_cond_init(&cond, 0); in Locker() 99 pthread_cond_destroy(&cond); in ~Locker() 102 inline void wait() { pthread_cond_wait(&cond, &mutex); } in wait() 104 inline void signal() { pthread_cond_signal(&cond); } in signal()
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | gr.h | 81 pthread_cond_t cond; variable 91 pthread_cond_init(&cond, 0); in Locker() 95 pthread_cond_destroy(&cond); in ~Locker() 98 inline void wait() { pthread_cond_wait(&cond, &mutex); } in wait() 100 inline void signal() { pthread_cond_signal(&cond); } in signal()
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | gr.h | 81 pthread_cond_t cond; variable 91 pthread_cond_init(&cond, 0); in Locker() 95 pthread_cond_destroy(&cond); in ~Locker() 98 inline void wait() { pthread_cond_wait(&cond, &mutex); } in wait() 100 inline void signal() { pthread_cond_signal(&cond); } in signal()
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | gr.h | 86 pthread_cond_t cond; variable 96 pthread_cond_init(&cond, 0); in Locker() 100 pthread_cond_destroy(&cond); in ~Locker() 103 inline void wait() { pthread_cond_wait(&cond, &mutex); } in wait() 105 inline void signal() { pthread_cond_signal(&cond); } in signal()
|
/hardware/ril/libril/ |
D | rilSocketQueue.h | 51 pthread_cond_t cond; variable 97 cond = PTHREAD_COND_INITIALIZER; in Ril_queue() 107 pthread_cond_wait(&cond, &mutex_instance); in dequeue() 132 pthread_cond_broadcast(&cond); in enqueue()
|
/hardware/interfaces/tests/libhwbinder/1.0/default/ |
D | ScheduleTest.cpp | 8 #define ASSERT(cond) \ argument 10 if (!(cond)) { \ 11 cerr << __func__ << ":" << __LINE__ << " condition:" << #cond \
|
/hardware/st/nfc/1.1/ |
D | hal_st21nfc.cc | 79 pthread_cond_t cond; member 100 ret = pthread_cond_wait(&pcb_data->cond, &pcb_data->mutex); in async_callback_thread_fct() 112 ret = pthread_cond_signal(&pcb_data->cond); in async_callback_thread_fct() 159 ret = pthread_cond_init(&async_callback_data.cond, NULL); in async_callback_thread_start() 193 ret = pthread_cond_signal(&async_callback_data.cond); in async_callback_thread_end() 198 ret = pthread_cond_wait(&async_callback_data.cond, in async_callback_thread_end() 212 ret = pthread_cond_signal(&async_callback_data.cond); in async_callback_thread_end() 248 ret = pthread_cond_wait(&async_callback_data.cond, in async_callback_post() 266 ret = pthread_cond_signal(&async_callback_data.cond); in async_callback_post()
|
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/ |
D | debug.h | 61 #define FAILIF(cond, msg...) do { \ argument 62 if (__builtin_expect (cond, 0)) { \
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc/inc/ |
D | debug.h | 49 #define FAILIF(cond, msg...) do { \ argument 50 if (__builtin_expect (cond, 0)) { \
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc/inc/ |
D | debug.h | 49 #define FAILIF(cond, msg...) do { \ argument 50 if (__builtin_expect (cond, 0)) { \
|
/hardware/qcom/gps/loc_api/libloc_api-rpc/inc/ |
D | debug.h | 49 #define FAILIF(cond, msg...) do { \ argument 50 if (__builtin_expect (cond, 0)) { \
|
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/ |
D | debug.h | 61 #define FAILIF(cond, msg...) do { \ argument 62 if (__builtin_expect (cond, 0)) { \
|
/hardware/qcom/sdm845/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/ |
D | debug.h | 61 #define FAILIF(cond, msg...) do { \ argument 62 if (__builtin_expect (cond, 0)) { \
|
/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api-rpc/inc/ |
D | debug.h | 49 #define FAILIF(cond, msg...) do { \ argument 50 if (__builtin_expect (cond, 0)) { \
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/ |
D | debug.h | 61 #define FAILIF(cond, msg...) do { \ argument 62 if (__builtin_expect (cond, 0)) { \
|
/hardware/qcom/sdm845/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/ |
D | debug.h | 61 #define FAILIF(cond, msg...) do { \ argument 62 if (__builtin_expect (cond, 0)) { \
|