Home
last modified time | relevance | path

Searched defs:offset (Results 1 – 25 of 208) sorted by relevance

123456789

/art/libartbase/base/
Dmemory_region.h62 ALWAYS_INLINE T Load(uintptr_t offset) const { in Load()
72 ALWAYS_INLINE void Store(uintptr_t offset, T value) const { in Store()
81 ALWAYS_INLINE T LoadUnaligned(uintptr_t offset) const { in LoadUnaligned()
96 ALWAYS_INLINE void StoreUnaligned(uintptr_t offset, T value) const { in StoreUnaligned()
108 ALWAYS_INLINE T* PointerTo(uintptr_t offset) const { in PointerTo()
115 void CopyFromVector(size_t offset, Vector& vector) const { in CopyFromVector()
122 ALWAYS_INLINE MemoryRegion Subregion(uintptr_t offset, uintptr_t size_in) const { in Subregion()
136 ALWAYS_INLINE T* ComputeInternalPointer(size_t offset) const { in ComputeInternalPointer()
Dmemory_region.cc24 void MemoryRegion::CopyFrom(size_t offset, const MemoryRegion& from) const { in CopyFrom()
/art/libelffile/dwarf/
Ddebug_frame_opcode_writer.h73 void ALWAYS_INLINE RelOffset(Reg reg, int offset) { in RelOffset()
84 int32_t offset, in RelOffsetForMany()
119 void ALWAYS_INLINE Offset(Reg reg, int offset) { in Offset()
193 void ALWAYS_INLINE DefCFA(Reg reg, int offset) { in DefCFA()
218 void ALWAYS_INLINE DefCFAOffset(int offset) { in DefCFAOffset()
236 void ALWAYS_INLINE ValOffset(Reg reg, int offset) { in ValOffset()
298 void SetCurrentCFAOffset(int offset) { current_cfa_offset_ = offset; } in SetCurrentCFAOffset()
320 int FactorDataOffset(int offset) const { in FactorDataOffset()
325 int FactorCodeOffset(int offset) const { in FactorCodeOffset()
Dwriter.h131 void UpdateUint32(size_t offset, uint32_t value) { in UpdateUint32()
139 void UpdateUint64(size_t offset, uint64_t value) { in UpdateUint64()
151 void UpdateUleb128(size_t offset, uint32_t value) { in UpdateUleb128()
/art/dex2oat/linker/x86/
Drelative_patcher_x86_base.cc25 uint32_t offset, in ReserveSpace()
31 uint32_t X86BaseRelativePatcher::ReserveSpaceEnd(uint32_t offset) { in ReserveSpaceEnd()
35 uint32_t X86BaseRelativePatcher::WriteThunks(OutputStream* out ATTRIBUTE_UNUSED, uint32_t offset) { in WriteThunks()
/art/compiler/trampolines/
Dtrampoline_compiler.cc53 ArenaAllocator* allocator, EntryPointCallingConvention abi, ThreadOffset32 offset) { in CreateTrampoline()
94 ArenaAllocator* allocator, EntryPointCallingConvention abi, ThreadOffset64 offset) { in CreateTrampoline()
133 ThreadOffset32 offset) { in CreateTrampoline()
154 ThreadOffset64 offset) { in CreateTrampoline()
174 ThreadOffset64 offset) { in CreateTrampoline64()
196 ThreadOffset32 offset) { in CreateTrampoline32()
/art/runtime/arch/arm64/
Dasm_support_arm64.S96 .macro SAVE_REG reg, offset
101 .macro RESTORE_REG reg, offset
106 .macro SAVE_TWO_REGS_BASE base, reg1, reg2, offset
112 .macro SAVE_TWO_REGS reg1, reg2, offset
116 .macro RESTORE_TWO_REGS_BASE base, reg1, reg2, offset
122 .macro RESTORE_TWO_REGS reg1, reg2, offset
/art/runtime/native/
Dsun_misc_Unsafe.cc41 static jboolean Unsafe_compareAndSwapInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_compareAndSwapInt()
54 static jboolean Unsafe_compareAndSwapLong(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_compareAndSwapLong()
65 static jboolean Unsafe_compareAndSwapObject(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_compareAndSwapObject()
93 static jint Unsafe_getInt(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getInt()
99 static jint Unsafe_getIntVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getIntVolatile()
105 static void Unsafe_putInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, jint newValue) { in Unsafe_putInt()
112 static void Unsafe_putIntVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putIntVolatile()
120 static void Unsafe_putOrderedInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putOrderedInt()
130 static jlong Unsafe_getLong(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getLong()
136 static jlong Unsafe_getLongVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getLongVolatile()
[all …]
Dlibcore_util_CharsetUtils.cc114 static void CharsetUtils_asciiBytesToChars(JNIEnv* env, jclass, jbyteArray javaBytes, jint offset, in CharsetUtils_asciiBytesToChars()
135 jint offset, jint length, jcharArray javaChars) { in CharsetUtils_isoLatin1BytesToChars()
157 static jbyteArray charsToBytes(JNIEnv* env, jstring java_string, jint offset, jint length, in charsToBytes()
184 static jbyteArray CharsetUtils_toAsciiBytes(JNIEnv* env, jclass, jstring java_string, jint offset, in CharsetUtils_toAsciiBytes()
190 jint offset, jint length) { in CharsetUtils_toIsoLatin1Bytes()
194 static jbyteArray CharsetUtils_toUtf8Bytes(JNIEnv* env, jclass, jstring java_string, jint offset, in CharsetUtils_toUtf8Bytes()
/art/test/004-checker-UnsafeTest18/src/
DMain.java53 private static int set32(Object o, long offset, int newValue) { in set32()
60 private static long set64(Object o, long offset, long newValue) { in set64()
67 private static Object setObj(Object o, long offset, Object newValue) { in setObj()
78 private static int add32(Object o, long offset, int delta) { in add32()
85 private static long add64(Object o, long offset, long delta) { in add64()
/art/runtime/gc/accounting/
Dspace_bitmap.h67 static constexpr size_t OffsetToIndex(size_t offset) { in OffsetToIndex()
81 ALWAYS_INLINE static constexpr uintptr_t OffsetBitIndex(uintptr_t offset) { in OffsetBitIndex()
87 static constexpr uintptr_t OffsetToMask(uintptr_t offset) { in OffsetToMask()
122 const uintptr_t offset = reinterpret_cast<uintptr_t>(obj) - heap_begin_; in HasAddress() local
Dspace_bitmap-inl.h37 const uintptr_t offset = addr - heap_begin_; in AtomicTestAndSet() local
61 const uintptr_t offset = addr - heap_begin_; in Test() local
191 const uintptr_t offset = addr - heap_begin_; in Modify() local
/art/compiler/utils/arm/
Dassembler_arm_vixl.cc135 int32_t offset, in CanSplitLoadStoreOffset()
150 int32_t offset) { in AdjustLoadStoreOffset()
204 static bool CanHoldLoadOffsetThumb(LoadOperandType type, int offset) { in CanHoldLoadOffsetThumb()
224 static bool CanHoldStoreOffsetThumb(StoreOperandType type, int offset) { in CanHoldStoreOffsetThumb()
247 int32_t offset) { in StoreToOffset()
305 int32_t offset) { in LoadFromOffset()
358 int32_t offset) { in StoreSToOffset()
364 int32_t offset) { in StoreDToOffset()
370 int32_t offset) { in LoadSFromOffset()
376 int32_t offset) { in LoadDFromOffset()
/art/dex2oat/linker/
Dmulti_oat_relative_patcher.h65 void SetOffset(MethodReference method_ref, uint32_t offset) { in SetOffset()
70 uint32_t ReserveSpace(uint32_t offset, in ReserveSpace()
80 uint32_t ReserveSpaceEnd(uint32_t offset) { in ReserveSpaceEnd()
88 uint32_t WriteThunks(OutputStream* out, uint32_t offset) { in WriteThunks()
Drelative_patcher.cc46 uint32_t ReserveSpace(uint32_t offset, in Create()
52 uint32_t ReserveSpaceEnd(uint32_t offset) override { in Create()
56 uint32_t WriteThunks(OutputStream* out ATTRIBUTE_UNUSED, uint32_t offset) override { in Create()
/art/runtime/
Doat.cc201 static const void* GetTrampoline(const OatHeader& header, uint32_t offset) { in GetTrampoline()
214 void OatHeader::SetJniDlsymLookupTrampolineOffset(uint32_t offset) { in SetJniDlsymLookupTrampolineOffset()
230 void OatHeader::SetJniDlsymLookupCriticalTrampolineOffset(uint32_t offset) { in SetJniDlsymLookupCriticalTrampolineOffset()
247 void OatHeader::SetQuickGenericJniTrampolineOffset(uint32_t offset) { in SetQuickGenericJniTrampolineOffset()
265 void OatHeader::SetQuickImtConflictTrampolineOffset(uint32_t offset) { in SetQuickImtConflictTrampolineOffset()
283 void OatHeader::SetQuickResolutionTrampolineOffset(uint32_t offset) { in SetQuickResolutionTrampolineOffset()
301 void OatHeader::SetQuickToInterpreterBridgeOffset(uint32_t offset) { in SetQuickToInterpreterBridgeOffset()
/art/runtime/interpreter/
Dcfi_asm_support.h48 #define CFI_DEFINE_CFA_DEREF(reg, offset, size) .cfi_escape \ argument
56 #define CFI_DEFINE_CFA_DEREF(reg, offset) argument
/art/runtime/mirror/
Dstring-alloc-inl.h58 SetStringCountAndBytesVisitor(int32_t count, Handle<ByteArray> src_array, int32_t offset, in SetStringCountAndBytesVisitor()
95 int32_t offset) : in SetStringCountAndValueVisitorFromCharArray()
126 int32_t offset) : in SetStringCountAndValueVisitorFromString()
213 int32_t offset, in AllocFromByteArray()
229 int32_t offset, in AllocFromCharArray()
244 int32_t offset, in AllocFromString()
/art/libdexfile/dex/
Dcompact_offset_table.cc39 const uint32_t offset = table_[index / kElementsPerIndex]; in GetOffset() local
82 for (const uint32_t offset : offsets) { in Build() local
114 const uint32_t offset = offsets[block_start + i]; in Build() local
Ddex_file_exception_helpers.cc26 int32_t offset = -1; in CatchHandlerIterator() local
58 void CatchHandlerIterator::Init(const CodeItemDataAccessor& accessor, int32_t offset) { in Init()
/art/libartbase/base/unix_file/
Dfd_file.cc70 static ssize_t pread(int fd, void* data, size_t byte_count, off64_t offset) { in pread()
99 static ssize_t pwrite(int fd, const void* buf, size_t count, off64_t offset) { in pwrite()
388 int64_t FdFile::Write(const char* buf, int64_t byte_count, int64_t offset) { in Write()
415 static ssize_t ReadIgnoreOffset(int fd, void *buf, size_t count, off_t offset) { in ReadIgnoreOffset()
421 static bool ReadFullyGeneric(int fd, void* buffer, size_t byte_count, size_t offset) { in ReadFullyGeneric()
441 bool FdFile::PreadFully(void* buffer, size_t byte_count, size_t offset) { in PreadFully()
446 bool FdFile::WriteFullyGeneric(const void* buffer, size_t byte_count, size_t offset) { in WriteFullyGeneric()
465 bool FdFile::PwriteFully(const void* buffer, size_t byte_count, size_t offset) { in PwriteFully()
473 bool FdFile::Copy(FdFile* input_file, int64_t offset, int64_t size) { in Copy()
626 size_t offset = 0; in Compare() local
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2.cc162 void Thumb2RelativePatcher::SetInsn32(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn32()
172 uint32_t Thumb2RelativePatcher::GetInsn32(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn32()
184 uint32_t Thumb2RelativePatcher::GetInsn32(Vector* code, uint32_t offset) { in GetInsn32()
189 uint32_t Thumb2RelativePatcher::GetInsn16(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn16()
197 uint32_t Thumb2RelativePatcher::GetInsn16(Vector* code, uint32_t offset) { in GetInsn16()
Drelative_patcher_arm_base.cc90 uint32_t ReserveOffset(size_t offset) { in ReserveOffset()
168 uint32_t ArmBaseRelativePatcher::ReserveSpace(uint32_t offset, in ReserveSpace()
174 uint32_t ArmBaseRelativePatcher::ReserveSpaceEnd(uint32_t offset) { in ReserveSpaceEnd()
193 uint32_t ArmBaseRelativePatcher::WriteThunks(OutputStream* out, uint32_t offset) { in WriteThunks()
291 uint32_t ArmBaseRelativePatcher::ReserveSpaceInternal(uint32_t offset, in ReserveSpaceInternal()
372 uint32_t offset = data.LastWrittenOffset(); in GetThunkTargetOffset() local
379 uint32_t offset = data.GetPendingOffset(); in GetThunkTargetOffset() local
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DOffsetTracker.java117 public RawDexObject getItemByOffset(int offset) { in getItemByOffset()
141 Offset offset = new Offset(false); in getNewOffset() local
152 Offset offset = new Offset(true); in getNewHeaderOffset() local
204 public void tryToWriteOffset(Offset offset, DexRandomAccessFile file, boolean useUleb128) in tryToWriteOffset()
291 private void updateHeaderOffsetIfValid(Offset offset, Offsettable previousFirst, in updateHeaderOffsetIfValid()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc100 uint32_t Arm64RelativePatcher::ReserveSpace(uint32_t offset, in ReserveSpace()
149 uint32_t Arm64RelativePatcher::ReserveSpaceEnd(uint32_t offset) { in ReserveSpaceEnd()
164 uint32_t Arm64RelativePatcher::WriteThunks(OutputStream* out, uint32_t offset) { in WriteThunks()
426 void Arm64RelativePatcher::SetInsn(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn()
436 uint32_t Arm64RelativePatcher::GetInsn(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn()
448 uint32_t Arm64RelativePatcher::GetInsn(std::vector<uint8_t, Alloc>* code, uint32_t offset) { in GetInsn()

123456789