Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 25 of 51) sorted by relevance

123

/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dlog.h145 #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/
Dlog.h176 #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/libhardware/modules/camera/3_4/
Dcommon.h27 #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/
Dcam_semaphore.h50 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()
Dcam_cond.h20 #define PTHREAD_COND_INIT(cond) \ argument
28 rc = pthread_cond_init(cond, &cond_attr); \
/hardware/qcom/msm8998/json-c/
Ddebug.h37 #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/
Dgr.h78 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/
Dgr.h78 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/
Dgr.h85 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/msm8996/libgralloc/
Dgr.h86 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/qcom/display/msm8909/libgralloc/
Dgr.h81 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/
Dgr.h81 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/ril/libril/
DrilSocketQueue.h51 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/
DScheduleTest.cpp8 #define ASSERT(cond) \ argument
10 if (!(cond)) { \
11 cerr << __func__ << ":" << __LINE__ << " condition:" << #cond \
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h61 #define FAILIF(cond, msg...) do { \ argument
62 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/loc_api/libloc_api-rpc/inc/
Ddebug.h49 #define FAILIF(cond, msg...) do { \ argument
50 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc/inc/
Ddebug.h49 #define FAILIF(cond, msg...) do { \ argument
50 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h61 #define FAILIF(cond, msg...) do { \ argument
62 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/sdm845/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h61 #define FAILIF(cond, msg...) do { \ argument
62 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api-rpc/inc/
Ddebug.h49 #define FAILIF(cond, msg...) do { \ argument
50 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h61 #define FAILIF(cond, msg...) do { \ argument
62 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h61 #define FAILIF(cond, msg...) do { \ argument
62 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h61 #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/
Ddebug.h61 #define FAILIF(cond, msg...) do { \ argument
62 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h61 #define FAILIF(cond, msg...) do { \ argument
62 if (__builtin_expect (cond, 0)) { \

123