Home
last modified time | relevance | path

Searched refs:SCOPE_LOCAL (Results 1 – 2 of 2) sorted by relevance

/external/bcc/src/cc/frontends/b/
Dparser.cc31 if (scopes_->current_var()->lookup(decl->id_->name_, SCOPE_LOCAL) == NULL) { in variable_exists()
88 if (scopes_->current_state()->lookup(id->full_name(), SCOPE_LOCAL)) { in state_add()
105 auto state = scopes_->current_state()->lookup(id1->full_name(), SCOPE_LOCAL); in state_add()
150 if (scopes_->top_struct()->lookup(type->name_, SCOPE_LOCAL) != NULL) { in struct_add()
195 if (scopes_->top_func()->lookup(decl->id_->name_, SCOPE_LOCAL)) { in func_add()
Dscope.h39 enum search_type { SCOPE_LOCAL, SCOPE_GLOBAL }; enumerator
48 return lookup(name, search_local ? SCOPE_LOCAL : SCOPE_GLOBAL);
55 if (stype == SCOPE_LOCAL || !parent_) in lookup()