Home
last modified time | relevance | path

Searched refs:scope (Results 101 - 125 of 1222) sorted by relevance

12345678910>>...49

/third_party/jerryscript/jerry-ext/include/jerryscript-ext/
H A Dhandle-scope.h63 * Inlined simple handle scope type.
67 JERRYX_HANDLE_SCOPE_FIELDS; /**< common handle scope fields */
72 * Dynamically allocated handle scope type.
76 JERRYX_HANDLE_SCOPE_FIELDS; /**< common handle scope fields */
77 jerryx_handle_scope_dynamic_t *child; /**< child dynamically allocated handle scope */
78 jerryx_handle_scope_dynamic_t *parent; /**< parent dynamically allocated handle scope */
95 jerryx_close_handle_scope (jerryx_handle_scope scope);
101 jerryx_close_escapable_handle_scope (jerryx_handle_scope scope);
104 jerryx_escape_handle (jerryx_escapable_handle_scope scope,
109 * Completely escape a handle from handle scope,
[all...]
/third_party/gn/src/gn/
H A Dstring_utils.cc14 #include "gn/scope.h"
48 // supported here at all are to support "${scope.variable}" and "${list[0]}",
56 bool AppendInterpolatedExpression(Scope* scope, in AppendInterpolatedExpression() argument
93 "a scope access ${foo.bar}, or a list access ${foo[0]}."); in AppendInterpolatedExpression()
98 Value result = node->Execute(scope, err); in AppendInterpolatedExpression()
110 bool AppendInterpolatedIdentifier(Scope* scope, in AppendInterpolatedIdentifier() argument
118 const Value* value = scope->GetValue(identifier, true); in AppendInterpolatedIdentifier()
124 std::string("\"") + identifier + "\" is not currently in scope."); in AppendInterpolatedIdentifier()
140 bool AppendStringInterpolation(Scope* scope, in AppendStringInterpolation() argument
173 return AppendInterpolatedIdentifier(scope, toke in AppendStringInterpolation()
208 AppendHexByte(Scope* scope, const Token& token, const char* input, size_t size, size_t* i, std::string* output, Err* err) AppendHexByte() argument
237 ExpandStringLiteral(Scope* scope, const Token& literal, Value* result, Err* err) ExpandStringLiteral() argument
[all...]
H A Dfunction_rebase_path.cc11 #include "gn/scope.h"
56 Value ConvertOnePath(const Scope* scope, in ConvertOnePath() argument
75 system_path = scope->settings()->build_settings()->GetFullPath( in ConvertOnePath()
78 scope->settings()->build_settings()->root_path_utf8())); in ConvertOnePath()
80 system_path = scope->settings()->build_settings()->GetFullPath( in ConvertOnePath()
83 scope->settings()->build_settings()->root_path_utf8())); in ConvertOnePath()
100 scope->settings()->build_settings()->root_path_utf8()) in ConvertOnePath()
102 to_dir, scope->settings()->build_settings()->root_path_utf8()); in ConvertOnePath()
106 value, err, scope->settings()->build_settings()->root_path_utf8()); in ConvertOnePath()
111 scope in ConvertOnePath()
[all...]
H A Dfunction_toolchain_unittest.cc23 input.parsed()->Execute(setup.scope(), &err); in TEST_F()
33 input.parsed()->Execute(setup.scope(), &err); in TEST_F()
54 input.parsed()->Execute(setup.scope(), &err); in TEST_F()
83 input.parsed()->Execute(setup.scope(), &err); in TEST_F()
103 input.parsed()->Execute(setup.scope(), &err); in TEST_F()
130 input.parsed()->Execute(setup.scope(), &err); in TEST_F()
147 input.parsed()->Execute(setup.scope(), &err); in TEST_F()
H A Dfunction_filter.cc11 #include "gn/scope.h"
63 Value RunFilter(Scope* scope, in RunFilter() argument
110 Value RunFilterExclude(Scope* scope, in RunFilterExclude() argument
114 return RunFilter(scope, function, args, kExcludeFilter, err); in RunFilterExclude()
117 Value RunFilterInclude(Scope* scope, in RunFilterInclude() argument
121 return RunFilter(scope, function, args, kIncludeFilter, err); in RunFilterInclude()
H A Dtemplate_unittest.cc22 input.parsed()->Execute(setup.scope(), &err); in TEST()
40 input.parsed()->Execute(setup.scope(), &err); in TEST()
56 input.parsed()->Execute(setup.scope(), &err); in TEST()
74 input.parsed()->Execute(setup.scope(), &err); in TEST()
91 input.parsed()->Execute(setup.scope(), &err); in TEST()
H A Dfunction_filter_labels.cc12 #include "gn/scope.h"
23 Value RunFilterLabels(Scope* scope, in RunFilterLabels() argument
53 scope->GetSourceDir(), in RunFilterLabels()
54 scope->settings()->build_settings()->root_path_utf8(), value, err); in RunFilterLabels()
65 Label::Resolve(scope->GetSourceDir(), in RunFilterLabels()
66 scope->settings()->build_settings()->root_path_utf8(), in RunFilterLabels()
67 ToolchainLabelForScope(scope), value, err); in RunFilterLabels()
111 Value RunFilterLabelsInclude(Scope* scope,
115 return RunFilterLabels(scope, function, args, kIncludeFilter, err);
138 Value RunFilterLabelsExclude(Scope* scope,
[all...]
/third_party/spirv-tools/source/val/
H A Dvalidate_scopes.cpp24 bool IsValidScope(uint32_t scope) { in IsValidScope() argument
27 switch (static_cast<spv::Scope>(scope)) { in IsValidScope()
43 uint32_t scope) { in ValidateScope()
47 std::tie(is_int32, is_const_int32, value) = _.EvalInt32IfConst(scope); in ValidateScope()
51 << spvOpcodeString(opcode) << ": expected scope to be a 32-bit int"; in ValidateScope()
63 !spvOpcodeIsConstant(_.GetIdOpcode(scope))) { in ValidateScope()
72 << "Invalid scope value:\n " << _.Disassemble(*_.FindDef(scope)); in ValidateScope()
79 const Instruction* inst, uint32_t scope) { in ValidateExecutionScope()
83 std::tie(is_int32, is_const_int32, tmp_value) = _.EvalInt32IfConst(scope); in ValidateExecutionScope()
42 ValidateScope(ValidationState_t& _, const Instruction* inst, uint32_t scope) ValidateScope() argument
78 ValidateExecutionScope(ValidationState_t& _, const Instruction* inst, uint32_t scope) ValidateExecutionScope() argument
190 ValidateMemoryScope(ValidationState_t& _, const Instruction* inst, uint32_t scope) ValidateMemoryScope() argument
[all...]
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/
H A Dpthread_test_013.cpp37 int scope = 0; in Testcase() local
45 ret = pthread_attr_getscope(&attr, &scope); in Testcase()
47 ICUNIT_ASSERT_EQUAL(scope, PTHREAD_SCOPE_PROCESS, scope); in Testcase()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dwebview_javascript_result_callback.cpp51 // Level scope which updates the current depth of some ValueConvertState.
139 napi_escapable_handle_scope scope = nullptr; in CallbackFunctionForH5() local
140 napi_open_escapable_handle_scope(env, &scope); in CallbackFunctionForH5()
153 napi_close_escapable_handle_scope(env, scope); in CallbackFunctionForH5()
166 napi_escape_handle(env, scope, napiArg, &napiArg); in CallbackFunctionForH5()
180 napi_close_escapable_handle_scope(env, scope); in CallbackFunctionForH5()
234 napi_handle_scope scope = nullptr; in OpenScope() local
235 NAPI_CALL(env, napi_open_handle_scope(env, &scope)); in OpenScope()
236 return scope; in OpenScope()
239 void CloseScope(napi_env env, napi_handle_scope scope) in CloseScope() argument
910 napi_handle_scope scope = nullptr; ExecuteGetJavaScriptResult() local
956 napi_handle_scope scope = nullptr; GetJavaScriptResultSelf() local
1117 GetJavaScriptResultSelfHelper( std::shared_ptr<JavaScriptOb> jsObj, const std::string& method, int32_t routingId, napi_handle_scope scope, std::vector<napi_value> argv) GetJavaScriptResultSelfHelper() argument
1169 napi_handle_scope scope = nullptr; GetJavaScriptResultSelfFlowbuf() local
1325 napi_handle_scope scope = nullptr; ExecuteHasJavaScriptObjectMethods() local
1393 napi_handle_scope scope = nullptr; HasJavaScriptObjectMethods() local
1437 napi_handle_scope scope = nullptr; ExecuteGetJavaScriptObjectMethods() local
1505 napi_handle_scope scope = nullptr; GetJavaScriptObjectMethods() local
1562 napi_handle_scope scope = nullptr; ExecuteRemoveJavaScriptObjectHolder() local
1625 napi_handle_scope scope = nullptr; RemoveJavaScriptObjectHolder() local
[all...]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dspectre.h25 bool has_spectre_v2(const struct arm64_cpu_capabilities *cap, int scope);
29 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope);
34 bool is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry, int scope);
35 u8 spectre_bhb_loop_affected(int scope);
/third_party/node/deps/v8/src/codegen/
H A Dunoptimized-compilation-info.cc36 DeclarationScope* UnoptimizedCompilationInfo::scope() const { in scope() function in v8::internal::UnoptimizedCompilationInfo
38 return literal_->scope(); in scope()
42 return scope()->num_parameters(); in num_parameters()
46 return scope()->num_parameters() + 1; in num_parameters_including_this()
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-object.cc24 HandleScope scope(isolate); in BUILTIN()
40 HandleScope scope(isolate); in BUILTIN()
51 HandleScope scope(isolate); in BUILTIN()
179 HandleScope scope(isolate); in BUILTIN()
189 HandleScope scope(isolate); in BUILTIN()
199 HandleScope scope(isolate); in BUILTIN()
208 HandleScope scope(isolate); in BUILTIN()
216 HandleScope scope(isolate); in BUILTIN()
228 HandleScope scope(isolate); in BUILTIN()
241 HandleScope scope(isolat in BUILTIN()
[all...]
/third_party/skia/src/core/
H A DSkTraceEventCommon.h73 #define TRACE_EVENT_INSTANT0(cg, n, scope) TRACE_EMPTY
74 #define TRACE_EVENT_INSTANT1(cg, n, scope, a1n, a1v) TRACE_EMPTY
75 #define TRACE_EVENT_INSTANT2(cg, n, scope, a1n, a1v, a2n, a2v) TRACE_EMPTY
148 // Records a pair of begin and end events called "name" for the current scope, with 0, 1 or 2
161 #define TRACE_EVENT_INSTANT0(category_group, name, scope) \
164 #define TRACE_EVENT_INSTANT1(category_group, name, scope, arg1_name, arg1_val) \
167 #define TRACE_EVENT_INSTANT2(category_group, name, scope, arg1_name, arg1_val, \
214 // Records a pair of begin and end events called "name" for the current scope, with 0, 1 or 2
237 #define TRACE_EVENT_INSTANT0(category_group, name, scope) TRACE_EMPTY
238 #define TRACE_EVENT_INSTANT1(category_group, name, scope, arg1_nam
[all...]
/base/telephony/core_service/frameworks/js/network_search/src/
H A Dnapi_ims_reg_info_callback_manager.cpp144 napi_handle_scope scope = nullptr; in ReportImsRegInfo() local
145 napi_open_handle_scope(env, &scope); in ReportImsRegInfo()
146 if (scope == nullptr) { in ReportImsRegInfo()
147 TELEPHONY_LOGE("scope is nullptr"); in ReportImsRegInfo()
148 napi_close_handle_scope(env, scope); in ReportImsRegInfo()
161 napi_close_handle_scope(env, scope); in ReportImsRegInfo()
169 napi_close_handle_scope(env, scope); in ReportImsRegInfo()
172 napi_close_handle_scope(env, scope); in ReportImsRegInfo()
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dspectre.h85 bool has_spectre_v2(const struct arm64_cpu_capabilities *cap, int scope);
88 bool has_spectre_v3a(const struct arm64_cpu_capabilities *cap, int scope);
92 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope);
99 bool is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry, int scope);
100 u8 spectre_bhb_loop_affected(int scope);
/base/account/os_account/interfaces/kits/napi/appaccount/src/
H A Dnapi_app_account_authenticator.cpp394 napi_handle_scope scope = nullptr; in AddAccountImplicitlyWork() local
395 if (!InitUvWorkCallbackEnv(work, scope)) { in AddAccountImplicitlyWork()
407 napi_close_handle_scope(param->env, scope); in AddAccountImplicitlyWork()
413 napi_handle_scope scope = nullptr; in AuthenticateWork() local
414 if (!InitUvWorkCallbackEnv(work, scope)) { in AuthenticateWork()
428 napi_close_handle_scope(param->env, scope); in AuthenticateWork()
434 napi_handle_scope scope = nullptr; in CreateAccountImplicitlyWork() local
435 if (!InitUvWorkCallbackEnv(work, scope)) { in CreateAccountImplicitlyWork()
455 napi_close_handle_scope(param->env, scope); in CreateAccountImplicitlyWork()
461 napi_handle_scope scope in AuthWork() local
480 napi_handle_scope scope = nullptr; VerifyCredentialWork() local
498 napi_handle_scope scope = nullptr; SetPropertiesWork() local
514 napi_handle_scope scope = nullptr; CheckAccountLabelsWork() local
537 napi_handle_scope scope = nullptr; IsAccountRemovableWork() local
[all...]
/third_party/node/deps/v8/src/runtime/
H A Druntime-wasm.cc6 #include "src/common/assert-scope.h"
107 HandleScope scope(isolate); in RUNTIME_FUNCTION()
131 HandleScope scope(isolate); in RUNTIME_FUNCTION()
148 HandleScope scope(isolate); in RUNTIME_FUNCTION()
167 HandleScope scope(isolate); in RUNTIME_FUNCTION()
175 HandleScope scope(isolate); in RUNTIME_FUNCTION()
192 HandleScope scope(isolate); in RUNTIME_FUNCTION()
212 HandleScope scope(isolate); in RUNTIME_FUNCTION()
251 HandleScope scope(isolate); in RUNTIME_FUNCTION()
303 HandleScope scope(isolat in RUNTIME_FUNCTION()
[all...]
/kernel/linux/linux-6.6/drivers/counter/
H A Dcounter-sysfs.c32 * @scope: Counter scope of the attribute
40 enum counter_scope scope; member
113 switch (a->scope) { in counter_comp_u8_show()
154 switch (a->scope) { in counter_comp_u8_store()
182 switch (a->scope) { in counter_comp_u32_show()
279 switch (a->scope) { in counter_comp_u32_store()
310 switch (a->scope) { in counter_comp_u64_show()
342 switch (a->scope) { in counter_comp_u64_store()
371 if (a->scope ! in counter_comp_array_u32_show()
567 counter_attr_create(struct device *const dev, struct counter_attribute_group *const group, const struct counter_comp *const comp, const enum counter_scope scope, void *const parent) counter_attr_create() argument
746 counter_ext_attrs_create(struct device *const dev, struct counter_attribute_group *const group, const struct counter_comp *const ext, const enum counter_scope scope, void *const parent, const size_t id) counter_ext_attrs_create() argument
763 counter_array_attrs_create(struct device *const dev, struct counter_attribute_group *const group, const struct counter_comp *const comp, const enum counter_scope scope, void *const parent, const size_t id) counter_array_attrs_create() argument
802 counter_sysfs_exts_add(struct device *const dev, struct counter_attribute_group *const group, const struct counter_comp *const exts, const size_t num_ext, const enum counter_scope scope, void *const parent) counter_sysfs_exts_add() argument
844 const enum counter_scope scope = COUNTER_SCOPE_SIGNAL; counter_signal_attrs_create() local
944 const enum counter_scope scope = COUNTER_SCOPE_COUNT; counter_count_attrs_create() local
1062 const enum counter_scope scope = COUNTER_SCOPE_DEVICE; counter_sysfs_attr_add() local
[all...]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Ddswscope.c25 * DESCRIPTION: Pop (and free) everything on the scope stack except the
26 * root scope object (which remains at the stack top.)
37 /* Pop a scope off the stack */ in acpi_ds_scope_stack_clear()
40 walk_state->scope_info = scope_info->scope.next; in acpi_ds_scope_stack_clear()
61 * DESCRIPTION: Push the current scope on the scope stack, and make the
78 /* Invalid scope */ in acpi_ds_scope_stack_push()
80 ACPI_ERROR((AE_INFO, "Null scope parameter")); in acpi_ds_scope_stack_push()
90 /* Allocate a new scope object */ in acpi_ds_scope_stack_push()
97 /* Init new scope objec in acpi_ds_scope_stack_push()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_symbol.h168 typedef struct scope { struct
169 SLIST_ENTRY(scope) scope_stack_links;
170 TAILQ_ENTRY(scope) scope_links;
171 TAILQ_HEAD(, scope) inner_scope;
181 SLIST_HEAD(scope_list, scope);
182 TAILQ_HEAD(scope_tailq, scope);
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Ddswscope.c25 * DESCRIPTION: Pop (and free) everything on the scope stack except the
26 * root scope object (which remains at the stack top.)
37 /* Pop a scope off the stack */ in acpi_ds_scope_stack_clear()
40 walk_state->scope_info = scope_info->scope.next; in acpi_ds_scope_stack_clear()
61 * DESCRIPTION: Push the current scope on the scope stack, and make the
78 /* Invalid scope */ in acpi_ds_scope_stack_push()
80 ACPI_ERROR((AE_INFO, "Null scope parameter")); in acpi_ds_scope_stack_push()
90 /* Allocate a new scope object */ in acpi_ds_scope_stack_push()
97 /* Init new scope objec in acpi_ds_scope_stack_push()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_symbol.h168 typedef struct scope { struct
169 SLIST_ENTRY(scope) scope_stack_links;
170 TAILQ_ENTRY(scope) scope_links;
171 TAILQ_HEAD(, scope) inner_scope;
181 SLIST_HEAD(scope_list, scope);
182 TAILQ_HEAD(scope_tailq, scope);
/kernel/linux/linux-6.6/kernel/
H A Dpid_sysctl.h13 int err, scope, parent_scope; in pid_mfd_noexec_dointvec_minmax() local
23 scope = max(READ_ONCE(ns->memfd_noexec_scope), parent_scope); in pid_mfd_noexec_dointvec_minmax()
25 table_copy.data = &scope; in pid_mfd_noexec_dointvec_minmax()
30 WRITE_ONCE(ns->memfd_noexec_scope, scope); in pid_mfd_noexec_dointvec_minmax()
/third_party/node/deps/v8/src/parsing/
H A Dpreparser.h316 void set_scope(Scope* scope) {} in set_scope() argument
471 void set_scope(Scope* scope) {} in set_scope() argument
497 // A PreParserBlock extends statement with a place to store the scope.
498 // The scope is dropped as the block is returned as a statement.
501 void set_scope(Scope* scope) { scope_ = scope; } in set_scope() argument
502 Scope* scope() const { return scope_; } in scope() function in v8::internal::PreParserBlock
678 const PreParserIdentifier& name, Scope* scope, in NewFunctionLiteral()
746 PreParserStatement NewWithStatement(Scope* scope, in NewWithStatement() argument
811 explicit PreParserFormalParameters(DeclarationScope* scope) in PreParserFormalParameters() argument
677 NewFunctionLiteral( const PreParserIdentifier& name, Scope* scope, const PreParserScopedStatementList& body, int expected_property_count, int parameter_count, int function_length, FunctionLiteral::ParameterFlag has_duplicate_parameters, FunctionSyntaxKind function_syntax_kind, FunctionLiteral::EagerCompileHint eager_compile_hint, int position, bool has_braces, int function_literal_id, ProducedPreparseData* produced_preparse_data = nullptr) NewFunctionLiteral() argument
1046 SetLanguageMode(Scope* scope, LanguageMode mode) SetLanguageMode() argument
1061 RewriteSwitchStatement(PreParserStatement switch_statement, Scope* scope) RewriteSwitchStatement() argument
1065 DeclareVariable(const AstRawString* name, VariableKind kind, VariableMode mode, InitializationFlag init, Scope* scope, bool* was_added, int position) DeclareVariable() argument
1071 DeclareAndBindVariable(const VariableProxy* proxy, VariableKind kind, VariableMode mode, Scope* scope, bool* was_added, int initializer_position) DeclareAndBindVariable() argument
1080 DeclarePrivateVariableName(const AstRawString* name, ClassScope* scope, VariableMode mode, IsStaticFlag is_static_flag, bool* was_added) DeclarePrivateVariableName() argument
1088 DeclareVariableName(const AstRawString* name, VariableMode mode, Scope* scope, bool* was_added, int position = kNoSourcePosition, VariableKind kind = NORMAL_VARIABLE) DeclareVariableName() argument
1114 ReportVarRedeclarationIn(const AstRawString* name, Scope* scope) ReportVarRedeclarationIn() argument
1190 DeclareClassVariable(ClassScope* scope, const PreParserIdentifier& name, ClassInfo* class_info, int class_token_pos) DeclareClassVariable() argument
1204 DeclarePublicClassField(ClassScope* scope, const PreParserExpression& property, bool is_static, bool is_computed_name, ClassInfo* class_info) DeclarePublicClassField() argument
1213 VariableMode::kConst, scope, &was_added); DeclarePublicClassField() local
1217 DeclarePrivateClassMember( ClassScope* scope, const PreParserIdentifier& property_name, const PreParserExpression& property, ClassLiteralProperty::Kind kind, bool is_static, ClassInfo* class_info) DeclarePrivateClassMember() argument
1240 RewriteClassLiteral(ClassScope* scope, const PreParserIdentifier& name, ClassInfo* class_info, int pos, int end_pos) RewriteClassLiteral() argument
1436 InsertSloppyBlockFunctionVarBindings(DeclarationScope* scope) InsertSloppyBlockFunctionVarBindings() argument
1589 DeclareCatchVariableName( Scope* scope, const PreParserIdentifier& identifier) DeclareCatchVariableName() argument
1622 DeclarationScope* scope = parameters->scope; AddFormalParameter() local
[all...]

Completed in 39 milliseconds

12345678910>>...49