/art/compiler/utils/x86_64/ |
D | assembler_x86_64.cc | 129 void X86_64Assembler::movq(CpuRegister dst, CpuRegister src) { in movq() argument 132 EmitRex64(src, dst); in movq() 134 EmitRegisterOperand(src.LowBits(), dst.LowBits()); in movq() 138 void X86_64Assembler::movl(CpuRegister dst, CpuRegister src) { in movl() argument 140 EmitOptionalRex32(dst, src); in movl() 142 EmitRegisterOperand(dst.LowBits(), src.LowBits()); in movl() 146 void X86_64Assembler::movq(CpuRegister dst, const Address& src) { in movq() argument 148 EmitRex64(dst, src); in movq() 150 EmitOperand(dst.LowBits(), src); in movq() 154 void X86_64Assembler::movl(CpuRegister dst, const Address& src) { in movl() argument [all …]
|
D | assembler_x86_64.h | 273 void movq(CpuRegister dst, const Immediate& src); 274 void movl(CpuRegister dst, const Immediate& src); 275 void movq(CpuRegister dst, CpuRegister src); 276 void movl(CpuRegister dst, CpuRegister src); 278 void movq(CpuRegister dst, const Address& src); 279 void movl(CpuRegister dst, const Address& src); 280 void movq(const Address& dst, CpuRegister src); 281 void movl(const Address& dst, CpuRegister src); 284 void movzxb(CpuRegister dst, CpuRegister src); 285 void movzxb(CpuRegister dst, const Address& src); [all …]
|
/art/compiler/utils/x86/ |
D | assembler_x86.h | 232 void movl(Register dst, const Immediate& src); 233 void movl(Register dst, Register src); 235 void movl(Register dst, const Address& src); 236 void movl(const Address& dst, Register src); 240 void movzxb(Register dst, ByteRegister src); 241 void movzxb(Register dst, const Address& src); 242 void movsxb(Register dst, ByteRegister src); 243 void movsxb(Register dst, const Address& src); 244 void movb(Register dst, const Address& src); 245 void movb(const Address& dst, ByteRegister src); [all …]
|
D | assembler_x86.cc | 112 void X86Assembler::movl(Register dst, Register src) { in movl() argument 115 EmitRegisterOperand(src, dst); in movl() 119 void X86Assembler::movl(Register dst, const Address& src) { in movl() argument 122 EmitOperand(dst, src); in movl() 126 void X86Assembler::movl(const Address& dst, Register src) { in movl() argument 129 EmitOperand(src, dst); in movl() 147 void X86Assembler::movzxb(Register dst, ByteRegister src) { in movzxb() argument 151 EmitRegisterOperand(dst, src); in movzxb() 155 void X86Assembler::movzxb(Register dst, const Address& src) { in movzxb() argument 159 EmitOperand(dst, src); in movzxb() [all …]
|
/art/runtime/base/unix_file/ |
D | random_access_file_utils_test.cc | 27 StringFile src; in TEST_F() local 31 src.Assign(content); in TEST_F() 32 ASSERT_EQ(src.ToStringPiece(), content); in TEST_F() 35 ASSERT_TRUE(CopyFile(src, &dst)); in TEST_F() 36 ASSERT_EQ(src.ToStringPiece(), dst.ToStringPiece()); in TEST_F() 40 FdFile src(-1, false); in TEST_F() local 42 ASSERT_FALSE(CopyFile(src, &dst)); in TEST_F() 46 StringFile src; in TEST_F() local 51 src.Assign("hello"); in TEST_F() 53 ASSERT_FALSE(CopyFile(src, &dst)); in TEST_F()
|
D | random_access_file_utils.cc | 23 bool CopyFile(const RandomAccessFile& src, RandomAccessFile* dst) { in CopyFile() argument 29 while ((n = src.Read(&buf[0], buf.size(), offset)) > 0) { in CopyFile()
|
/art/runtime/ |
D | reflection-inl.h | 32 const JValue& src, JValue* dst) { in ConvertPrimitiveValue() argument 35 dst->SetJ(src.GetJ()); in ConvertPrimitiveValue() 46 dst->SetS(src.GetI()); in ConvertPrimitiveValue() 53 dst->SetI(src.GetI()); in ConvertPrimitiveValue() 60 dst->SetJ(src.GetI()); in ConvertPrimitiveValue() 67 dst->SetF(src.GetI()); in ConvertPrimitiveValue() 70 dst->SetF(src.GetJ()); in ConvertPrimitiveValue() 77 dst->SetD(src.GetI()); in ConvertPrimitiveValue() 80 dst->SetD(src.GetJ()); in ConvertPrimitiveValue() 83 dst->SetD(src.GetF()); in ConvertPrimitiveValue()
|
/art/compiler/utils/arm/ |
D | assembler_arm.cc | 456 ArmManagedRegister src = msrc.AsArm(); in Store() local 457 if (src.IsNoRegister()) { in Store() 459 } else if (src.IsCoreRegister()) { in Store() 461 StoreToOffset(kStoreWord, src.AsCoreRegister(), SP, dest.Int32Value()); in Store() 462 } else if (src.IsRegisterPair()) { in Store() 464 StoreToOffset(kStoreWord, src.AsRegisterPairLow(), SP, dest.Int32Value()); in Store() 465 StoreToOffset(kStoreWord, src.AsRegisterPairHigh(), in Store() 467 } else if (src.IsSRegister()) { in Store() 468 StoreSToOffset(src.AsSRegister(), SP, dest.Int32Value()); in Store() 470 CHECK(src.IsDRegister()) << src; in Store() [all …]
|
/art/compiler/utils/arm64/ |
D | assembler_arm64.cc | 123 Arm64ManagedRegister src = m_src.AsArm64(); in Store() local 124 if (src.IsNoRegister()) { in Store() 126 } else if (src.IsWRegister()) { in Store() 128 StoreWToOffset(kStoreWord, src.AsWRegister(), SP, offs.Int32Value()); in Store() 129 } else if (src.IsCoreRegister()) { in Store() 131 StoreToOffset(src.AsCoreRegister(), SP, offs.Int32Value()); in Store() 132 } else if (src.IsSRegister()) { in Store() 133 StoreSToOffset(src.AsSRegister(), SP, offs.Int32Value()); in Store() 135 CHECK(src.IsDRegister()) << src; in Store() 136 StoreDToOffset(src.AsDRegister(), SP, offs.Int32Value()); in Store() [all …]
|
D | assembler_arm64.h | 114 void Store(FrameOffset offs, ManagedRegister src, size_t size) OVERRIDE; 115 void StoreRef(FrameOffset dest, ManagedRegister src) OVERRIDE; 116 void StoreRawPtr(FrameOffset dest, ManagedRegister src) OVERRIDE; 123 void StoreSpanning(FrameOffset dest, ManagedRegister src, FrameOffset in_off, 127 void Load(ManagedRegister dest, FrameOffset src, size_t size) OVERRIDE; 128 void LoadFromThread64(ManagedRegister dest, ThreadOffset<8> src, size_t size) OVERRIDE; 129 void LoadRef(ManagedRegister dest, FrameOffset src) OVERRIDE; 135 void Move(ManagedRegister dest, ManagedRegister src, size_t size) OVERRIDE; 140 void CopyRef(FrameOffset dest, FrameOffset src, ManagedRegister scratch) OVERRIDE; 141 void Copy(FrameOffset dest, FrameOffset src, ManagedRegister scratch, size_t size) OVERRIDE; [all …]
|
/art/runtime/base/ |
D | bit_vector.cc | 111 bool BitVector::SameBitsSet(const BitVector *src) { in SameBitsSet() argument 113 int src_highest = src->GetHighestBitSet(); in SameBitsSet() 134 return (memcmp(storage_, src->GetRawStorage(), our_highest_index * kWordBytes) == 0); in SameBitsSet() 138 void BitVector::Intersect(const BitVector* src) { in Intersect() argument 139 uint32_t src_storage_size = src->storage_size_; in Intersect() 146 storage_[idx] &= src->GetRawStorageWord(idx); in Intersect() 161 bool BitVector::Union(const BitVector* src) { in Union() argument 163 int highest_bit = src->GetHighestBitSet(); in Union() 187 uint32_t update = existing | src->GetRawStorageWord(idx); in Union() 244 void BitVector::Subtract(const BitVector *src) { in Subtract() argument [all …]
|
D | bit_vector.h | 160 void Copy(const BitVector* src); 162 bool Union(const BitVector* src); 167 void Subtract(const BitVector* src); 169 bool Equal(const BitVector* src) { in Equal() argument 170 return (storage_size_ == src->GetStorageSize()) && in Equal() 171 (expandable_ == src->IsExpandable()) && in Equal() 172 (memcmp(storage_, src->GetRawStorage(), storage_size_ * sizeof(uint32_t)) == 0); in Equal() 179 bool SameBitsSet(const BitVector *src);
|
/art/compiler/utils/mips/ |
D | assembler_mips.cc | 599 MipsManagedRegister src = msrc.AsMips(); in Store() local 600 if (src.IsNoRegister()) { in Store() 602 } else if (src.IsCoreRegister()) { in Store() 604 StoreToOffset(kStoreWord, src.AsCoreRegister(), SP, dest.Int32Value()); in Store() 605 } else if (src.IsRegisterPair()) { in Store() 607 StoreToOffset(kStoreWord, src.AsRegisterPairLow(), SP, dest.Int32Value()); in Store() 608 StoreToOffset(kStoreWord, src.AsRegisterPairHigh(), in Store() 610 } else if (src.IsFRegister()) { in Store() 611 StoreFToOffset(src.AsFRegister(), SP, dest.Int32Value()); in Store() 613 CHECK(src.IsDRegister()); in Store() [all …]
|
D | assembler_mips.h | 189 void Load(ManagedRegister mdest, FrameOffset src, size_t size) OVERRIDE; 191 void LoadFromThread32(ManagedRegister mdest, ThreadOffset<4> src, size_t size) OVERRIDE; 193 void LoadRef(ManagedRegister dest, FrameOffset src) OVERRIDE; 210 void CopyRef(FrameOffset dest, FrameOffset src, ManagedRegister mscratch) OVERRIDE; 212 void Copy(FrameOffset dest, FrameOffset src, ManagedRegister mscratch, size_t size) OVERRIDE; 217 void Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src, 223 void Copy(ManagedRegister dest, Offset dest_offset, ManagedRegister src, Offset src_offset, 226 void Copy(FrameOffset dest, Offset dest_offset, FrameOffset src, Offset src_offset, 254 void LoadReferenceFromHandleScope(ManagedRegister dst, ManagedRegister src) OVERRIDE; 258 void VerifyObject(ManagedRegister src, bool could_be_null) OVERRIDE; [all …]
|
/art/compiler/utils/ |
D | assembler.h | 383 virtual void Store(FrameOffset offs, ManagedRegister src, size_t size) = 0; 384 virtual void StoreRef(FrameOffset dest, ManagedRegister src) = 0; 385 virtual void StoreRawPtr(FrameOffset dest, ManagedRegister src) = 0; 405 virtual void StoreSpanning(FrameOffset dest, ManagedRegister src, 409 virtual void Load(ManagedRegister dest, FrameOffset src, size_t size) = 0; 411 virtual void LoadFromThread32(ManagedRegister dest, ThreadOffset<4> src, size_t size); 412 virtual void LoadFromThread64(ManagedRegister dest, ThreadOffset<8> src, size_t size); 414 virtual void LoadRef(ManagedRegister dest, FrameOffset src) = 0; 423 virtual void Move(ManagedRegister dest, ManagedRegister src, size_t size) = 0; 435 virtual void CopyRef(FrameOffset dest, FrameOffset src, [all …]
|
/art/test/201-built-in-exception-detail-messages/src/ |
D | Main.java | 135 String[] src = new String[] { null, null, null, null, "hello", "goodbye" }; in arrayStore() local 137 System.arraycopy(src, 1, dst, 0, 5); in arrayStore() 144 String[] src = new String[1]; in arrayStore() local 146 System.arraycopy(src, 0, dst, 0, 1); in arrayStore() 152 float[] src = new float[1]; in arrayStore() local 154 System.arraycopy(src, 0, dst, 0, 1); in arrayStore() 160 boolean[] src = new boolean[1]; in arrayStore() 162 System.arraycopy(src, 0, dst, 0, 1); in arrayStore() 168 String src = "hello"; in arrayStore() local 170 System.arraycopy(src, 0, dst, 0, 1); in arrayStore() [all …]
|
/art/runtime/mirror/ |
D | object_array-inl.h | 118 inline void ObjectArray<T>::AssignableMemmove(int32_t dst_pos, ObjectArray<T>* src, in AssignableMemmove() argument 123 src->GetWithoutChecks(src_pos + i); in AssignableMemmove() 129 IntArray* srcAsIntArray = reinterpret_cast<IntArray*>(src); in AssignableMemmove() 132 const bool copy_forward = (src != this) || (dst_pos < src_pos) || (dst_pos - src_pos >= count); in AssignableMemmove() 137 Object* obj = src->GetWithoutChecks(src_pos + i); in AssignableMemmove() 144 Object* obj = src->GetWithoutChecks(src_pos + i); in AssignableMemmove() 161 inline void ObjectArray<T>::AssignableMemcpy(int32_t dst_pos, ObjectArray<T>* src, in AssignableMemcpy() argument 166 src->GetWithoutChecks(src_pos + i); in AssignableMemcpy() 172 IntArray* srcAsIntArray = reinterpret_cast<IntArray*>(src); in AssignableMemcpy() 177 T* obj = src->GetWithoutChecks(src_pos + i); in AssignableMemcpy() [all …]
|
D | array-inl.h | 244 inline void PrimitiveArray<T>::Memmove(int32_t dst_pos, PrimitiveArray<T>* src, int32_t src_pos, in Memmove() argument 252 DCHECK(src != nullptr); in Memmove() 255 DCHECK_LT(src_pos, src->GetLength()); in Memmove() 256 DCHECK_LE(src_pos, src->GetLength() - count); in Memmove() 260 if (LIKELY(src != this)) { in Memmove() 262 Memcpy(dst_pos, src, src_pos, count); in Memmove() 266 const void* src_raw = src->GetRawData(sizeof(T), src_pos); in Memmove() 304 inline void PrimitiveArray<T>::Memcpy(int32_t dst_pos, PrimitiveArray<T>* src, int32_t src_pos, in Memcpy() argument 312 DCHECK(src != nullptr); in Memcpy() 315 DCHECK_LT(src_pos, src->GetLength()); in Memcpy() [all …]
|
/art/test/etc/ |
D | default-build | 21 ${JAVAC} -d classes `find src -name '*.java'` 32 if [ -r src-ex ]; then 34 ${JAVAC} -d classes-ex -cp classes `find src-ex -name '*.java'`
|
/art/test/089-many-methods/ |
D | build | 22 mkdir src 47 ${JAVAC} -d classes `find src -name '*.java'`
|
/art/test/097-duplicate-method/ |
D | build | 21 ${JAVAC} -d classes src/*.java 22 ${JASMIN} -d classes src/*.j
|
/art/runtime/verifier/ |
D | register_line.h | 106 void CopyFromLine(const RegisterLine* src) { in CopyFromLine() argument 107 DCHECK_EQ(num_regs_, src->num_regs_); in CopyFromLine() 108 memcpy(&line_, &src->line_, num_regs_ * sizeof(uint16_t)); in CopyFromLine() 109 monitors_ = src->monitors_; in CopyFromLine() 110 reg_to_lock_depths_ = src->reg_to_lock_depths_; in CopyFromLine() 295 void CopyRegToLockDepth(size_t dst, size_t src) { in CopyRegToLockDepth() argument 296 auto it = reg_to_lock_depths_.find(src); in CopyRegToLockDepth()
|
/art/test/131-structural-change/ |
D | build | 21 ${JAVAC} -d classes `find src -name '*.java'` 24 ${JAVAC} -d classes-ex `find src-ex -name '*.java'`
|
/art/test/113-multidex/ |
D | build | 23 ${JAVAC} -d classes `find src -name '*.java'` 28 ${JAVAC} -d classes `find src -name '*.java'`
|
/art/test/126-miranda-multidex/ |
D | build | 23 ${JAVAC} -d classes `find src -name '*.java'` 28 ${JAVAC} -d classes `find src -name '*.java'`
|