Searched refs:CC_UNLIKELY (Results 1 – 18 of 18) sorted by relevance
160 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()
26 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), false )) macro29 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 )) macro
77 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()); \
63 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), false )) macro66 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 )) macro
164 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()
35 if (CC_UNLIKELY(ATRACE_ENABLED())) { \
52 …if (CC_UNLIKELY((bins[i] + increment < bins[i]) || (increment < ringbuffer.front().histogram.data[… in update_cumulative()
55 if (CC_UNLIKELY((bins[i] + increment < bins[i]) || in update_cumulative()
320 #define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), false )) macro
866 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()
1129 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()
347 if (CC_UNLIKELY(!has_init_light_server_)) { in Present()
1240 if (CC_UNLIKELY(error == HWC2::Error::BadConfig)) { in AllowSeamless()
674 if (CC_UNLIKELY(msg.type == MsgType::ERROR)) { in notify()
646 if (CC_UNLIKELY(!has_config_hbm_threshold_)) { in Present()
115 if (CC_UNLIKELY(!validateLayerInfo(state, drmFormat, handles, modifier))) { in addFB2WithModifiers()
2438 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()
449 if (CC_UNLIKELY(gEaselProfilingEnabled)) { in logEaselEvent()