/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
H A D | vp9_thread.h | 96 static INLINE int pthread_cond_destroy(pthread_cond_t *const condition) { argument 98 ok &= (CloseHandle(condition->waiting_sem_) != 0); 99 ok &= (CloseHandle(condition->received_sem_) != 0); 100 ok &= (CloseHandle(condition->signal_event_) != 0); 104 static INLINE int pthread_cond_init(pthread_cond_t *const condition, argument 107 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); 108 condition->received_sem_ = CreateSemaphore(NULL, 0, 1, NULL); 109 condition->signal_event_ = CreateEvent(NULL, FALSE, FALSE, NULL); 110 if (condition->waiting_sem_ == NULL || 111 condition 119 pthread_cond_signal(pthread_cond_t *const condition) argument 132 pthread_cond_wait(pthread_cond_t *const condition, pthread_mutex_t *const mutex) argument [all...] |
/hardware/ti/omap4-aah/libtiutils/ |
H A D | DebugUtils.h | 174 #define _DBGUTILS_PLAIN_ASSERT(condition) \ 177 if ( !(condition) ) \ 180 "Condition failed: " #condition); \ 187 #define _DBGUTILS_PLAIN_ASSERT_X(condition, ...) \ 190 if ( !(condition) ) \ 193 "Condition failed: " #condition ": " __VA_ARGS__); \ 200 #define DBGUTILS_ASSERT(condition) \ 203 if ( !(condition) ) \ 205 DBGUTILS_LOGF("Condition failed: " #condition); \ 211 #define DBGUTILS_ASSERT_X(condition, [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
H A D | vc1parse.h | 52 /* This macro asserts if the condition is not true. */
54 #define VC1_ASSERT(condition) \
56 if (! (condition)) \
57 OS_INFO("Failed " #condition "!\n"); \
60 #define VC1_ASSERT(condition)
|
/hardware/ti/omap4-aah/domx/mm_osal/src/ |
H A D | timm_osal_events.c | 70 pthread_cond_t condition; member in struct:__anon5447 104 if (SUCCESS != pthread_cond_init(&(plEvent->condition), NULL)) 147 if (SUCCESS != pthread_cond_destroy(&(plEvent->condition))) 216 if (SUCCESS != pthread_cond_signal(&plEvent->condition)) 244 *A representative sequence for using condition variables is shown below 248 *1) Do work up to the point where a certain condition |1)Do work 254 * for signal from Thread-B. Note that a call to | condition, signal Thread-A. 333 pthread_cond_wait(&(plEvent->condition), 370 condition), &(plEvent->mutex),
|
/hardware/ti/omap4xxx/domx/mm_osal/src/ |
H A D | timm_osal_events.c | 70 pthread_cond_t condition; member in struct:__anon5567 104 if (SUCCESS != pthread_cond_init(&(plEvent->condition), NULL)) 147 if (SUCCESS != pthread_cond_destroy(&(plEvent->condition))) 216 if (SUCCESS != pthread_cond_signal(&plEvent->condition)) 244 *A representative sequence for using condition variables is shown below 248 *1) Do work up to the point where a certain condition |1)Do work 254 * for signal from Thread-B. Note that a call to | condition, signal Thread-A. 333 pthread_cond_wait(&(plEvent->condition), 370 condition), &(plEvent->mutex),
|
/hardware/qcom/audio/hal/ |
H A D | audio_hw.h | 314 #define CHECK(condition) LOG_ALWAYS_FATAL_IF(!(condition), "%s",\ 316 " ASSERT_FATAL(" #condition ") failed.")
|
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/ |
H A D | log.h | 285 * Log a fatal error. If the given condition fails, this stops program 287 * It is NOT stripped from release builds. Note that the condition test 398 #define LOG_RESULT_LOCATION(condition) \ 400 __print_result_location((int)(condition), __FILE__, \ 405 #define LOG_RESULT_LOCATION(condition) \ 407 __print_result_location((int)(condition), __FILE__, \
|
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
H A D | log.h | 231 * Log a fatal error. If the given condition fails, this stops program 233 * It is NOT stripped from release builds. Note that the condition test 344 #define LOG_RESULT_LOCATION(condition) \ 346 __print_result_location((int)(condition), __FILE__, \ 351 #define LOG_RESULT_LOCATION(condition) \ 353 __print_result_location((int)(condition), __FILE__, \
|
/hardware/qcom/audio/msm8909/hal/ |
H A D | audio_hw.h | 327 #define CHECK(condition) LOG_ALWAYS_FATAL_IF(!(condition), "%s",\ 329 " ASSERT_FATAL(" #condition ") failed.")
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/inc/ |
H A D | OMX_VideoDec_Utils.h | 626 pthread_cond_t condition; member in struct:VIDDEC_MUTEX 1243 pthread_cond_init (&(_mutex_).condition, NULL);\ 1252 pthread_cond_destroy (&(_mutex_).condition); \ 1277 (_mutex_).nErrorExist = pthread_cond_signal (&(_mutex_).condition); \ 1286 (_mutex_).nErrorExist = pthread_cond_wait (&(_mutex_).condition, &(_mutex_).mutex); \
|
/hardware/libhardware/tests/camera2/ |
H A D | CameraBurstTests.cpp | 52 #define WARN_UNLESS(condition) if(!(condition)) std::cerr << "Warning: "
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/include/gtest/ |
H A D | gtest.h | 1800 // ASSERT_*(condition) << "Some message"; 1988 // A helper for suppressing warnings on constant condition. It just 1989 // returns 'condition'. 1990 GTEST_API_ bool IsTrue(bool condition); 2155 // GTEST_CHECK_ is an all-mode assert. It aborts the program if the condition 2162 // This checks the condition and if the condition is not satisfied 2163 // it prints message about the condition violation, including the 2164 // condition itself, plus additional message streamed into it, if any, 2167 #define GTEST_CHECK_(condition) \ [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/src/ |
H A D | gtest-all.cc | 804 // This function is useful as an __except condition. 1995 // This function is useful as an __except condition. 2966 // This function should not be called when the condition is 6132 bool IsTrue(bool condition) { return condition; } argument 6136 // This condition is always false so AlwaysTrue() never actually throws, 7022 // first failing condition, in the order given above, is the one that is 7331 // This is as close to the fork as possible to avoid a race condition in case 8113 // There could be a race condition if two or more processes are calling this
|