Home
last modified time | relevance | path

Searched refs:block_scope (Results 1 - 17 of 17) sorted by relevance

/third_party/ltp/tools/sparse/sparse-src/
H A 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()
H A Dscope.h36 *block_scope,
H A Dexpression.c771 if (toplevel(block_scope)) in cast_expression()
H A Dsymbol.c781 struct scope *scope = block_scope;; in bind_symbol()
H A Dparse.c2499 bind_symbol_with_scope(sym, token->ident, NS_LABEL, block_scope); in label_statement()
/third_party/gn/src/gn/
H A Dfunctions.cc117 Scope* block_scope, in FillTargetBlockScope()
130 if (!default_scope->NonRecursiveMergeTo(block_scope, merge_options, in FillTargetBlockScope()
142 block_scope->SetValue(target_name, Value(function, args[0].string_value()), in FillTargetBlockScope()
144 block_scope->MarkUsed(target_name); in FillTargetBlockScope()
487 Scope block_scope(scope); in RunDeclareArgs()
488 block_scope.SetProperty(&kInDeclareArgsKey, &block_scope); in RunDeclareArgs()
489 block->Execute(&block_scope, err); in RunDeclareArgs()
495 // the block_scope, and arguments passed into the build). in RunDeclareArgs()
497 block_scope in RunDeclareArgs()
112 FillTargetBlockScope(const Scope* scope, const FunctionCallNode* function, const std::string& target_type, const BlockNode* block, const std::vector<Value>& args, Scope* block_scope, Err* err) FillTargetBlockScope() argument
[all...]
H A Dfunctions.h43 // resulting block_scope to the function.
46 Scope* block_scope,
104 Scope* block_scope,
112 Scope* block_scope,
285 Scope* block_scope,
513 // Sets up the |block_scope| for executing a target (or something like it).
515 // parent for the |block_scope| when the |block_scope| was created.
527 Scope* block_scope,
H A Dfunctions_target.cc51 Scope block_scope(scope); in ExecuteGenericTarget()
53 &block_scope, err)) in ExecuteGenericTarget()
56 block->Execute(&block_scope, err); in ExecuteGenericTarget()
60 TargetGenerator::GenerateTarget(&block_scope, function, args, target_type, in ExecuteGenericTarget()
65 block_scope.CheckForUnusedVars(err); in ExecuteGenericTarget()
H A Dbuiltin_tool.h28 bool InitTool(Scope* block_scope, Toolchain* toolchain, Err* err);
H A Dgeneral_tool.h33 bool InitTool(Scope* block_scope, Toolchain* toolchain, Err* err);
H A Drust_tool.h36 bool InitTool(Scope* block_scope, Toolchain* toolchain, Err* err);
H A Dc_tool.h46 bool InitTool(Scope* block_scope, Toolchain* toolchain, Err* err);
H A Dfunction_toolchain.cc217 Scope block_scope(scope);
218 block_scope.SetProperty(&kToolchainPropertyKey, toolchain.get());
219 block->Execute(&block_scope, err);
220 block_scope.SetProperty(&kToolchainPropertyKey, nullptr);
225 const Value* deps_value = block_scope.GetValue(variables::kDeps, true);
228 block_scope.GetSourceDir(),
229 ToolchainLabelForScope(&block_scope),
236 const Value* toolchain_args = block_scope.GetValue("toolchain_args", true);
248 block_scope.GetValue("propagates_configs", true);
255 if (!block_scope
[all...]
H A Dtool.h47 bool InitTool(Scope* block_scope, Toolchain* toolchain, Err* err);
/third_party/node/deps/v8/src/parsing/
H A 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()
H A 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()
5324 ParseBlock( ZonePtrList<const AstRawString>* labels, Scope* block_scope) ParseBlock() argument
6457 Scope* block_scope = scope()->FinalizeBlockScope(); ParseForAwaitStatement() local
[all...]
H A Dparser.h370 Expression* RewriteClassLiteral(ClassScope* block_scope,

Completed in 27 milliseconds