Lines Matching refs:Reference
97 Reference::Reference() : reference_type(Type::kResource) {} in Reference() function in aapt::Reference
99 Reference::Reference(const ResourceNameRef& n, Type t) in Reference() function in aapt::Reference
102 Reference::Reference(const ResourceId& i, Type type) in Reference() function in aapt::Reference
105 Reference::Reference(const ResourceNameRef& n, const ResourceId& i) in Reference() function in aapt::Reference
108 bool Reference::Equals(const Value* value) const { in Equals()
109 const Reference* other = ValueCast<Reference>(value); in Equals()
118 bool Reference::Flatten(android::Res_value* out_value) const { in Flatten()
122 if (reference_type == Reference::Type::kResource) { in Flatten()
139 Reference* Reference::Clone(StringPool* /*new_pool*/) const { in Clone()
140 return new Reference(*this); in Clone()
143 void Reference::Print(std::ostream* out) const { in Print()
170 static void PrettyPrintReferenceImpl(const Reference& ref, bool print_package, Printer* printer) { in PrettyPrintReferenceImpl()
172 case Reference::Type::kResource: in PrettyPrintReferenceImpl()
176 case Reference::Type::kAttribute: in PrettyPrintReferenceImpl()
204 void Reference::PrettyPrint(Printer* printer) const { in PrettyPrint()
208 void Reference::PrettyPrint(const StringPiece& package, Printer* printer) const { in PrettyPrint()
915 const Reference& parent_ref = parent.value(); in Print()
1088 [](const Reference& a, const Reference& b) -> bool { in Equals()
1102 bool operator<(const Reference& a, const Reference& b) { in operator <()
1108 bool operator==(const Reference& a, const Reference& b) { in operator ==()
1112 bool operator!=(const Reference& a, const Reference& b) { in operator !=()
1117 bool operator()(const Reference& a, const Reference& b) const { in operator ()()
1125 std::set<Reference, NameOnlyComparator> references; in MergeWith()