Home
last modified time | relevance | path

Searched refs:LIKELY (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/arkui/napi/native_engine/
H A Dnative_api_internal.h74 if (LIKELY(isObj)) { \
106 #ifndef LIKELY
107 #define LIKELY(exp) (__builtin_expect((exp) != 0, true)) // NOLINT(cppcoreguidelines-macro-usage) macro
H A Dnative_api.cpp1501 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_set_property()
1528 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_set_named_property()
1552 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_get_property()
1580 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_get_named_property()
1606 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_has_property()
1630 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_has_named_property()
1653 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_delete_property()
1673 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_clear()
1695 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_get_size()
1717 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_get_entries()
[all …]
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dtask_runner.cpp33 if (LIKELY(runner_ != nullptr)) { in Run()
43 if (LIKELY(callback_.callback != nullptr)) { in Run()
H A Dworker.cpp311 …if (LIKELY(performTaskSignal_ != nullptr && !uv_is_closing(reinterpret_cast<uv_handle_t*>(performT… in NotifyExecuteTask()
571 if (LIKELY(state_ != WorkerState::BLOCKED)) { in UpdateExecutedInfo()
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/common/
H A Ddfx_define.h72 #ifndef LIKELY
73 #define LIKELY(exp) (__builtin_expect(!!(exp), true)) macro
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Dconcurrent_helper.h34 #define LIKELY(x) __builtin_expect(!!(x), 1) macro
37 #define LIKELY(x) (!!(x)) macro
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_canvas_render_node_drawable.cpp80 if (LIKELY(isDrawingCacheEnabled_)) { in OnDraw()
112 if (LIKELY(isDrawingCacheEnabled_)) { in OnCapture()
H A Drs_render_node_drawable.cpp308 if (LIKELY(!params.GetDrawingCacheIncludeProperty())) { in DrawWithNodeGroupCache()
429 if (LIKELY(uniParam)) { in InitDfxForCacheInfo()
795 if (LIKELY(!params.GetDrawingCacheIncludeProperty())) { in UpdateCacheSurface()
H A Drs_render_node_drawable_autocache.cpp35 return LIKELY(renderParams_ != nullptr) && renderParams_->GetShouldPaint(); in ShouldPaint()
H A Drs_display_render_node_drawable.cpp110 if (LIKELY(uniParam)) { in RSOverDrawDfx()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/ressched/
H A Dressched_report.cpp18 #define LIKELY(x) __builtin_expect(!!(x), 1) macro
275 if (LIKELY(value == ResDefine::LOAD_PAGE_COMPLETE_EVENT && loadPageOn_ == false)) { in LoadPageEvent()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/drawable/
H A Drs_render_node_drawable_adapter.h342 … : drawable_(drawable), locked_(LIKELY(drawable != nullptr) && drawable->DrawableTryLockForDraw()) in RSRenderNodeSingleDrawableLocker()
346 if (LIKELY(locked_)) { in ~RSRenderNodeSingleDrawableLocker()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/appdatafwk/src/
H A Dshared_block.cpp35 #define LIKELY(x) __builtin_expect(!!(x), 1) macro
151 if (LIKELY(mHeader != nullptr)) { in Clear()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/
H A Drs_misc_drawable_test.cpp74 ASSERT_TRUE(LIKELY(!node.GetRenderProperties().GetUseShadowBatching()));
90 ASSERT_FALSE(LIKELY(!node.GetRenderProperties().GetUseShadowBatching()));
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_display_node.cpp33 if (LIKELY(!displayNodeConfig.isSync)) { in Create()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_common_def.h67 #define LIKELY(exp) (__builtin_expect((exp) != 0, true)) macro
/ohos5.0/base/telephony/sms_mms/services/sms/include/cdma/
H A Dcdma_sms_common.h143 LIKELY = 0x1, enumerator
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_misc_drawable.cpp45 if (LIKELY(!node.GetRenderProperties().GetUseShadowBatching())) { in OnUpdate()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/
H A Djs_drawing_utils.h48 if (LIKELY(JsDrawingTestUtils::GetDrawingTestDisabled())) { \
/ohos5.0/base/telephony/sms_mms/services/sms/
H A Dgsm_cb_codec.cpp656 certainty = static_cast<uint8_t>(SmsCmaeCertainty::LIKELY); in GetCmasCertainty()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_image.cpp110 if (LIKELY(!rscanvas.IsCapture())) { in HDRConvert()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_render_node.cpp1799 if (LIKELY(!sandbox.has_value())) { in MapAndUpdateChildrenRect()
2487 if (LIKELY(RSUniRenderJudgement::IsUniRender() && !isTextureExportNode_)) { in ApplyModifiers()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_util.cpp1921 if (LIKELY(!property.GetSandBox().has_value())) { in GetMatrix()
H A Drs_main_thread.cpp3182 if (LIKELY(forceDumpSingleFrame)) { in RenderServiceTreeDump()