Home
last modified time | relevance | path

Searched refs:CC_UNLIKELY (Results 1 – 18 of 18) sorted by relevance

/hardware/google/gfxstream/guest/mesa/include/android_stub/cutils/
Dtrace.h160 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_begin()
173 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_end()
191 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_async_begin()
204 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_async_end()
217 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_int()
230 if (CC_UNLIKELY(atrace_is_tag_enabled(tag))) { in atrace_int64()
Dcompiler.h26 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), false )) macro
29 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 )) macro
/hardware/google/graphics/common/libhwc2.1/
DExynosHWCDebug.h77 if (hwcCheckDebugMessages(debugFlag) || CC_UNLIKELY(ATRACE_ENABLED())) { \
81 if (CC_UNLIKELY(ATRACE_ENABLED())) ATRACE_NAME(log.c_str()); \
167 if (CC_UNLIKELY(ATRACE_ENABLED())) { \
177 if (CC_UNLIKELY(ATRACE_ENABLED())) { \
182 if (CC_UNLIKELY(ATRACE_ENABLED())) { \
188 if (hwcCheckDebugMessages(debugFlag) || CC_UNLIKELY(ATRACE_ENABLED())) { \
192 if (CC_UNLIKELY(ATRACE_ENABLED())) ATRACE_NAME(log.c_str()); \
/hardware/google/aemu/base/
DTracing.cpp63 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), false )) macro
66 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 )) macro
/hardware/interfaces/camera/common/default/
DCameraMetadata.cpp164 if (CC_UNLIKELY(tagType == -1)) { in checkType()
168 if (CC_UNLIKELY(tagType != expectedType)) { in checkType()
341 if (CC_UNLIKELY(res != OK)) { in find()
352 if (CC_UNLIKELY(res != OK)) { in find()
/hardware/google/graphics/common/hwc3/
DUtil.h35 if (CC_UNLIKELY(ATRACE_ENABLED())) { \
/hardware/qcom/sm8150/display/libhistogram/
Dringbuffer.cpp52 …if (CC_UNLIKELY((bins[i] + increment < bins[i]) || (increment < ringbuffer.front().histogram.data[… in update_cumulative()
/hardware/qcom/sm7250/display/libhistogram/
Dringbuffer.cpp55 if (CC_UNLIKELY((bins[i] + increment < bins[i]) || in update_cumulative()
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DShareGroup.cpp320 #define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), false )) macro
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp866 if (CC_UNLIKELY(frames_in_pipe < 0)) { in out_get_presentation_position()
906 if (CC_UNLIKELY(frames_in_pipe < 0)) { in out_get_render_position()
/hardware/google/graphics/common/libhwc2.1/libresource/
DExynosResourceManager.cpp1129 if (CC_UNLIKELY(srcImg.bufferHandle == NULL || srcImg.format != HAL_PIXEL_FORMAT_GOOGLE_R_8)) { in validateRCDLayer()
1134 CC_UNLIKELY(display.getRCDLayerSupport(supported) != NO_ERROR || !supported)) in validateRCDLayer()
1553 if (CC_UNLIKELY(otf_src_img.transform != 0 || otf_dst_img.transform != 0)) { in assignLayer()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_builtin.cpp347 if (CC_UNLIKELY(!has_init_light_server_)) { in Present()
Dhwc_display.cpp1240 if (CC_UNLIKELY(error == HWC2::Error::BadConfig)) { in AllowSeamless()
/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp674 if (CC_UNLIKELY(msg.type == MsgType::ERROR)) { in notify()
/hardware/qcom/sm7250/display/composer/
Dhwc_display_builtin.cpp646 if (CC_UNLIKELY(!has_config_hbm_threshold_)) { in Present()
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterface.cpp115 if (CC_UNLIKELY(!validateLayerInfo(state, drmFormat, handles, modifier))) { in addFB2WithModifiers()
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosDisplay.cpp2438 if (CC_UNLIKELY(mDpuData.rcdConfigs.size() == 0)) { in setWinConfigData()
4401 if (CC_UNLIKELY(ATRACE_ENABLED())) ATRACE_NAME(("diff:" + std::to_string(diffMs)).c_str()); in setActiveConfigWithConstraints()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp449 if (CC_UNLIKELY(gEaselProfilingEnabled)) { in logEaselEvent()