Home
last modified time | relevance | path

Searched refs:LIKELY (Results 1 - 18 of 18) sorted by relevance

/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.cpp1495 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_set_property()
1522 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_set_named_property()
1546 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_get_property()
1574 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_get_named_property()
1600 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_has_property()
1624 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_has_named_property()
1647 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_delete_property()
1667 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_clear()
1689 if (LIKELY(nativeValue->IsMap(vm))) { in napi_map_get_size()
1711 if (LIKELY(nativeValu in napi_map_get_entries()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_canvas_render_node_drawable.cpp72 if (LIKELY(isDrawingCacheEnabled_)) { in OnDraw()
98 if (LIKELY(isDrawingCacheEnabled_)) { in OnCapture()
H A Drs_render_node_drawable.cpp313 if (LIKELY(!params.GetDrawingCacheIncludeProperty())) { in DrawWithNodeGroupCache()
434 if (LIKELY(uniParam)) { in InitDfxForCacheInfo()
788 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.cpp111 if (LIKELY(uniParam)) { in RSOverDrawDfx()
/foundation/arkui/ace_engine/frameworks/base/ressched/
H A Dressched_report.cpp18 #define LIKELY(x) __builtin_expect(!!(x), 1) macro
281 if (LIKELY(value == ResDefine::LOAD_PAGE_COMPLETE_EVENT && loadPageOn_ == false)) { in LoadPageEvent()
/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())); in HWTEST_F()
90 ASSERT_FALSE(LIKELY(!node.GetRenderProperties().GetUseShadowBatching())); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render/render_base/unittest/draw/
H A Drs_misc_draw_test.cpp74 ASSERT_TRUE(LIKELY(!node.GetRenderProperties().GetUseShadowBatching())); in HWTEST_F()
90 ASSERT_FALSE(LIKELY(!node.GetRenderProperties().GetUseShadowBatching())); in HWTEST_F()
/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()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_display_node.cpp36 if (LIKELY(!displayNodeConfig.isSync)) { in Create()
/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
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_misc_drawable.cpp47 if (LIKELY(!node.GetRenderProperties().GetUseShadowBatching())) { in OnUpdate()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/
H A Djs_drawing_utils.h48 if (LIKELY(JsDrawingTestUtils::GetDrawingTestDisabled())) { \
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_image.cpp106 if (LIKELY(!rscanvas.IsCapture())) { in HDRConvert()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_util.cpp1943 if (LIKELY(!property.GetSandBox().has_value())) { in GetMatrix()
H A Drs_main_thread.cpp3189 if (LIKELY(forceDumpSingleFrame)) { in RenderServiceTreeDump()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_render_node.cpp2500 if (LIKELY(RSUniRenderJudgement::IsUniRender() && !isTextureExportNode_)) { in ApplyModifiers()

Completed in 35 milliseconds