/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_api_internal.h | 74 if (LIKELY(isObj)) { \ 106 #ifndef LIKELY 107 #define LIKELY(exp) (__builtin_expect((exp) != 0, true)) // NOLINT(cppcoreguidelines-macro-usage) macro
|
H A D | native_api.cpp | 1501 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 D | task_runner.cpp | 33 if (LIKELY(runner_ != nullptr)) { in Run() 43 if (LIKELY(callback_.callback != nullptr)) { in Run()
|
H A D | worker.cpp | 311 …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 D | dfx_define.h | 72 #ifndef LIKELY 73 #define LIKELY(exp) (__builtin_expect(!!(exp), true)) macro
|
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/common/helper/ |
H A D | concurrent_helper.h | 34 #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 D | rs_canvas_render_node_drawable.cpp | 80 if (LIKELY(isDrawingCacheEnabled_)) { in OnDraw() 112 if (LIKELY(isDrawingCacheEnabled_)) { in OnCapture()
|
H A D | rs_render_node_drawable.cpp | 308 if (LIKELY(!params.GetDrawingCacheIncludeProperty())) { in DrawWithNodeGroupCache() 429 if (LIKELY(uniParam)) { in InitDfxForCacheInfo() 795 if (LIKELY(!params.GetDrawingCacheIncludeProperty())) { in UpdateCacheSurface()
|
H A D | rs_render_node_drawable_autocache.cpp | 35 return LIKELY(renderParams_ != nullptr) && renderParams_->GetShouldPaint(); in ShouldPaint()
|
H A D | rs_display_render_node_drawable.cpp | 110 if (LIKELY(uniParam)) { in RSOverDrawDfx()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/ressched/ |
H A D | ressched_report.cpp | 18 #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 D | rs_render_node_drawable_adapter.h | 342 … : 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 D | shared_block.cpp | 35 #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 D | rs_misc_drawable_test.cpp | 74 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 D | rs_display_node.cpp | 33 if (LIKELY(!displayNodeConfig.isSync)) { in Create()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_common_def.h | 67 #define LIKELY(exp) (__builtin_expect((exp) != 0, true)) macro
|
/ohos5.0/base/telephony/sms_mms/services/sms/include/cdma/ |
H A D | cdma_sms_common.h | 143 LIKELY = 0x1, enumerator
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_misc_drawable.cpp | 45 if (LIKELY(!node.GetRenderProperties().GetUseShadowBatching())) { in OnUpdate()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/ |
H A D | js_drawing_utils.h | 48 if (LIKELY(JsDrawingTestUtils::GetDrawingTestDisabled())) { \
|
/ohos5.0/base/telephony/sms_mms/services/sms/ |
H A D | gsm_cb_codec.cpp | 656 certainty = static_cast<uint8_t>(SmsCmaeCertainty::LIKELY); in GetCmasCertainty()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_image.cpp | 110 if (LIKELY(!rscanvas.IsCapture())) { in HDRConvert()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_render_node.cpp | 1799 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 D | rs_uni_render_util.cpp | 1921 if (LIKELY(!property.GetSandBox().has_value())) { in GetMatrix()
|
H A D | rs_main_thread.cpp | 3182 if (LIKELY(forceDumpSingleFrame)) { in RenderServiceTreeDump()
|