Home
last modified time | relevance | path

Searched refs:outer_scope (Results 1 – 25 of 31) sorted by relevance

12

/external/v8/src/ast/
Dscopes.cc105 Scope::Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type) in Scope() argument
106 : outer_scope_(outer_scope), variables_(zone), scope_type_(scope_type) { in Scope()
109 set_language_mode(outer_scope->language_mode()); in Scope()
111 outer_scope->is_class_scope() && in Scope()
112 outer_scope->AsClassScope()->IsParsingHeritage(); in Scope()
130 DeclarationScope::DeclarationScope(Zone* zone, Scope* outer_scope, in DeclarationScope() argument
133 : Scope(zone, outer_scope, scope_type), in DeclarationScope()
156 ClassScope::ClassScope(Zone* zone, Scope* outer_scope, bool is_anonymous) in ClassScope() argument
157 : Scope(zone, outer_scope, CLASS_SCOPE), in ClassScope()
355 Scope* outer_scope = nullptr; in DeserializeScopeChain() local
[all …]
Dscopes.h92 Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type);
180 void ReplaceOuterScope(Scope* outer_scope);
288 for (Scope* scope = outer_scope(); scope != nullptr;
289 scope = scope->outer_scope()) {
454 Scope* outer_scope() const { return outer_scope_; }
596 for (Scope* scope = this; scope != nullptr; scope = scope->outer_scope()) {
688 MaybeHandle<ScopeInfo> outer_scope);
691 MaybeHandle<ScopeInfo> outer_scope);
815 DeclarationScope(Zone* zone, Scope* outer_scope, ScopeType scope_type,
868 DeclarationScope* outer_decl_scope = outer_scope()->GetDeclarationScope();
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/data/vectorization/
Dcwise_op_vectorizer.cc115 Status CwiseVectorizeHelper(const Node& node, Graph* outer_scope, in CwiseVectorizeHelper() argument
128 TF_RETURN_IF_ERROR(node_builder.Finalize(outer_scope, &new_node)); in CwiseVectorizeHelper()
137 Status Vectorize(const Node& node, Graph* outer_scope, in Vectorize() argument
146 return CwiseVectorizeHelper(node, outer_scope, std::move(inputs), outputs); in Vectorize()
152 Status Vectorize(const Node& node, Graph* outer_scope, in Vectorize() argument
161 TF_RETURN_IF_ERROR(ExpandDimsForBroadcast(&inputs, outer_scope)); in Vectorize()
163 return CwiseVectorizeHelper(node, outer_scope, std::move(inputs), outputs); in Vectorize()
Dparse_single_example_vectorizer.cc29 Status Vectorize(const Node& node, Graph* outer_scope, in Vectorize() argument
42 Scope parent = NewInternalScope(outer_scope, &scope_status, nullptr); in Vectorize()
87 TF_RETURN_IF_ERROR(node_builder.Finalize(outer_scope, &new_node)); in Vectorize()
Dunpack_vectorizer.cc26 Status Vectorize(const Node& node, Graph* outer_scope, in Vectorize() argument
53 .Finalize(outer_scope, &new_node)); in Vectorize()
Ddecode_csv_vectorizer.cc27 Status Vectorize(const Node& node, Graph* outer_scope, in Vectorize() argument
47 TF_RETURN_IF_ERROR(node_builder.Finalize(outer_scope, &new_node)); in Vectorize()
Dtranspose_vectorizer.cc43 Status Vectorize(const Node& node, Graph* outer_scope, in Vectorize() argument
47 Scope parent = NewInternalScope(outer_scope, &status, /*refiner=*/nullptr); in Vectorize()
Dreshape_vectorizer.cc49 Status Vectorize(const Node& node, Graph* outer_scope, in Vectorize() argument
53 Scope parent = NewInternalScope(outer_scope, &status, nullptr); in Vectorize()
Dvectorizer_registry_test.cc25 Status Vectorize(const Node& node, Graph* outer_scope, in Vectorize() argument
Dvectorizer.h109 virtual Status Vectorize(const Node& node, Graph* outer_scope,
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dvectorization_utils.cc101 void RemoveMapDefunOutput(int output_position, Graph* outer_scope, in RemoveMapDefunOutput() argument
120 {map_defun_node, output_position + i}, outer_scope); in RemoveMapDefunOutput()
143 Status Vectorize(const FunctionDef& outer_scope,
149 Status Initialize(const FunctionDef& outer_scope,
332 Status Vectorization::Vectorize(const FunctionDef& outer_scope, in Vectorize() argument
335 TF_RETURN_IF_ERROR(Initialize(outer_scope, map_defun_node)); in Vectorize()
367 Status Vectorization::Initialize(const FunctionDef& outer_scope, in Initialize() argument
382 FunctionDefToBodyHelper(outer_scope, {}, &lib_def_, &outer_fn)); in Initialize()
636 Status VectorizeMapDefun(const FunctionDef& outer_scope, in VectorizeMapDefun() argument
640 return Vectorization(lib).Vectorize(outer_scope, map_defun_node, result); in VectorizeMapDefun()
Dvectorization_utils.h89 Status VectorizeMapDefun(const FunctionDef& outer_scope,
/external/v8/src/objects/
Dscope-info.h226 MaybeHandle<ScopeInfo> outer_scope);
228 Isolate* isolate, MaybeHandle<ScopeInfo> outer_scope);
Dscope-info.cc67 MaybeHandle<ScopeInfo> outer_scope) { in Create() argument
158 const bool has_outer_scope_info = !outer_scope.is_null(); in Create()
359 scope_info.set(index++, *outer_scope.ToHandleChecked(), mode); in Create()
385 MaybeHandle<ScopeInfo> outer_scope);
389 MaybeHandle<ScopeInfo> outer_scope);
393 Isolate* isolate, MaybeHandle<ScopeInfo> outer_scope) { in CreateForWithScope() argument
394 const bool has_outer_scope_info = !outer_scope.is_null(); in CreateForWithScope()
431 scope_info->set(index++, *outer_scope.ToHandleChecked()); in CreateForWithScope()
Dshared-function-info.cc484 Scope* outer_scope = lit->scope()->GetOuterScopeWithContext(); in InitFromFunctionLiteral() local
485 if (outer_scope) { in InitFromFunctionLiteral()
486 shared_info->set_outer_scope_info(*outer_scope->scope_info()); in InitFromFunctionLiteral()
/external/v8/src/parsing/
Dparsing.h32 MaybeHandle<ScopeInfo> outer_scope,
Dparser.cc733 DeclarationScope* outer_scope, Zone* zone) { in ParseWrapped() argument
739 DCHECK(outer_scope->is_eval_scope()); in ParseWrapped()
740 FunctionState function_state(&function_state_, &scope_, outer_scope); in ParseWrapped()
2724 function_scope->outer_scope()->SetMustUsePreparseData(); in SkipFunction()
3185 Scope* function_scope = inner_scope->outer_scope(); in InsertShadowingVarBindingInitializers()
3211 if (scope->is_eval_scope() && scope->outer_scope() == original_scope_) { in InsertSloppyBlockFunctionVarBindings()
Dexpression-scope.h59 scope = scope->outer_scope()) {
/external/v8/src/debug/
Ddebug-scopes.cc409 DCHECK(current_scope_->outer_scope() != nullptr); in AdvanceOneScope()
410 current_scope_ = current_scope_->outer_scope(); in AdvanceOneScope()
429 if (!current_scope_ || !current_scope_->outer_scope()) break; in AdvanceContext()
431 current_scope_ = current_scope_->outer_scope(); in AdvanceContext()
Dliveedit.cc654 Scope* scope_a = a->scope()->outer_scope(); in HasChangedScope()
655 Scope* scope_b = b->scope()->outer_scope(); in HasChangedScope()
668 scope_a = scope_a->outer_scope(); in HasChangedScope()
669 scope_b = scope_b->outer_scope(); in HasChangedScope()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_liverange.h54 outer_scope, /* Outer program scope */ enumerator
Dsfn_liverange.cpp774 cur_scope = scopes->create(nullptr, outer_scope, 0, 0, line); in run()
804 assert(cur_scope->type() == outer_scope); in run()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi_temprename.cpp84 outer_scope, /* Outer program scope */ enumerator
1152 prog_scope *cur_scope = scopes.create(nullptr, outer_scope, 0, 0, line); in get_temp_registers_required_live_ranges()
/external/v8/src/json/
Djson-parser.cc135 HandleScope outer_scope(isolate_); in InternalizeJsonProperty() local
176 return outer_scope.CloseAndEscape(result); in InternalizeJsonProperty()
/external/protobuf/src/google/protobuf/
Ddescriptor.cc5249 std::string outer_scope; in BuildEnumValue() local
5251 outer_scope = file_->package(); in BuildEnumValue()
5253 outer_scope = parent->containing_type()->full_name(); in BuildEnumValue()
5256 if (outer_scope.empty()) { in BuildEnumValue()
5257 outer_scope = "the global scope"; in BuildEnumValue()
5259 outer_scope = "\"" + outer_scope + "\""; in BuildEnumValue()
5266 result->name() + "\" must be unique within " + outer_scope + in BuildEnumValue()

12