/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 111 JNIEXPORT jlong JVM_Lseek(jint fd, jlong offset, jint whence) { in JVM_Lseek() argument 118 return lseek64(fd, offset, whence); in JVM_Lseek() 122 return lseek(fd, offset, whence); in JVM_Lseek()
|
/art/dexdump/ |
D | dexdump.cc | 133 int offset = 0; in descriptorToDot() local 136 while (targetLen > 1 && str[offset] == '[') { in descriptorToDot() 137 offset++; in descriptorToDot() 141 const int arrayDepth = offset; in descriptorToDot() 145 str = primitiveTypeLabel(str[offset]); in descriptorToDot() 146 offset = 0; in descriptorToDot() 150 if (targetLen >= 2 && str[offset] == 'L' && in descriptorToDot() 151 str[offset + targetLen - 1] == ';') { in descriptorToDot() 153 offset++; in descriptorToDot() 161 const char ch = str[offset + i]; in descriptorToDot()
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64.cc | 4707 int offset = label->Position() - buffer_.Size(); in j() local 4708 CHECK_LE(offset, 0); in j() 4709 if (IsInt<8>(offset - kShortSize)) { in j() 4711 EmitUint8((offset - kShortSize) & 0xFF); in j() 4715 EmitInt32(offset - kLongSize); in j() 4729 int offset = label->Position() - buffer_.Size(); in j() local 4730 CHECK_LE(offset, 0); in j() 4731 CHECK(IsInt<8>(offset - kShortSize)); in j() 4733 EmitUint8((offset - kShortSize) & 0xFF); in j() 4745 int offset = label->Position() - buffer_.Size(); in jrcxz() local [all …]
|
/art/runtime/gc/collector/ |
D | mark_sweep.h | 213 void MarkObject(mirror::Object* obj, mirror::Object* holder, MemberOffset offset) 239 MemberOffset offset = MemberOffset(0))
|
/art/compiler/optimizing/ |
D | intrinsics_x86.cc | 91 uint32_t offset = mirror::Array::DataOffset(element_size).Uint32Value(); in EmitNativeCode() local 121 int32_t adjusted_offset = offset + constant * element_size; in EmitNativeCode() 125 __ movl(temp2, Address(src, temp2, ScaleFactor::TIMES_4, offset)); in EmitNativeCode() 144 int32_t adjusted_offset = offset + constant * element_size; in EmitNativeCode() 148 __ movl(Address(dest, temp3, ScaleFactor::TIMES_4, offset), temp2); in EmitNativeCode() 1641 Register offset = offset_loc.AsRegisterPairLow<Register>(); in GenUnsafeGet() local 1647 __ movl(output, Address(base, offset, ScaleFactor::TIMES_1, 0)); in GenUnsafeGet() 1655 Address src(base, offset, ScaleFactor::TIMES_1, 0); in GenUnsafeGet() 1659 __ movl(output, Address(base, offset, ScaleFactor::TIMES_1, 0)); in GenUnsafeGet() 1664 __ movl(output, Address(base, offset, ScaleFactor::TIMES_1, 0)); in GenUnsafeGet() [all …]
|
D | code_generator_arm64.h | 340 uint32_t offset, 356 uint32_t offset, 800 uint32_t offset, 820 uint32_t offset, 871 uint32_t offset, 881 uint32_t offset,
|
D | intrinsics_arm64.cc | 63 ALWAYS_INLINE inline MemOperand AbsoluteHeapOperandFrom(Location location, size_t offset = 0) { in AbsoluteHeapOperandFrom() argument 64 return MemOperand(XRegisterFrom(location), offset); in AbsoluteHeapOperandFrom() 675 Register offset = XRegisterFrom(offset_loc); // Long offset. in GenUnsafeGet() local 684 __ Add(temp, base, offset.W()); // Offset should not exceed 32 bits. in GenUnsafeGet() 693 MemOperand mem_op(base.X(), offset); in GenUnsafeGet() 814 Register offset = XRegisterFrom(locations->InAt(2)); // Long offset. in GenUnsafePut() local 817 MemOperand mem_op(base.X(), offset); in GenUnsafePut() 954 Register offset = XRegisterFrom(locations->InAt(2)); // Long offset. in EmitNativeCode() local 978 __ Add(tmp_ptr, base.X(), Operand(offset)); in EmitNativeCode() 1009 Register offset = XRegisterFrom(locations->InAt(2)); // Long offset. in GenCas() local [all …]
|
D | intrinsics_x86_64.cc | 1797 CpuRegister offset = offset_loc.AsRegister<CpuRegister>(); in GenUnsafeGet() local 1803 __ movl(output, Address(base, offset, ScaleFactor::TIMES_1, 0)); in GenUnsafeGet() 1809 Address src(base, offset, ScaleFactor::TIMES_1, 0); in GenUnsafeGet() 1813 __ movl(output, Address(base, offset, ScaleFactor::TIMES_1, 0)); in GenUnsafeGet() 1818 __ movl(output, Address(base, offset, ScaleFactor::TIMES_1, 0)); in GenUnsafeGet() 1825 __ movq(output, Address(base, offset, ScaleFactor::TIMES_1, 0)); in GenUnsafeGet() 1944 CpuRegister offset = locations->InAt(2).AsRegister<CpuRegister>(); in GenUnsafePut() local 1948 __ movq(Address(base, offset, ScaleFactor::TIMES_1, 0), value); in GenUnsafePut() 1953 __ movl(Address(base, offset, ScaleFactor::TIMES_1, 0), temp); in GenUnsafePut() 1955 __ movl(Address(base, offset, ScaleFactor::TIMES_1, 0), value); in GenUnsafePut() [all …]
|
D | induction_var_range.h | 183 /*out*/ HInstruction** offset) const;
|
/art/runtime/arch/arm64/ |
D | quick_entrypoints_arm64.S | 1029 .macro POP_REG_NE xReg, offset, xExclude 1031 ldr \xReg, [sp, #\offset] // restore xReg 1038 .macro POP_REGS_NE xReg1, xReg2, offset, xExclude 1040 ldr \xReg2, [sp, #(\offset + 8)] // restore xReg2 1043 ldr \xReg1, [sp, #\offset] // restore xReg1 1045 ldp \xReg1, \xReg2, [sp, #\offset] // restore xReg1 and xReg2 1059 .macro READ_BARRIER xDest, wDest, xObj, xTemp, wTemp, offset, number 1066 ldr \wDest, [\xObj, #\offset] // Heap reference = 32b. This also zero-extends to \xDest. 1080 mov w2, #\offset // pass offset 1097 ldr \wDest, [\xObj, #\offset] // Heap reference = 32b. This also zero-extends to \xDest. [all …]
|
/art/runtime/ |
D | reflection.cc | 375 uint32_t offset = 0; in CheckMethodArguments() local 379 offset = 1; in CheckMethodArguments() 398 (reinterpret_cast<StackReference<mirror::Object>*>(&args[i + offset]))->AsMirrorPtr(); in CheckMethodArguments() 406 offset++; in CheckMethodArguments() 408 int32_t arg = static_cast<int32_t>(args[i + offset]); in CheckMethodArguments() 422 if (args[i + offset] > 0xFFFF) { in CheckMethodArguments()
|
D | art_method.h | 866 ALWAYS_INLINE T GetNativePointer(MemberOffset offset, PointerSize pointer_size) const { in GetNativePointer() argument 868 const auto addr = reinterpret_cast<uintptr_t>(this) + offset.Uint32Value(); in GetNativePointer() 878 ALWAYS_INLINE void SetNativePointer(MemberOffset offset, T new_value, PointerSize pointer_size) in SetNativePointer() argument 881 const auto addr = reinterpret_cast<uintptr_t>(this) + offset.Uint32Value(); in SetNativePointer()
|
D | subtype_check_test.cc | 80 int32_t GetField32Volatile(art::MemberOffset offset = art::MemberOffset(0u)) const in GetField32Volatile() 82 UNUSED(offset); in GetField32Volatile() 89 bool CasField32(art::MemberOffset offset, in CasField32() 95 UNUSED(offset); in CasField32() 96 if (old_value == GetField32Volatile(offset)) { in CasField32()
|
D | instrumentation.h | 444 void Branch(Thread* thread, ArtMethod* method, uint32_t dex_pc, int32_t offset) const in Branch() argument 447 BranchImpl(thread, method, dex_pc, offset); in Branch() 618 void BranchImpl(Thread* thread, ArtMethod* method, uint32_t dex_pc, int32_t offset) const
|
D | elf_file_impl.h | 174 bool CheckAndSet(Elf32_Off offset, const char* label, uint8_t** target, std::string* error_msg);
|
D | class_linker_test.cc | 521 CheckOffset& offset = offsets[i]; in Check() local 530 << " CheckOffsets=" << offset.java_name; in Check() 535 CheckOffset& offset = offsets[i]; in Check() local 537 if (field->GetOffset().Uint32Value() != offset.cpp_offset) { in Check() 543 CheckOffset& offset = offsets[i]; in Check() local 545 if (field->GetOffset().Uint32Value() != offset.cpp_offset) { in Check() 548 LOG(ERROR) << "Offset: class=" << class_descriptor << " field=" << offset.java_name in Check() 549 << " Java=" << field->GetOffset().Uint32Value() << " C++=" << offset.cpp_offset; in Check() 556 void addOffset(size_t offset, const char* name) { in addOffset() 557 offsets.push_back(CheckOffset(offset, name)); in addOffset()
|
/art/test/021-string2/src/ |
D | Main.java | 28 String offset = new String("xxx0123456789yyy"); in main() local 29 String sub = offset.substring(3, 13); in main() 50 Assert.assertFalse(offset.equals(sub)); in main() 51 Assert.assertFalse(sub.equals(offset)); in main()
|
/art/perfetto_hprof/ |
D | perfetto_hprof.cc | 349 void operator()(art::ObjPtr<art::mirror::Object> obj, art::MemberOffset offset, in operator ()() argument 352 art::mirror::Object* ref = obj->GetFieldObject<art::mirror::Object>(offset); in operator ()() 355 field = art::ArtField::FindStaticFieldWithOffset(obj->AsClass(), offset.Uint32Value()); in operator ()() 357 field = art::ArtField::FindInstanceFieldWithOffset(obj->GetClass(), offset.Uint32Value()); in operator ()()
|
/art/oatdump/ |
D | oatdump.cc | 440 #define DUMP_OAT_HEADER_OFFSET(label, offset) \ in Dump() argument 442 os << StringPrintf("0x%08x", oat_header.offset()); \ in Dump() 443 if (oat_header.offset() != 0 && options_.absolute_addresses_) { \ in Dump() 444 os << StringPrintf(" (%p)", oat_file_.Begin() + oat_header.offset()); \ in Dump() 1451 uint32_t offset = GetVRegOffsetFromQuickCode(code_item_accessor, in DumpVregLocations() local 1457 os << " v" << reg << "[sp + #" << offset << "]"; in DumpVregLocations() 1465 uint32_t offset = GetOutVROffset(out_reg, GetInstructionSet()); in DumpVregLocations() local 1466 os << " v" << out_reg << "[sp + #" << offset << "]"; in DumpVregLocations() 1628 size_t offset = 0; in DumpCode() local 1629 while (offset < code_size) { in DumpCode() [all …]
|
/art/test/800-smali/smali/ |
D | sameFieldNames.smali | 24 # Add some more fields to stress test the sorting for offset assignment.
|
/art/runtime/interpreter/mterp/x86_64/ |
D | control_flow.S | 16 movswq 2(rPC), rINSTq # Get signed branch offset
|
/art/runtime/mirror/ |
D | var_handle.cc | 1712 const MemberOffset offset = field->GetOffset(); in Access() local 1716 return FieldAccessor<ObjPtr<Object>>::Dispatch(access_mode, obj, offset, &getter, result); in Access() 1718 return FieldAccessor<uint8_t>::Dispatch(access_mode, obj, offset, &getter, result); in Access() 1720 return FieldAccessor<int8_t>::Dispatch(access_mode, obj, offset, &getter, result); in Access() 1722 return FieldAccessor<uint16_t>::Dispatch(access_mode, obj, offset, &getter, result); in Access() 1724 return FieldAccessor<int16_t>::Dispatch(access_mode, obj, offset, &getter, result); in Access() 1726 return FieldAccessor<int32_t>::Dispatch(access_mode, obj, offset, &getter, result); in Access() 1728 return FieldAccessor<float>::Dispatch(access_mode, obj, offset, &getter, result); in Access() 1730 return FieldAccessor<int64_t>::Dispatch(access_mode, obj, offset, &getter, result); in Access() 1732 return FieldAccessor<double>::Dispatch(access_mode, obj, offset, &getter, result); in Access()
|
/art/runtime/interpreter/mterp/x86/ |
D | control_flow.S | 16 movswl 2(rPC), rINST # Get signed branch offset
|
/art/libelffile/elf/ |
D | elf_builder.h | 175 off_t Seek(off_t offset, Whence whence) override { in Seek() argument 177 return owner_->stream_.Seek(offset, whence); in Seek() 239 Elf_Word offset = cache_.size(); in Add() local 242 return offset; in Add()
|
/art/test/623-checker-loop-regressions/src/ |
D | Main.java | 73 int offset = 0; in earlyExitNested() local 75 int start = offset; in earlyExitNested() 78 offset++; in earlyExitNested()
|