Home
last modified time | relevance | path

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

/hardware/invensense/60xx/mlsdk/platform/include/
Dlog.h141 #define CONDITION(cond) ((cond) != 0) argument
146 #define MPL_LOGV_IF(cond, fmt, ...) \ argument
149 #define MPL_LOGV_IF(cond, fmt, ...) \
150 ((CONDITION(cond)) \
164 #define MPL_LOGD_IF(cond, fmt, ...) \ argument
165 ((CONDITION(cond)) \
178 #define MPL_LOGI_IF(cond, fmt, ...) \ argument
179 ((CONDITION(cond)) \
196 #define MPL_LOGW_IF(cond, fmt, ...) \ argument
197 ((CONDITION(cond)) \
[all …]
/hardware/invensense/6515/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/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/60xx/libsensors_iio/software/core/driver/include/
Dlog.h141 #define CONDITION(cond) ((cond) != 0) argument
146 #define MPL_LOGV_IF(cond, fmt, ...) \ argument
149 #define MPL_LOGV_IF(cond, fmt, ...) \
150 ((CONDITION(cond)) \
164 #define MPL_LOGD_IF(cond, fmt, ...) \ argument
165 ((CONDITION(cond)) \
182 #define MPL_LOGI_IF(cond, fmt, ...) \ argument
183 ((CONDITION(cond)) \
200 #define MPL_LOGW_IF(cond, fmt, ...) \ argument
201 ((CONDITION(cond)) \
[all …]
/hardware/intel/common/libwsbm/src/
Dwsbm_driver.c58 n_condInit(struct _WsbmCond *cond, struct _WsbmThreadFuncs *func) in n_condInit() argument
60 cond->func = func; in n_condInit()
71 n_condNone(struct _WsbmCond *cond __attribute__ ((unused))) in n_condNone() argument
77 n_condWait(struct _WsbmCond *cond __attribute__ ((unused)), struct _WsbmMutex *mutex __attribute__ … in n_condWait() argument
115 pthread_cond_t cond; member
180 p_condInit(struct _WsbmCond *cond, struct _WsbmThreadFuncs *func) in p_condInit() argument
182 struct _WsbmPCond *pCond = pCondConvert(cond); in p_condInit()
188 pthread_cond_init(&pCond->cond, NULL); in p_condInit()
193 p_condFree(struct _WsbmCond *cond) in p_condFree() argument
195 struct _WsbmPCond *pCond = pCondConvert(cond); in p_condFree()
[all …]
/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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
Dasm_offsets.h17 #define ct_assert(name,cond) \ argument
19 static void assert_##name(void) {switch(0){case 0:case !!(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/libhardware/modules/soundtrigger/
Dsound_trigger_hw.c54 pthread_cond_t cond; member
73 int rc = pthread_cond_timedwait(&stdev->cond, &stdev->lock, &ts); in callback_thread_loop()
174 pthread_cond_signal(&stdev->cond); in stdev_unload_sound_model()
234 pthread_cond_signal(&stdev->cond); in stdev_stop_recognition()
275 pthread_cond_init(&stdev->cond, (const pthread_condattr_t *) NULL); in stdev_open()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
Drtcd.pl184 my $cond = eval "\$have_${opt}";
185 print " if (${cond}) $fn = $ofn;\n"
/hardware/qcom/audio/visualizer/
Doffload_visualizer.c157 pthread_cond_t cond; variable
202 pthread_cond_init(&cond, NULL); in init_once()
367 pthread_cond_wait(&cond, &lock); in capture_thread_loop()
453 pthread_cond_signal(&cond); in visualizer_hal_start_output()
490 pthread_cond_signal(&cond); in visualizer_hal_stop_output()
495 pthread_cond_signal(&cond); in visualizer_hal_stop_output()
1118 pthread_cond_signal(&cond); in effect_command()
1134 pthread_cond_signal(&cond); in effect_command()
/hardware/qcom/audio/hal/
Daudio_hw.h121 pthread_cond_t cond; member
Daudio_hw.c787 pthread_cond_wait(&out->cond, &out->lock); in stop_compressed_output_l()
835 pthread_cond_signal(&out->cond); in offload_thread_loop()
864 pthread_cond_signal(&out->cond); in offload_thread_loop()
871 pthread_cond_signal(&out->cond); in offload_thread_loop()
2110 pthread_cond_init(&out->cond, (const pthread_condattr_t *) NULL); in adev_open_output_stream()
2145 pthread_cond_destroy(&out->cond); in adev_close_output_stream()
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/
DAacEncTest.c173 pthread_cond_t cond; /* conditional mutex */ member
304 …pthread_cond_wait(&WaitForStateMutex.cond,&WaitForStateMutex.Mymutex); /* Block on a Condition V… in WaitForState()
368 pthread_cond_signal(&WaitForStateMutex.cond); /* Unblock a Specific Thread" */ in EventHandler()
396 pthread_cond_signal(&WaitForStateMutex.cond);/*Sending Waking Up Signal*/ in EventHandler()
2415 pthread_cond_destroy(&WaitForStateMutex.cond);
2568 pthread_cond_destroy(&WaitForStateMutex.cond);
2664 pthread_cond_destroy(&WaitForStateMutex.cond);
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp207 pthread_cond_t cond; variable
387 pthread_cond_wait(&cond, &lock); in wait_for_event()
399 pthread_cond_broadcast(&cond); in event_complete()
1390 pthread_cond_init(&cond, 0); in main()
1450 pthread_cond_destroy(&cond); in main()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp334 pthread_cond_t cond; variable
524 pthread_cond_wait(&cond, &lock); in wait_for_event()
536 pthread_cond_broadcast(&cond); in event_complete()
1611 pthread_cond_init(&cond, 0); in main()
1661 pthread_cond_destroy(&cond); in main()