Home
last modified time | relevance | path

Searched refs:Offset (Results 1 – 25 of 63) sorted by relevance

123

/art/runtime/
Doffsets.h28 class Offset {
30 constexpr explicit Offset(size_t val) : val_(val) {} in Offset() function
44 std::ostream& operator<<(std::ostream& os, const Offset& offs);
47 class FrameOffset : public Offset {
49 constexpr explicit FrameOffset(size_t val) : Offset(val) {} in FrameOffset()
56 class ThreadOffset : public Offset {
58 constexpr explicit ThreadOffset(size_t val) : Offset(val) {} in ThreadOffset()
65 class MemberOffset : public Offset {
67 constexpr explicit MemberOffset(size_t val) : Offset(val) {} in MemberOffset()
Dimage-inl.h56 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()
Doffsets.cc23 std::ostream& operator<<(std::ostream& os, const Offset& offs) { in operator <<()
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DHeaderItem.java31 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;
DOffsetTracker.java69 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 …]
DClassDefItem.java27 public Offset interfacesOff;
29 public Offset annotationsOff;
30 public Offset classDataOff;
31 public Offset staticValuesOff;
DOffset.java21 public class Offset { class
66 public Offset(boolean header) { in Offset() method in Offset
DAnnotationOffItem.java22 public Offset annotationOff;
DAnnotationSetRefItem.java22 public Offset annotationsOff;
DStringIdItem.java22 public Offset stringDataOff;
DFieldAnnotation.java23 public Offset annotationsOff;
DMethodAnnotation.java23 public Offset annotationsOff;
DParameterAnnotation.java23 public Offset annotationsOff;
DProtoIdItem.java24 public Offset parametersOff;
/art/compiler/utils/x86/
Djni_macro_assembler_x86.h84 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 Call(ManagedRegister base, Offset offset, ManagedRegister scratch) override;
151 void Call(FrameOffset base, Offset offset, ManagedRegister scratch) override;
Djni_macro_assembler_x86.cc262 Offset offs) { in LoadRawPtr()
364 Offset /*src_offset*/, in Copy()
371 Offset dest_offset, in Copy()
383 Offset src_offset, in Copy()
394 Offset dest_offset, in Copy()
396 Offset src_offset, in Copy()
406 Offset dest_offset, in Copy()
408 Offset src_offset, in Copy()
490 void X86JNIMacroAssembler::Call(ManagedRegister mbase, Offset offset, ManagedRegister) { in Call()
497 void X86JNIMacroAssembler::Call(FrameOffset base, Offset offset, ManagedRegister mscratch) { in Call()
/art/compiler/utils/x86_64/
Djni_macro_assembler_x86_64.h89 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) override;
109 Offset src_offset,
114 Offset dest_offset,
121 Offset src_offset,
126 Offset dest_offset,
128 Offset src_offset,
133 Offset dest_offset,
135 Offset src_offset,
176 void Call(ManagedRegister base, Offset offset, ManagedRegister scratch) override;
177 void Call(FrameOffset base, Offset offset, ManagedRegister scratch) override;
Djni_macro_assembler_x86_64.cc310 Offset offs) { in LoadRawPtr()
415 Offset /*src_offset*/, in Copy()
422 Offset dest_offset, in Copy()
434 Offset src_offset, in Copy()
445 Offset dest_offset, in Copy()
447 Offset src_offset, in Copy()
457 Offset dest_offset, in Copy()
459 Offset src_offset, in Copy()
547 void X86_64JNIMacroAssembler::Call(ManagedRegister mbase, Offset offset, ManagedRegister) { in Call()
554 void X86_64JNIMacroAssembler::Call(FrameOffset base, Offset offset, ManagedRegister mscratch) { in Call()
/art/compiler/utils/arm/
Djni_macro_assembler_arm_vixl.h97 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) override;
118 Offset src_offset,
123 Offset dest_offset,
130 Offset src_offset,
135 Offset dest_offset,
137 Offset src_offset,
142 Offset dest_offset,
144 Offset src_offset,
185 void Call(ManagedRegister base, Offset offset, ManagedRegister scratch) override;
186 void Call(FrameOffset base, Offset offset, ManagedRegister scratch) override;
/art/compiler/utils/
Djni_macro_assembler.h113 virtual void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) = 0;
134 Offset src_offset,
139 Offset dest_offset,
146 Offset src_offset,
151 Offset dest_offset,
153 Offset src_offset,
158 Offset dest_offset,
160 Offset src_offset,
201 virtual void Call(ManagedRegister base, Offset offset, ManagedRegister scratch) = 0;
202 virtual void Call(FrameOffset base, Offset offset, ManagedRegister scratch) = 0;
/art/compiler/utils/arm64/
Djni_macro_assembler_arm64.h90 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) override;
104 Offset src_offset,
108 Offset dest_offset,
114 Offset src_offset,
118 Offset dest_offset,
120 Offset src_offset,
124 Offset dest_offset,
126 Offset src_offset,
166 void Call(ManagedRegister base, Offset offset, ManagedRegister scratch) override;
167 void Call(FrameOffset base, Offset offset, ManagedRegister scratch) override;
Dassembler_arm64.h86 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs);
92 void JumpTo(ManagedRegister m_base, Offset offs, ManagedRegister m_scratch);
/art/runtime/jni/
Djni_env_ext.cc154 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()
Djni_env_ext.h45 static Offset SegmentStateOffset(size_t pointer_size);
46 static Offset LocalRefCookieOffset(size_t pointer_size);
47 static Offset SelfOffset(size_t pointer_size);
/art/compiler/trampolines/
Dtrampoline_compiler.cc107 __ JumpTo(Arm64ManagedRegister::FromXRegister(X0), Offset(offset.Int32Value()), in CreateTrampoline()
114 Offset(JNIEnvExt::SelfOffset(8).Int32Value())); in CreateTrampoline()
116 __ JumpTo(Arm64ManagedRegister::FromXRegister(IP1), Offset(offset.Int32Value()), in CreateTrampoline()
121 __ JumpTo(Arm64ManagedRegister::FromXRegister(TR), Offset(offset.Int32Value()), in CreateTrampoline()

123