Home
last modified time | relevance | path

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

123

/art/dexlayout/
Ddex_ir.cc63 [](const dex_ir::Header* h) { return h->StringIds().GetOffset(); } in __anon1a8407770202()
68 [](const dex_ir::Header* h) { return h->TypeIds().GetOffset(); } in __anon1a8407770402()
73 [](const dex_ir::Header* h) { return h->ProtoIds().GetOffset(); } in __anon1a8407770602()
78 [](const dex_ir::Header* h) { return h->FieldIds().GetOffset(); } in __anon1a8407770802()
83 [](const dex_ir::Header* h) { return h->MethodIds().GetOffset(); } in __anon1a8407770a02()
88 [](const dex_ir::Header* h) { return h->ClassDefs().GetOffset(); } in __anon1a8407770c02()
93 [](const dex_ir::Header* h) { return h->CallSiteIds().GetOffset(); } in __anon1a8407770e02()
98 [](const dex_ir::Header* h) { return h->MethodHandleItems().GetOffset(); } in __anon1a8407771002()
103 [](const dex_ir::Header* h) { return h->StringDatas().GetOffset(); } in __anon1a8407771202()
108 [](const dex_ir::Header* h) { return h->TypeLists().GetOffset(); } in __anon1a8407771402()
[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.cc220 uint32_t code_off = method.GetCodeItem() == nullptr ? 0 : method.GetCodeItem()->GetOffset(); in WriteEncodedMethods()
237 uint32_t string_data_off = string_id->DataItem()->GetOffset(); in WriteStringIds()
309 buffer[2] = proto_id->Parameters() == nullptr ? 0 : proto_id->Parameters()->GetOffset(); in WriteProtoIds()
389 annotation_off[0] = annotation->GetOffset(); in WriteAnnotationSets()
408 annotations_off[0] = annotation_set == nullptr ? 0 : annotation_set->GetOffset(); in WriteAnnotationSetRefs()
425 annotations_directory->GetClassAnnotation()->GetOffset(); in WriteAnnotationsDirectories()
437 annotation_buffer[1] = field->GetAnnotationSetItem()->GetOffset(); in WriteAnnotationsDirectories()
445 annotation_buffer[1] = method->GetAnnotationSetItem()->GetOffset(); in WriteAnnotationsDirectories()
453 annotation_buffer[1] = parameter->GetAnnotations()->GetOffset(); in WriteAnnotationsDirectories()
585 : 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.cc671 header_->StringIds().GetOffset(), header_->StringIds().GetOffset()); in DumpFileHeader()
674 header_->TypeIds().GetOffset(), header_->TypeIds().GetOffset()); in DumpFileHeader()
677 header_->ProtoIds().GetOffset(), header_->ProtoIds().GetOffset()); in DumpFileHeader()
680 header_->FieldIds().GetOffset(), header_->FieldIds().GetOffset()); in DumpFileHeader()
683 header_->MethodIds().GetOffset(), header_->MethodIds().GetOffset()); in DumpFileHeader()
686 header_->ClassDefs().GetOffset(), header_->ClassDefs().GetOffset()); in DumpFileHeader()
714 annotations_offset = class_def->Annotations()->GetOffset(); in DumpClassDef()
722 class_def->GetClassData()->GetOffset(), class_def->GetClassData()->GetOffset()); in DumpClassDef()
1268 code->GetOffset(), in DumpMethod()
1713 uint32_t offset = call_site_id->CallSiteItem()->GetOffset(); in DumpCallSite()
/art/runtime/
Dart_field-inl.h98 return object->GetField32Volatile(GetOffset()); in Get32()
100 return object->GetField32(GetOffset()); in Get32()
108 object->SetField32Volatile<kTransactionActive>(GetOffset(), new_value); in Set32()
110 object->SetField32<kTransactionActive>(GetOffset(), new_value); in Set32()
118 return object->GetField64Volatile(GetOffset()); in Get64()
120 return object->GetField64(GetOffset()); in Get64()
128 object->SetField64Volatile<kTransactionActive>(GetOffset(), new_value); in Set64()
130 object->SetField64<kTransactionActive>(GetOffset(), new_value); in Set64()
142 GetOffset()); in GetObj()
144 return object->GetFieldObject<MirrorType, kDefaultVerifyFlags, kReadBarrierOption>(GetOffset()); in GetObj()
[all …]
Dart_field.h99 MemberOffset GetOffset() { in GetOffset() function
/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.cc719 size_t GetOffset() const { in GetOffset() function in art::linker::OatWriter::DexMethodVisitor
1230 quick_code_offset = relative_patcher_->GetOffset(method_ref); in VisitMethod()
1248 if (relative_patcher_->GetOffset(method_ref) != 0u) { in VisitMethod()
1252 << " offsets " << relative_patcher_->GetOffset(method_ref) in VisitMethod()
1316 size_t GetOffset() const { in GetOffset() function in art::linker::OatWriter::LayoutReserveOffsetCodeMethodVisitor
1834 size_t GetOffset() const { in GetOffset() function in art::linker::OatWriter::WriteCodeMethodVisitor
1878 uint32_t target_offset = writer_->relative_patcher_->GetOffset(patch.TargetMethod()); in GetTargetOffset()
2018 offset = visitor.GetOffset(); in InitOatClasses()
2337 offset = layout_reserve_code_visitor.GetOffset(); in InitOatCodeDexFiles()
2352 << 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.cc36 uint32_t CompactOffsetTable::Accessor::GetOffset(uint32_t index) const { in GetOffset() function in art::CompactOffsetTable::Accessor
Dcompact_dex_file.h297 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.cc242 if (field.GetOffset().Int32Value() == field_offset.Int32Value()) { in CheckFieldAssignmentImpl()
260 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.h191 size_t GetOffset() const { return offset_; } in GetOffset() function
380 loc->GetOffset() == offset && in FindHeapLocationIndex()
480 if (loc1->GetOffset() != loc2->GetOffset()) { in ComputeMayAlias()
Dnodes_shared.h169 HInstruction* GetOffset() const { return InputAt(1); } in GetOffset() function
Dinstruction_simplifier_shared.cc314 uint32_t another_data_offset = another_access->GetOffset()->AsIntConstant()->GetValue(); in TryExtractVecArrayAccessAddress()
/art/imgdiag/
Dimgdiag.cc122 field->GetOffset()); in PrettyFieldValue()
126 oss << static_cast<bool>(object->GetFieldBoolean<kVerifyNone>(field->GetOffset())); in PrettyFieldValue()
130 oss << static_cast<int32_t>(object->GetFieldByte<kVerifyNone>(field->GetOffset())); in PrettyFieldValue()
134 oss << object->GetFieldChar<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
138 oss << object->GetFieldShort<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
142 oss << object->GetField32<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
146 oss << object->GetField64<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
150 oss << object->GetField32<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
154 oss << object->GetField64<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
/art/runtime/interpreter/mterp/
Dnterp.cc387 return -resolved_field->GetOffset().Uint32Value(); in NterpGetInstanceFieldOffset()
399 UpdateCache(self, dex_pc_ptr, resolved_field->GetOffset().Uint32Value()); in NterpGetInstanceFieldOffset()
401 return resolved_field->GetOffset().Uint32Value(); in NterpGetInstanceFieldOffset()

123