Home
last modified time | relevance | path

Searched refs:block_scope (Results 1 – 16 of 16) sorted by relevance

/third_party/ltp/tools/sparse/sparse-src/
Dscope.c38 struct scope *block_scope = &builtin_scope, // regular automatic variables etc variable
46 sym->scope = block_scope; in set_current_scope()
85 block_scope = scope; in start_file_scope()
90 start_scope(&block_scope); in start_block_scope()
95 start_scope(&block_scope); in start_function_scope()
136 end_scope(&block_scope); in end_block_scope()
141 end_scope(&block_scope); in end_function_scope()
168 if (scope == block_scope) in is_outer_scope()
170 if (scope == &builtin_scope && block_scope->next == &builtin_scope) in is_outer_scope()
Dscope.h36 *block_scope,
Dexpression.c771 if (toplevel(block_scope)) in cast_expression()
Dsymbol.c781 struct scope *scope = block_scope;; in bind_symbol()
Dparse.c2499 bind_symbol_with_scope(sym, token->ident, NS_LABEL, block_scope); in label_statement()
/third_party/gn/src/gn/
Dfunctions.cc116 Scope* block_scope, in FillTargetBlockScope() argument
129 if (!default_scope->NonRecursiveMergeTo(block_scope, merge_options, in FillTargetBlockScope()
141 block_scope->SetValue(target_name, Value(function, args[0].string_value()), in FillTargetBlockScope()
143 block_scope->MarkUsed(target_name); in FillTargetBlockScope()
481 Scope block_scope(scope); in RunDeclareArgs() local
482 block_scope.SetProperty(&kInDeclareArgsKey, &block_scope); in RunDeclareArgs()
483 block->Execute(&block_scope, err); in RunDeclareArgs()
491 block_scope.GetCurrentScopeValues(&values); in RunDeclareArgs()
1501 Scope block_scope(scope); in RunFunction() local
1502 block->Execute(&block_scope, err); in RunFunction()
[all …]
Dfunctions.h46 Scope* block_scope,
104 Scope* block_scope,
112 Scope* block_scope,
261 Scope* block_scope,
503 Scope* block_scope,
Dfunctions_target.cc45 Scope block_scope(scope); in ExecuteGenericTarget() local
47 &block_scope, err)) in ExecuteGenericTarget()
50 block->Execute(&block_scope, err); in ExecuteGenericTarget()
54 TargetGenerator::GenerateTarget(&block_scope, function, args, target_type, in ExecuteGenericTarget()
59 block_scope.CheckForUnusedVars(err); in ExecuteGenericTarget()
Dbuiltin_tool.h28 bool InitTool(Scope* block_scope, Toolchain* toolchain, Err* err);
Dgeneral_tool.h33 bool InitTool(Scope* block_scope, Toolchain* toolchain, Err* err);
Drust_tool.h36 bool InitTool(Scope* block_scope, Toolchain* toolchain, Err* err);
Dc_tool.h46 bool InitTool(Scope* block_scope, Toolchain* toolchain, Err* err);
Dtool.h47 bool InitTool(Scope* block_scope, Toolchain* toolchain, Err* err);
/third_party/node/deps/v8/src/parsing/
Dparser-base.h1325 Scope* block_scope);
2768 Scope* block_scope = NewBlockScopeForObjectLiteral(); in ParseObjectLiteral() local
2769 block_scope->set_start_position(pos); in ParseObjectLiteral()
2770 BlockState object_literal_scope_state(&object_literal_scope_, block_scope); in ParseObjectLiteral()
2805 if (block_scope->needs_home_object()) { in ParseObjectLiteral()
2806 home_object = block_scope->DeclareHomeObjectVariable(ast_value_factory()); in ParseObjectLiteral()
2807 block_scope->set_end_position(end_position()); in ParseObjectLiteral()
2809 block_scope = block_scope->FinalizeBlockScope(); in ParseObjectLiteral()
2810 DCHECK_NULL(block_scope); in ParseObjectLiteral()
5325 ZonePtrList<const AstRawString>* labels, Scope* block_scope) { in ParseBlock() argument
[all …]
Dparser.cc3261 Expression* Parser::RewriteClassLiteral(ClassScope* block_scope, in RewriteClassLiteral() argument
3265 DCHECK_NOT_NULL(block_scope); in RewriteClassLiteral()
3266 DCHECK_EQ(block_scope->scope_type(), CLASS_SCOPE); in RewriteClassLiteral()
3267 DCHECK_EQ(block_scope->language_mode(), LanguageMode::kStrict); in RewriteClassLiteral()
3277 DCHECK_NOT_NULL(block_scope->class_variable()); in RewriteClassLiteral()
3278 block_scope->class_variable()->set_initializer_position(end_pos); in RewriteClassLiteral()
3307 block_scope, class_info->extends, class_info->constructor, in RewriteClassLiteral()
Dparser.h370 Expression* RewriteClassLiteral(ClassScope* block_scope,