Searched refs:offset (Results 126 - 150 of 262) sorted by relevance

1234567891011

/art/runtime/
H A Dimage.h47 ImageSection(uint32_t offset, uint32_t size) : offset_(offset), size_(size) { } argument
63 bool Contains(uint64_t offset) const {
64 return offset - offset_ < size_;
H A Dutf.h83 int32_t ComputeUtf16Hash(mirror::CharArray* chars, int32_t offset, size_t char_count)
H A Ddex_file.h95 uint32_t header_size_; // offset to start of next section
101 uint32_t string_ids_off_; // file offset of StringIds array
103 uint32_t type_ids_off_; // file offset of TypeIds array
105 uint32_t proto_ids_off_; // file offset of ProtoIds array
107 uint32_t field_ids_off_; // file offset of FieldIds array
109 uint32_t method_ids_off_; // file offset of MethodIds array
111 uint32_t class_defs_off_; // file offset of ClassDef array
164 uint32_t string_data_off_; // offset in bytes from the base address
203 uint32_t parameters_off_; // file offset to type_list for parameter types
216 uint32_t interfaces_off_; // file offset t
810 GetCatchHandlerData(const CodeItem& code_item, uint32_t offset) argument
929 uint32_t offset = anno_item.annotations_off_; local
939 uint32_t offset = anno_item.annotations_off_; local
949 uint32_t offset = anno_item->annotations_off_; local
958 uint32_t offset = set_item->entries_[index]; local
967 uint32_t offset = anno_item->annotations_off_; local
[all...]
H A Delf_file.cc288 bool ElfFileImpl<ElfTypes>::CheckAndSet(Elf32_Off offset, const char* label, argument
290 if (Begin() + offset >= End()) {
291 *error_msg = StringPrintf("Offset %d is out of range for %s in ELF file: '%s'", offset, label,
295 *target = Begin() + offset;
404 int64_t offset = static_cast<int64_t>(GetHeader().e_shoff + local
406 if (offset >= file->GetLength()) {
1408 // | Elf_Ehdr | contains number of Elf_Shdr and offset to first
1425 // | ... | contains offset to section start
1465 // section 0 is the null section, sections start at offset of first section
1467 Elf_Off offset local
1811 GetSectionOffsetAndSize(const char* section_name, uint64_t* offset, uint64_t* size) const argument
[all...]
H A Ddex_file-inl.h45 inline const DexFile::TryItem* DexFile::GetTryItems(const CodeItem& code_item, uint32_t offset) { argument
48 (RoundUp(reinterpret_cast<uintptr_t>(insns_end_), 4)) + offset;
H A Delf_file.h70 bool GetSectionOffsetAndSize(const char* section_name, uint64_t* offset, uint64_t* size) const;
/art/compiler/optimizing/
H A Dcommon_arm64.h149 static inline vixl::MemOperand HeapOperand(const vixl::Register& base, size_t offset = 0) {
152 return vixl::MemOperand(base.X(), offset);
164 static inline vixl::MemOperand HeapOperand(const vixl::Register& base, Offset offset) { argument
165 return HeapOperand(base, offset.SizeValue());
168 static inline vixl::MemOperand HeapOperandFrom(Location location, Offset offset) { argument
169 return HeapOperand(RegisterFrom(location, Primitive::kPrimNot), offset);
182 return vixl::Operand(mem_op.offset());
H A Dcode_generator_arm.h227 void GenerateWideAtomicStore(Register addr, uint32_t offset,
231 void GenerateWideAtomicLoad(Register addr, uint32_t offset,
241 // out <- *(out + offset)
250 uint32_t offset,
255 // out <- *(obj + offset)
265 uint32_t offset,
269 // root <- *(obj + offset)
275 uint32_t offset);
373 void InvokeRuntime(int32_t offset,
424 // to load the offset t
[all...]
H A Dcode_generator_arm64.h225 // out <- *(out + offset)
234 uint32_t offset,
239 // out <- *(obj + offset)
249 uint32_t offset,
253 // root <- *(obj + offset)
259 uint32_t offset,
447 void InvokeRuntime(int32_t offset,
505 uint32_t offset,
525 // `offset`:
529 // uint32_t offset);
[all...]
H A Dcode_generator.cc674 size_t offset = table.GetFirstValueIndex(); local
679 uint32_t target = dex_pc + table.GetEntryAt(i + offset);
971 uint32_t offset = slow_path->GetStackOffsetOfCoreRegister(id); local
972 stack_map_stream_.AddDexRegisterEntry(DexRegisterLocation::Kind::kInStack, offset);
975 DexRegisterLocation::Kind::kInStack, offset + kVRegSize);
993 uint32_t offset = slow_path->GetStackOffsetOfFpuRegister(id); local
994 stack_map_stream_.AddDexRegisterEntry(DexRegisterLocation::Kind::kInStack, offset);
997 DexRegisterLocation::Kind::kInStack, offset + kVRegSize);
1017 uint32_t offset = slow_path->GetStackOffsetOfFpuRegister(low); local
1018 stack_map_stream_.AddDexRegisterEntry(DexRegisterLocation::Kind::kInStack, offset);
1023 uint32_t offset = slow_path->GetStackOffsetOfFpuRegister(high); local
1038 uint32_t offset = slow_path->GetStackOffsetOfCoreRegister(low); local
1044 uint32_t offset = slow_path->GetStackOffsetOfCoreRegister(high); local
[all...]
/art/tools/ahat/src/
H A DInstanceUtils.java81 // field of the string object. The field accesses for count and offset
108 int offset = getIntField(inst, "offset", 0);
109 int end = offset + count - 1;
110 if (offset >= 0 && offset < numChars && end >= 0 && end < numChars) {
111 return new String(chars.asCharArray(offset, count));
/art/runtime/interpreter/
H A Dunstarted_runtime.cc986 int offset = shadow_frame->GetVReg(arg_offset + 3); local
988 if (offset < 0 || offset + count > array->GetLength()) {
990 offset, count, array->GetLength()));
1000 byte_array->SetWithoutChecks<true>(i + offset, *address);
1078 jint offset = shadow_frame->GetVReg(arg_offset); local
1086 result->SetL(mirror::String::AllocFromCharArray<true>(self, char_count, h_char_array, offset, allocator));
1180 int64_t offset = shadow_frame->GetVRegLong(arg_offset + 2); local
1190 reinterpret_cast<uint8_t*>(obj) + static_cast<size_t>(offset));
1193 MemberOffset(offset),
1218 int64_t offset = shadow_frame->GetVRegLong(arg_offset + 2); local
1257 int64_t offset = shadow_frame->GetVRegLong(arg_offset + 2); local
1271 int64_t offset = shadow_frame->GetVRegLong(arg_offset + 2); local
1289 int64_t offset = shadow_frame->GetVRegLong(arg_offset + 2); local
1593 jlong offset = (static_cast<uint64_t>(args[2]) << 32) | args[1]; local
1616 jlong offset = (static_cast<uint64_t>(args[2]) << 32) | args[1]; local
1624 jlong offset = (static_cast<uint64_t>(args[2]) << 32) | args[1]; local
[all...]
/art/runtime/arch/arm/
H A Dasm_support_arm.S40 ldr \rDest, .Lgot_\name\()_\num @ Load offset of the GOT.
41 ldr \rTemp, .Lruntime_instance_\name\()_\num @ Load GOT offset of Runtime::instance_.
/art/runtime/base/
H A Darray_slice.h60 uintptr_t offset = start_offset * element_size_; local
61 array_ = *reinterpret_cast<T*>(reinterpret_cast<uintptr_t>(array) + offset);
/art/runtime/gc/accounting/
H A Dbitmap.h48 // offset is the difference from base to a index.
49 static ALWAYS_INLINE constexpr size_t BitIndexToWordIndex(uintptr_t offset) { argument
50 return offset / kBitsPerBitmapWord;
H A Dcard_table_test.cc65 size_t offset = RoundDown(addr - heap_begin_, CardTable::kCardSize); local
66 return 1 + offset % 254;
H A Dremembered_set.cc69 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
72 mirror::HeapReference<mirror::Object>* ref_ptr = obj->GetFieldObjectReferenceAddr(offset);
/art/runtime/mirror/
H A Dfield.h128 void SetOffset(uint32_t offset) SHARED_REQUIRES(Locks::mutator_lock_) {
129 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, offset_), offset); local
135 friend struct art::FieldOffsets; // for verifying offset information
/art/runtime/entrypoints/quick/
H A Dquick_entrypoints.h93 uint32_t offset)
/art/compiler/debug/
H A Delf_debug_info_writer.h271 const size_t offset = owner_->builder_->GetDebugInfo()->GetSize(); local
274 WriteDebugInfoCU(debug_abbrev_offset, info_, offset, &buffer, &owner_->debug_info_patches_);
354 // Add offset to the methods_ field.
436 const size_t offset = owner_->builder_->GetDebugInfo()->GetSize(); local
439 WriteDebugInfoCU(debug_abbrev_offset, info_, offset, &buffer, &owner_->debug_info_patches_);
509 // Returns offset in the compilation unit.
519 size_t offset; local
526 offset = info_.StartTag(DW_TAG_reference_type);
537 offset = info_.StartTag(DW_TAG_reference_type);
596 offset
611 size_t offset = info_.StartTag(dwarf::DW_TAG_class_type); local
[all...]
/art/compiler/
H A Dexception_test.cc88 size_t offset = dchecked_integral_cast<size_t>(reinterpret_cast<uintptr_t>(unaligned_code_ptr)); local
89 size_t padding = RoundUp(offset, alignment) - offset;
179 // Create three fake stack frames with mapping data created in SetUp. We map offset 3 in the
/art/compiler/jni/quick/arm/
H A Dcalling_convention_arm.cc122 (itr_slots_ * kFramePointerSize)); // offset into in args
312 size_t offset = displacement_.Int32Value() - OutArgSize() + ((itr_slots_ - 4) * kFramePointerSize); local
313 CHECK_LT(offset, OutArgSize());
314 return FrameOffset(offset);
/art/compiler/jni/quick/arm64/
H A Dcalling_convention_arm64.cc104 (itr_slots_ * sizeof(uint32_t))); // offset into in args
127 } else { // just increase the stack offset.
142 } else { // just increase the stack offset.
258 size_t offset = displacement_.Int32Value() - OutArgSize() + (args_on_stack * kFramePointerSize); local
259 CHECK_LT(offset, OutArgSize());
260 return FrameOffset(offset);
/art/compiler/jni/quick/mips/
H A Dcalling_convention_mips.cc89 (itr_slots_ * kFramePointerSize)); // offset into in args
239 size_t offset = displacement_.Int32Value() - OutArgSize() + (itr_slots_ * kFramePointerSize); local
240 CHECK_LT(offset, OutArgSize());
241 return FrameOffset(offset);
/art/runtime/base/unix_file/
H A Drandom_access_file_test.h58 int64_t offset = 0; local
59 while ((n = f->Read(buf, sizeof(buf), offset)) > 0) {
61 offset += n;
86 // Can't read from a negative offset.
144 // Can't write to a negative offset.

Completed in 479 milliseconds

1234567891011