/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_remote_object.cpp | 57 static bool IsValidParamWithNotify(napi_value value, CallbackParam *param, napi_handle_scope &scope, in IsValidParamWithNotify() argument 64 napi_close_handle_scope(param->env, scope); in IsValidParamWithNotify() 73 bool &isOnRemoteMessageRequest, napi_handle_scope &scope) in GetJsOnRemoteRequestCallback() 76 if (!IsValidParamWithNotify(onRemoteRequest, param, scope, "get function onRemoteMessageRequest failed")) { in GetJsOnRemoteRequestCallback() 85 if (!IsValidParamWithNotify(onRemoteRequest, param, scope, "get function onRemoteRequest failed")) { in GetJsOnRemoteRequestCallback() 94 napi_handle_scope &scope) in CreateJsOption() 98 if (!IsValidParamWithNotify(jsOptionConstructor, param, scope, "jsOption constructor is null")) { in CreateJsOption() 109 if (!IsValidParamWithNotify(jsOption, param, scope, "new jsOption failed")) { in CreateJsOption() 116 napi_value &jsParcelConstructor, napi_handle_scope &scope) in GetJsParcelConstructor() 123 if (!IsValidParamWithNotify(jsParcelConstructor, param, scope, "jsParce in GetJsParcelConstructor() 72 GetJsOnRemoteRequestCallback(CallbackParam *param, const napi_value thisVar, napi_value &onRemoteRequest, bool &isOnRemoteMessageRequest, napi_handle_scope &scope) GetJsOnRemoteRequestCallback() argument 93 CreateJsOption(CallbackParam *param, const napi_value global, napi_value &jsOption, napi_handle_scope &scope) CreateJsOption() argument 115 GetJsParcelConstructor(CallbackParam *param, const napi_value global, bool isOnRemoteMessageRequest, napi_value &jsParcelConstructor, napi_handle_scope &scope) GetJsParcelConstructor() argument 129 CreateJsParcel(CallbackParam *param, const napi_value jsParcelConstructor, napi_value &jsParcel, bool isJsDataParcel, napi_handle_scope &scope) CreateJsParcel() argument 314 CallJsOnRemoteRequestCallback(CallbackParam *param, napi_value &onRemoteRequest, napi_value &thisVar, const napi_value *argv, napi_handle_scope &scope) CallJsOnRemoteRequestCallback() argument 372 napi_handle_scope scope = nullptr; OnJsRemoteRequestCallBack() local [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | parserRealSource7.js | 90 var symbol = scopeChain.scope.find(name, false, true); 180 scopeChain.scope.enter(scopeChain.container, ast, typeSymbol, 182 scopeChain.scope.enter(scopeChain.container, ast, typeSymbol, 200 var symbol = scopeChain.scope.findLocal(modName, false, false); 225 scopeChain.scope.enter(scopeChain.container, ast, typeSymbol, 227 scopeChain.scope.enter(scopeChain.container, ast, typeSymbol, 237 // initialize new private scope for the type 305 typeSymbol = <TypeSymbol>scopeChain.scope.findLocal(className, false, true); 310 var valTypeSymbol = scopeChain.scope.findLocal(className, false, false); 330 context.scopeChain.scope [all...] |
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/ |
H A D | js_window_listener.cpp | 83 napi_handle_scope scope = nullptr;
in OnSizeChange() 84 napi_open_handle_scope(eng, &scope);
in OnSizeChange() 89 napi_close_handle_scope(eng, scope);
in OnSizeChange() 96 napi_close_handle_scope(eng, scope);
in OnSizeChange() 196 napi_handle_scope scope = nullptr;
in LifeCycleCallBack() 197 napi_open_handle_scope(eng, &scope);
in LifeCycleCallBack() 200 napi_close_handle_scope(eng, scope);
in LifeCycleCallBack() 446 napi_handle_scope scope = nullptr;
in OnWindowStatusChange() 447 napi_open_handle_scope(eng, &scope);
in OnWindowStatusChange() 450 napi_close_handle_scope(eng, scope);
in OnWindowStatusChange() [all...] |
/kernel/linux/linux-5.10/net/tipc/ |
H A D | name_table.c | 58 * @all_publ: all publications identical to this one, whatever node and scope 223 u32 scope, u32 node, u32 port, in tipc_publ_create() 234 publ->scope = scope; in tipc_publ_create() 320 u32 upper, u32 scope, in tipc_service_insert_publ() 342 p = tipc_publ_create(type, lower, upper, scope, node, port, key); in tipc_service_insert_publ() 354 p->port, p->node, p->scope, first); in tipc_service_insert_publ() 439 p->scope, true); in tipc_service_subscribe() 460 u32 scope, u32 node, in tipc_nametbl_insert_publ() 467 if (scope > TIPC_NODE_SCOP in tipc_nametbl_insert_publ() 222 tipc_publ_create(u32 type, u32 lower, u32 upper, u32 scope, u32 node, u32 port, u32 key) tipc_publ_create() argument 317 tipc_service_insert_publ(struct net *net, struct tipc_service *sc, u32 type, u32 lower, u32 upper, u32 scope, u32 node, u32 port, u32 key) tipc_service_insert_publ() argument 458 tipc_nametbl_insert_publ(struct net *net, u32 type, u32 lower, u32 upper, u32 scope, u32 node, u32 port, u32 key) tipc_nametbl_insert_publ() argument 601 tipc_nametbl_lookup(struct net *net, u32 type, u32 instance, u32 scope, struct list_head *dsts, int *dstcnt, u32 exclude, bool all) tipc_nametbl_lookup() argument 642 tipc_nametbl_mc_lookup(struct net *net, u32 type, u32 lower, u32 upper, u32 scope, bool exact, struct list_head *dports) tipc_nametbl_mc_lookup() argument 695 tipc_nametbl_build_group(struct net *net, struct tipc_group *grp, u32 type, u32 scope) tipc_nametbl_build_group() argument 724 tipc_nametbl_publish(struct net *net, u32 type, u32 lower, u32 upper, u32 scope, u32 port, u32 key) tipc_nametbl_publish() argument [all...] |
/third_party/node/deps/v8/src/parsing/ |
H A D | parser.h | 89 explicit ParserFormalParameters(DeclarationScope* scope) in ParserFormalParameters() 90 : FormalParametersBase(scope) {} in ParserFormalParameters() 147 // Initializes an empty scope chain for top-level scripts, or scopes which 151 // Deserialize the scope chain prior to parsing in which the script is going 152 // to be executed. If the script is a top-level script, or the scope chain 156 // This only deserializes the scope chain, but doesn't connect the scopes to 157 // their corresponding scope infos. Therefore, looking up variables in the 190 scope()->AllowsLazyParsingWithoutUnresolvedVariables( in AllowsLazyParsingWithoutUnresolvedVariables() 218 return scope()->NewTemporary(name); in NewTemporary() 256 ScopedPtrList<Statement>* body, DeclarationScope* scope, 835 DeclareCatchVariableName(Scope* scope, const AstRawString* name) DeclareCatchVariableName() argument 887 DeclarationScope* scope = parameters->scope; DeclareFormalParameters() local [all...] |
/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_engine.cpp | 363 LocalScope scope(vm_); in ArkNativeEngine() 380 panda::EscapeLocalScope scope(ecmaVm); in ArkNativeEngine() 393 return scope.Escape(exports); in ArkNativeEngine() 409 return scope.Escape(exports); in ArkNativeEngine() 431 return scope.Escape(it->second.ToLocal(ecmaVm)); in ArkNativeEngine() 445 return scope.Escape(exports); in ArkNativeEngine() 457 return scope.Escape(exports); in ArkNativeEngine() 474 panda::ecmascript::ApiCheckContext context{moduleManager, ecmaVm, moduleName, exportObj, scope}; in ArkNativeEngine() 476 return scope.Escape(exportCopy); in ArkNativeEngine() 482 return scope in ArkNativeEngine() [all...] |
/third_party/gn/src/gn/ |
H A D | parse_tree.cc | 19 #include "gn/scope.h" 295 Value AccessorNode::Execute(Scope* scope, Err* err) const { in Execute() argument 297 return ExecuteSubscriptAccess(scope, err); in Execute() 299 return ExecuteScopeAccess(scope, err); in Execute() 356 Value AccessorNode::ExecuteSubscriptAccess(Scope* scope, Err* err) const { in ExecuteSubscriptAccess() argument 357 const Value* base_value = scope->GetValue(base_.value(), true); in ExecuteSubscriptAccess() 363 return ExecuteArrayAccess(scope, base_value, err); in ExecuteSubscriptAccess() 365 return ExecuteScopeSubscriptAccess(scope, base_value, err); in ExecuteSubscriptAccess() 368 std::string("Expecting either a list or a scope for subscript, got ") + in ExecuteSubscriptAccess() 374 Value AccessorNode::ExecuteArrayAccess(Scope* scope, in ExecuteArrayAccess() argument 384 ExecuteScopeSubscriptAccess(Scope* scope, const Value* base_value, Err* err) const ExecuteScopeSubscriptAccess() argument 403 ExecuteScopeAccess(Scope* scope, Err* err) const ExecuteScopeAccess() argument 415 ExecuteScopeAccessForMember( Scope* scope, std::string_view member_str, Err* err) const ExecuteScopeAccessForMember() argument 458 ComputeAndValidateListIndex(Scope* scope, size_t max_len, size_t* computed_index, Err* err) const ComputeAndValidateListIndex() argument 503 Execute(Scope* scope, Err* err) const Execute() argument 670 Execute(Scope* scope, Err* err) const Execute() argument 745 Execute(Scope* scope, Err* err) const Execute() argument 815 Execute(Scope* scope, Err* err) const Execute() argument 870 Execute(Scope* scope, Err* err) const Execute() argument 1084 Execute(Scope* scope, Err* err) const Execute() argument 1154 Execute(Scope* scope, Err* err) const Execute() argument 1199 Execute(Scope* scope, Err* err) const Execute() argument 1237 Execute(Scope* scope, Err* err) const Execute() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm.c | 80 static void dump_scope(scope_t *scope); 81 static void emit_patch(scope_t *scope, int patch); 132 /* Set Sentinal scope node */ in main() 281 /* Process outmost scope */ in main() 286 * tranversal, recursively handling each scope. in main() 288 /* start at the root scope */ in main() 460 dump_scope(scope_t *scope) in dump_scope() argument 465 * Emit the first patch for this scope in dump_scope() 467 emit_patch(scope, 0); in dump_scope() 470 * Dump each scope withi in dump_scope() 488 emit_patch(scope_t *scope, int patch) emit_patch() argument 780 process_scope(scope_t *scope) process_scope() argument [all...] |
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm.c | 80 static void dump_scope(scope_t *scope); 81 static void emit_patch(scope_t *scope, int patch); 132 /* Set Sentinal scope node */ in main() 281 /* Process outmost scope */ in main() 286 * traversal, recursively handling each scope. in main() 288 /* start at the root scope */ in main() 460 dump_scope(scope_t *scope) in dump_scope() argument 465 * Emit the first patch for this scope in dump_scope() 467 emit_patch(scope, 0); in dump_scope() 470 * Dump each scope withi in dump_scope() 488 emit_patch(scope_t *scope, int patch) emit_patch() argument 780 process_scope(scope_t *scope) process_scope() argument [all...] |
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-test-wasm.cc | 101 HandleScope scope(isolate); in RUNTIME_FUNCTION() 115 HandleScope scope(isolate); in RUNTIME_FUNCTION() 290 HandleScope scope(isolate); in RUNTIME_FUNCTION() 297 HandleScope scope(isolate); in RUNTIME_FUNCTION() 312 HandleScope scope(isolate); in RUNTIME_FUNCTION() 323 HandleScope scope(isolate); in RUNTIME_FUNCTION() 347 HandleScope scope(isolate); in RUNTIME_FUNCTION() 389 HandleScope scope(isolate); in RUNTIME_FUNCTION() 404 HandleScope scope(isolate); in RUNTIME_FUNCTION() 430 HandleScope scope(isolat in RUNTIME_FUNCTION() [all...] |
/foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/callback/ |
H A D | napi_audio_renderer_callback.cpp | 113 napi_handle_scope scope = nullptr; in SafeJsCallbackInterruptWork() local 114 napi_open_handle_scope(env, &scope); in SafeJsCallbackInterruptWork() 115 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in SafeJsCallbackInterruptWork() 134 napi_close_handle_scope(env, scope); in SafeJsCallbackInterruptWork() 174 napi_handle_scope scope = nullptr; in SafeJsCallbackStateChangeWork() local 175 napi_open_handle_scope(env, &scope); in SafeJsCallbackStateChangeWork() 176 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in SafeJsCallbackStateChangeWork() 196 napi_close_handle_scope(env, scope); in SafeJsCallbackStateChangeWork() [all...] |
/foundation/multimedia/audio_framework/frameworks/js/napi/audiocapturer/callback/ |
H A D | napi_audio_capturer_callbacks.cpp | 98 napi_handle_scope scope = nullptr; in SafeJsCallbackInterruptWork() local 99 napi_open_handle_scope(env, &scope); in SafeJsCallbackInterruptWork() 100 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in SafeJsCallbackInterruptWork() 116 napi_close_handle_scope(env, scope); in SafeJsCallbackInterruptWork() 171 napi_handle_scope scope = nullptr; in SafeJsCallbackStateChangeWork() local 172 napi_open_handle_scope(env, &scope); in SafeJsCallbackStateChangeWork() 173 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in SafeJsCallbackStateChangeWork() 189 napi_close_handle_scope(env, scope); in SafeJsCallbackStateChangeWork() [all...] |
/foundation/multimedia/player_framework/frameworks/js/recorder/ |
H A D | recorder_callback_napi.cpp | 138 napi_handle_scope scope = nullptr; in OnJsStateCallBack() 139 napi_open_handle_scope(ref->env_, &scope); in OnJsStateCallBack() 140 CHECK_AND_BREAK_LOG(scope != nullptr, "%{public}s scope is nullptr", request.c_str()); in OnJsStateCallBack() 142 napi_close_handle_scope(ref->env_, scope); in OnJsStateCallBack() 189 napi_handle_scope scope = nullptr; in OnJsErrorCallBack() 190 napi_open_handle_scope(ref->env_, &scope); in OnJsErrorCallBack() 191 CHECK_AND_BREAK_LOG(scope != nullptr, "%{public}s scope is nullptr", request.c_str()); in OnJsErrorCallBack() 192 ON_SCOPE_EXIT(0) { napi_close_handle_scope(ref->env_, scope); }; in OnJsErrorCallBack() [all...] |
/foundation/multimedia/player_framework/frameworks/js/avscreen_capture/ |
H A D | avscreen_capture_callback.cpp | 150 napi_handle_scope scope = nullptr; in OnJsErrorCallBackWork() local 151 napi_open_handle_scope(ref->env_, &scope); in OnJsErrorCallBackWork() 152 CHECK_AND_BREAK_LOG(scope != nullptr, "%{public}s scope is nullptr", request.c_str()); in OnJsErrorCallBackWork() 154 napi_close_handle_scope(ref->env_, scope); in OnJsErrorCallBackWork() 211 napi_handle_scope scope = nullptr; in OnJsStateChangeCallBack() 212 napi_open_handle_scope(ref->env_, &scope); in OnJsStateChangeCallBack() 213 CHECK_AND_BREAK_LOG(scope != nullptr, "%{public}s scope is nullptr", request.c_str()); in OnJsStateChangeCallBack() 215 napi_close_handle_scope(ref->env_, scope); in OnJsStateChangeCallBack() [all...] |
/foundation/window/window_manager/interfaces/kits/napi/extension_window/ |
H A D | js_extension_window_listener.cpp | 85 napi_handle_scope scope = nullptr;
in OnSizeChange() 86 napi_open_handle_scope(eng, &scope);
in OnSizeChange() 87 if (scope == nullptr) {
in OnSizeChange() 88 TLOGE(WmsLogTag::WMS_UIEXT, "[NAPI]open handle scope failed");
in OnSizeChange() 95 napi_close_handle_scope(eng, scope);
in OnSizeChange() 102 napi_close_handle_scope(eng, scope);
in OnSizeChange() 200 napi_handle_scope scope = nullptr;
in LifeCycleCallBack() 201 napi_open_handle_scope(eng, &scope);
in LifeCycleCallBack() 204 napi_close_handle_scope(eng, scope);
in LifeCycleCallBack()
|
/third_party/node/deps/npm/node_modules/init-package-json/lib/ |
H A D | default-input.js | 63 let scope = config.get('scope') 65 if (scope) { 66 if (scope.charAt(0) !== '@') { 67 scope = '@' + scope 69 if (spec.scope) { 70 name = scope + '/' + spec.name.split('/')[1] 72 name = scope + '/' + name
|
/third_party/skia/src/utils/ |
H A D | SkJSONWriter.h | 86 SkASSERT(Scope::kObject == this->scope()); in appendName() 119 SkASSERT(Scope::kObject == this->scope()); in endObject() 151 SkASSERT(Scope::kArray == this->scope()); in endArray() 279 if (Scope::kArray == this->scope()) { in beginValue() 281 } else if (Scope::kObject == this->scope() && Mode::kPretty == fMode) { in beginValue() 287 fState = Scope::kArray == this->scope() ? State::kArrayValue : State::kObjectValue; in beginValue() 318 Scope scope() const { in scope() function in SkJSONWriter 331 switch (this->scope()) { in popScope() 342 SkDEBUGFAIL("Invalid scope"); in popScope()
|
/third_party/rust/crates/syn/src/ |
H A D | parse.rs | 246 scope: Span, 331 scope: Span, 367 error::new_at(self.scope, self.cursor, message) in error() 381 scope: Span, 386 scope, 835 lookahead::new(self.scope, self.cursor()) in lookahead1() 966 scope: self.scope, in lookahead1() 1004 error::new_at(self.scope, self.cursor(), message) in error() 1074 scope in step() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_service.h | 427 * @param[in] scope The scope in which media content navigation may take place. Refer to <b>AvrcMediaScope</b>. 435 int PlayItem(const RawAddress &rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter) override; 442 * @param[in] scope The scope in which media content navigation may take place. Refer to <b>AvrcMediaScope</b>. 450 int AddToNowPlaying(const RawAddress &rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter) override; 507 * @param[in] scope The scope in which media content navigation may take place. Refer to <b>AvrcMediaScope</b>. 520 int GetFolderItems(const RawAddress &rawAddr, uint8_t scope, uint32_t startItem, uint32_t endItem, 528 * @param[in] scope Th [all...] |
/third_party/selinux/libsepol/include/sepol/policydb/ |
H A D | policydb.h | 427 /* scope_index_t holds all of the symbols that are in scope in a 429 * subtract one) into the global policydb->scope array. */ 431 ebitmap_t scope[SYM_NUM]; member 432 #define p_classes_scope scope[SYM_CLASSES] 433 #define p_roles_scope scope[SYM_ROLES] 434 #define p_types_scope scope[SYM_TYPES] 435 #define p_users_scope scope[SYM_USERS] 436 #define p_bools_scope scope[SYM_BOOLS] 437 #define p_sens_scope scope[SYM_LEVELS] 438 #define p_cat_scope scope[SYM_CAT 496 uint32_t scope; global() member 557 symtab_t scope[SYM_NUM]; global() member [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | inner_navigation_controller.cpp | 37 ContainerScope scope(containerId_); in GetTopHandle() 56 ContainerScope scope(containerId_); in SetInPIPMode() 88 ContainerScope scope(containerId_); in PopInPIP() 108 ContainerScope scope(containerId_); in PushInPIP() 155 ContainerScope scope(containerId_); in DeletePIPMode()
|
/foundation/arkui/ace_engine/component_ext/ext_common/ |
H A D | ext_napi_utils.cpp | 36 napi_handle_scope scope; in Call() local 37 napi_open_handle_scope(env_, &scope); in Call() 38 if (scope == nullptr) { in Call() 39 napi_close_handle_scope(env_, scope); in Call() 47 napi_close_handle_scope(env_, scope); in Call()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_monitor/ |
H A D | event_listener.cpp | 140 napi_handle_scope scope = nullptr; in EmitOnUV() 141 napi_open_handle_scope(asyncCallbackInfo->env, &scope); in EmitOnUV() 142 if (scope == nullptr) { in EmitOnUV() 150 &result[ARGS_POS_ZERO]), scope); in EmitOnUV() 155 napi_close_handle_scope(asyncCallbackInfo->env, scope); in EmitOnUV()
|
/foundation/resourceschedule/device_usage_statistics/frameworks/src/ |
H A D | app_group_observer_napi.cpp | 93 napi_handle_scope scope = nullptr; in UvQueueWorkOnAppGroupChanged() local 94 napi_open_handle_scope(callbackReceiveDataWorkerData->env, &scope); in UvQueueWorkOnAppGroupChanged() 95 if (scope == nullptr) { in UvQueueWorkOnAppGroupChanged() 104 napi_close_handle_scope(callbackReceiveDataWorkerData->env, scope); in UvQueueWorkOnAppGroupChanged() 122 napi_close_handle_scope(callbackReceiveDataWorkerData->env, scope); in UvQueueWorkOnAppGroupChanged()
|
/third_party/node/deps/v8/src/libplatform/tracing/ |
H A D | trace-object.cc | 35 const char* scope, uint64_t id, uint64_t bind_id, int num_args, in Initialize() 45 scope_ = scope; in Initialize() 68 alloc_size += GetAllocLength(name) + GetAllocLength(scope); in Initialize() 112 const char* scope, uint64_t id, uint64_t bind_id, int num_args, in InitializeForTesting() 123 scope_ = scope; in InitializeForTesting() 33 Initialize( char phase, const uint8_t* category_enabled_flag, const char* name, const char* scope, uint64_t id, uint64_t bind_id, int num_args, const char** arg_names, const uint8_t* arg_types, const uint64_t* arg_values, std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables, unsigned int flags, int64_t timestamp, int64_t cpu_timestamp) Initialize() argument 110 InitializeForTesting( char phase, const uint8_t* category_enabled_flag, const char* name, const char* scope, uint64_t id, uint64_t bind_id, int num_args, const char** arg_names, const uint8_t* arg_types, const uint64_t* arg_values, std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables, unsigned int flags, int pid, int tid, int64_t ts, int64_t tts, uint64_t duration, uint64_t cpu_duration) InitializeForTesting() argument
|