/art/compiler/utils/arm64/ |
D | jni_macro_assembler_arm64.cc | 67 void Arm64JNIMacroAssembler::GetCurrentThread(ManagedRegister dest) { in GetCurrentThread() argument 68 ___ Mov(reg_x(dest.AsArm64().AsXRegister()), reg_x(TR)); in GetCurrentThread() 214 void Arm64JNIMacroAssembler::LoadImmediate(XRegister dest, int32_t value, Condition cond) { in LoadImmediate() argument 216 ___ Mov(reg_x(dest), value); in LoadImmediate() 222 temps.Exclude(reg_x(dest)); in LoadImmediate() 225 ___ Csel(reg_x(dest), temp, reg_x(dest), cond); in LoadImmediate() 227 ___ Csel(reg_x(dest), reg_x(XZR), reg_x(dest), cond); in LoadImmediate() 233 WRegister dest, in LoadWFromOffset() argument 238 ___ Ldrsb(reg_w(dest), MEM_OP(reg_x(base), offset)); in LoadWFromOffset() 241 ___ Ldrsh(reg_w(dest), MEM_OP(reg_x(base), offset)); in LoadWFromOffset() [all …]
|
D | jni_macro_assembler_arm64.h | 71 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override; 75 void Load(ManagedRegister dest, FrameOffset src, size_t size) override; 76 void Load(ManagedRegister dest, ManagedRegister base, MemberOffset offs, size_t size) override; 77 void LoadRawPtrFromThread(ManagedRegister dest, ThreadOffset64 offs) override; 83 void Move(ManagedRegister dest, ManagedRegister src, size_t size) override; 84 void Move(ManagedRegister dest, size_t value) override; 93 void GetCurrentThread(ManagedRegister dest) override; 165 void LoadImmediate(XRegister dest, 170 WRegister dest, 173 void LoadFromOffset(XRegister dest, XRegister base, int32_t offset); [all …]
|
/art/libartbase/base/ |
D | leb128.h | 154 static inline uint8_t* EncodeUnsignedLeb128(uint8_t* dest, uint64_t value) { in EncodeUnsignedLeb128() argument 158 *dest++ = out | 0x80; in EncodeUnsignedLeb128() 162 *dest++ = out; in EncodeUnsignedLeb128() 163 return dest; in EncodeUnsignedLeb128() 167 static inline void EncodeUnsignedLeb128(Vector* dest, uint64_t value) { in EncodeUnsignedLeb128() argument 172 dest->push_back(out | 0x80); in EncodeUnsignedLeb128() 176 dest->push_back(out); in EncodeUnsignedLeb128() 181 static inline void UpdateUnsignedLeb128(uint8_t* dest, uint32_t value) { in UpdateUnsignedLeb128() argument 182 const uint8_t* old_end = dest; in UpdateUnsignedLeb128() 185 for (uint8_t* end = EncodeUnsignedLeb128(dest, value); end < old_end; end++) { in UpdateUnsignedLeb128() [all …]
|
D | mem_map_test.cc | 172 MemMap dest = MemMap::MapAnonymous("MapAnonymousEmpty-atomic-replace-dest", in TEST_F() local 177 ASSERT_TRUE(dest.IsValid()); in TEST_F() 185 void* dest_addr = dest.Begin(); in TEST_F() 192 ASSERT_TRUE(dest.ReplaceWith(&source, &error_msg)) << error_msg; in TEST_F() 198 ASSERT_EQ(dest.Size(), static_cast<size_t>(page_size)); in TEST_F() 200 ASSERT_EQ(memcmp(dest.Begin(), data.data(), dest.Size()), 0); in TEST_F() 206 MemMap dest = MemMap::MapAnonymous("MapAnonymousEmpty-atomic-replace-dest", in TEST_F() local 215 ASSERT_TRUE(dest.IsValid()); in TEST_F() 223 uint8_t* dest_addr = dest.Begin(); in TEST_F() 231 dest.SetSize(page_size); in TEST_F() [all …]
|
/art/compiler/utils/x86/ |
D | jni_macro_assembler_x86.cc | 169 void X86JNIMacroAssembler::StoreRawPtr(FrameOffset dest, ManagedRegister msrc) { in StoreRawPtr() argument 172 __ movl(Address(ESP, dest), src.AsCpuRegister()); in StoreRawPtr() 197 X86ManagedRegister dest = mdest.AsX86(); in Load() local 199 if (dest.IsNoRegister()) { in Load() 201 } else if (dest.IsCpuRegister()) { in Load() 203 __ movl(dest.AsCpuRegister(), Address(base.AsCpuRegister(), offs)); in Load() 204 } else if (dest.IsRegisterPair()) { in Load() 206 __ movl(dest.AsRegisterPairLow(), Address(base.AsCpuRegister(), offs)); in Load() 207 __ movl(dest.AsRegisterPairHigh(), in Load() 209 } else if (dest.IsX87Register()) { in Load() [all …]
|
D | jni_macro_assembler_x86.h | 62 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override; 67 void Load(ManagedRegister dest, FrameOffset src, size_t size) override; 68 void Load(ManagedRegister dest, ManagedRegister base, MemberOffset offs, size_t size) override; 70 void LoadRawPtrFromThread(ManagedRegister dest, ThreadOffset32 offs) override; 77 void Move(ManagedRegister dest, ManagedRegister src, size_t size) override; 79 void Move(ManagedRegister dest, size_t value) override; 88 void GetCurrentThread(ManagedRegister dest) override; 144 void Copy(FrameOffset dest, FrameOffset src, size_t size);
|
/art/compiler/utils/x86_64/ |
D | jni_macro_assembler_x86_64.cc | 198 void X86_64JNIMacroAssembler::StoreRawPtr(FrameOffset dest, ManagedRegister msrc) { in StoreRawPtr() argument 201 __ movq(Address(CpuRegister(RSP), dest), src.AsCpuRegister()); in StoreRawPtr() 223 X86_64ManagedRegister dest = mdest.AsX86_64(); in Load() local 225 if (dest.IsNoRegister()) { in Load() 227 } else if (dest.IsCpuRegister()) { in Load() 230 __ movl(dest.AsCpuRegister(), Address(base.AsCpuRegister(), offs)); in Load() 233 __ movq(dest.AsCpuRegister(), Address(base.AsCpuRegister(), offs)); in Load() 235 } else if (dest.IsX87Register()) { in Load() 242 CHECK(dest.IsXmmRegister()); in Load() 244 __ movss(dest.AsXmmRegister(), Address(base.AsCpuRegister(), offs)); in Load() [all …]
|
D | jni_macro_assembler_x86_64.h | 63 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override; 68 void Load(ManagedRegister dest, FrameOffset src, size_t size) override; 69 void Load(ManagedRegister dest, ManagedRegister base, MemberOffset offs, size_t size) override; 71 void LoadRawPtrFromThread(ManagedRegister dest, ThreadOffset64 offs) override; 78 void Move(ManagedRegister dest, ManagedRegister src, size_t size) override; 80 void Move(ManagedRegister dest, size_t value) override; 89 void GetCurrentThread(ManagedRegister dest) override; 145 void Copy(FrameOffset dest, FrameOffset src, size_t size);
|
/art/ |
D | test.py | 34 parser.add_argument('-j', default='', dest='n_threads', help='specify number of concurrent tests') 35 parser.add_argument('--run-test', '-r', action='store_true', dest='run_test', help='execute run tes… 36 parser.add_argument('--gtest', '-g', action='store_true', dest='gtest', help='execute gtest tests') 37 parser.add_argument('--target', action='store_true', dest='target', help='test on target system') 38 parser.add_argument('--host', action='store_true', dest='host', help='test on build host system') 39 parser.add_argument('--help-runner', action='store_true', dest='help_runner', help='show help for o…
|
/art/compiler/utils/riscv64/ |
D | jni_macro_assembler_riscv64.cc | 212 Riscv64ManagedRegister dest = m_dest.AsRiscv64(); in Load() local 213 if (dest.IsXRegister()) { in Load() 221 __ Loadw(dest.AsXRegister(), base.AsXRegister(), offs.Int32Value()); in Load() 224 __ Loadd(dest.AsXRegister(), base.AsXRegister(), offs.Int32Value()); in Load() 227 CHECK(dest.IsFRegister()) << dest; in Load() 229 __ FLoadw(dest.AsFRegister(), base.AsXRegister(), offs.Int32Value()); in Load() 232 __ FLoadd(dest.AsFRegister(), base.AsXRegister(), offs.Int32Value()); in Load() 246 Riscv64ManagedRegister dest = m_dest.AsRiscv64(); in LoadGcRootWithoutReadBarrier() local 248 __ Loadwu(dest.AsXRegister(), base.AsXRegister(), offs.Int32Value()); in LoadGcRootWithoutReadBarrier() 288 const ArgumentLocation& dest = dests[i]; in MoveArguments() local [all …]
|
D | jni_macro_assembler_riscv64.h | 68 void Load(ManagedRegister dest, FrameOffset offs, size_t size) override; 69 void Load(ManagedRegister dest, ManagedRegister base, MemberOffset offs, size_t size) override; 70 void LoadRawPtrFromThread(ManagedRegister dest, ThreadOffset64 offs) override; 71 void LoadGcRootWithoutReadBarrier(ManagedRegister dest, 74 void LoadStackReference(ManagedRegister dest, FrameOffset offs) override; 80 void Move(ManagedRegister dest, ManagedRegister src, size_t size) override; 81 void Move(ManagedRegister dest, size_t value) override; 90 void GetCurrentThread(ManagedRegister dest) override;
|
/art/libartbase/base/unix_file/ |
D | fd_file_test.cc | 38 const FdFile* dest, 229 art::ScratchFile dest; in TEST_F() local 230 const std::string& new_filename = dest.GetFilename(); in TEST_F() 277 FdFile dest(dest_tmp.GetFilename(), O_RDWR, false); in TEST_F() local 278 ASSERT_GE(dest.Fd(), 0); in TEST_F() 279 ASSERT_TRUE(dest.IsOpened()); in TEST_F() 281 ASSERT_TRUE(dest.Copy(&src, 0, sizeof(src_data))); in TEST_F() 282 ASSERT_EQ(0, dest.Flush()); in TEST_F() 283 ASSERT_EQ(static_cast<int64_t>(sizeof(src_data)), dest.GetLength()); in TEST_F() 286 ASSERT_TRUE(dest.PreadFully(check_data, sizeof(src_data), 0u)); in TEST_F() [all …]
|
/art/runtime/arch/arm/ |
D | asm_support_arm.S | 165 .macro CONDITIONAL_CBZ reg, reg_if, dest argument 167 cbz \reg, \dest 171 .macro CONDITIONAL_CMPBZ reg, reg_if, dest argument 174 beq \dest 179 .macro SMART_CBZ reg, dest argument 180 CONDITIONAL_CBZ \reg, r0, \dest 181 CONDITIONAL_CBZ \reg, r1, \dest 182 CONDITIONAL_CBZ \reg, r2, \dest 183 CONDITIONAL_CBZ \reg, r3, \dest 184 CONDITIONAL_CBZ \reg, r4, \dest [all …]
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.h | 65 void StoreRawPtr(FrameOffset dest, ManagedRegister src) override; 70 void Load(ManagedRegister dest, FrameOffset src, size_t size) override; 71 void Load(ManagedRegister dest, ManagedRegister base, MemberOffset offs, size_t size) override; 73 void LoadRawPtrFromThread(ManagedRegister dest, ThreadOffset32 offs) override; 80 void Move(ManagedRegister dest, ManagedRegister src, size_t size) override; 82 void Move(ManagedRegister dest, size_t value) override; 91 void GetCurrentThread(ManagedRegister dest) override; 155 void Copy(FrameOffset dest, FrameOffset src, size_t size); 156 void Load(ArmManagedRegister dest, vixl32::Register base, int32_t offset, size_t size);
|
D | assembler_arm_vixl.cc | 289 vixl32::Register dest, in LoadFromOffset() argument 300 AddConstant(dest, base, add_to_base); in LoadFromOffset() 301 base = dest; in LoadFromOffset() 305 vixl32::Register temp = (dest.Is(base)) ? temps.Acquire() : dest; in LoadFromOffset() 309 ___ Add(dest, dest, (dest.Is(base)) ? temp : base); in LoadFromOffset() 310 base = dest; in LoadFromOffset() 318 ___ Ldrsb(dest, MemOperand(base, offset)); in LoadFromOffset() 321 ___ Ldrb(dest, MemOperand(base, offset)); in LoadFromOffset() 324 ___ Ldrsh(dest, MemOperand(base, offset)); in LoadFromOffset() 327 ___ Ldrh(dest, MemOperand(base, offset)); in LoadFromOffset() [all …]
|
D | jni_macro_assembler_arm_vixl.cc | 269 void ArmVIXLJNIMacroAssembler::Store(FrameOffset dest, ManagedRegister m_src, size_t size) { in Store() argument 270 Store(ArmManagedRegister::FromCoreRegister(SP), MemberOffset(dest.Int32Value()), m_src, size); in Store() 301 void ArmVIXLJNIMacroAssembler::StoreRawPtr(FrameOffset dest, ManagedRegister msrc) { in StoreRawPtr() argument 305 asm_.StoreToOffset(kStoreWord, src, sp, dest.Int32Value()); in StoreRawPtr() 321 vixl::aarch32::Register dest = AsVIXLRegister(mdest.AsArm()); in LoadRawPtrFromThread() local 323 temps.Exclude(dest); in LoadRawPtrFromThread() 324 asm_.LoadFromOffset(kLoadWord, dest, tr, offs.Int32Value()); in LoadRawPtrFromThread() 475 const ArgumentLocation& dest = dests[i]; in MoveArguments() local 476 DCHECK(dest.IsRegister() && IsCoreRegisterOrPair(dest.GetRegister().AsArm())); in MoveArguments() 478 if (src.GetRegister().Equals(dest.GetRegister())) { in MoveArguments() [all …]
|
/art/libdexfile/dex/ |
D | compact_dex_utils.h | 28 static inline void AlignmentPadVector(std::vector<T, Allocator<T>>* dest, in AlignmentPadVector() argument 30 while (!IsAlignedParam(dest->size(), alignment)) { in AlignmentPadVector() 31 dest->push_back(T()); in AlignmentPadVector()
|
/art/compiler/utils/ |
D | jni_macro_assembler.cc | 105 void JNIMacroAssembler<kPointerSize>::LoadGcRootWithoutReadBarrier(ManagedRegister dest, in LoadGcRootWithoutReadBarrier() argument 109 Load(dest, base, offs, sizeof(uint32_t)); in LoadGcRootWithoutReadBarrier() 113 void JNIMacroAssembler<PointerSize::k32>::LoadGcRootWithoutReadBarrier(ManagedRegister dest, 117 void JNIMacroAssembler<PointerSize::k64>::LoadGcRootWithoutReadBarrier(ManagedRegister dest, 122 void JNIMacroAssembler<kPointerSize>::LoadStackReference(ManagedRegister dest, FrameOffset offs) { in LoadStackReference() argument 124 Load(dest, offs, sizeof(uint32_t)); in LoadStackReference() 128 void JNIMacroAssembler<PointerSize::k32>::LoadStackReference(ManagedRegister dest, 131 void JNIMacroAssembler<PointerSize::k64>::LoadStackReference(ManagedRegister dest,
|
D | jni_macro_assembler.h | 121 virtual void StoreRawPtr(FrameOffset dest, ManagedRegister src) = 0; 130 virtual void Load(ManagedRegister dest, FrameOffset src, size_t size) = 0; 131 virtual void Load(ManagedRegister dest, ManagedRegister base, MemberOffset offs, size_t size) = 0; 132 virtual void LoadRawPtrFromThread(ManagedRegister dest, ThreadOffset<kPointerSize> offs) = 0; 136 virtual void LoadGcRootWithoutReadBarrier(ManagedRegister dest, 142 virtual void LoadStackReference(ManagedRegister dest, FrameOffset offs); 156 virtual void Move(ManagedRegister dest, ManagedRegister src, size_t size) = 0; 167 virtual void GetCurrentThread(ManagedRegister dest) = 0;
|
/art/tools/checker/ |
D | checker.py | 33 parser.add_argument("--check-prefix", dest="check_prefix", default="CHECK", metavar="PREFIX", 35 parser.add_argument("--list-passes", dest="list_passes", action="store_true", 37 parser.add_argument("--dump-pass", dest="dump_pass", metavar="PASS", 39 parser.add_argument("--arch", dest="arch", choices=archs_list, 43 parser.add_argument("--print-cfg", action="store_true", default="True", dest="print_cfg", 45 parser.add_argument("--no-print-cfg", action="store_false", default="True", dest="print_cfg",
|
/art/tools/ |
D | bisect_profile.py | 42 def __init__(self, option_strings, dest, **kwargs): argument 43 super(ApkAction, self).__init__(option_strings, dest, **kwargs) 46 lst = getattr(namespace, self.dest) 48 setattr(namespace, self.dest, []) 49 lst = getattr(namespace, self.dest) 59 dest="apks", 69 dest="apks",
|
/art/test/testrunner/ |
D | testrunner.py | 1080 parser.add_argument('-t', '--test', action='append', dest='tests', help='name(s) of the test(s)' 1084 global_group.add_argument('-j', type=int, dest='n_thread', help="""Number of CPUs to use. 1086 global_group.add_argument('--timeout', default=timeout, type=int, dest='timeout') 1087 global_group.add_argument('--verbose', '-v', action='store_true', dest='verbose') 1088 global_group.add_argument('--dry-run', action='store_true', dest='dry_run') 1089 global_group.add_argument("--skip", action='append', dest="skips", default=[], 1091 global_group.add_argument("--no-skips", dest="ignore_skips", action='store_true', default=False, 1095 action='store_false', dest='build', 1099 action='store_true', dest='build', 1103 action='store_true', dest='dist', [all …]
|
/art/runtime/mirror/ |
D | object.cc | 116 ObjPtr<Object> Object::CopyObject(ObjPtr<mirror::Object> dest, in CopyObject() argument 120 CopyRawObjectData(reinterpret_cast<uint8_t*>(dest.Ptr()), src, num_bytes - sizeof(Object)); in CopyObject() 125 CopyReferenceFieldsWithReadBarrierVisitor visitor(dest); in CopyObject() 132 ObjPtr<ObjectArray<Object>> array = dest->AsObjectArray<Object>(); in CopyObject() 133 WriteBarrier::ForArrayWrite(dest, 0, array->GetLength()); in CopyObject() 136 WriteBarrier::ForEveryFieldWrite(dest); in CopyObject() 138 return dest; in CopyObject()
|
/art/tools/runtime_memusage/ |
D | prune_sanitizer_output.py | 106 default="", dest="out_dir_name", type=extant_directory, 109 default=False, dest="check_exact", 113 default=4, dest="stack_min_size", type=int,
|
/art/test/986-native-method-bind/src/art/ |
D | Test986.java | 37 private static void setNativeTransform(Method method, String dest) { in setNativeTransform() argument 38 SymbolMap.put(method, dest); in setNativeTransform()
|