/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/appdatafwk/src/ |
H A D | shared_block.cpp | 117 if (UNLIKELY(ashmem == nullptr)) { in ReadMessageParcel() 122 if (UNLIKELY(!ret)) { in ReadMessageParcel() 128 if (UNLIKELY(block == nullptr)) { in ReadMessageParcel() 148 if (UNLIKELY(mReadOnly)) { in Clear() 168 if (UNLIKELY(mReadOnly)) { in SetColumnNum() 199 if (UNLIKELY(!fieldDirOffset)) { in AllocRow() 318 if (UNLIKELY(end > mSize)) { in PutBlobOrString() 325 if (UNLIKELY(result != EOK)) { in PutBlobOrString() 394 if (UNLIKELY(size <= 0)) { in SetRawData() 398 if (UNLIKELY(size > mSize)) { in SetRawData() [all …]
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_api_internal.h | 83 if (UNLIKELY(engine->IsCrossThreadCheckEnabled())) { \ 96 if (UNLIKELY(engine->IsCrossThreadCheckEnabled())) { \ 110 #ifndef UNLIKELY 111 #define UNLIKELY(exp) (__builtin_expect((exp) != 0, false)) // NOLINT(cppcoreguidelines-macro-usag… macro
|
H A D | native_async_work.cpp | 99 LOG_IF_SPECIAL(UNLIKELY(engine_->IsCrossThreadCheckEnabled()), in Queue() 133 LOG_IF_SPECIAL(UNLIKELY(engine_->IsCrossThreadCheckEnabled()), in QueueWithQos() 167 LOG_IF_SPECIAL(UNLIKELY(engine_->IsCrossThreadCheckEnabled()), in Cancel()
|
/ohos5.0/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
H A D | nativetoken_klog.c | 26 #ifndef UNLIKELY 27 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro 45 if (UNLIKELY(g_fd < 0)) { in NativeTokenKmsg()
|
/ohos5.0/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
H A D | selinux_klog.c | 27 #ifndef UNLIKELY 28 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro 55 if (UNLIKELY(g_fd < 0)) { in SelinuxKmsg()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/ |
H A D | rs_canvas_render_node_drawable.cpp | 66 if ((UNLIKELY(!uniParam) || uniParam->IsOpDropped()) && GetOpDropped() && in OnDraw() 73 if (UNLIKELY(!singleLocker.IsLocked())) { in OnDraw() 107 if (UNLIKELY(!singleLocker.IsLocked())) { in OnCapture()
|
H A D | rs_effect_render_node_drawable.cpp | 53 if ((UNLIKELY(!uniParam) || uniParam->IsOpDropped()) && GetOpDropped() && in OnDraw() 66 if (UNLIKELY(!singleLocker.IsLocked())) { in OnDraw()
|
H A D | rs_surface_render_node_drawable.cpp | 297 if (UNLIKELY(!uniParam)) { in OnDraw() 388 if (UNLIKELY(!singleLocker.IsLocked())) { in OnDraw() 574 if (UNLIKELY(!uniParam)) { in OnCapture() 594 (UNLIKELY(RSUniRenderThread::GetCaptureParam().isMirror_) || in OnCapture() 603 UNLIKELY(RSUniRenderThread::GetCaptureParam().isMirror_)) { in OnCapture() 679 if (UNLIKELY(!uniParams)) { in CaptureSurface() 734 if (UNLIKELY(!singleLocker.IsLocked())) { in CaptureSurface()
|
H A D | rs_display_render_node_drawable.cpp | 279 if (UNLIKELY(!renderEngine)) { in RequestFrame() 402 … if (UNLIKELY(!drawable || !drawable->GetRenderParams()) || displayNodeId != params.GetId()) { in CheckDisplayNodeSkip() 533 if (UNLIKELY(!renderParams_ || !uniParam)) { in OnDraw() 543 if (UNLIKELY(!drawable || !drawable->GetRenderParams()) || in OnDraw() 845 if (UNLIKELY(!drawable || !drawable->GetRenderParams())) { in OnDraw() 1338 …if (specialLayerType_ != NO_SPECIAL_LAYER || UNLIKELY(RSUniRenderThread::GetCaptureParam().isMirro… in OnCapture() 1347 if (!UNLIKELY(RSUniRenderThread::GetCaptureParam().isMirror_)) { in OnCapture() 1647 if (UNLIKELY(!renderParams_)) { in ClearTransparentBeforeSaveLayer()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/luminance/ |
H A D | rs_luminance_control.cpp | 74 if (UNLIKELY(extLibHandle_ != nullptr)) { in LoadLibrary() 101 if (UNLIKELY(extLibHandle_ == nullptr)) { in LoadStatusControl() 144 if (UNLIKELY(extLibHandle_ == nullptr)) { in LoadLumControl() 172 if (UNLIKELY(extLibHandle_ == nullptr)) { in LoadTmoControl()
|
/ohos5.0/foundation/multimodalinput/input/util/common/src/ |
H A D | klog.cpp | 42 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro 64 if (UNLIKELY(g_fd < 0)) { in kMsgLog()
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/common/ |
H A D | dfx_define.h | 75 #ifndef UNLIKELY 76 #define UNLIKELY(exp) (__builtin_expect(!!(exp), false)) macro
|
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_reference.cpp | 116 LOG_IF_SPECIAL(UNLIKELY(engine->IsCrossThreadCheckEnabled()), in Get() 119 LOG_IF_SPECIAL(UNLIKELY(engine->IsCrossThreadCheckEnabled()), in Get() 134 LOG_IF_SPECIAL(UNLIKELY(engine_->IsCrossThreadCheckEnabled()), in Get()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/dfx/ |
H A D | rs_dirty_rects_dfx.cpp | 58 if (UNLIKELY(!renderThreadParams)) { in OnDraw() 93 if (UNLIKELY(!renderThreadParams)) { in OnDrawVirtual() 151 if (UNLIKELY(!displayParams_)) { in DrawCurrentRefreshRate() 357 if (UNLIKELY(!displayParams_)) { in DrawTargetSurfaceDirtyRegionForDFX() 362 if (UNLIKELY(!drawable)) { in DrawTargetSurfaceDirtyRegionForDFX() 367 if (UNLIKELY(!surfaceParams) || !surfaceParams->IsAppWindow()) { in DrawTargetSurfaceDirtyRegionForDFX()
|
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/common/helper/ |
H A D | concurrent_helper.h | 35 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro 38 #define UNLIKELY(x) (!!(x)) macro
|
/ohos5.0/base/startup/init/services/log/ |
H A D | init_log.h | 80 #ifndef UNLIKELY 81 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
|
H A D | init_log.c | 78 if (UNLIKELY(g_fd < 0)) { in LogToDmesg()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/parallel_render/ |
H A D | rs_sub_thread_manager.cpp | 344 if (UNLIKELY(!nodeDrawable)) { in ScheduleRenderNodeDrawable() 349 if (UNLIKELY(!param)) { in ScheduleRenderNodeDrawable() 356 if (UNLIKELY(!rtUniParam)) { in ScheduleRenderNodeDrawable() 391 if (UNLIKELY(!uniParam)) { in ScheduleRenderNodeDrawable()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/ |
H A D | rs_misc_drawable_test.cpp | 84 ASSERT_TRUE(UNLIKELY(childOne->GetSharedTransitionParam())); 85 ASSERT_FALSE(UNLIKELY(childTwo->GetSharedTransitionParam())); 86 ASSERT_FALSE(UNLIKELY(childThree->GetSharedTransitionParam()));
|
/ohos5.0/base/hiviewdfx/faultloggerd/common/dfxlog/ |
H A D | dfx_log.cpp | 45 if (UNLIKELY(g_dmesgFd < 0)) { in LogToDmesg()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_render_thread.cpp | 357 if (UNLIKELY(!drawable)) { in ReleaseSelfDrawingNodeBuffer() 362 if (UNLIKELY(!params)) { in ReleaseSelfDrawingNodeBuffer() 366 if (UNLIKELY(!surfaceParams)) { in ReleaseSelfDrawingNodeBuffer() 807 if (UNLIKELY(!grContext)) { in PostClearMemoryTask()
|
/ohos5.0/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/ |
H A D | ark_interop_internal.h | 115 if (UNLIKELY(!(condition))) { \
|
/ohos5.0/base/startup/init/services/init/standard/ |
H A D | fd_holder_service.c | 62 if (UNLIKELY(errInfo == NULL)) { // Should not happen. in SendErrorInfo()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_render_node_drawable_adapter.cpp | 209 if (UNLIKELY(skipType_ != SkipType::NONE)) { in DrawRangeImpl() 235 if (UNLIKELY(skipType_ != SkipType::NONE)) { in DrawImpl() 279 if (UNLIKELY(!singleLocker.IsLocked())) { in DrawUifirstContentChildren()
|
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/taskpool/ |
H A D | task_manager.cpp | 279 if (UNLIKELY(needChecking)) { in CheckForBlockedWorkers() 287 if (UNLIKELY(!isHandleInited_)) { in TryTriggerExpand() 309 if (UNLIKELY(fd == -1)) { in ReadThreadInfo() 548 if (UNLIKELY(suspend_)) { in TryExpand() 577 if (UNLIKELY(needChecking_)) { in RunTaskManager() 906 if (UNLIKELY(suspend_)) { in RestoreWorker() 1327 if (UNLIKELY(worker == nullptr)) { in TerminateTask()
|