Lines Matching refs:symbol

83       const SymbolTable::Symbol* symbol = ReferenceLinker::ResolveAttributeCheckVisibility(  in Visit()  local
85 if (symbol) { in Visit()
87 entry.key.id = symbol->id; in Visit()
91 entry.value = ParseValueWithAttribute(std::move(entry.value), symbol->attribute.get()); in Visit()
99 if (!symbol->attribute->Matches(*entry.value, nullptr)) { in Visit()
105 symbol->attribute->Matches(*entry.value, &msg); in Visit()
178 bool IsSymbolVisible(const SymbolTable::Symbol& symbol, const Reference& ref, in IsSymbolVisible() argument
180 if (symbol.is_public || ref.private_reference) { in IsSymbolVisible()
196 if (ref.id && symbol.id) { in IsSymbolVisible()
197 return ref.id.value().package_id() == symbol.id.value().package_id(); in IsSymbolVisible()
225 const SymbolTable::Symbol* symbol = ResolveSymbol(reference, callsite, symbols); in ResolveSymbolCheckVisibility() local
226 if (!symbol) { in ResolveSymbolCheckVisibility()
231 if (!IsSymbolVisible(*symbol, reference, callsite)) { in ResolveSymbolCheckVisibility()
235 return symbol; in ResolveSymbolCheckVisibility()
241 const SymbolTable::Symbol* symbol = in ResolveAttributeCheckVisibility() local
243 if (!symbol) { in ResolveAttributeCheckVisibility()
247 if (!symbol->attribute) { in ResolveAttributeCheckVisibility()
251 return symbol; in ResolveAttributeCheckVisibility()
258 const SymbolTable::Symbol* symbol = in CompileXmlAttribute() local
260 if (!symbol) { in CompileXmlAttribute()
264 if (!symbol->attribute) { in CompileXmlAttribute()
268 return xml::AaptAttribute(*symbol->attribute, symbol->id); in CompileXmlAttribute()