Home
last modified time | relevance | path

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

12

/art/dexlayout/
Ddex_ir.cc63 [](const dex_ir::Header* h) { return h->StringIds().GetOffset(); } in __anon2b802b990202()
68 [](const dex_ir::Header* h) { return h->TypeIds().GetOffset(); } in __anon2b802b990402()
73 [](const dex_ir::Header* h) { return h->ProtoIds().GetOffset(); } in __anon2b802b990602()
78 [](const dex_ir::Header* h) { return h->FieldIds().GetOffset(); } in __anon2b802b990802()
83 [](const dex_ir::Header* h) { return h->MethodIds().GetOffset(); } in __anon2b802b990a02()
88 [](const dex_ir::Header* h) { return h->ClassDefs().GetOffset(); } in __anon2b802b990c02()
93 [](const dex_ir::Header* h) { return h->CallSiteIds().GetOffset(); } in __anon2b802b990e02()
98 [](const dex_ir::Header* h) { return h->MethodHandleItems().GetOffset(); } in __anon2b802b991002()
103 [](const dex_ir::Header* h) { return h->StringDatas().GetOffset(); } in __anon2b802b991202()
108 [](const dex_ir::Header* h) { return h->TypeLists().GetOffset(); } in __anon2b802b991402()
[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.cc63 const uint32_t debug_info_offset = code_item->DebugInfo()->GetOffset(); in WriteDebugInfoOffsetTable()
96 CHECK_EQ(accessor.GetOffset(i), debug_info_offsets[i]); in WriteDebugInfoOffsetTable()
125 item_->GetOffset()); in ~ScopedDataSectionItem()
283 header.string_ids_off_ = header_->StringIds().GetOffset(); in WriteHeader()
285 header.type_ids_off_ = header_->TypeIds().GetOffset(); in WriteHeader()
287 header.proto_ids_off_ = header_->ProtoIds().GetOffset(); in WriteHeader()
289 header.field_ids_off_ = header_->FieldIds().GetOffset(); in WriteHeader()
291 header.method_ids_off_ = header_->MethodIds().GetOffset(); in WriteHeader()
293 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()
1196 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 …]
/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
Doat_writer.cc841 size_t GetOffset() const { in GetOffset() function in art::linker::OatWriter::DexMethodVisitor
1334 quick_code_offset = relative_patcher_->GetOffset(method_ref); in VisitMethod()
1352 if (relative_patcher_->GetOffset(method_ref) != 0u) { in VisitMethod()
1356 << " offsets " << relative_patcher_->GetOffset(method_ref) in VisitMethod()
1420 size_t GetOffset() const { in GetOffset() function in art::linker::OatWriter::LayoutReserveOffsetCodeMethodVisitor
1920 size_t GetOffset() const { in GetOffset() function in art::linker::OatWriter::WriteCodeMethodVisitor
1964 uint32_t target_offset = writer_->relative_patcher_->GetOffset(patch.TargetMethod()); in GetTargetOffset()
2104 offset = visitor.GetOffset(); in InitOatClasses()
2344 offset = layout_reserve_code_visitor.GetOffset(); in InitOatCodeDexFiles()
2359 << relative_patcher_->GetOffset(ordered_method.method_reference) in InitOatCodeDexFiles()
[all …]
/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.h295 return debug_info_offsets_.GetOffset(dex_method_index); in GetDebugInfoOffset()
/art/runtime/mirror/
Dfield.cc33 SetOffset<false>(new_value->GetOffset().Int32Value()); in VisitTarget()
97 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()
Dfield.h70 int32_t GetOffset() REQUIRES_SHARED(Locks::mutator_lock_) { 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/compiler/optimizing/
Dintrinsics.cc303 info.value_offset = value_field->GetOffset().Uint32Value(); in ComputeIntegerValueOfInfo()
331 info.value_offset = value_field->GetOffset().Uint32Value(); in ComputeIntegerValueOfInfo()
371 return field->GetOffset(); in GetReferenceDisableIntrinsicOffset()
379 return field->GetOffset(); in GetReferenceSlowPathEnabledOffset()
Dload_store_analysis.h188 size_t GetOffset() const { return offset_; } in GetOffset() function
382 loc->GetOffset() == offset && in FindHeapLocationIndex()
481 if (loc1->GetOffset() != loc2->GetOffset()) { in ComputeMayAlias()
Dnodes_shared.h169 HInstruction* GetOffset() const { return InputAt(1); } in GetOffset() function
/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()
/art/runtime/interpreter/mterp/
Dmterp.cc695 inst, inst_data, shadow_frame, obj, field->GetOffset(), field->IsVolatile()); in MterpFieldAccessSlow()
715 ? reinterpret_cast<ArtField*>(tls_value)->GetOffset().SizeValue() in MterpFieldAccessFast()
721 DCHECK_EQ(offset, field->GetOffset().SizeValue()); in MterpFieldAccessFast()
761 tls_cache->Set(inst, field->GetOffset().SizeValue()); in MterpFieldAccessFast()
765 inst, inst_data, shadow_frame, obj, field->GetOffset(), field->IsVolatile()); in MterpFieldAccessFast()
Dnterp.cc527 return -resolved_field->GetOffset().Uint32Value(); in NterpGetInstanceFieldOffset()
529 UpdateCache(self, dex_pc_ptr, resolved_field->GetOffset().Uint32Value()); in NterpGetInstanceFieldOffset()
530 return resolved_field->GetOffset().Uint32Value(); in NterpGetInstanceFieldOffset()
/art/runtime/gc/
Dreference_processor.cc59 return field->GetOffset(); in GetSlowPathFlagOffset()

12