Lines Matching refs:rhs
145 int compare(const Attribute& rhs) const;
146 bool operator<(const Attribute& rhs) const;
147 bool operator==(const Attribute& rhs) const;
148 bool operator!=(const Attribute& rhs) const;
288 inline int XmlPullParser::Attribute::compare(const Attribute& rhs) const { in compare() argument
289 int cmp = namespace_uri.compare(rhs.namespace_uri); in compare()
291 return name.compare(rhs.name); in compare()
294 inline bool XmlPullParser::Attribute::operator<(const Attribute& rhs) const {
295 return compare(rhs) < 0;
298 inline bool XmlPullParser::Attribute::operator==(const Attribute& rhs) const {
299 return compare(rhs) == 0;
302 inline bool XmlPullParser::Attribute::operator!=(const Attribute& rhs) const {
303 return compare(rhs) != 0;
313 const std::pair<android::StringPiece, android::StringPiece>& rhs) -> bool { in FindAttribute()
315 0, attr.namespace_uri.size(), rhs.first.data(), rhs.first.size()); in FindAttribute()
318 cmp = attr.name.compare(0, attr.name.size(), rhs.second.data(), in FindAttribute()
319 rhs.second.size()); in FindAttribute()