Lines Matching refs:rhs
52 bool operator==(const CompiledCode& rhs) const;
287 friend bool operator==(const LinkerPatch& lhs, const LinkerPatch& rhs);
288 friend bool operator<(const LinkerPatch& lhs, const LinkerPatch& rhs);
291 inline bool operator==(const LinkerPatch& lhs, const LinkerPatch& rhs) {
292 return lhs.literal_offset_ == rhs.literal_offset_ &&
293 lhs.patch_type_ == rhs.patch_type_ &&
294 lhs.target_dex_file_ == rhs.target_dex_file_ &&
295 lhs.cmp1_ == rhs.cmp1_ &&
296 lhs.cmp2_ == rhs.cmp2_;
299 inline bool operator<(const LinkerPatch& lhs, const LinkerPatch& rhs) {
300 return (lhs.literal_offset_ != rhs.literal_offset_) ? lhs.literal_offset_ < rhs.literal_offset_
301 : (lhs.patch_type_ != rhs.patch_type_) ? lhs.patch_type_ < rhs.patch_type_
302 : (lhs.target_dex_file_ != rhs.target_dex_file_) ? lhs.target_dex_file_ < rhs.target_dex_file_
303 : (lhs.cmp1_ != rhs.cmp1_) ? lhs.cmp1_ < rhs.cmp1_
304 : lhs.cmp2_ < rhs.cmp2_;