/art/runtime/arch/arm64/ |
D | registers_arm64.cc | 38 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument 39 if (rhs >= X0 && rhs <= XZR) { 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 <= WZR) { 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 …]
|
D | registers_arm64.h | 71 std::ostream& operator<<(std::ostream& os, const Register& rhs); 111 std::ostream& operator<<(std::ostream& os, const WRegister& rhs); 150 std::ostream& operator<<(std::ostream& os, const DRegister& rhs); 189 std::ostream& operator<<(std::ostream& os, const SRegister& rhs);
|
/art/runtime/arch/mips/ |
D | registers_mips.cc | 30 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument 31 if (rhs >= ZERO && rhs <= RA) { in operator <<() 32 os << kRegisterNames[rhs]; in operator <<() 34 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<() 39 std::ostream& operator<<(std::ostream& os, const FRegister& rhs) { in operator <<() argument 40 if (rhs >= F0 && rhs < kNumberOfFRegisters) { in operator <<() 41 os << "f" << static_cast<int>(rhs); in operator <<() 43 os << "FRegister[" << 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/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/ |
D | dex_file-inl.h | 60 inline bool Signature::operator==(const Signature& rhs) const { 62 return rhs.dex_file_ == nullptr; 64 if (rhs.dex_file_ == nullptr) { 67 if (dex_file_ == rhs.dex_file_) { 68 return proto_id_ == rhs.proto_id_; 77 rhs.dex_file_->StringDataAndUtf16LengthByIdx(rhs.proto_id_->shorty_idx_, 87 rhs.dex_file_->GetTypeId(rhs.proto_id_->return_type_idx_); 89 rhs.dex_file_, rhs_return_type_id.descriptor_idx_)) { 95 const DexFile::TypeList* rhs_params = rhs.dex_file_->GetProtoParameters(*rhs.proto_id_); 104 rhs.dex_file_->GetTypeId(rhs_params->GetTypeItem(i).type_idx_); [all …]
|
D | mapping_table.h | 96 bool operator==(const DexToPcIterator& rhs) const { 97 CHECK(table_ == rhs.table_); 98 return element_ == rhs.element_; 100 bool operator!=(const DexToPcIterator& rhs) const { 101 CHECK(table_ == rhs.table_); 102 return element_ != rhs.element_; 173 bool operator==(const PcToDexIterator& rhs) const { 174 CHECK(table_ == rhs.table_); 175 return element_ == rhs.element_; 177 bool operator!=(const PcToDexIterator& rhs) const { [all …]
|
D | class_reference.h | 30 inline bool operator<(const ClassReference& lhs, const ClassReference& rhs) { 31 if (lhs.second < rhs.second) { 33 } else if (lhs.second > rhs.second) { 36 return (lhs.first < rhs.first);
|
D | indirect_reference_table.h | 124 std::ostream& operator<<(std::ostream& os, const IndirectRefKind& rhs); 244 bool equals(const IrtIterator& rhs) const { in equals() argument 245 return (i_ == rhs.i_ && table_ == rhs.table_); in equals() 263 bool inline operator==(const IrtIterator& lhs, const IrtIterator& rhs) { 264 return lhs.equals(rhs); 267 bool inline operator!=(const IrtIterator& lhs, const IrtIterator& rhs) { 268 return !lhs.equals(rhs);
|
D | safe_map.h | 51 Self& operator=(const Self& rhs) { 52 map_ = rhs.map_; 114 bool Equals(const Self& rhs) const { in Equals() argument 115 return map_ == rhs.map_; in Equals() 124 const SafeMap<K, V, Comparator, Allocator>& rhs) { 125 return lhs.Equals(rhs); 130 const SafeMap<K, V, Comparator, Allocator>& rhs) { 131 return !(lhs == rhs);
|
/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/compiler/dex/ |
D | reg_storage_eq.h | 28 inline bool operator==(const RegStorage& lhs, const RegStorage& rhs) { 29 return lhs.ExactlyEquals(rhs); 32 inline bool operator!=(const RegStorage& lhs, const RegStorage& rhs) { 33 return lhs.NotExactlyEquals(rhs);
|
D | global_value_numbering.h | 118 bool operator()(const FieldReference& lhs, const FieldReference& rhs) const { in operator() 119 if (lhs.field_idx != rhs.field_idx) { in operator() 120 return lhs.field_idx < rhs.field_idx; in operator() 123 DCHECK(lhs.dex_file != rhs.dex_file || lhs.type == rhs.type); in operator() 124 return lhs.dex_file < rhs.dex_file; in operator() 146 bool operator()(const ArrayLocation& lhs, const ArrayLocation& rhs) const { in operator() 147 if (lhs.base != rhs.base) { in operator() 148 return lhs.base < rhs.base; in operator() 150 return lhs.index < rhs.index; in operator()
|
D | local_value_numbering.h | 150 bool operator()(const RangeCheckKey& lhs, const RangeCheckKey& rhs) const { in operator() 151 if (lhs.array != rhs.array) { in operator() 152 return lhs.array < rhs.array; in operator() 154 return lhs.index < rhs.index; in operator() 178 bool operator()(const EscapedIFieldClobberKey& lhs, const EscapedIFieldClobberKey& rhs) const { in operator() 180 if (lhs.base != rhs.base) { in operator() 181 return lhs.base < rhs.base; in operator() 186 if (lhs.type != rhs.type) { in operator() 187 return lhs.type < rhs.type; in operator() 189 return lhs.field_id < rhs.field_id; in operator() [all …]
|
/art/runtime/base/ |
D | logging.h | 38 UNLIKELY(!(_values.lhs OP _values.rhs)); /* empty */) \ 41 << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " 154 EagerEvaluator(LHS lhs, RHS rhs) : lhs(lhs), rhs(rhs) { } in EagerEvaluator() 156 RHS rhs; member 166 EagerEvaluator(T1 lhs, T2 rhs) \ 168 rhs(reinterpret_cast<const void*>(rhs)) { } \ 170 const void* rhs; \ 186 EagerEvaluator<LHS, RHS> MakeEagerEvaluator(LHS lhs, RHS rhs) { in MakeEagerEvaluator() argument 187 return EagerEvaluator<LHS, RHS>(lhs, rhs); in MakeEagerEvaluator() 249 std::ostream& operator<<(std::ostream& os, const Dumpable<T>& rhs) { [all …]
|
D | hex_dump.h | 48 inline std::ostream& operator<<(std::ostream& os, const HexDump& rhs) { 49 rhs.Dump(os);
|
/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/runtime/jdwp/ |
D | jdwp_main.cc | 601 std::ostream& operator<<(std::ostream& os, const JdwpLocation& rhs) { in operator <<() argument 603 << Dbg::GetClassName(rhs.class_id) << "." << Dbg::GetMethodName(rhs.method_id) in operator <<() 604 << "@" << StringPrintf("%#" PRIx64, rhs.dex_pc) << " " << rhs.type_tag << "]"; in operator <<() 608 bool operator==(const JdwpLocation& lhs, const JdwpLocation& rhs) { in operator ==() argument 609 return lhs.dex_pc == rhs.dex_pc && lhs.method_id == rhs.method_id && in operator ==() 610 lhs.class_id == rhs.class_id && lhs.type_tag == rhs.type_tag; in operator ==() 613 bool operator!=(const JdwpLocation& lhs, const JdwpLocation& rhs) { in operator !=() argument 614 return !(lhs == rhs); in operator !=()
|
/art/compiler/ |
D | compiled_method.cc | 56 bool CompiledCode::operator==(const CompiledCode& rhs) const { in operator ==() 58 if (rhs.quick_code_ == nullptr) { in operator ==() 60 } else if (quick_code_->size() != rhs.quick_code_->size()) { in operator ==() 63 return std::equal(quick_code_->begin(), quick_code_->end(), rhs.quick_code_->begin()); in operator ==() 66 if (rhs.portable_code_ == nullptr) { in operator ==() 68 } else if (portable_code_->size() != rhs.portable_code_->size()) { in operator ==() 72 rhs.portable_code_->begin()); in operator ==() 75 return (rhs.quick_code_ == nullptr) && (rhs.portable_code_ == nullptr); in operator ==()
|
D | oat_writer.h | 309 bool operator()(const CompiledMethod* lhs, const CompiledMethod* rhs) const { in operator() 310 if (lhs->GetQuickCode() != rhs->GetQuickCode()) { in operator() 311 return lhs->GetQuickCode() < rhs->GetQuickCode(); in operator() 314 if (UNLIKELY(&lhs->GetMappingTable() != &rhs->GetMappingTable())) { in operator() 315 return &lhs->GetMappingTable() < &rhs->GetMappingTable(); in operator() 317 if (UNLIKELY(&lhs->GetVmapTable() != &rhs->GetVmapTable())) { in operator() 318 return &lhs->GetVmapTable() < &rhs->GetVmapTable(); in operator() 320 if (UNLIKELY(&lhs->GetGcMap() != &rhs->GetGcMap())) { in operator() 321 return &lhs->GetGcMap() < &rhs->GetGcMap(); in operator()
|
/art/compiler/utils/ |
D | swap_space.h | 48 inline bool operator==(const SpaceChunk& lhs, const SpaceChunk& rhs) { 49 return (lhs.size == rhs.size) && (lhs.ptr == rhs.ptr); 87 bool operator()(const FreeBySizeEntry& lhs, const FreeBySizeEntry& rhs) { in operator() 88 if (lhs.first != rhs.first) { in operator() 89 return lhs.first < rhs.first; in operator() 91 return lhs.second->Start() < rhs.second->Start(); in operator()
|
D | scoped_arena_containers.h | 169 const ScopedArenaAllocatorAdapter<U>& rhs); 174 const ScopedArenaAllocatorAdapter<T>& rhs) { 175 return lhs.arena_stack_ == rhs.arena_stack_; 180 const ScopedArenaAllocatorAdapter<T>& rhs) { 181 return !(lhs == rhs);
|
D | arena_containers.h | 184 const ArenaAllocatorAdapter<U>& rhs); 189 const ArenaAllocatorAdapter<T>& rhs) { 190 return lhs.arena_allocator_ == rhs.arena_allocator_; 195 const ArenaAllocatorAdapter<T>& rhs) { 196 return !(lhs == rhs);
|
/art/compiler/utils/arm/ |
D | assembler_arm.cc | 38 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument 39 if (rhs >= R0 && rhs <= PC) { in operator <<() 40 os << kRegisterNames[rhs]; in operator <<() 42 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<() 48 std::ostream& operator<<(std::ostream& os, const SRegister& rhs) { in operator <<() argument 49 if (rhs >= S0 && rhs < kNumberOfSRegisters) { in operator <<() 50 os << "s" << static_cast<int>(rhs); in operator <<() 52 os << "SRegister[" << static_cast<int>(rhs) << "]"; in operator <<() 58 std::ostream& operator<<(std::ostream& os, const DRegister& rhs) { in operator <<() argument 59 if (rhs >= D0 && rhs < kNumberOfDRegisters) { in operator <<() [all …]
|
/art/runtime/verifier/ |
D | reg_type.cc | 709 static bool AssignableFrom(RegType& lhs, RegType& rhs, bool strict) in AssignableFrom() argument 711 if (lhs.Equals(rhs)) { in AssignableFrom() 715 return rhs.IsBooleanTypes(); in AssignableFrom() 717 return rhs.IsByteTypes(); in AssignableFrom() 719 return rhs.IsShortTypes(); in AssignableFrom() 721 return rhs.IsCharTypes(); in AssignableFrom() 723 return rhs.IsIntegralTypes(); in AssignableFrom() 725 return rhs.IsFloatTypes(); in AssignableFrom() 727 return rhs.IsLongTypes(); in AssignableFrom() 729 return rhs.IsDoubleTypes(); in AssignableFrom() [all …]
|