Home
last modified time | relevance | path

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

123456789

/art/runtime/interpreter/
Dcfi_asm_support.h48 #define CFI_DEF_CFA_BREG_PLUS_UCONST_1_1(reg, offset, size) .cfi_escape \ argument
54 #define CFI_DEF_CFA_BREG_PLUS_UCONST_1_2(reg, offset, size) .cfi_escape \ argument
62 #define CFI_EXPRESSION_BREG_1(n, b, offset) .cfi_escape \ argument
69 #define CFI_EXPRESSION_BREG_2(n, b, offset) .cfi_escape \ argument
80 #define CFI_DEF_CFA_BREG_PLUS_UCONST_1_1(reg, offset, size) argument
81 #define CFI_DEF_CFA_BREG_PLUS_UCONST_1_2(reg, offset, size) argument
82 #define CFI_EXPRESSION_BREG_1(n, b, offset) argument
83 #define CFI_EXPRESSION_BREG_2(n, b, offset) argument
/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/runtime/arch/arm64/
Dasm_support_arm64.S45 .macro CFI_EXPRESSION_BREG n, b, offset
78 .macro CFI_RESTORE_STATE_AND_DEF_CFA reg, offset
136 .macro SAVE_REG reg, offset
141 .macro RESTORE_REG_BASE base, reg, offset
146 .macro RESTORE_REG reg, offset
150 .macro SAVE_TWO_REGS_BASE base, reg1, reg2, offset
156 .macro SAVE_TWO_REGS reg1, reg2, offset
160 .macro RESTORE_TWO_REGS_BASE base, reg1, reg2, offset
166 .macro RESTORE_TWO_REGS reg1, reg2, offset
323 .macro SAVE_ALL_CALLEE_SAVES offset argument
/art/runtime/arch/riscv64/
Dasm_support_riscv64.S57 .macro CFI_RESTORE_STATE_AND_DEF_CFA reg, offset
75 .macro SAVE_GPR reg, offset
81 .macro RESTORE_GPR reg, offset
87 .macro SAVE_FPR reg, offset
93 .macro RESTORE_FPR reg, offset
203 .macro SETUP_CALLEE_SAVE_FRAME_COMMON tmpreg, offset
/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()
/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/runtime/native/
Djdk_internal_misc_Unsafe.cc55 static jboolean Unsafe_compareAndSetInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_compareAndSetInt()
68 static jboolean Unsafe_compareAndSwapInt(JNIEnv* env, jobject obj, jobject javaObj, jlong offset, in Unsafe_compareAndSwapInt()
76 static jboolean Unsafe_compareAndSetLong(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_compareAndSetLong()
87 static jboolean Unsafe_compareAndSwapLong(JNIEnv* env, jobject obj, jobject javaObj, jlong offset, in Unsafe_compareAndSwapLong()
98 jlong offset, in Unsafe_compareAndSetReference()
127 static jboolean Unsafe_compareAndSwapObject(JNIEnv* env, jobject obj, jobject javaObj, jlong offset, in Unsafe_compareAndSwapObject()
135 static jint Unsafe_getInt(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getInt()
141 static jint Unsafe_getIntVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getIntVolatile()
147 static void Unsafe_putInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, jint newValue) { in Unsafe_putInt()
154 static void Unsafe_putIntVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putIntVolatile()
[all …]
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.cc33 static void CharsetUtils_asciiBytesToChars(JNIEnv* env, jclass, jbyteArray javaBytes, jint offset, in CharsetUtils_asciiBytesToChars()
58 static jbyteArray charsToBytes(JNIEnv* env, jstring java_string, jint offset, jint length, in charsToBytes()
86 static jbyteArray CharsetUtils_toAsciiBytes(JNIEnv* env, jclass, jstring java_string, jint offset, in CharsetUtils_toAsciiBytes()
92 jint offset, jint length) { in CharsetUtils_toIsoLatin1Bytes()
96 static jbyteArray CharsetUtils_toUtf8Bytes(JNIEnv* env, jclass, jstring java_string, jint offset, in CharsetUtils_toUtf8Bytes()
/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/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/mirror/
Dstring-alloc-inl.h59 SetStringCountAndBytesVisitor(int32_t count, Handle<ByteArray> src_array, int32_t offset, in SetStringCountAndBytesVisitor()
95 SetStringCountAndUtf16BytesVisitor(int32_t count, Handle<ByteArray> src_array, int32_t offset) in SetStringCountAndUtf16BytesVisitor()
131 int32_t offset) : in SetStringCountAndValueVisitorFromCharArray()
162 int32_t offset) : in SetStringCountAndValueVisitorFromString()
249 int32_t offset, in AllocFromByteArray()
267 int32_t offset, in AllocFromUtf16ByteArray()
291 int32_t offset, in AllocFromCharArray()
306 int32_t offset, in AllocFromString()
/art/runtime/
Doat.cc216 static const void* GetTrampoline(const OatHeader& header, uint32_t offset) { in GetTrampoline()
229 void OatHeader::SetJniDlsymLookupTrampolineOffset(uint32_t offset) { in SetJniDlsymLookupTrampolineOffset()
245 void OatHeader::SetJniDlsymLookupCriticalTrampolineOffset(uint32_t offset) { in SetJniDlsymLookupCriticalTrampolineOffset()
262 void OatHeader::SetQuickGenericJniTrampolineOffset(uint32_t offset) { in SetQuickGenericJniTrampolineOffset()
280 void OatHeader::SetQuickImtConflictTrampolineOffset(uint32_t offset) { in SetQuickImtConflictTrampolineOffset()
298 void OatHeader::SetQuickResolutionTrampolineOffset(uint32_t offset) { in SetQuickResolutionTrampolineOffset()
316 void OatHeader::SetQuickToInterpreterBridgeOffset(uint32_t offset) { in SetQuickToInterpreterBridgeOffset()
334 void OatHeader::SetNterpTrampolineOffset(uint32_t offset) { in SetNterpTrampolineOffset()
Doat_quick_method_header.h84 uint32_t offset = GetCodeInfoOffset(); in GetOptimizedCodeInfoPtr() local
90 uint32_t offset = GetCodeInfoOffset(); in GetOptimizedCodeInfoPtr() local
110 void SetCodeInfoOffset(uint32_t offset) { in SetCodeInfoOffset()
/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
/art/compiler/utils/arm/
Dassembler_arm_vixl.cc133 int32_t offset, in CanSplitLoadStoreOffset()
148 int32_t offset) { in AdjustLoadStoreOffset()
202 static bool CanHoldLoadOffsetThumb(LoadOperandType type, int offset) { in CanHoldLoadOffsetThumb()
222 static bool CanHoldStoreOffsetThumb(StoreOperandType type, int offset) { in CanHoldStoreOffsetThumb()
245 int32_t offset) { in StoreToOffset()
303 int32_t offset) { in LoadFromOffset()
356 int32_t offset) { in StoreSToOffset()
362 int32_t offset) { in StoreDToOffset()
368 int32_t offset) { in LoadSFromOffset()
374 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/libdexfile/dex/
Dcompact_offset_table.cc37 const uint32_t offset = table_[index / kElementsPerIndex]; in GetOffset() local
80 for (const uint32_t offset : offsets) { in Build() local
112 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()
627 size_t offset = 0; in Compare() local
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2.cc161 void Thumb2RelativePatcher::SetInsn32(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn32()
171 uint32_t Thumb2RelativePatcher::GetInsn32(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn32()
183 uint32_t Thumb2RelativePatcher::GetInsn32(Vector* code, uint32_t offset) { in GetInsn32()
188 uint32_t Thumb2RelativePatcher::GetInsn16(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn16()
196 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()

123456789