Home
last modified time | relevance | path

Searched refs:block_scope (Results 1 – 13 of 13) 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.cc114 Scope* block_scope, in FillTargetBlockScope() argument
127 if (!default_scope->NonRecursiveMergeTo(block_scope, merge_options, in FillTargetBlockScope()
139 block_scope->SetValue(target_name, Value(function, args[0].string_value()), in FillTargetBlockScope()
141 block_scope->MarkUsed(target_name); in FillTargetBlockScope()
479 Scope block_scope(scope); in RunDeclareArgs() local
480 block_scope.SetProperty(&kInDeclareArgsKey, &block_scope); in RunDeclareArgs()
481 block->Execute(&block_scope, err); in RunDeclareArgs()
489 block_scope.GetCurrentScopeValues(&values); in RunDeclareArgs()
1477 Scope block_scope(scope); in RunFunction() local
1478 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);