Lines Matching refs:symbol
99 std::unique_ptr<Symbol> symbol = delegate_->FindByName(*mangled_name, sources_); in FindByName() local
100 if (symbol == nullptr) { in FindByName()
106 std::shared_ptr<Symbol> shared_symbol(std::move(symbol)); in FindByName()
128 std::unique_ptr<Symbol> symbol = delegate_->FindById(id, sources_); in FindById() local
129 if (symbol == nullptr) { in FindById()
135 std::shared_ptr<Symbol> shared_symbol(std::move(symbol)); in FindById()
151 const SymbolTable::Symbol* symbol = nullptr; in FindByReference() local
153 symbol = FindById(ref.id.value()); in FindByReference()
156 if (ref.name && !symbol) { in FindByReference()
157 symbol = FindByName(ref.name.value()); in FindByReference()
159 return symbol; in FindByReference()
165 std::unique_ptr<SymbolTable::Symbol> symbol = source->FindByName(name); in FindByName() local
166 if (symbol) { in FindByName()
167 return symbol; in FindByName()
176 std::unique_ptr<SymbolTable::Symbol> symbol = source->FindById(id); in FindById() local
177 if (symbol) { in FindById()
178 return symbol; in FindById()
197 std::unique_ptr<SymbolTable::Symbol> symbol = util::make_unique<SymbolTable::Symbol>(); in FindByName() local
198 symbol->is_public = (sr.entry->visibility.level == Visibility::Level::kPublic); in FindByName()
201 symbol->id = ResourceId(sr.package->id.value(), sr.type->id.value(), sr.entry->id.value()); in FindByName()
202 symbol->is_dynamic = (sr.package->id.value() == 0); in FindByName()
211 symbol->attribute = std::make_shared<Attribute>(*attr); in FindByName()
217 return symbol; in FindByName()
312 Attribute::Symbol symbol; in LookupAttributeInTable() local
313 symbol.symbol.name = parsed_name.value(); in LookupAttributeInTable()
314 symbol.symbol.id = ResourceId(map_entry.key); in LookupAttributeInTable()
315 symbol.value = map_entry.value.data; in LookupAttributeInTable()
316 s->attribute->symbols.push_back(std::move(symbol)); in LookupAttributeInTable()