Lines Matching refs:symbol
93 std::unique_ptr<Symbol> symbol = delegate_->FindByName(*mangled_name, sources_); in FindByName() local
94 if (symbol == nullptr) { in FindByName()
100 std::shared_ptr<Symbol> shared_symbol(std::move(symbol)); in FindByName()
122 std::unique_ptr<Symbol> symbol = delegate_->FindById(id, sources_); in FindById() local
123 if (symbol == nullptr) { in FindById()
129 std::shared_ptr<Symbol> shared_symbol(std::move(symbol)); in FindById()
145 const SymbolTable::Symbol* symbol = nullptr; in FindByReference() local
147 symbol = FindById(ref.id.value()); in FindByReference()
150 if (ref.name && !symbol) { in FindByReference()
151 symbol = FindByName(ref.name.value()); in FindByReference()
153 return symbol; in FindByReference()
159 std::unique_ptr<SymbolTable::Symbol> symbol = source->FindByName(name); in FindByName() local
160 if (symbol) { in FindByName()
161 return symbol; in FindByName()
170 std::unique_ptr<SymbolTable::Symbol> symbol = source->FindById(id); in FindById() local
171 if (symbol) { in FindById()
172 return symbol; in FindById()
191 std::unique_ptr<SymbolTable::Symbol> symbol = util::make_unique<SymbolTable::Symbol>(); in FindByName() local
192 symbol->is_public = (sr.entry->symbol_status.state == SymbolState::kPublic); in FindByName()
195 symbol->id = ResourceId(sr.package->id.value(), sr.type->id.value(), sr.entry->id.value()); in FindByName()
204 symbol->attribute = std::make_shared<Attribute>(*attr); in FindByName()
210 return symbol; in FindByName()
276 Attribute::Symbol symbol; in LookupAttributeInTable() local
277 symbol.symbol.name = parsed_name.value(); in LookupAttributeInTable()
278 symbol.symbol.id = ResourceId(map_entry.name.ident); in LookupAttributeInTable()
279 symbol.value = map_entry.value.data; in LookupAttributeInTable()
280 s->attribute->symbols.push_back(std::move(symbol)); in LookupAttributeInTable()