Home
last modified time | relevance | path

Searched refs:GetOffset (Results 1 – 25 of 48) sorted by relevance

12

/art/dexlayout/
Ddex_ir.cc63 [](const dex_ir::Header* h) { return h->StringIds().GetOffset(); } in __anon0e6c32920202()
68 [](const dex_ir::Header* h) { return h->TypeIds().GetOffset(); } in __anon0e6c32920402()
73 [](const dex_ir::Header* h) { return h->ProtoIds().GetOffset(); } in __anon0e6c32920602()
78 [](const dex_ir::Header* h) { return h->FieldIds().GetOffset(); } in __anon0e6c32920802()
83 [](const dex_ir::Header* h) { return h->MethodIds().GetOffset(); } in __anon0e6c32920a02()
88 [](const dex_ir::Header* h) { return h->ClassDefs().GetOffset(); } in __anon0e6c32920c02()
93 [](const dex_ir::Header* h) { return h->CallSiteIds().GetOffset(); } in __anon0e6c32920e02()
98 [](const dex_ir::Header* h) { return h->MethodHandleItems().GetOffset(); } in __anon0e6c32921002()
103 [](const dex_ir::Header* h) { return h->StringDatas().GetOffset(); } in __anon0e6c32921202()
108 [](const dex_ir::Header* h) { return h->TypeLists().GetOffset(); } in __anon0e6c32921402()
[all …]
Ddex_verify.cc79 orig->GetOffset(), in VerifyId()
91 orig->GetOffset(), in VerifyId()
103 orig->GetOffset(), in VerifyId()
111 orig->GetOffset(), in VerifyId()
119 orig->GetOffset()); in VerifyId()
129 orig->GetOffset(), in VerifyId()
137 orig->GetOffset(), in VerifyId()
145 orig->GetOffset(), in VerifyId()
157 orig->GetOffset(), in VerifyId()
165 orig->GetOffset(), in VerifyId()
[all …]
Ddex_writer.cc222 uint32_t code_off = method.GetCodeItem() == nullptr ? 0 : method.GetCodeItem()->GetOffset(); in WriteEncodedMethods()
239 uint32_t string_data_off = string_id->DataItem()->GetOffset(); in WriteStringIds()
311 buffer[2] = proto_id->Parameters() == nullptr ? 0 : proto_id->Parameters()->GetOffset(); in WriteProtoIds()
391 annotation_off[0] = annotation->GetOffset(); in WriteAnnotationSets()
410 annotations_off[0] = annotation_set == nullptr ? 0 : annotation_set->GetOffset(); in WriteAnnotationSetRefs()
427 annotations_directory->GetClassAnnotation()->GetOffset(); in WriteAnnotationsDirectories()
439 annotation_buffer[1] = field->GetAnnotationSetItem()->GetOffset(); in WriteAnnotationsDirectories()
447 annotation_buffer[1] = method->GetAnnotationSetItem()->GetOffset(); in WriteAnnotationsDirectories()
455 annotation_buffer[1] = parameter->GetAnnotations()->GetOffset(); in WriteAnnotationsDirectories()
587 : code_item->DebugInfo()->GetOffset(); in WriteCodeItem()
[all …]
Dcompact_dex_writer.cc64 const uint32_t debug_info_offset = code_item->DebugInfo()->GetOffset(); in WriteDebugInfoOffsetTable()
97 CHECK_EQ(accessor.GetOffset(i), debug_info_offsets[i]); in WriteDebugInfoOffsetTable()
123 item_->GetOffset()); in ~ScopedDataSectionItem()
285 header.string_ids_off_ = header_->StringIds().GetOffset(); in WriteHeader()
287 header.type_ids_off_ = header_->TypeIds().GetOffset(); in WriteHeader()
289 header.proto_ids_off_ = header_->ProtoIds().GetOffset(); in WriteHeader()
291 header.field_ids_off_ = header_->FieldIds().GetOffset(); in WriteHeader()
293 header.method_ids_off_ = header_->MethodIds().GetOffset(); in WriteHeader()
295 header.class_defs_off_ = header_->ClassDefs().GetOffset(); in WriteHeader()
Ddex_ir_builder.cc346 CHECK_EQ(item->offset_, header_->StringIds().GetOffset()); in CheckAndSetRemainingOffsets()
350 CHECK_EQ(item->offset_, header_->TypeIds().GetOffset()); in CheckAndSetRemainingOffsets()
354 CHECK_EQ(item->offset_, header_->ProtoIds().GetOffset()); in CheckAndSetRemainingOffsets()
358 CHECK_EQ(item->offset_, header_->FieldIds().GetOffset()); in CheckAndSetRemainingOffsets()
362 CHECK_EQ(item->offset_, header_->MethodIds().GetOffset()); in CheckAndSetRemainingOffsets()
369 CHECK_EQ(item->offset_, header_->ClassDefs().GetOffset()); in CheckAndSetRemainingOffsets()
373 CHECK_EQ(item->offset_, header_->CallSiteIds().GetOffset()); in CheckAndSetRemainingOffsets()
377 CHECK_EQ(item->offset_, header_->MethodHandleItems().GetOffset()); in CheckAndSetRemainingOffsets()
432 header_->StringIds().GetOffset() + i * StringId::ItemSize(), in CreateStringId()
440 header_->TypeIds().GetOffset() + i * TypeId::ItemSize(), in CreateTypeId()
[all …]
Ddexlayout.cc601 header_->StringIds().GetOffset(), header_->StringIds().GetOffset()); in DumpFileHeader()
604 header_->TypeIds().GetOffset(), header_->TypeIds().GetOffset()); in DumpFileHeader()
607 header_->ProtoIds().GetOffset(), header_->ProtoIds().GetOffset()); in DumpFileHeader()
610 header_->FieldIds().GetOffset(), header_->FieldIds().GetOffset()); in DumpFileHeader()
613 header_->MethodIds().GetOffset(), header_->MethodIds().GetOffset()); in DumpFileHeader()
616 header_->ClassDefs().GetOffset(), header_->ClassDefs().GetOffset()); in DumpFileHeader()
644 annotations_offset = class_def->Annotations()->GetOffset(); in DumpClassDef()
652 class_def->GetClassData()->GetOffset(), class_def->GetClassData()->GetOffset()); in DumpClassDef()
1193 code->GetOffset(), in DumpMethod()
/art/runtime/
Dart_field-inl.h76 return object->GetField32Volatile(GetOffset()); in Get32()
78 return object->GetField32(GetOffset()); in Get32()
86 object->SetField32Volatile<kTransactionActive>(GetOffset(), new_value); in Set32()
88 object->SetField32<kTransactionActive>(GetOffset(), new_value); in Set32()
96 return object->GetField64Volatile(GetOffset()); in Get64()
98 return object->GetField64(GetOffset()); in Get64()
106 object->SetField64Volatile<kTransactionActive>(GetOffset(), new_value); in Set64()
108 object->SetField64<kTransactionActive>(GetOffset(), new_value); in Set64()
117 return object->GetFieldObjectVolatile<MirrorType>(GetOffset()); in GetObj()
119 return object->GetFieldObject<MirrorType>(GetOffset()); in GetObj()
[all …]
Dvdex_file.cc332 const uint32_t offset = accessor.GetOffset(method.GetIndex()); in UnquickenDexFile()
355 GetQuickenInfoOffsetTable(dex_file, quickening_info).GetOffset(dex_method_idx); in GetQuickenedInfoOf()
/art/dex2oat/linker/
Dmulti_oat_relative_patcher_test.cc146 EXPECT_EQ(0u, patcher_.GetOffset(ref1)); in TEST_F()
147 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F()
151 EXPECT_EQ(0u, patcher_.GetOffset(ref1)); in TEST_F()
152 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F()
156 EXPECT_EQ(off1, patcher_.GetOffset(ref1)); in TEST_F()
157 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F()
161 EXPECT_EQ(off1 + adjustment1 - adjustment2, patcher_.GetOffset(ref1)); in TEST_F()
162 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F()
166 EXPECT_EQ(off1 + adjustment1 - adjustment2, patcher_.GetOffset(ref1)); in TEST_F()
167 EXPECT_EQ(off2, patcher_.GetOffset(ref2)); in TEST_F()
[all …]
Dmulti_oat_relative_patcher.h59 uint32_t GetOffset(MethodReference method_ref) { in GetOffset() function
/art/libdexfile/dex/
Dcompact_offset_table_test.cc59 EXPECT_EQ(offsets[i], accessor.GetOffset(i)); in TEST()
84 EXPECT_EQ(offsets[i], accessor2.GetOffset(i)); in TEST()
Dcompact_offset_table.h46 uint32_t GetOffset(uint32_t index) const;
Dcompact_offset_table.cc38 uint32_t CompactOffsetTable::Accessor::GetOffset(uint32_t index) const { in GetOffset() function in art::CompactOffsetTable::Accessor
Dcompact_dex_file.h277 return debug_info_offsets_.GetOffset(dex_method_index); in GetDebugInfoOffset()
/art/runtime/mirror/
Dfield.cc33 SetOffset<false>(new_value->GetOffset().Int32Value()); in VisitTarget()
Dfield.h74 int32_t GetOffset() REQUIRES_SHARED(Locks::mutator_lock_) { in GetOffset() function
Dfield-inl.h98 ret->SetOffset<kTransactionActive>(field->GetOffset().Int32Value()); in CreateFromArtField()
Dobject.cc238 if (field.GetOffset().Int32Value() == field_offset.Int32Value()) { in CheckFieldAssignmentImpl()
256 if (field.GetOffset().Int32Value() == field_offset.Int32Value()) { in CheckFieldAssignmentImpl()
/art/compiler/optimizing/
Dload_store_analysis.h122 size_t GetOffset() const { return offset_; } in GetOffset() function
311 loc->GetOffset() == offset && in FindHeapLocationIndex()
405 if (loc1->GetOffset() != loc2->GetOffset()) { in ComputeMayAlias()
Dintrinsics.cc301 info.value_offset = value_field->GetOffset().Uint32Value(); in ComputeIntegerValueOfInfo()
330 info.value_offset = value_field->GetOffset().Uint32Value(); in ComputeIntegerValueOfInfo()
Dnodes_shared.h169 HInstruction* GetOffset() const { return InputAt(1); } in GetOffset() function
/art/tools/dexanalyze/
Ddexanalyze_strings.cc51 ALWAYS_INLINE void GetOffset(uint32_t prefix_index, uint32_t* offset, uint32_t* length) const { in GetOffset() function in art::dexanalyze::PrefixDictionary
100 dictionary_.GetOffset(prefix_idx, &prefix_offset, &prefix_len); in GetString()
116 dictionary_.GetOffset(prefix_idx, &prefix_offset, &prefix_len); in Equal()
373 output_->dictionary_.GetOffset(node->value_, &prefix_offset, &existing_len); in Build()
409 output_->dictionary_.GetOffset(node->value_, &offset, &length); in Build()
/art/runtime/interpreter/mterp/
Dnterp.cc380 return -resolved_field->GetOffset().Uint32Value(); in NterpGetInstanceFieldOffset()
382 UpdateCache(self, dex_pc_ptr, resolved_field->GetOffset().Uint32Value()); in NterpGetInstanceFieldOffset()
383 return resolved_field->GetOffset().Uint32Value(); in NterpGetInstanceFieldOffset()
Dmterp.cc741 inst, inst_data, shadow_frame, obj, field->GetOffset(), field->IsVolatile()); in MterpFieldAccessSlow()
764 ? reinterpret_cast<ArtField*>(tls_value)->GetOffset().SizeValue() in MterpFieldAccessFast()
770 DCHECK_EQ(offset, field->GetOffset().SizeValue()); in MterpFieldAccessFast()
808 tls_cache->Set(inst, field->GetOffset().SizeValue()); in MterpFieldAccessFast()
812 inst, inst_data, shadow_frame, obj, field->GetOffset(), field->IsVolatile()); in MterpFieldAccessFast()
/art/imgdiag/
Dimgdiag.cc111 field->GetOffset()); in PrettyFieldValue()
115 oss << static_cast<bool>(object->GetFieldBoolean<kVerifyNone>(field->GetOffset())); in PrettyFieldValue()
119 oss << static_cast<int32_t>(object->GetFieldByte<kVerifyNone>(field->GetOffset())); in PrettyFieldValue()
123 oss << object->GetFieldChar<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
127 oss << object->GetFieldShort<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
131 oss << object->GetField32<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
135 oss << object->GetField64<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
139 oss << object->GetField32<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
143 oss << object->GetField64<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()

12