Searched refs:scopes_ (Results 1 – 12 of 12) sorted by relevance
/external/bcc/src/cc/frontends/b/ |
D | parser.cc | 31 if (scopes_->current_var()->lookup(decl->id_->name_, SCOPE_LOCAL) == NULL) { in variable_exists() 43 decl->scope_id_ = string("v") + std::to_string(scopes_->current_var()->id_) + string("_"); in variable_add() 44 scopes_->current_var()->add(decl->id_->name_, decl); in variable_add() 56 decl->scope_id_ = string("v") + std::to_string(scopes_->current_var()->id_) + string("_"); in variable_add() 57 scopes_->current_var()->add(decl->id_->name_, decl); in variable_add() 82 decl->scope_id_ = string("v") + std::to_string(scopes_->current_var()->id_) + string("_"); in variable_add() 83 scopes_->current_var()->add(decl->id_->name_, decl); in variable_add() 88 if (scopes_->current_state()->lookup(id->full_name(), SCOPE_LOCAL)) { in state_add() 98 scopes_->current_state()->add(state->id_->full_name(), state); in state_add() 99 state->scope_id_ = string("s") + std::to_string(scopes_->current_state()->id_) + string("_"); in state_add() [all …]
|
D | type_check.cc | 32 scopes_->push_var(n->scope_); in visit_block_stmt_node() 39 scopes_->pop_var(); in visit_block_stmt_node() 88 n->decl_ = scopes_->current_var()->lookup(n->name_, SCOPE_GLOBAL); in visit_ident_expr_node() 105 n->struct_type_ = scopes_->top_struct()->lookup(sdecl->struct_id_->name_, true); in visit_ident_expr_node() 119 n->struct_type_ = scopes_->top_struct()->lookup(sdecl->struct_id_->name_, true); in visit_ident_expr_node() 255 auto table = scopes_->top_table()->lookup(n->id_->name_); in check_lookup_method() 271 auto table = scopes_->top_table()->lookup(n->id_->name_); in check_update_method() 282 auto table = scopes_->top_table()->lookup(n->id_->name_); in check_delete_method() 346 n->table_ = scopes_->top_table()->lookup(n->id_->name_); in visit_table_index_expr_node() 378 type = scopes_->top_struct()->lookup(n->struct_id_->name_, true); in visit_struct_variable_decl_stmt_node() [all …]
|
D | loader.cc | 56 ebpf::cc::TypeCheck type_check(parser_->scopes_.get(), proto_parser_->scopes_.get()); in parse() 63 … = ebpf::make_unique<ebpf::cc::CodegenLLVM>(mod, parser_->scopes_.get(), proto_parser_->scopes_.ge… in parse()
|
D | codegen_llvm.cc | 97 : out_(stdout), mod_(mod), indent_(0), tmp_reg_index_(0), scopes_(scopes), in CodegenLLVM() 119 scopes_->push_var(n->scope_); in visit_block_stmt_node() 127 scopes_->pop_var(); in visit_block_stmt_node() 363 TRY2(lookup_var(n, "skb", scopes_->current_var(), &skb_decl, &skb_mem)); in visit_packet_expr_node() 364 TRY2(lookup_var(n, "$" + n->id_->name_, scopes_->current_var(), &offset_decl, &offset_mem)); in visit_packet_expr_node() 547 auto state = scopes_->current_state()->lookup(n->id_->full_name(), false); in visit_goto_expr_node() 554 state = scopes_->current_state()->lookup("EOP", false); in visit_goto_expr_node() 574 TableDeclStmtNode* table = scopes_->top_table()->lookup(n->id_->name_); in emit_table_lookup() 617 TableDeclStmtNode* table = scopes_->top_table()->lookup(n->id_->name_); in emit_table_update() 648 TableDeclStmtNode* table = scopes_->top_table()->lookup(n->id_->name_); in emit_table_delete() [all …]
|
D | type_check.h | 30 : scopes_(scopes), proto_scopes_(proto_scopes) {} in TypeCheck() 43 Scopes *scopes_;
|
D | parser.h | 34 : root_node_(NULL), scopes_(new Scopes), in_(infile), lexer(&in_), parser(lexer, *this) { in Parser() 59 Scopes::Ptr scopes_; variable
|
D | parser.yy | 215 enter_varscope : /* empty */ { $$ = parser.scopes_->enter_var_scope(); } ; 216 exit_varscope : /* emtpy */ { $$ = parser.scopes_->exit_var_scope(); } ; 217 enter_statescope : /* empty */ { $$ = parser.scopes_->enter_state_scope(); } ; 218 exit_statescope : /* emtpy */ { $$ = parser.scopes_->exit_state_scope(); } ;
|
D | codegen_llvm.h | 116 Scopes *scopes_; variable
|
/external/fonttools/Lib/fontTools/voltLib/ |
D | parser.py | 610 self.scopes_ = [{}] 613 self.scopes_.append({}) 616 self.scopes_.pop() 619 self.scopes_[-1][name] = item 622 for scope in reversed(self.scopes_): 635 self.scopes_ = [{}] 638 self.scopes_.append({}) 644 for scope in reversed(self.scopes_):
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/external/ |
D | external_account_credentials.h | 111 std::vector<std::string> scopes_; variable
|
D | external_account_credentials.cc | 185 scopes_ = std::move(scopes); in ExternalAccountCredentials() 286 scope = absl::StrJoin(scopes_, " "); in ExchangeToken() 377 std::string scope = absl::StrJoin(scopes_, " "); in ImpersenateServiceAccount()
|
/external/fonttools/Lib/fontTools/feaLib/ |
D | parser.py | 2201 self.scopes_ = [{}] 2204 self.scopes_.append({}) 2207 self.scopes_.pop() 2210 self.scopes_[-1][name] = item 2213 for scope in reversed(self.scopes_):
|