/art/runtime/ |
D | offsets.h | 28 class Offset { 30 constexpr explicit Offset(size_t val) : val_(val) {} in Offset() function 40 constexpr bool operator==(Offset o) const { 43 constexpr bool operator!=(Offset o) const { 50 std::ostream& operator<<(std::ostream& os, const Offset& offs); 53 class FrameOffset : public Offset { 55 constexpr explicit FrameOffset(size_t val) : Offset(val) {} in FrameOffset() 62 class ThreadOffset : public Offset { 64 constexpr explicit ThreadOffset(size_t val) : Offset(val) {} in ThreadOffset() 71 class MemberOffset : public Offset { [all …]
|
D | image-inl.h | 56 auto* array = reinterpret_cast<LengthPrefixedArray<ArtField>*>(base + fields.Offset() + pos); in VisitPackedArtFields() 72 auto* array = reinterpret_cast<LengthPrefixedArray<ArtMethod>*>(base + methods.Offset() + pos); in VisitPackedArtMethods() 80 auto* method = reinterpret_cast<ArtMethod*>(base + runtime_methods.Offset() + pos); in VisitPackedArtMethods() 92 ImTable* imt = reinterpret_cast<ImTable*>(base + section.Offset() + pos); in VisitPackedImTables() 110 auto* table = reinterpret_cast<ImtConflictTable*>(base + section.Offset() + pos); in VisitPackedImtConflictTables()
|
D | offsets.cc | 23 std::ostream& operator<<(std::ostream& os, const Offset& offs) { in operator <<()
|
/art/compiler/utils/x86_64/ |
D | jni_macro_assembler_x86_64.h | 83 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) override; 107 Offset src_offset, 112 Offset dest_offset, 119 Offset src_offset, 124 Offset dest_offset, 126 Offset src_offset, 131 Offset dest_offset, 133 Offset src_offset, 170 void Jump(ManagedRegister base, Offset offset) override; 173 void Call(ManagedRegister base, Offset offset) override; [all …]
|
D | jni_macro_assembler_x86_64.cc | 305 Offset offs) { in LoadRawPtr() 485 Offset /*src_offset*/, in Copy() 492 Offset dest_offset, in Copy() 504 Offset src_offset, in Copy() 515 Offset dest_offset, in Copy() 517 Offset src_offset, in Copy() 527 Offset dest_offset, in Copy() 529 Offset src_offset, in Copy() 598 void X86_64JNIMacroAssembler::Jump(ManagedRegister mbase, Offset offset) { in Jump() 604 void X86_64JNIMacroAssembler::Call(ManagedRegister mbase, Offset offset) { in Call() [all …]
|
/art/compiler/utils/x86/ |
D | jni_macro_assembler_x86.h | 80 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) override; 102 void Copy(FrameOffset dest, ManagedRegister src_base, Offset src_offset, ManagedRegister scratch, 105 void Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src, ManagedRegister scratch, 108 void Copy(FrameOffset dest, FrameOffset src_base, Offset src_offset, ManagedRegister scratch, 111 void Copy(ManagedRegister dest, Offset dest_offset, ManagedRegister src, Offset src_offset, 114 void Copy(FrameOffset dest, Offset dest_offset, FrameOffset src, Offset src_offset, 150 void Jump(ManagedRegister base, Offset offset) override; 153 void Call(ManagedRegister base, Offset offset) override; 154 void Call(FrameOffset base, Offset offset) override;
|
D | jni_macro_assembler_x86.cc | 269 Offset offs) { in LoadRawPtr() 410 Offset /*src_offset*/, in Copy() 417 Offset dest_offset, in Copy() 429 Offset src_offset, in Copy() 440 Offset dest_offset, in Copy() 442 Offset src_offset, in Copy() 452 Offset dest_offset, in Copy() 454 Offset src_offset, in Copy() 517 void X86JNIMacroAssembler::Jump(ManagedRegister mbase, Offset offset) { in Jump() 523 void X86JNIMacroAssembler::Call(ManagedRegister mbase, Offset offset) { in Call() [all …]
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | HeaderItem.java | 31 public Offset linkOff; 32 public Offset mapOff; 34 public Offset stringIdsOff; 36 public Offset typeIdsOff; 38 public Offset protoIdsOff; 40 public Offset fieldIdsOff; 42 public Offset methodIdsOff; 44 public Offset classDefsOff; 46 public Offset dataOff;
|
D | OffsetTracker.java | 69 private List<Offset> needsAssociationTable; 77 private List<Offset> needsUpdateTable; 108 needsAssociationTable = new ArrayList<Offset>(); in OffsetTracker() 109 needsUpdateTable = new ArrayList<Offset>(); in OffsetTracker() 140 public Offset getNewOffset(int originalOffset) throws IOException { in getNewOffset() 141 Offset offset = new Offset(false); in getNewOffset() 151 public Offset getNewHeaderOffset(int originalOffset) throws IOException { in getNewHeaderOffset() 152 Offset offset = new Offset(true); in getNewHeaderOffset() 162 for (Offset offset : needsAssociationTable) { in associateOffsets() 204 public void tryToWriteOffset(Offset offset, DexRandomAccessFile file, boolean useUleb128) in tryToWriteOffset() [all …]
|
D | ClassDefItem.java | 27 public Offset interfacesOff; 29 public Offset annotationsOff; 30 public Offset classDataOff; 31 public Offset staticValuesOff;
|
D | Offset.java | 21 public class Offset { class 66 public Offset(boolean header) { in Offset() method in Offset
|
D | AnnotationSetRefItem.java | 22 public Offset annotationsOff;
|
D | AnnotationOffItem.java | 22 public Offset annotationOff;
|
D | StringIdItem.java | 22 public Offset stringDataOff;
|
D | MethodAnnotation.java | 23 public Offset annotationsOff;
|
D | FieldAnnotation.java | 23 public Offset annotationsOff;
|
D | ParameterAnnotation.java | 23 public Offset annotationsOff;
|
D | ProtoIdItem.java | 24 public Offset parametersOff;
|
D | MapItem.java | 43 public Offset offset;
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.h | 91 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) override; 116 Offset src_offset, 121 Offset dest_offset, 128 Offset src_offset, 133 Offset dest_offset, 135 Offset src_offset, 140 Offset dest_offset, 142 Offset src_offset, 177 void Jump(ManagedRegister base, Offset offset) override; 180 void Call(ManagedRegister base, Offset offset) override; [all …]
|
/art/compiler/utils/arm64/ |
D | jni_macro_assembler_arm64.h | 84 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) override; 101 Offset src_offset, 105 Offset dest_offset, 111 Offset src_offset, 115 Offset dest_offset, 117 Offset src_offset, 121 Offset dest_offset, 123 Offset src_offset, 159 void Jump(ManagedRegister base, Offset offset) override; 162 void Call(ManagedRegister base, Offset offset) override; [all …]
|
/art/compiler/utils/ |
D | jni_macro_assembler.h | 144 virtual void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) = 0; 169 Offset src_offset, 174 Offset dest_offset, 181 Offset src_offset, 186 Offset dest_offset, 188 Offset src_offset, 193 Offset dest_offset, 195 Offset src_offset, 232 virtual void Jump(ManagedRegister base, Offset offset) = 0; 235 virtual void Call(ManagedRegister base, Offset offset) = 0; [all …]
|
/art/runtime/jni/ |
D | jni_env_ext.cc | 154 Offset JNIEnvExt::SegmentStateOffset(size_t pointer_size) { in SegmentStateOffset() 161 return Offset(locals_offset + irt_segment_state_offset); in SegmentStateOffset() 164 Offset JNIEnvExt::LocalRefCookieOffset(size_t pointer_size) { in LocalRefCookieOffset() 165 return Offset(JNIEnvSize(pointer_size) + in LocalRefCookieOffset() 169 Offset JNIEnvExt::SelfOffset(size_t pointer_size) { in SelfOffset() 170 return Offset(JNIEnvSize(pointer_size)); in SelfOffset()
|
D | jni_env_ext.h | 49 static Offset SegmentStateOffset(size_t pointer_size); 50 static Offset LocalRefCookieOffset(size_t pointer_size); 51 static Offset SelfOffset(size_t pointer_size);
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 99 __ JumpTo(Arm64ManagedRegister::FromXRegister(X0), Offset(offset.Int32Value()), in CreateTrampoline() 106 Offset(JNIEnvExt::SelfOffset(8).Int32Value())); in CreateTrampoline() 108 __ JumpTo(Arm64ManagedRegister::FromXRegister(IP1), Offset(offset.Int32Value()), in CreateTrampoline() 113 __ JumpTo(Arm64ManagedRegister::FromXRegister(TR), Offset(offset.Int32Value()), in CreateTrampoline()
|