Home
last modified time | relevance | path

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

1234567

/art/runtime/native/
Dsun_misc_Unsafe.cc28 static jboolean Unsafe_compareAndSwapInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_compareAndSwapInt()
38 static jboolean Unsafe_compareAndSwapLong(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_compareAndSwapLong()
48 static jboolean Unsafe_compareAndSwapObject(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_compareAndSwapObject()
60 static jint Unsafe_getInt(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getInt()
66 static jint Unsafe_getIntVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getIntVolatile()
72 static void Unsafe_putInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, jint newValue) { in Unsafe_putInt()
79 static void Unsafe_putIntVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putIntVolatile()
87 static void Unsafe_putOrderedInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, in Unsafe_putOrderedInt()
96 static jlong Unsafe_getLong(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getLong()
102 static jlong Unsafe_getLongVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getLongVolatile()
[all …]
Dlibcore_util_CharsetUtils.cc110 static void CharsetUtils_asciiBytesToChars(JNIEnv* env, jclass, jbyteArray javaBytes, jint offset, in CharsetUtils_asciiBytesToChars()
131 jint offset, jint length, jcharArray javaChars) { in CharsetUtils_isoLatin1BytesToChars()
153 static jbyteArray charsToBytes(JNIEnv* env, jstring java_string, jint offset, jint length, in charsToBytes()
181 static jbyteArray CharsetUtils_toAsciiBytes(JNIEnv* env, jclass, jstring java_string, jint offset, in CharsetUtils_toAsciiBytes()
187 jint offset, jint length) { in CharsetUtils_toIsoLatin1Bytes()
191 static jbyteArray CharsetUtils_toUtf8Bytes(JNIEnv* env, jclass, jstring java_string, jint offset, in CharsetUtils_toUtf8Bytes()
/art/compiler/dwarf/
Ddebug_frame_opcode_writer.h71 void ALWAYS_INLINE RelOffset(Reg reg, int offset) { in RelOffset()
81 void ALWAYS_INLINE RelOffsetForMany(Reg reg_base, int offset, in RelOffsetForMany()
115 void ALWAYS_INLINE Offset(Reg reg, int offset) { in Offset()
189 void ALWAYS_INLINE DefCFA(Reg reg, int offset) { in DefCFA()
214 void ALWAYS_INLINE DefCFAOffset(int offset) { in DefCFAOffset()
232 void ALWAYS_INLINE ValOffset(Reg reg, int offset) { in ValOffset()
289 void SetCurrentCFAOffset(int offset) { current_cfa_offset_ = offset; } in SetCurrentCFAOffset()
310 int FactorDataOffset(int offset) const { in FactorDataOffset()
315 int FactorCodeOffset(int offset) const { in FactorCodeOffset()
Dwriter.h124 void UpdateUint32(size_t offset, uint32_t value) { in UpdateUint32()
132 void UpdateUint64(size_t offset, uint64_t value) { in UpdateUint64()
144 void UpdateUleb128(size_t offset, uint32_t value) { in UpdateUleb128()
/art/compiler/trampolines/
Dtrampoline_compiler.cc33 ThreadOffset<4> offset) { in CreateTrampoline()
60 ThreadOffset<8> offset) { in CreateTrampoline()
97 ThreadOffset<4> offset) { in CreateTrampoline()
126 ThreadOffset<8> offset) { in CreateTrampoline()
154 static const std::vector<uint8_t>* CreateTrampoline(ThreadOffset<4> offset) { in CreateTrampoline()
171 static const std::vector<uint8_t>* CreateTrampoline(ThreadOffset<8> offset) { in CreateTrampoline()
189 ThreadOffset<8> offset) { in CreateTrampoline64()
204 ThreadOffset<4> offset) { in CreateTrampoline32()
/art/runtime/
Dmemory_region.h55 ALWAYS_INLINE T Load(uintptr_t offset) const { in Load()
65 ALWAYS_INLINE void Store(uintptr_t offset, T value) const { in Store()
74 ALWAYS_INLINE T LoadUnaligned(uintptr_t offset) const { in LoadUnaligned()
89 ALWAYS_INLINE void StoreUnaligned(uintptr_t offset, T value) const { in StoreUnaligned()
101 ALWAYS_INLINE T* PointerTo(uintptr_t offset) const { in PointerTo()
151 MemoryRegion Subregion(uintptr_t offset, uintptr_t size_in) const { in Subregion()
165 ALWAYS_INLINE T* ComputeInternalPointer(size_t offset) const { in ComputeInternalPointer()
Doat_file-inl.h86 uint32_t offset = reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].gc_map_offset_; in GetGcMap() local
137 uint32_t offset = reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].mapping_table_offset_; in GetMappingTable() local
149 uint32_t offset = reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].vmap_table_offset_; in GetVmapTable() local
Doat.cc216 void OatHeader::SetInterpreterToInterpreterBridgeOffset(uint32_t offset) { in SetInterpreterToInterpreterBridgeOffset()
235 void OatHeader::SetInterpreterToCompiledCodeBridgeOffset(uint32_t offset) { in SetInterpreterToCompiledCodeBridgeOffset()
254 void OatHeader::SetJniDlsymLookupOffset(uint32_t offset) { in SetJniDlsymLookupOffset()
273 void OatHeader::SetQuickGenericJniTrampolineOffset(uint32_t offset) { in SetQuickGenericJniTrampolineOffset()
292 void OatHeader::SetQuickImtConflictTrampolineOffset(uint32_t offset) { in SetQuickImtConflictTrampolineOffset()
311 void OatHeader::SetQuickResolutionTrampolineOffset(uint32_t offset) { in SetQuickResolutionTrampolineOffset()
330 void OatHeader::SetQuickToInterpreterBridgeOffset(uint32_t offset) { in SetQuickToInterpreterBridgeOffset()
Dtransaction.cc301 void Transaction::ObjectLog::LogBooleanValue(MemberOffset offset, uint8_t value, bool is_volatile) { in LogBooleanValue()
305 void Transaction::ObjectLog::LogByteValue(MemberOffset offset, int8_t value, bool is_volatile) { in LogByteValue()
309 void Transaction::ObjectLog::LogCharValue(MemberOffset offset, uint16_t value, bool is_volatile) { in LogCharValue()
313 void Transaction::ObjectLog::LogShortValue(MemberOffset offset, int16_t value, bool is_volatile) { in LogShortValue()
317 void Transaction::ObjectLog::Log32BitsValue(MemberOffset offset, uint32_t value, bool is_volatile) { in Log32BitsValue()
321 void Transaction::ObjectLog::Log64BitsValue(MemberOffset offset, uint64_t value, bool is_volatile) { in Log64BitsValue()
325 void Transaction::ObjectLog::LogReferenceValue(MemberOffset offset, mirror::Object* obj, bool is_vo… in LogReferenceValue()
330 MemberOffset offset, uint64_t value, bool is_volatile) { in LogValue()
Dmemory_region.cc27 void MemoryRegion::CopyFrom(size_t offset, const MemoryRegion& from) const { in CopyFrom()
/art/compiler/linker/x86/
Drelative_patcher_x86_base.cc23 uint32_t offset, in ReserveSpace()
29 uint32_t X86BaseRelativePatcher::ReserveSpaceEnd(uint32_t offset) { in ReserveSpaceEnd()
33 uint32_t X86BaseRelativePatcher::WriteThunks(OutputStream* out ATTRIBUTE_UNUSED, uint32_t offset) { in WriteThunks()
/art/runtime/interpreter/
Dinterpreter_switch_impl.cc513 int8_t offset = inst->VRegA_10t(inst_data); in ExecuteSwitchImpl() local
522 int16_t offset = inst->VRegA_20t(); in ExecuteSwitchImpl() local
531 int32_t offset = inst->VRegA_30t(); in ExecuteSwitchImpl() local
540 int32_t offset = DoPackedSwitch(inst, shadow_frame, inst_data); in ExecuteSwitchImpl() local
549 int32_t offset = DoSparseSwitch(inst, shadow_frame, inst_data); in ExecuteSwitchImpl() local
652 int16_t offset = inst->VRegC_22t(); in ExecuteSwitchImpl() local
666 int16_t offset = inst->VRegC_22t(); in ExecuteSwitchImpl() local
680 int16_t offset = inst->VRegC_22t(); in ExecuteSwitchImpl() local
694 int16_t offset = inst->VRegC_22t(); in ExecuteSwitchImpl() local
708 int16_t offset = inst->VRegC_22t(); in ExecuteSwitchImpl() local
[all …]
Dinterpreter_goto_table_impl.cc61 #define BACKWARD_BRANCH_INSTRUMENTATION(offset) \ argument
604 int8_t offset = inst->VRegA_10t(inst_data); in ExecuteGotoImpl() local
617 int16_t offset = inst->VRegA_20t(); in ExecuteGotoImpl() local
630 int32_t offset = inst->VRegA_30t(); in ExecuteGotoImpl() local
643 int32_t offset = DoPackedSwitch(inst, shadow_frame, inst_data); in ExecuteGotoImpl() local
656 int32_t offset = DoSparseSwitch(inst, shadow_frame, inst_data); in ExecuteGotoImpl() local
759 int16_t offset = inst->VRegC_22t(); in ExecuteGotoImpl() local
777 int16_t offset = inst->VRegC_22t(); in ExecuteGotoImpl() local
795 int16_t offset = inst->VRegC_22t(); in ExecuteGotoImpl() local
813 int16_t offset = inst->VRegC_22t(); in ExecuteGotoImpl() local
[all …]
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc43 uint32_t Arm64RelativePatcher::ReserveSpace(uint32_t offset, in ReserveSpace()
92 uint32_t Arm64RelativePatcher::ReserveSpaceEnd(uint32_t offset) { in ReserveSpaceEnd()
106 uint32_t Arm64RelativePatcher::WriteThunks(OutputStream* out, uint32_t offset) { in WriteThunks()
232 Offset offset(ArtMethod::EntryPointFromQuickCompiledCodeOffset( in CompileThunkCode() local
298 void Arm64RelativePatcher::SetInsn(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn()
308 uint32_t Arm64RelativePatcher::GetInsn(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn()
320 uint32_t Arm64RelativePatcher::GetInsn(std::vector<uint8_t, Alloc>* code, uint32_t offset) { in GetInsn()
/art/runtime/mirror/
Dstring-inl.h58 SetStringCountAndBytesVisitor(int32_t count, Handle<ByteArray> src_array, int32_t offset, in SetStringCountAndBytesVisitor()
86 int32_t offset) : in SetStringCountAndValueVisitorFromCharArray()
109 int32_t offset) : in SetStringCountAndValueVisitorFromString()
171 Handle<ByteArray> array, int32_t offset, in AllocFromByteArray()
180 Handle<CharArray> array, int32_t offset, in AllocFromCharArray()
189 int32_t offset, gc::AllocatorType allocator_type) { in AllocFromString()
/art/compiler/linker/arm/
Drelative_patcher_arm_base.cc26 uint32_t ArmBaseRelativePatcher::ReserveSpace(uint32_t offset, in ReserveSpace()
32 uint32_t ArmBaseRelativePatcher::ReserveSpaceEnd(uint32_t offset) { in ReserveSpaceEnd()
47 uint32_t ArmBaseRelativePatcher::WriteThunks(OutputStream* out, uint32_t offset) { in WriteThunks()
83 uint32_t ArmBaseRelativePatcher::ReserveSpaceInternal(uint32_t offset, in ReserveSpaceInternal()
Drelative_patcher_thumb2.cc91 void Thumb2RelativePatcher::SetInsn32(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn32()
101 uint32_t Thumb2RelativePatcher::GetInsn32(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn32()
113 uint32_t Thumb2RelativePatcher::GetInsn32(std::vector<uint8_t, Alloc>* code, uint32_t offset) { in GetInsn32()
/art/disassembler/
Ddisassembler_mips.cc346 int32_t offset = static_cast<int16_t>(instruction & 0xffff); in Dump() local
355 int32_t offset = (instruction & 0x1fffff) - ((instruction & 0x100000) << 1); in Dump() local
395 int32_t offset = static_cast<int16_t>(instruction & 0xffff); in Dump() local
434 uint32_t offset = (last_instr_ << 16) | (instruction & 0xFFFF); in Dump() local
/art/compiler/linker/
Drelative_patcher.cc35 uint32_t ReserveSpace(uint32_t offset, in Create()
41 uint32_t ReserveSpaceEnd(uint32_t offset) OVERRIDE { in Create()
45 uint32_t WriteThunks(OutputStream* out ATTRIBUTE_UNUSED, uint32_t offset) OVERRIDE { in Create()
/art/compiler/
Doat_writer.cc115 size_t offset; in OatWriter() local
165 uint32_t offset = oat_class->method_headers_[method_offsets_index].gc_map_offset_; in GetOffset() local
187 uint32_t offset = oat_class->method_headers_[method_offsets_index].mapping_table_offset_; in GetOffset() local
209 uint32_t offset = oat_class->method_headers_[method_offsets_index].vmap_table_offset_; in GetOffset() local
227 DexMethodVisitor(OatWriter* writer, size_t offset) in DexMethodVisitor()
271 OatDexMethodVisitor(OatWriter* writer, size_t offset) in OatDexMethodVisitor()
296 InitOatClassesMethodVisitor(OatWriter* writer, size_t offset) in InitOatClassesMethodVisitor()
352 InitCodeMethodVisitor(OatWriter* writer, size_t offset) in InitCodeMethodVisitor()
555 InitMapMethodVisitor(OatWriter* writer, size_t offset) in InitMapMethodVisitor()
595 InitImageMethodVisitor(OatWriter* writer, size_t offset) in InitImageMethodVisitor()
[all …]
/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/runtime/gc/accounting/
Dspace_bitmap.h61 static constexpr size_t OffsetToIndex(size_t offset) { in OffsetToIndex()
71 static constexpr uintptr_t OffsetToMask(uintptr_t offset) { in OffsetToMask()
96 const uintptr_t offset = reinterpret_cast<uintptr_t>(obj) - heap_begin_; in HasAddress() local
Dspace_bitmap-inl.h36 const uintptr_t offset = addr - heap_begin_; in AtomicTestAndSet() local
60 const uintptr_t offset = addr - heap_begin_; in Test() local
163 const uintptr_t offset = addr - heap_begin_; in Modify() local
/art/runtime/base/unix_file/
Dfd_file.cc163 int64_t FdFile::Write(const char* buf, int64_t byte_count, int64_t offset) { in Write()
181 static ssize_t ReadIgnoreOffset(int fd, void *buf, size_t count, off_t offset) { in ReadIgnoreOffset()
187 static bool ReadFullyGeneric(int fd, void* buffer, size_t byte_count, size_t offset) { in ReadFullyGeneric()
207 bool FdFile::PreadFully(void* buffer, size_t byte_count, size_t offset) { in PreadFully()
/art/compiler/utils/arm/
Dassembler_arm.cc199 int32_t offset = offset_; in encodingThumb() local
270 uint32_t offset = encoding & offset_mask; in encoding3() local
282 uint32_t offset = encoding & offset_mask; in vencoding() local
292 bool Address::CanHoldLoadOffsetArm(LoadOperandType type, int offset) { in CanHoldLoadOffsetArm()
312 bool Address::CanHoldStoreOffsetArm(StoreOperandType type, int offset) { in CanHoldStoreOffsetArm()
329 bool Address::CanHoldLoadOffsetThumb(LoadOperandType type, int offset) { in CanHoldLoadOffsetThumb()
349 bool Address::CanHoldStoreOffsetThumb(StoreOperandType type, int offset) { in CanHoldStoreOffsetThumb()
418 int32_t offset = frame_size + kFramePointerSize; in BuildFrame() local
802 void ArmAssembler::Call(ManagedRegister mbase, Offset offset, in Call()
814 void ArmAssembler::Call(FrameOffset base, Offset offset, in Call()
[all …]

1234567