Home
last modified time | relevance | path

Searched refs:current_scope (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/contrib/framework/python/ops/
Darg_scope.py136 current_scope = list_ops_or_scope.copy()
138 _get_arg_stack().append(current_scope)
139 yield current_scope
148 current_scope = current_arg_scope().copy()
154 if key_op in current_scope:
155 current_kwargs = current_scope[key_op].copy()
157 current_scope[key_op] = current_kwargs
159 current_scope[key_op] = kwargs.copy()
160 _get_arg_stack().append(current_scope)
161 yield current_scope
[all …]
Darg_scope_test.py82 current_scope = {key_op: func1_kwargs.copy()}
85 self.assertDictEqual(scope, current_scope)
95 current_scope = {
102 self.assertDictEqual(scope, current_scope)
107 current_scope = {key_op: func1_kwargs.copy()}
112 self.assertDictEqual(scope, current_scope)
/external/mesa3d/src/mesa/program/
Dsymbol_table.c78 struct scope_level *current_scope; member
87 struct scope_level *const scope = table->current_scope; in _mesa_symbol_table_pop_scope()
90 table->current_scope = scope->next; in _mesa_symbol_table_pop_scope()
125 scope->next = table->current_scope; in _mesa_symbol_table_push_scope()
126 table->current_scope = scope; in _mesa_symbol_table_push_scope()
203 new_sym->next_with_same_scope = table->current_scope->symbols; in _mesa_symbol_table_add_symbol()
207 table->current_scope->symbols = new_sym; in _mesa_symbol_table_add_symbol()
248 for (top_scope = table->current_scope; top_scope->next != NULL; in _mesa_symbol_table_add_global_symbol()
306 while (table->current_scope != NULL) { in _mesa_symbol_table_dtor()
/external/tensorflow/tensorflow/contrib/py2tf/pyct/static_analysis/
Dactivity.py189 current_scope = self.scope
190 args_scope = Scope(current_scope)
195 self.scope = current_scope
199 current_scope = self.scope
200 args_scope = Scope(current_scope, isolated=False)
208 self.scope = current_scope
213 current_scope = self.scope
214 block_scope = Scope(current_scope, isolated=False)
219 self.scope = current_scope
/external/pdfium/
DPRESUBMIT.py205 current_scope = []
211 scopes.append(current_scope)
212 current_scope = []
216 current_scope.append((line_num, line))
217 scopes.append(current_scope)
/external/v8/src/debug/
Dliveedit.cc1632 Scope* current_scope = scope; in SerializeFunctionScope() local
1633 while (current_scope != NULL) { in SerializeFunctionScope()
1635 for (Variable* var : *current_scope->locals()) { in SerializeFunctionScope()
1643 scope_info_length += current_scope->ContextLocalCount() * 2; in SerializeFunctionScope()
1648 current_scope = current_scope->outer_scope(); in SerializeFunctionScope()
/external/v8/src/ast/
Dscopes.cc378 Scope* current_scope = nullptr; in DeserializeScopeChain() local
431 if (current_scope != nullptr) { in DeserializeScopeChain()
432 outer_scope->AddInnerScope(current_scope); in DeserializeScopeChain()
434 current_scope = outer_scope; in DeserializeScopeChain()
435 if (innermost_scope == nullptr) innermost_scope = current_scope; in DeserializeScopeChain()
441 script_scope->AddInnerScope(current_scope); in DeserializeScopeChain()
/external/v8/src/interpreter/
Dbytecode-generator.h179 inline Scope* current_scope() const { return current_scope_; } in current_scope() function
Dbytecode-generator.cc600 : generator_(generator), outer_scope_(generator->current_scope()) { in CurrentScope()
606 if (outer_scope_ != generator_->current_scope()) { in ~CurrentScope()
864 CurrentScope current_scope(this, stmt->scope()); in VisitBlock() local
2613 .LoadLiteral(Smi::FromInt(current_scope()->start_position())) in VisitCall()
3455 CurrentScope current_scope(this, scope); in VisitInScope() local
3461 return current_scope()->language_mode(); in language_mode()
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dtask.rb54 @namespace = Rake.application.current_scope
/external/tensorflow/tensorflow/python/ops/
Dvariable_scope.py1691 current_scope = get_variable_scope()
1692 name = current_scope.name + "/" + prefix if current_scope.name else prefix
/external/v8/src/compiler/
Dast-graph-builder.cc300 DeclarationScope* closure_scope = current_scope()->GetClosureScope(); in GetFunctionClosureForContext()
819 Scope* AstGraphBuilder::current_scope() const { in current_scope() function in v8::internal::compiler::AstGraphBuilder
2231 return current_scope()->language_mode(); in language_mode()
2422 int depth = current_scope()->ContextChainLength(variable->scope()); in BuildVariableLoad()
2542 int depth = current_scope()->ContextChainLength(variable->scope()); in BuildVariableAssignment()
Dast-graph-builder.h141 Scope* current_scope() const;