Lines Matching refs:rhs
271 friend bool operator==(const LinkerPatch& lhs, const LinkerPatch& rhs);
272 friend bool operator<(const LinkerPatch& lhs, const LinkerPatch& rhs);
276 inline bool operator==(const LinkerPatch& lhs, const LinkerPatch& rhs) {
277 return lhs.literal_offset_ == rhs.literal_offset_ &&
278 lhs.patch_type_ == rhs.patch_type_ &&
279 lhs.target_dex_file_ == rhs.target_dex_file_ &&
280 lhs.cmp1_ == rhs.cmp1_ &&
281 lhs.cmp2_ == rhs.cmp2_;
284 inline bool operator<(const LinkerPatch& lhs, const LinkerPatch& rhs) {
285 return (lhs.literal_offset_ != rhs.literal_offset_) ? lhs.literal_offset_ < rhs.literal_offset_
286 : (lhs.patch_type_ != rhs.patch_type_) ? lhs.patch_type_ < rhs.patch_type_
287 : (lhs.target_dex_file_ != rhs.target_dex_file_) ? lhs.target_dex_file_ < rhs.target_dex_file_
288 : (lhs.cmp1_ != rhs.cmp1_) ? lhs.cmp1_ < rhs.cmp1_
289 : lhs.cmp2_ < rhs.cmp2_;