/foundation/arkui/ace_engine/frameworks/core/focus/ |
H A D | focus_node.cpp | 87 RefPtr<FocusGroup> scope = AceType::DynamicCast<FocusGroup>(node); in CollectTabIndexNodes() local 88 if (scope && scope->IsFocusable()) { in CollectTabIndexNodes() 89 auto children = scope->GetChildrenList(); in CollectTabIndexNodes() 91 if (scope->GetTabIndex() > 0) { in CollectTabIndexNodes() 92 tabIndexNodes.emplace_back(scope->GetTabIndex(), WeakClaim(AceType::RawPtr(scope))); in CollectTabIndexNodes() 259 RefPtr<FocusGroup> scope = AceType::DynamicCast<FocusGroup>(AceType::Claim(this)); in GetChildDefaultFocusNode() local 260 if (!scope) { in GetChildDefaultFocusNode() 263 auto children = scope in GetChildDefaultFocusNode() 281 RefPtr<FocusGroup> scope = AceType::DynamicCast<FocusGroup>(AceType::Claim(this)); GetChildFocusNodeById() local [all...] |
/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/ |
H A D | js_register_util.cpp | 293 napi_handle_scope scope = nullptr; in UvQueueWorkAsyncCallback() local 294 napi_open_handle_scope(dataWorker->env, &scope); in UvQueueWorkAsyncCallback() 295 if (scope == nullptr) { in UvQueueWorkAsyncCallback() 303 napi_close_handle_scope(dataWorker->env, scope); in UvQueueWorkAsyncCallback() 308 napi_close_handle_scope(dataWorker->env, scope); in UvQueueWorkAsyncCallback() 316 napi_close_handle_scope(dataWorker->env, scope); in UvQueueWorkAsyncCallback() 319 napi_close_handle_scope(dataWorker->env, scope); in UvQueueWorkAsyncCallback() 411 napi_handle_scope scope = nullptr; in CallHotkeyPromiseWork() local 412 napi_open_handle_scope(cb->env, &scope); in CallHotkeyPromiseWork() 413 CHKPV(scope); in CallHotkeyPromiseWork() [all...] |
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | subscribe.cpp | 189 napi_handle_scope scope; in ThreadSafeOnCancel() local 190 napi_open_handle_scope(dataWorkerData->env, &scope); in ThreadSafeOnCancel() 191 if (scope == nullptr) { in ThreadSafeOnCancel() 205 napi_close_handle_scope(dataWorkerData->env, scope); in ThreadSafeOnCancel() 262 napi_handle_scope scope; in ThreadSafeOnBatchCancel() local 263 napi_open_handle_scope(dataWorkerData->env, &scope); in ThreadSafeOnBatchCancel() 264 if (scope == nullptr) { in ThreadSafeOnBatchCancel() 286 napi_close_handle_scope(dataWorkerData->env, scope); in ThreadSafeOnBatchCancel() 353 napi_handle_scope scope; in ThreadSafeOnConsumed() local 354 napi_open_handle_scope(dataWorkerData->env, &scope); in ThreadSafeOnConsumed() 438 napi_handle_scope scope; ThreadSafeOnUpdate() local 629 napi_handle_scope scope; ThreadSafeOnDoNotDisturbDateChange() local 692 napi_handle_scope scope; ThreadSafeOnDoNotDisturbChanged() local 748 napi_handle_scope scope; ThreadSafeOnEnabledNotificationChanged() local 809 napi_handle_scope scope; ThreadSafeOnBadgeChanged() local 869 napi_handle_scope scope; ThreadSafeOnBadgeEnabledChanged() local [all...] |
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-scopes.cc | 28 HandleScope scope(isolate); in RUNTIME_FUNCTION() 39 HandleScope scope(isolate); in ThrowRedeclarationError() 125 HandleScope scope(isolate); in RUNTIME_FUNCTION() 173 HandleScope scope(isolate); in RUNTIME_FUNCTION() 237 // context, or a declaration block scope. Since this is called from eval, the in DeclareEvalHelper() 325 HandleScope scope(isolate); in RUNTIME_FUNCTION() 333 HandleScope scope(isolate); in RUNTIME_FUNCTION() 494 HandleScope scope(isolate); in RUNTIME_FUNCTION() 507 HandleScope scope(isolate); in RUNTIME_FUNCTION() 532 HandleScope scope(isolat in RUNTIME_FUNCTION() [all...] |
H A D | runtime-function.cc | 18 HandleScope scope(isolate); in RUNTIME_FUNCTION() 31 HandleScope scope(isolate); in RUNTIME_FUNCTION() 46 HandleScope scope(isolate); in RUNTIME_FUNCTION() 78 HandleScope scope(isolate); in RUNTIME_FUNCTION()
|
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
H A D | js_callback_manager.cpp | 72 napi_handle_scope scope = nullptr; in RunCallback() 73 napi_open_handle_scope(context->env, &scope); in RunCallback() 74 if (scope == nullptr) { in RunCallback() 75 HILOG_DEBUG(LOG_CORE, "napi scope is null."); in RunCallback() 82 napi_close_handle_scope(context->env, scope); in RunCallback()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/ |
H A D | napi_async_work_callback.cpp | 48 napi_handle_scope scope = nullptr; in CallbackComplete() local 49 napi_open_handle_scope(env, &scope); in CallbackComplete() 52 napi_close_handle_scope(env, scope); in CallbackComplete() 77 napi_close_handle_scope(env, scope); in CallbackComplete()
|
/foundation/arkui/napi/sample/native_module_callback/ |
H A D | js_callback.cpp | 43 napi_handle_scope scope = nullptr; in callbackTest() 44 napi_open_handle_scope(context->env, &scope); in callbackTest() 45 if (scope == nullptr) { in callbackTest() 57 napi_close_handle_scope(context->env, scope); in callbackTest()
|
/foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/callback/ |
H A D | napi_audio_session_callback.cpp | 77 napi_handle_scope scope = nullptr; in WorkCallbackAudioSessionChangeDone() local 78 napi_open_handle_scope(env, &scope); in WorkCallbackAudioSessionChangeDone() 79 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in WorkCallbackAudioSessionChangeDone() 100 napi_close_handle_scope(env, scope); in WorkCallbackAudioSessionChangeDone()
|
/foundation/multimedia/audio_framework/frameworks/js/napi/audiocapturer/callback/ |
H A D | napi_audio_capturer_device_change_callback.cpp | 86 napi_handle_scope scope = nullptr; in SafeJsCallbackCapturerDeviceInfoWork() local 87 napi_open_handle_scope(env, &scope); in SafeJsCallbackCapturerDeviceInfoWork() 88 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in SafeJsCallbackCapturerDeviceInfoWork() 104 napi_close_handle_scope(env, scope); in SafeJsCallbackCapturerDeviceInfoWork()
|
H A D | napi_audio_capturer_info_change_callback.cpp | 88 napi_handle_scope scope = nullptr; in SafeJsCallbackCapturerChangeInfoWork() local 89 napi_open_handle_scope(env, &scope); in SafeJsCallbackCapturerChangeInfoWork() 90 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in SafeJsCallbackCapturerChangeInfoWork() 107 napi_close_handle_scope(env, scope); in SafeJsCallbackCapturerChangeInfoWork()
|
/foundation/communication/netmanager_ext/services/mdnsmanager/src/ |
H A D | net_interface_callback.cpp | 33 int32_t flags, int32_t scope) in OnInterfaceAddressUpdated() 35 NETMGR_EXT_LOG_I("OnInterfaceAddressUpdated, iface:[%{public}s], scope:[%{public}d]", in OnInterfaceAddressUpdated() 36 ifName.c_str(), scope); in OnInterfaceAddressUpdated() 71 int32_t flags, int32_t scope) in OnInterfaceAddressRemoved() 73 NETMGR_EXT_LOG_D("OnInterfaceAddressRemoved, iface:[%{public}s], scope:[%{public}d]", in OnInterfaceAddressRemoved() 74 ifName.c_str(), scope); in OnInterfaceAddressRemoved() 32 OnInterfaceAddressUpdated(const std::string &addr, const std::string &ifName, int32_t flags, int32_t scope) OnInterfaceAddressUpdated() argument 70 OnInterfaceAddressRemoved(const std::string &addr, const std::string &ifName, int32_t flags, int32_t scope) OnInterfaceAddressRemoved() argument
|
/foundation/distributeddatamgr/data_share/frameworks/js/napi/dataShare/src/ |
H A D | napi_datashare_inner_observer.cpp | 44 napi_handle_scope scope = nullptr;
in OnComplete() local 45 napi_open_handle_scope(observer->env_, &scope);
in OnComplete() 46 if (scope == nullptr) {
in OnComplete() 60 napi_close_handle_scope(observer->env_, scope);
in OnComplete()
|
/foundation/distributeddatamgr/data_share/frameworks/js/napi/observer/src/ |
H A D | napi_observer.cpp | 39 napi_handle_scope scope = nullptr; in CallbackFunc() local 40 napi_open_handle_scope(observer->env_, &scope); in CallbackFunc() 41 if (scope == nullptr) { in CallbackFunc() 54 napi_close_handle_scope(observer->env_, scope); in CallbackFunc()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/common/napi/n_async/ |
H A D | n_async_work_callback.cpp | 45 napi_handle_scope scope = nullptr; in CallbackComplete() local 46 napi_open_handle_scope(env, &scope); in CallbackComplete() 49 napi_close_handle_scope(env, scope); in CallbackComplete() 74 napi_close_handle_scope(env, scope); in CallbackComplete()
|
/kernel/linux/linux-5.10/net/tipc/ |
H A D | name_table.h | 57 * @scope: scope of publication, TIPC_NODE_SCOPE or TIPC_CLUSTER_SCOPE 65 * - Local/node scope publications: in name_table->node_scope list 66 * - Local/cluster scope publications: in name_table->cluster_scope list 71 * @all_publ: all publications identical to this one, whatever node and scope 80 u32 scope; member 96 * @node_scope: all local publications with node scope 98 * @cluster_scope: all local publications with cluster scope 120 u32 scope, bool exact, struct list_head *dports); 129 u32 upper, u32 scope, u3 [all...] |
/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | btf_ids.h | 65 #define __BTF_ID_LIST(name, scope) \ 68 "." #scope " " #name "; \n" \ 121 #define __BTF_SET_START(name, scope) \ 124 "." #scope " __BTF_ID__set__" #name "; \n" \
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | btf_ids.h | 65 #define __BTF_ID_LIST(name, scope) \ 68 "." #scope " " #name "; \n" \ 121 #define __BTF_SET_START(name, scope) \ 124 "." #scope " __BTF_ID__set__" #name "; \n" \
|
/kernel/linux/linux-6.6/tools/include/linux/ |
H A D | btf_ids.h | 74 #define __BTF_ID_LIST(name, scope) \ 77 "." #scope " " #name "; \n" \ 133 #define __BTF_SET_START(name, scope) \ 136 "." #scope " __BTF_ID__set__" #name "; \n" \
|
/third_party/gn/src/gn/ |
H A D | visibility.cc | 18 #include "gn/scope.h" 135 bool Visibility::FillItemVisibility(Item* item, Scope* scope, Err* err) { in FillItemVisibility() argument 136 const Value* vis_value = scope->GetValue(variables::kVisibility, true); in FillItemVisibility() 139 scope->GetSourceDir(), in FillItemVisibility() 140 scope->settings()->build_settings()->root_path_utf8(), *vis_value, err); in FillItemVisibility()
|
H A D | function_filter_labels_unittest.cc | 28 functions::RunFilterLabelsInclude(setup.scope(), &function, args, &err); in TEST() 55 functions::RunFilterLabelsInclude(setup.scope(), &function, args, &err); in TEST() 83 functions::RunFilterLabelsInclude(setup.scope(), &function, args, &err); in TEST() 107 functions::RunFilterLabelsExclude(setup.scope(), &function, args, &err); in TEST() 134 functions::RunFilterLabelsExclude(setup.scope(), &function, args, &err); in TEST() 160 functions::RunFilterLabelsExclude(setup.scope(), &function, args, &err); in TEST() 186 functions::RunFilterLabelsInclude(setup.scope(), &function, args, &err); in TEST() 207 functions::RunFilterLabelsInclude(setup.scope(), &function, args, &err); in TEST() 230 functions::RunFilterLabelsInclude(setup.scope(), &function, args, &err); in TEST() 252 functions::RunFilterLabelsInclude(setup.scope(), in TEST() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_scroller.cpp | 147 ContainerScope scope(instanceId_); in ScrollTo() 183 ContainerScope scope(instanceId_); in ScrollEdge() 215 ContainerScope scope(instanceId_); in Fling() 255 ContainerScope scope(instanceId_); in ScrollToIndex() 279 ContainerScope scope(instanceId_); in ScrollPage() 290 ContainerScope scope(instanceId_); in CurrentOffset() 314 ContainerScope scope(instanceId_); in ScrollBy() 342 ContainerScope scope(instanceId_); in IsAtEnd() 357 ContainerScope scope(instanceId_); in GetItemRect() 386 ContainerScope scope(instanceId in GetItemIndex() [all...] |
/third_party/node/deps/v8/src/codegen/ |
H A D | compilation-cache.cc | 95 // into the caller's handle scope. in Remove() 97 HandleScope scope(isolate()); in Remove() 174 // into the caller's handle scope. in Lookup() 176 HandleScope scope(isolate()); in Lookup() 187 result = scope.CloseAndEscape(function_info); in Lookup() 192 // Once outside the manacles of the handle scope, we need to recheck in Lookup() 194 // handle created in the caller's handle scope. in Lookup() 211 HandleScope scope(isolate()); in Put() 222 HandleScope scope(isolate()); in Lookup() 224 // scope in Lookup() [all...] |
/base/web/webview/interfaces/kits/napi/webstorage/ |
H A D | napi_web_storage.cpp | 186 napi_handle_scope scope = nullptr; in GetOriginComplete() local 187 napi_open_handle_scope(env, &scope); in GetOriginComplete() 188 if (scope == nullptr) { in GetOriginComplete() 207 napi_close_handle_scope(env, scope); in GetOriginComplete() 214 napi_handle_scope scope = nullptr; in GetOriginsPromiseComplete() local 215 napi_open_handle_scope(env, &scope); in GetOriginsPromiseComplete() 216 if (scope == nullptr) { in GetOriginsPromiseComplete() 231 napi_close_handle_scope(env, scope); in GetOriginsPromiseComplete() 341 napi_handle_scope scope = nullptr; in GetOriginUsageOrQuotaComplete() local 342 napi_open_handle_scope(env, &scope); in GetOriginUsageOrQuotaComplete() 374 napi_handle_scope scope = nullptr; GetOriginUsageOrQuotaPromiseComplete() local [all...] |
/base/web/webview/interfaces/kits/napi/webdatabase/ |
H A D | napi_geolocation_permission.cpp | 210 napi_handle_scope scope = nullptr; in GetPermissionStateComplete() local 211 napi_open_handle_scope(env, &scope); in GetPermissionStateComplete() 212 if (scope == nullptr) { in GetPermissionStateComplete() 231 napi_close_handle_scope(env, scope); in GetPermissionStateComplete() 239 napi_handle_scope scope = nullptr; in GetPermissionStatePromiseComplete() local 240 napi_open_handle_scope(env, &scope); in GetPermissionStatePromiseComplete() 241 if (scope == nullptr) { in GetPermissionStatePromiseComplete() 255 napi_close_handle_scope(env, scope); in GetPermissionStatePromiseComplete() 397 napi_handle_scope scope = nullptr; in GetOriginComplete() local 398 napi_open_handle_scope(env, &scope); in GetOriginComplete() 431 napi_handle_scope scope = nullptr; GetOriginsPromiseComplete() local [all...] |