/art/runtime/arch/arm64/ |
D | registers_arm64.cc | 38 std::ostream& operator<<(std::ostream& os, const XRegister& rhs) { in operator <<() argument 39 if (rhs >= X0 && rhs < kNumberOfXRegisters) { in operator <<() 40 os << kRegisterNames[rhs]; in operator <<() 42 os << "XRegister[" << static_cast<int>(rhs) << "]"; in operator <<() 47 std::ostream& operator<<(std::ostream& os, const WRegister& rhs) { in operator <<() argument 48 if (rhs >= W0 && rhs < kNumberOfWRegisters) { in operator <<() 49 os << kWRegisterNames[rhs]; in operator <<() 51 os << "WRegister[" << static_cast<int>(rhs) << "]"; in operator <<() 56 std::ostream& operator<<(std::ostream& os, const DRegister& rhs) { in operator <<() argument 57 if (rhs >= D0 && rhs < kNumberOfDRegisters) { in operator <<() [all …]
|
/art/runtime/arch/riscv64/ |
D | registers_riscv64.cc | 39 std::ostream& operator<<(std::ostream& os, const XRegister& rhs) { in operator <<() argument 40 if (rhs >= Zero && rhs < kNumberOfXRegisters) { in operator <<() 41 os << kXRegisterNames[rhs]; in operator <<() 43 os << "XRegister[" << static_cast<int>(rhs) << "]"; in operator <<() 48 std::ostream& operator<<(std::ostream& os, const FRegister& rhs) { in operator <<() argument 49 if (rhs >= FT0 && rhs < kNumberOfFRegisters) { in operator <<() 50 os << kFRegisterNames[rhs]; in operator <<() 52 os << "FRegister[" << static_cast<int>(rhs) << "]"; in operator <<() 57 std::ostream& operator<<(std::ostream& os, const VRegister& rhs) { in operator <<() argument 58 if (rhs >= V0 && rhs < kNumberOfVRegisters) { in operator <<() [all …]
|
/art/libdexfile/dex/ |
D | signature-inl.h | 26 inline bool Signature::operator==(const Signature& rhs) const { 28 return rhs.dex_file_ == nullptr; 30 if (rhs.dex_file_ == nullptr) { 33 if (dex_file_ == rhs.dex_file_) { 34 return proto_id_ == rhs.proto_id_; 37 if (lhs_shorty != rhs.dex_file_->GetShortyView(*rhs.proto_id_)) { 43 rhs.dex_file_->GetTypeId(rhs.proto_id_->return_type_idx_); 45 rhs.dex_file_, rhs_return_type_id.descriptor_idx_)) { 51 const dex::TypeList* rhs_params = rhs.dex_file_->GetProtoParameters(*rhs.proto_id_); 61 rhs.dex_file_->GetTypeId(rhs_params->GetTypeItem(i).type_idx_); [all …]
|
D | class_iterator.h | 72 bool operator==(const ClassIterator& rhs) const { 73 DCHECK_EQ(&data_.dex_file_, &rhs.data_.dex_file_) << "Comparing different dex files."; 74 return data_.class_def_idx_ == rhs.data_.class_def_idx_; 77 bool operator!=(const ClassIterator& rhs) const { 78 return !(*this == rhs); 81 bool operator<(const ClassIterator& rhs) const { 82 DCHECK_EQ(&data_.dex_file_, &rhs.data_.dex_file_) << "Comparing different dex files."; 83 return data_.class_def_idx_ < rhs.data_.class_def_idx_; 86 bool operator>(const ClassIterator& rhs) const { 87 return rhs < *this; [all …]
|
D | proto_reference.h | 51 bool operator()(const ProtoReference& lhs, const ProtoReference& rhs) const { in operator() 52 if (lhs.dex_file == rhs.dex_file) { in operator() 53 DCHECK_EQ(lhs.index < rhs.index, SlowCompare(lhs, rhs)); in operator() 55 return lhs.index < rhs.index; in operator() 57 return SlowCompare(lhs, rhs); in operator() 61 bool SlowCompare(const ProtoReference& lhs, const ProtoReference& rhs) const { in SlowCompare() 64 const dex::ProtoId& prid2 = rhs.ProtoId(); in SlowCompare() 65 int return_type_diff = DexFile::CompareDescriptors(lhs.ReturnType(), rhs.ReturnType()); in SlowCompare() 72 const dex::TypeList* params2 = rhs.dex_file->GetProtoParameters(prid2); in SlowCompare() 77 std::string_view r_param = rhs.dex_file->GetTypeDescriptorView( in SlowCompare() [all …]
|
D | dex_instruction_iterator.h | 90 const DexInstructionIteratorBase& rhs) { 91 DCHECK_EQ(lhs.Instructions(), rhs.Instructions()) << "Comparing different code items."; 92 return lhs.DexPc() == rhs.DexPc(); 96 const DexInstructionIteratorBase& rhs) { 97 return !(lhs == rhs); 101 const DexInstructionIteratorBase& rhs) { 102 DCHECK_EQ(lhs.Instructions(), rhs.Instructions()) << "Comparing different code items."; 103 return lhs.DexPc() < rhs.DexPc(); 107 const DexInstructionIteratorBase& rhs) { 108 return rhs < lhs; [all …]
|
D | signature.h | 47 bool operator==(const Signature& rhs) const; 48 bool operator!=(const Signature& rhs) const { 49 return !(*this == rhs); 52 bool operator==(std::string_view rhs) const; 59 int Compare(const Signature& rhs) const;
|
D | class_accessor.h | 221 bool operator==(const DataIterator& rhs) const { 222 DCHECK_EQ(&data_.dex_file_, &rhs.data_.dex_file_) << "Comparing different dex files."; 223 return position_ == rhs.position_; 226 bool operator!=(const DataIterator& rhs) const { 227 return !(*this == rhs); 230 bool operator<(const DataIterator& rhs) const { 231 DCHECK_EQ(&data_.dex_file_, &rhs.data_.dex_file_) << "Comparing different dex files."; 232 return position_ < rhs.position_; 235 bool operator>(const DataIterator& rhs) const { 236 return rhs < *this; [all …]
|
/art/test/ti-agent/ |
D | scoped_utf_chars.h | 41 ScopedUtfChars(ScopedUtfChars&& rhs) noexcept : in ScopedUtfChars() argument 42 env_(rhs.env_), string_(rhs.string_), utf_chars_(rhs.utf_chars_) { in ScopedUtfChars() 43 rhs.env_ = nullptr; in ScopedUtfChars() 44 rhs.string_ = nullptr; in ScopedUtfChars() 45 rhs.utf_chars_ = nullptr; in ScopedUtfChars() 54 ScopedUtfChars& operator=(ScopedUtfChars&& rhs) noexcept { 55 if (this != &rhs) { 60 env_ = rhs.env_; 61 string_ = rhs.string_; 62 utf_chars_ = rhs.utf_chars_; [all …]
|
/art/runtime/arch/arm/ |
D | registers_arm.cc | 28 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument 29 if (rhs >= R0 && rhs <= PC) { in operator <<() 30 os << kRegisterNames[rhs]; in operator <<() 32 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<() 37 std::ostream& operator<<(std::ostream& os, const SRegister& rhs) { in operator <<() argument 38 if (rhs >= S0 && rhs < kNumberOfSRegisters) { in operator <<() 39 os << "s" << static_cast<int>(rhs); in operator <<() 41 os << "SRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
|
/art/runtime/arch/x86_64/ |
D | registers_x86_64.cc | 28 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument 29 if (rhs >= RAX && rhs <= R15) { in operator <<() 30 os << kRegisterNames[rhs]; in operator <<() 32 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<() 37 std::ostream& operator<<(std::ostream& os, const FloatRegister& rhs) { in operator <<() argument 38 if (rhs >= XMM0 && rhs <= XMM15) { in operator <<() 39 os << "xmm" << static_cast<int>(rhs); in operator <<() 41 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
|
/art/runtime/verifier/ |
D | reg_type-inl.h | 71 const RegType& rhs, in AssignableFrom() argument 74 if (lhs.Equals(rhs)) { in AssignableFrom() 79 return rhs.IsBooleanTypes(); in AssignableFrom() 81 return rhs.IsByteTypes(); in AssignableFrom() 83 return rhs.IsShortTypes(); in AssignableFrom() 85 return rhs.IsCharTypes(); in AssignableFrom() 87 return rhs.IsIntegralTypes(); in AssignableFrom() 89 return rhs.IsFloatTypes(); in AssignableFrom() 91 return rhs.IsLongTypes(); in AssignableFrom() 93 return rhs.IsDoubleTypes(); in AssignableFrom() [all …]
|
/art/compiler/debug/ |
D | src_map_elem.h | 32 inline bool operator<(const SrcMapElem& lhs, const SrcMapElem& rhs) { 33 if (lhs.from_ != rhs.from_) { 34 return lhs.from_ < rhs.from_; 36 return lhs.to_ < rhs.to_; 39 inline bool operator==(const SrcMapElem& lhs, const SrcMapElem& rhs) { 40 return lhs.from_ == rhs.from_ && lhs.to_ == rhs.to_;
|
/art/libartbase/base/ |
D | sdk_version.h | 45 inline bool IsSdkVersionSetAndMoreThan(uint32_t lhs, SdkVersion rhs) { in IsSdkVersionSetAndMoreThan() argument 46 return lhs != static_cast<uint32_t>(SdkVersion::kUnset) && lhs > static_cast<uint32_t>(rhs); in IsSdkVersionSetAndMoreThan() 49 inline bool IsSdkVersionSetAndAtLeast(uint32_t lhs, SdkVersion rhs) { in IsSdkVersionSetAndAtLeast() argument 50 return lhs != static_cast<uint32_t>(SdkVersion::kUnset) && lhs >= static_cast<uint32_t>(rhs); in IsSdkVersionSetAndAtLeast() 53 inline bool IsSdkVersionSetAndAtMost(uint32_t lhs, SdkVersion rhs) { in IsSdkVersionSetAndAtMost() argument 54 return lhs != static_cast<uint32_t>(SdkVersion::kUnset) && lhs <= static_cast<uint32_t>(rhs); in IsSdkVersionSetAndAtMost() 57 inline bool IsSdkVersionSetAndLessThan(uint32_t lhs, SdkVersion rhs) { in IsSdkVersionSetAndLessThan() argument 58 return lhs != static_cast<uint32_t>(SdkVersion::kUnset) && lhs < static_cast<uint32_t>(rhs); in IsSdkVersionSetAndLessThan()
|
D | stride_iterator.h | 97 difference_type operator-(const StrideIterator& rhs) { 98 DCHECK_EQ(stride_, rhs.stride_); 99 DCHECK_EQ((ptr_ - rhs.ptr_) % stride_, 0u); 100 return (ptr_ - rhs.ptr_) / stride_; 121 friend bool operator<(const StrideIterator<U>& lhs, const StrideIterator<U>& rhs); 131 bool operator<(const StrideIterator<T>& lhs, const StrideIterator<T>& rhs) { 132 DCHECK_EQ(lhs.stride_, rhs.stride_); 133 return lhs.ptr_ < rhs.ptr_; 137 bool operator>(const StrideIterator<T>& lhs, const StrideIterator<T>& rhs) { 138 return rhs < lhs; [all …]
|
D | dchecked_vector.h | 196 void swap(dchecked_vector<T, Alloc>& lhs, dchecked_vector<T, Alloc>& rhs) { in swap() argument 197 lhs.swap(rhs); in swap() 202 bool operator==(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) { 203 return lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin()); 206 bool operator!=(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) { 207 return !(lhs == rhs); 210 bool operator<(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) { 211 return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end()); 214 bool operator<=(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) { 215 return !(rhs < lhs); [all …]
|
D | pointer_size.cc | 23 std::ostream& operator<<(std::ostream& os, const PointerSize& rhs) { in operator <<() argument 24 switch (rhs) { in operator <<() 27 default: os << "PointerSize[" << static_cast<int>(rhs) << "]"; break; in operator <<()
|
D | intrusive_forward_list.h | 116 const IntrusiveForwardListIterator<OtherT2, OtherTraits>& rhs); 122 const IntrusiveForwardListIterator<OtherT, HookTraits>& rhs) { 123 return lhs.hook_ == rhs.hook_; 129 const IntrusiveForwardListIterator<OtherT, HookTraits>& rhs) { 130 return !(lhs == rhs); 406 void swap(IntrusiveForwardList<T, HookTraits>& lhs, IntrusiveForwardList<T, HookTraits>& rhs) { in swap() argument 407 lhs.swap(rhs); in swap() 412 const IntrusiveForwardList<T, HookTraits>& rhs) { 414 auto rit = rhs.begin(); 415 for (; lit != lhs.end() && rit != rhs.end(); ++lit, ++rit) { [all …]
|
/art/compiler/utils/arm/ |
D | constants_arm.cc | 22 std::ostream& operator<<(std::ostream& os, const DRegister& rhs) { in operator <<() argument 23 if (rhs >= D0 && rhs < kNumberOfDRegisters) { in operator <<() 24 os << "d" << static_cast<int>(rhs); in operator <<() 26 os << "DRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
|
/art/runtime/ |
D | well_known_classes-inl.h | 40 inline bool operator==(const ClassFromMember<MemberType, kMember> lhs, ObjPtr<mirror::Class> rhs) { 41 return lhs.Get() == rhs; 45 inline bool operator==(ObjPtr<mirror::Class> lhs, const ClassFromMember<MemberType, kMember> rhs) { 46 return rhs == lhs; 50 bool operator!=(const ClassFromMember<MemberType, kMember> lhs, ObjPtr<mirror::Class> rhs) { 51 return !(lhs == rhs); 55 bool operator!=(ObjPtr<mirror::Class> lhs, const ClassFromMember<MemberType, kMember> rhs) { 56 return !(rhs == lhs);
|
D | obj_ptr-inl.h | 140 operator==(ObjPtr<MirrorType1> lhs, ObjPtr<MirrorType2> rhs) { 141 return lhs.Ptr() == rhs.Ptr(); 147 operator==(const MirrorType1* lhs, ObjPtr<MirrorType2> rhs) { 148 return lhs == rhs.Ptr(); 154 operator==(ObjPtr<MirrorType1> lhs, const MirrorType2* rhs) { 155 return lhs.Ptr() == rhs; 161 operator!=(ObjPtr<MirrorType1> lhs, ObjPtr<MirrorType2> rhs) { 162 return !(lhs == rhs); 168 operator!=(const MirrorType1* lhs, ObjPtr<MirrorType2> rhs) { 169 return !(lhs == rhs); [all …]
|
/art/runtime/arch/x86/ |
D | registers_x86.cc | 27 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument 28 if (rhs >= EAX && rhs <= EDI) { in operator <<() 29 os << kRegisterNames[rhs]; in operator <<() 31 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
|
/art/test/083-compiler-regressions/src/ |
D | ZeroTests.java | 42 private static long longDiv(long lhs, long rhs) { in longDiv() argument 43 return lhs / rhs; in longDiv() 46 private static long longMod(long lhs, long rhs) { in longMod() argument 47 return lhs % rhs; in longMod()
|
/art/compiler/linker/ |
D | linker_patch.h | 349 friend bool operator==(const LinkerPatch& lhs, const LinkerPatch& rhs); 350 friend bool operator<(const LinkerPatch& lhs, const LinkerPatch& rhs); 354 inline bool operator==(const LinkerPatch& lhs, const LinkerPatch& rhs) { 355 return lhs.literal_offset_ == rhs.literal_offset_ && 356 lhs.patch_type_ == rhs.patch_type_ && 357 lhs.target_dex_file_ == rhs.target_dex_file_ && 358 lhs.cmp1_ == rhs.cmp1_ && 359 lhs.cmp2_ == rhs.cmp2_; 362 inline bool operator<(const LinkerPatch& lhs, const LinkerPatch& rhs) { 363 return (lhs.literal_offset_ != rhs.literal_offset_) ? lhs.literal_offset_ < rhs.literal_offset_ [all …]
|
/art/test/442-checker-constant-folding/src/ |
D | Main.java | 716 long rhs = 2; in ShlIntLong() local 717 return lhs << rhs; in ShlIntLong() 735 int rhs = 2; in ShlLongInt() local 736 return lhs << rhs; in ShlLongInt() 760 long rhs = 2; in ShrIntLong() local 761 return lhs >> rhs; in ShrIntLong() 779 int rhs = 2; in ShrLongInt() local 780 return lhs >> rhs; in ShrLongInt() 804 long rhs = 2; in UShrIntLong() local 805 return lhs >>> rhs; in UShrIntLong() [all …]
|