Home
last modified time | relevance | path

Searched refs:scope (Results 51 - 75 of 1255) sorted by relevance

12345678910>>...51

/third_party/node/deps/v8/src/objects/
H A Dscope-info.cc5 #include "src/objects/scope-info.h"
14 #include "src/objects/scope-info-inl.h"
61 Handle<ScopeInfo> ScopeInfo::Create(IsolateT* isolate, Zone* zone, Scope* scope, in Create() argument
66 // Stack allocated block scope variables are allocated in the parent in Create()
67 // declaration scope, but are recorded in the block scope's scope info. First in Create()
68 // slot index indicates at which offset a particular scope starts in the in Create()
69 // parent declaration scope. in Create()
70 for (Variable* var : *scope in Create()
[all...]
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/
H A Dpthread_attr.c46 attr->scope = PTHREAD_SCOPE_PROCESS; in pthread_attr_init()
86 int pthread_attr_setscope(pthread_attr_t *attr, int scope) in pthread_attr_setscope() argument
92 if (scope == PTHREAD_SCOPE_PROCESS) { in pthread_attr_setscope()
93 attr->scope = (unsigned int)scope; in pthread_attr_setscope()
97 if (scope == PTHREAD_SCOPE_SYSTEM) { in pthread_attr_setscope()
104 int pthread_attr_getscope(const pthread_attr_t *attr, int *scope) in pthread_attr_getscope() argument
106 if ((attr == NULL) || (scope == NULL)) { in pthread_attr_getscope()
110 *scope = (int)attr->scope; in pthread_attr_getscope()
[all...]
/third_party/gn/src/gn/
H A Dfunction_foreach.cc8 #include "gn/scope.h"
26 The block does not introduce a new scope, so that variable assignments inside
31 variable will no longer be in scope, and the previous value (if any) will be
47 Value RunForEach(Scope* scope, in RunForEach() argument
69 Value list_value = args_vector[1]->Execute(scope, err); in RunForEach()
84 // If the loop variable was previously defined in this scope, save it so we in RunForEach()
86 const Value* old_loop_value_ptr = scope->GetValue(loop_var); in RunForEach()
92 scope->SetValue(loop_var, cur, function); in RunForEach()
93 block->Execute(scope, err); in RunForEach()
101 // which will probably point to the new value now in the scope in RunForEach()
[all...]
H A Dtarget_generator.cc30 #include "gn/scope.h"
37 Scope* scope, in TargetGenerator()
41 scope_(scope), in TargetGenerator()
78 void TargetGenerator::GenerateTarget(Scope* scope, in GenerateTarget() argument
92 const Label& toolchain_label = ToolchainLabelForScope(scope); in GenerateTarget()
93 Label label(scope->GetSourceDir(), args[0].string_value(), in GenerateTarget()
100 scope->settings(), label, scope->build_dependency_files()); in GenerateTarget()
105 BundleDataTargetGenerator generator(target.get(), scope, function_call, in GenerateTarget()
109 CreateBundleTargetGenerator generator(target.get(), scope, function_cal in GenerateTarget()
36 TargetGenerator(Target* target, Scope* scope, const FunctionCallNode* function_call, Err* err) TargetGenerator() argument
[all...]
H A Dfunction_write_file.cc54 Value RunWriteFile(Scope* scope, in RunWriteFile() argument
65 const SourceDir& cur_dir = scope->GetSourceDir(); in RunWriteFile()
67 args[0], err, scope->settings()->build_settings()->root_path_utf8()); in RunWriteFile()
71 scope->settings()->build_settings()->build_dir(), source_file.value(), in RunWriteFile()
82 scope->settings()->build_settings()->GetFullPath(source_file)); in RunWriteFile()
94 ConvertValueToOutput(scope->settings(), args[1], output_conversion, contents, in RunWriteFile()
100 scope->settings()->build_settings()->GetFullPath(source_file); in RunWriteFile()
H A Dfunction_read_file.cc42 Value RunReadFile(Scope* scope, in RunReadFile() argument
55 const SourceDir& cur_dir = scope->GetSourceDir(); in RunReadFile()
57 args[0], err, scope->settings()->build_settings()->root_path_utf8()); in RunReadFile()
60 scope->AddBuildDependencyFile(source_file); in RunReadFile()
62 scope->settings()->build_settings()->GetFullPath(source_file); in RunReadFile()
75 return ConvertInputToValue(scope->settings(), file_contents, function, in RunReadFile()
H A Dscope_per_file_provider_unittest.cc21 Scope scope(test.settings()); in TEST()
22 scope.set_source_dir(SourceDir("//source/")); in TEST()
23 ScopePerFileProvider provider(&scope, true); in TEST()
45 Scope scope(&settings); in TEST()
46 scope.set_source_dir(SourceDir("//source/")); in TEST()
47 ScopePerFileProvider provider(&scope, true); in TEST()
/third_party/protobuf/python/google/protobuf/
H A Ddescriptor_pool.py590 scope = self.FindMessageTypeByName(message_name)
592 # Some extensions are defined at file scope.
593 scope = self._FindFileContainingSymbolInDb(full_name)
594 return scope.extensions_by_name[extension_name]
756 scope = {}
760 # scope of available message types when defining the passed in
763 scope.update(self._ExtractSymbols(
765 scope.update((_PrefixWithDot(enum.full_name), enum)
770 message_type, file_proto.package, file_descriptor, scope,
778 file_descriptor, None, scope, Tru
[all...]
/base/msdp/device_status/frameworks/js/napi/interaction/drag/src/
H A Djs_drag_manager.cpp40 napi_handle_scope scope = nullptr; in IsSameHandle() local
41 napi_open_handle_scope(env, &scope); in IsSameHandle()
42 CHKPF(scope); in IsSameHandle()
44 CHKRF_SCOPE(env, napi_get_reference_value(env, ref, &handlerTemp), GET_REFERENCE_VALUE, scope); in IsSameHandle()
46 CHKRF_SCOPE(env, napi_strict_equals(env, handle, handlerTemp, &isEqual), STRICT_EQUALS, scope); in IsSameHandle()
47 napi_close_handle_scope(env, scope); in IsSameHandle()
178 napi_handle_scope scope = nullptr; in CallDragMsg() local
179 napi_open_handle_scope(item->env, &scope); in CallDragMsg()
180 CHKPC(scope); in CallDragMsg()
183 CREATE_INT32, scope); in CallDragMsg()
[all...]
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-intl.cc42 HandleScope scope(isolate); in BUILTIN()
60 HandleScope scope(isolate); in BUILTIN()
71 HandleScope scope(isolate); in BUILTIN()
108 HandleScope scope(isolate); in BUILTIN()
122 HandleScope scope(isolate); in BUILTIN()
398 HandleScope scope(isolate); in BUILTIN()
406 HandleScope scope(isolate); in BUILTIN()
413 HandleScope scope(isolate); in BUILTIN()
424 HandleScope scope(isolate); in BUILTIN()
435 HandleScope scope(isolat in BUILTIN()
[all...]
H A Dbuiltins-regexp.cc20 HandleScope scope(isolate); in BUILTIN()
63 HandleScope scope(isolate); \
83 HandleScope scope(isolate); in BUILTIN()
90 HandleScope scope(isolate); in BUILTIN()
104 HandleScope scope(isolate); in BUILTIN()
110 HandleScope scope(isolate); in BUILTIN()
127 HandleScope scope(isolate); in BUILTIN()
135 HandleScope scope(isolate); in BUILTIN()
/kernel/linux/linux-5.10/arch/m68k/kernel/
H A Dsys_m68k.c68 cache_flush_040 (unsigned long addr, int scope, int cache, unsigned long len) in cache_flush_040() argument
72 switch (scope) in cache_flush_040()
228 cache_flush_060 (unsigned long addr, int scope, int cache, unsigned long len) in cache_flush_060() argument
238 switch (scope) in cache_flush_060()
378 sys_cacheflush (unsigned long addr, int scope, int cache, unsigned long len) in sys_cacheflush() argument
382 if (scope < FLUSH_SCOPE_LINE || scope > FLUSH_SCOPE_ALL || in sys_cacheflush()
386 if (scope == FLUSH_SCOPE_ALL) { in sys_cacheflush()
411 if (scope == FLUSH_SCOPE_LINE && len < 256) { in sys_cacheflush()
440 * 040 or 060: don't blindly trust 'scope', someon in sys_cacheflush()
535 sys_cacheflush(unsigned long addr, int scope, int cache, unsigned long len) sys_cacheflush() argument
[all...]
/kernel/linux/linux-6.6/arch/m68k/kernel/
H A Dsys_m68k.c68 cache_flush_040 (unsigned long addr, int scope, int cache, unsigned long len) in cache_flush_040() argument
72 switch (scope) in cache_flush_040()
228 cache_flush_060 (unsigned long addr, int scope, int cache, unsigned long len) in cache_flush_060() argument
238 switch (scope) in cache_flush_060()
378 sys_cacheflush (unsigned long addr, int scope, int cache, unsigned long len) in sys_cacheflush() argument
382 if (scope < FLUSH_SCOPE_LINE || scope > FLUSH_SCOPE_ALL || in sys_cacheflush()
386 if (scope == FLUSH_SCOPE_ALL) { in sys_cacheflush()
411 if (scope == FLUSH_SCOPE_LINE && len < 256) { in sys_cacheflush()
440 * 040 or 060: don't blindly trust 'scope', someon in sys_cacheflush()
537 sys_cacheflush(unsigned long addr, int scope, int cache, unsigned long len) sys_cacheflush() argument
[all...]
/third_party/node/deps/v8/src/parsing/
H A Dexpression-scope.h61 for (Scope* scope = parser()->scope(); !scope->is_declaration_scope(); in NewVariable()
62 scope = scope->outer_scope()) { in NewVariable()
63 if (scope->is_with_scope()) { in NewVariable()
65 } else if (scope->is_catch_scope()) { in NewVariable()
66 Variable* masking_var = scope->LookupLocal(name); in NewVariable()
67 // If a variable is declared in a catch scope with a masking in NewVariable()
81 // If a variable is declared in a with scope, th in NewVariable()
150 ExpressionScope* scope = this; RecordParameterInitializerError() local
163 ExpressionScope* scope = this; RecordThisUse() local
675 AccumulationScope(ExpressionScope<Types>* scope) AccumulationScope() argument
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/val/
H A Dvalidate_scopes.cpp25 bool IsValidScope(uint32_t scope) { in IsValidScope() argument
28 switch (static_cast<SpvScope>(scope)) { in IsValidScope()
44 uint32_t scope) { in ValidateScope()
48 std::tie(is_int32, is_const_int32, value) = _.EvalInt32IfConst(scope); in ValidateScope()
52 << spvOpcodeString(opcode) << ": expected scope to be a 32-bit int"; in ValidateScope()
64 !spvOpcodeIsConstant(_.GetIdOpcode(scope))) { in ValidateScope()
73 << "Invalid scope value:\n " << _.Disassemble(*_.FindDef(scope)); in ValidateScope()
80 const Instruction* inst, uint32_t scope) { in ValidateExecutionScope()
84 std::tie(is_int32, is_const_int32, value) = _.EvalInt32IfConst(scope); in ValidateExecutionScope()
43 ValidateScope(ValidationState_t& _, const Instruction* inst, uint32_t scope) ValidateScope() argument
79 ValidateExecutionScope(ValidationState_t& _, const Instruction* inst, uint32_t scope) ValidateExecutionScope() argument
187 ValidateMemoryScope(ValidationState_t& _, const Instruction* inst, uint32_t scope) ValidateMemoryScope() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dvalidate_scopes.cpp25 bool IsValidScope(uint32_t scope) { in IsValidScope() argument
28 switch (static_cast<SpvScope>(scope)) { in IsValidScope()
44 uint32_t scope) { in ValidateScope()
48 std::tie(is_int32, is_const_int32, value) = _.EvalInt32IfConst(scope); in ValidateScope()
52 << spvOpcodeString(opcode) << ": expected scope to be a 32-bit int"; in ValidateScope()
64 !spvOpcodeIsConstant(_.GetIdOpcode(scope))) { in ValidateScope()
73 << "Invalid scope value:\n " << _.Disassemble(*_.FindDef(scope)); in ValidateScope()
80 const Instruction* inst, uint32_t scope) { in ValidateExecutionScope()
84 std::tie(is_int32, is_const_int32, value) = _.EvalInt32IfConst(scope); in ValidateExecutionScope()
43 ValidateScope(ValidationState_t& _, const Instruction* inst, uint32_t scope) ValidateScope() argument
79 ValidateExecutionScope(ValidationState_t& _, const Instruction* inst, uint32_t scope) ValidateExecutionScope() argument
187 ValidateMemoryScope(ValidationState_t& _, const Instruction* inst, uint32_t scope) ValidateMemoryScope() argument
[all...]
/kernel/liteos_a/compat/posix/src/
H A Dpthread_attr.c46 attr->scope = PTHREAD_SCOPE_PROCESS; in pthread_attr_init()
90 int pthread_attr_setscope(pthread_attr_t *attr, int scope) in pthread_attr_setscope() argument
96 if (scope == PTHREAD_SCOPE_PROCESS) { in pthread_attr_setscope()
97 attr->scope = (unsigned int)scope; in pthread_attr_setscope()
101 if (scope == PTHREAD_SCOPE_SYSTEM) { in pthread_attr_setscope()
108 int pthread_attr_getscope(const pthread_attr_t *attr, int *scope) in pthread_attr_getscope() argument
110 if ((attr == NULL) || (scope == NULL)) { in pthread_attr_getscope()
114 *scope = (int)attr->scope; in pthread_attr_getscope()
[all...]
/kernel/liteos_m/kal/posix/src/
H A Dpthread_attr.c49 attr->scope = PTHREAD_SCOPE_SYSTEM; in pthread_attr_init()
90 int pthread_attr_setscope(pthread_attr_t *attr, int scope) in pthread_attr_setscope() argument
96 if (scope == PTHREAD_SCOPE_SYSTEM) { in pthread_attr_setscope()
97 attr->scope = (unsigned int)scope; in pthread_attr_setscope()
101 if (scope == PTHREAD_SCOPE_PROCESS) { in pthread_attr_setscope()
108 int pthread_attr_getscope(const pthread_attr_t *attr, int *scope) in pthread_attr_getscope() argument
110 if ((attr == NULL) || (scope == NULL)) { in pthread_attr_getscope()
114 *scope = (int)attr->scope; in pthread_attr_getscope()
[all...]
/third_party/node/deps/v8/src/runtime/
H A Druntime-operators.cc15 HandleScope scope(isolate); in RUNTIME_FUNCTION()
24 HandleScope scope(isolate); in RUNTIME_FUNCTION()
34 HandleScope scope(isolate); in RUNTIME_FUNCTION()
44 SealHandleScope scope(isolate); in RUNTIME_FUNCTION()
52 SealHandleScope scope(isolate); in RUNTIME_FUNCTION()
60 SealHandleScope scope(isolate); in RUNTIME_FUNCTION()
68 HandleScope scope(isolate); in RUNTIME_FUNCTION()
78 HandleScope scope(isolate); in RUNTIME_FUNCTION()
88 HandleScope scope(isolate); in RUNTIME_FUNCTION()
98 HandleScope scope(isolat in RUNTIME_FUNCTION()
[all...]
H A Druntime-promise.cc22 HandleScope scope(isolate); in RUNTIME_FUNCTION()
46 HandleScope scope(isolate); in RUNTIME_FUNCTION()
56 HandleScope scope(isolate); in RUNTIME_FUNCTION()
66 HandleScope scope(isolate); in RUNTIME_FUNCTION()
76 HandleScope scope(isolate); in RUNTIME_FUNCTION()
89 HandleScope scope(isolate); in RUNTIME_FUNCTION()
96 HandleScope scope(isolate); in RUNTIME_FUNCTION()
108 HandleScope scope(isolate); in RUNTIME_FUNCTION()
116 HandleScope scope(isolate); in RUNTIME_FUNCTION()
125 HandleScope scope(isolat in RUNTIME_FUNCTION()
[all...]
H A Druntime-object.cc286 HandleScope scope(isolate); in RUNTIME_FUNCTION()
306 HandleScope scope(isolate); in RUNTIME_FUNCTION()
327 HandleScope scope(isolate); in RUNTIME_FUNCTION()
358 HandleScope scope(isolate); in RUNTIME_FUNCTION()
429 HandleScope scope(isolate); in RUNTIME_FUNCTION()
461 HandleScope scope(isolate); in RUNTIME_FUNCTION()
488 HandleScope scope(isolate); in RUNTIME_FUNCTION()
527 HandleScope scope(isolate); in RUNTIME_FUNCTION()
623 HandleScope scope(isolate); in RUNTIME_FUNCTION()
634 HandleScope scope(isolat in RUNTIME_FUNCTION()
[all...]
/third_party/node/deps/v8/src/ast/
H A Dscopes.h66 Variable* Declare(Zone* zone, Scope* scope, const AstRawString* name,
89 // and ModuleScope. DeclarationScope is used for any scope that hosts 'var'
91 // scope. ModuleScope further specializes DeclarationScope.
100 // The scope name is only used for printing/debugging.
115 inline explicit Snapshot(Scope* scope);
122 // Restore eval flags from before the scope was active. in ~Snapshot()
139 // While the scope is active, the scope caches the flag values for
143 // scope. Otherwise the cached flags will be merged with the flags from the
164 // Checks if the block scope i
1365 Snapshot(Scope* scope) Snapshot() argument
[all...]
/base/msdp/device_status/utils/common/include/
H A Dutil_napi.h57 #define CHKRV_SCOPE(env, state, desc, scope) \
61 napi_close_handle_scope(env, scope); \
66 #define CHKRF_SCOPE(env, state, desc, scope) \
70 napi_close_handle_scope(env, scope); \
75 #define CHKRP_SCOPE(env, state, desc, scope) \
79 napi_close_handle_scope(env, scope); \
/base/security/access_token/frameworks/accesstoken/src/
H A Dpermission_state_change_scope_parcel.cpp24 RETURN_IF_FALSE(out.WriteUint32((this->scope.tokenIDs.size()))); in Marshalling()
25 for (const auto& tokenID : this->scope.tokenIDs) { in Marshalling()
29 RETURN_IF_FALSE(out.WriteUint32((this->scope.permList.size()))); in Marshalling()
30 for (const auto& permissionName : this->scope.permList) { in Marshalling()
48 permStateChangeScopeParcel->scope.tokenIDs.emplace_back(tokenID); in Unmarshalling()
57 permStateChangeScopeParcel->scope.permList.emplace_back(permName); in Unmarshalling()
/third_party/node/deps/v8/src/tracing/
H A Dtrace-event.h49 // By default, const char* argument values are assumed to have long-lived scope
54 // this macro to add a scope string.
55 #define TRACE_ID_WITH_SCOPE(scope, id) \
56 v8::internal::tracing::TraceID::WithScope(scope, id)
95 // const char* scope,
110 // const char* scope,
190 // event if the category is enabled. Also adds the end event when the scope
236 trace_event_trace_id.scope(), trace_event_trace_id.raw_id(), \
265 trace_event_trace_id.scope(), trace_event_trace_id.raw_id(), \
319 WithScope(const char* scope, uint64_ argument
322 const char* scope() const { return scope_; } scope() function in v8::internal::tracing::TraceID::WithScope
363 const char* scope() const { return scope_; } scope() function in v8::internal::tracing::TraceID
380 AddTraceEventImpl( char phase, const uint8_t* category_group_enabled, const char* name, const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args, const char** arg_names, const uint8_t* arg_types, const uint64_t* arg_values, unsigned int flags) AddTraceEventImpl() argument
402 AddTraceEventWithTimestampImpl( char phase, const uint8_t* category_group_enabled, const char* name, const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args, const char** arg_names, const uint8_t* arg_types, const uint64_t* arg_values, unsigned int flags, int64_t timestamp) AddTraceEventWithTimestampImpl() argument
473 AddTraceEvent(char phase, const uint8_t* category_group_enabled, const char* name, const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags) AddTraceEvent() argument
484 AddTraceEvent( char phase, const uint8_t* category_group_enabled, const char* name, const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags, const char* arg1_name, ARG1_TYPE&& arg1_val) AddTraceEvent() argument
498 AddTraceEvent( char phase, const uint8_t* category_group_enabled, const char* name, const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags, const char* arg1_name, ARG1_TYPE&& arg1_val, const char* arg2_name, ARG2_TYPE&& arg2_val) AddTraceEvent() argument
516 AddTraceEventWithTimestamp( char phase, const uint8_t* category_group_enabled, const char* name, const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags, int64_t timestamp) AddTraceEventWithTimestamp() argument
526 AddTraceEventWithTimestamp( char phase, const uint8_t* category_group_enabled, const char* name, const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags, int64_t timestamp, const char* arg1_name, ARG1_TYPE&& arg1_val) AddTraceEventWithTimestamp() argument
540 AddTraceEventWithTimestamp( char phase, const uint8_t* category_group_enabled, const char* name, const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags, int64_t timestamp, const char* arg1_name, ARG1_TYPE&& arg1_val, const char* arg2_name, ARG2_TYPE&& arg2_val) AddTraceEventWithTimestamp() argument
[all...]

Completed in 17 milliseconds

12345678910>>...51