/base/powermgr/thermal_manager/frameworks/napi/common/ |
D | thermal_manager_native_event.cpp | 50 napi_handle_scope scope = nullptr; in Off() local 51 napi_open_handle_scope(env_, &scope); in Off() 52 if (scope == nullptr) { in Off() 65 napi_close_handle_scope(env_, scope); in Off() 71 napi_handle_scope scope = nullptr; in OnEvent() local 72 napi_open_handle_scope(env_, &scope); in OnEvent() 73 if (scope == nullptr) { in OnEvent() 108 napi_close_handle_scope(env_, scope); in OnEvent()
|
/base/msdp/device_status/frameworks/js/napi/src/ |
D | devicestatus_event.cpp | 73 napi_handle_scope scope = nullptr; in Off() local 74 napi_open_handle_scope(env_, &scope); in Off() 75 if (scope == nullptr) { in Off() 102 napi_close_handle_scope(env_, scope); in Off() 109 napi_handle_scope scope = nullptr; in OnEvent() local 110 napi_open_handle_scope(env_, &scope); in OnEvent() 111 if (scope == nullptr) { in OnEvent() 162 napi_close_handle_scope(env_, scope); in OnEvent()
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | send_callback.cpp | 62 napi_handle_scope scope = nullptr; in CompleteSmsSendWork() local 63 napi_open_handle_scope(env_, &scope); in CompleteSmsSendWork() 64 if (scope == nullptr) { in CompleteSmsSendWork() 66 napi_close_handle_scope(env_, scope); in CompleteSmsSendWork() 82 napi_close_handle_scope(env_, scope); in CompleteSmsSendWork()
|
D | delivery_callback.cpp | 44 napi_handle_scope scope = nullptr; in CompleteSmsDeliveryWork() local 45 napi_open_handle_scope(env_, &scope); in CompleteSmsDeliveryWork() 46 if (scope == nullptr) { in CompleteSmsDeliveryWork() 48 napi_close_handle_scope(env_, scope); in CompleteSmsDeliveryWork() 80 napi_close_handle_scope(env_, scope); in CompleteSmsDeliveryWork()
|
/base/hiviewdfx/hiview/base/test/unittest/common/ |
D | audit_log_parser_test.cpp | 52 auto scope = parser.GetAuditLogTimeScope(); variable 53 ASSERT_GT(scope.length(), 10ul); 89 auto scope = parser.GetAuditLogTimeScope(); variable 90 ASSERT_GT(scope.length(), 10ul); 132 auto scope = parser.GetAuditLogTimeScope(); variable 133 ASSERT_GT(scope.length(), 10ul);
|
/base/location/interfaces/innerkits/locator_standard/src/ |
D | locator_callback_host.cpp | 100 napi_handle_scope scope = nullptr; in DoSendWork() local 101 NAPI_CALL_RETURN_VOID(context->env, napi_open_handle_scope(context->env, &scope)); in DoSendWork() 102 if (scope == nullptr || context->loc == nullptr) { in DoSendWork() 132 NAPI_CALL_RETURN_VOID(context->env, napi_close_handle_scope(context->env, scope)); in DoSendWork() 143 napi_handle_scope scope = nullptr; in DoSendErrorCode() local 154 napi_open_handle_scope(context->env, &scope); in DoSendErrorCode() 155 if (scope == nullptr) { in DoSendErrorCode() 173 napi_close_handle_scope(context->env, scope); in DoSendErrorCode()
|
D | location_switch_callback_host.cpp | 116 napi_handle_scope scope = nullptr; in UvQueueWork() local 127 napi_open_handle_scope(context->env, &scope); in UvQueueWork() 130 if (scope == nullptr) { in UvQueueWork() 146 napi_close_handle_scope(context->env, scope); in UvQueueWork()
|
D | cached_locations_callback_host.cpp | 112 napi_handle_scope scope = nullptr; in UvQueueWork() local 123 napi_open_handle_scope(context->env, &scope); in UvQueueWork() 124 if (scope == nullptr) { in UvQueueWork() 143 napi_close_handle_scope(context->env, scope); in UvQueueWork()
|
D | nmea_message_callback_host.cpp | 118 napi_handle_scope scope = nullptr; in UvQueueWork() local 129 napi_open_handle_scope(context->env, &scope); in UvQueueWork() 130 if (scope == nullptr) { in UvQueueWork() 148 napi_close_handle_scope(context->env, scope); in UvQueueWork()
|
D | gnss_status_callback_host.cpp | 110 napi_handle_scope scope = nullptr; in UvQueueWork() local 121 napi_open_handle_scope(context->env, &scope); in UvQueueWork() 122 if (scope == nullptr) { in UvQueueWork() 143 napi_close_handle_scope(context->env, scope); in UvQueueWork()
|
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
D | rule_cluster.h | 51 FreezeResult(unsigned long code, const std::string& scope) in FreezeResult() argument 52 : code_(code), scope_(scope), domain_(""), stringId_(""), relevances_({}) {}; in FreezeResult() 60 void SetScope(const std::string& scope) { scope_ = scope; }; in SetScope() argument
|
D | rule_cluster.cpp | 188 std::string scope = GetAttributeStringValue(tag, ATTRIBUTE_SCOPE); in ParseTagResult() local 209 result.SetScope(scope); in ParseTagResult()
|
/base/user_iam/face_auth/ui/Settings_FaceAuth/ |
D | gradlew.bat | 24 @rem Set local scope for the variables with windows NT shell 91 @rem End local scope for the variables with windows NT shell
|
/base/security/access_token/frameworks/com.ohos.permissionmanager/ |
D | gradlew.bat | 24 @rem Set local scope for the variables with windows NT shell 91 @rem End local scope for the variables with windows NT shell
|
/base/miscservices/wallpaper/interfaces/kits/napi/ |
D | napi_wallpaper_ability.cpp | 405 napi_handle_scope scope = nullptr; in onColorsChange() local 406 napi_open_handle_scope(eventDataInner->listener->env_, &scope); in onColorsChange() 407 if (scope == nullptr) { in onColorsChange() 428 napi_close_handle_scope(eventDataInner->listener->env_, scope); in onColorsChange()
|
/base/compileruntime/js_worker_module/jsapi/worker/ |
D | worker.cpp | 487 [[maybe_unused]] ObjectScope<napi_value> scope(argv, true); in PostMessage() local 530 [[maybe_unused]] ObjectScope<napi_value> scope(argv, true); in PostMessageToHost() local 684 [[maybe_unused]] ObjectScope<napi_value> scope(args, true); in WorkerConstructor() local 785 [[maybe_unused]] ObjectScope<napi_value> scope(args, true); in AddListener() local 903 [[maybe_unused]] ObjectScope<napi_value> scope(args, true); in RemoveListener() local 959 [[maybe_unused]] ObjectScope<napi_value> scope(args, true); in DispatchEvent() local 1213 [[maybe_unused]] ObjectScope<napi_value> scope(args, true); in ParentPortAddEventListener() local 1289 [[maybe_unused]] ObjectScope<napi_value> scope(args, true); in ParentPortDispatchEvent() local 1349 [[maybe_unused]] ObjectScope<napi_value> scope(args, true); in ParentPortRemoveEventListener() local
|
/base/security/device_security_level/test/ |
D | BUILD.gn | 67 # cflags += [ "-fsanitize-address-use-after-scope" ]
|
/base/startup/syspara_lite/interfaces/kits/js/src/ |
D | native_parameters_watch.cpp | 413 napi_handle_scope scope = nullptr; in ProcessParamChange() local 414 napi_status status = napi_open_handle_scope(watcher->env, &scope); in ProcessParamChange() 421 PARAM_JS_CHECK(status == 0 && thisVar != nullptr, napi_close_handle_scope(watcher->env, scope); in ProcessParamChange() 429 napi_close_handle_scope(watcher->env, scope); in ProcessParamChange()
|
/base/miscservices/time/interfaces/kits/js/napi/system_timer/src/ |
D | system_timer.cpp | 228 napi_handle_scope scope = nullptr; in OnTrigger() local 229 napi_open_handle_scope(dataWorkerData->env, &scope); in OnTrigger() 230 if (scope == nullptr) { in OnTrigger() 237 napi_close_handle_scope(dataWorkerData->env, scope); in OnTrigger()
|
/base/update/updateservice/client/ |
D | update_client.cpp | 484 napi_handle_scope scope; in ProcessUnsubscribe() local 485 napi_status status = napi_open_handle_scope(env_, &scope); in ProcessUnsubscribe() 513 napi_close_handle_scope(env_, scope); in ProcessUnsubscribe() 575 napi_handle_scope scope; in PublishToJS() local 576 napi_status status = napi_open_handle_scope(env_, &scope); in PublishToJS() 606 napi_close_handle_scope(env_, scope); in PublishToJS()
|
/base/compileruntime/js_util_module/util/src/ |
D | util_js.ts | 896 public contains(scope: Scope): boolean; 923 public intersect(scope: Scope): Scope; 959 public expand(scope: Scope): Scope;
|
/base/update/updateservice/test/unittest/update_client/ |
D | client_stub.cpp | 457 napi_status napi_close_handle_scope(napi_env env, napi_handle_scope scope) in napi_close_handle_scope() argument
|
/base/security/access_token/frameworks/com.ohos.permissionmanager/permissionmanager/src/main/ets/MainAbility/common/utils/ |
D | utils.ets | 355 …// If it is not within the scope of Chinese character processing, return the original character, a…
|
/base/compileruntime/js_util_module/ |
D | README.md | 184 …pe) | Creates and returns a Scope object that creates a constructor for a scope instance that spec… 188 | getUpper(): ScopeType | Gets the upper bound of the current scope. | 189 | getLower(): ScopeType | Gets the lower bound of the current scope. |
|