Home
last modified time | relevance | path

Searched refs:GetIndex (Results 1 – 25 of 68) sorted by relevance

123

/art/dexlayout/
Ddex_verify.cc78 orig->GetIndex(), in VerifyId()
88 if (orig->GetStringId()->GetIndex() != output->GetStringId()->GetIndex()) { in VerifyId()
90 orig->GetIndex(), in VerifyId()
92 orig->GetStringId()->GetIndex(), in VerifyId()
93 output->GetStringId()->GetIndex()); in VerifyId()
100 if (orig->Shorty()->GetIndex() != output->Shorty()->GetIndex()) { in VerifyId()
102 orig->GetIndex(), in VerifyId()
104 orig->Shorty()->GetIndex(), in VerifyId()
105 output->Shorty()->GetIndex()); in VerifyId()
108 if (orig->ReturnType()->GetIndex() != output->ReturnType()->GetIndex()) { in VerifyId()
[all …]
Ddex_writer.cc147 length = EncodeUIntValue(encoded_value->GetProtoId()->GetIndex(), buffer); in WriteEncodedValue()
150 length = EncodeUIntValue(encoded_value->GetMethodHandle()->GetIndex(), buffer); in WriteEncodedValue()
153 length = EncodeUIntValue(encoded_value->GetStringId()->GetIndex(), buffer); in WriteEncodedValue()
156 length = EncodeUIntValue(encoded_value->GetTypeId()->GetIndex(), buffer); in WriteEncodedValue()
160 length = EncodeUIntValue(encoded_value->GetFieldId()->GetIndex(), buffer); in WriteEncodedValue()
163 length = EncodeUIntValue(encoded_value->GetMethodId()->GetIndex(), buffer); in WriteEncodedValue()
199 stream->WriteUleb128(annotation->GetType()->GetIndex()); in WriteEncodedAnnotation()
203 stream->WriteUleb128(annotation_element->GetName()->GetIndex()); in WriteEncodedAnnotation()
211 uint32_t index = field.GetFieldId()->GetIndex(); in WriteEncodedFields()
221 uint32_t index = method.GetMethodId()->GetIndex(); in WriteEncodedMethods()
[all …]
Ddexlayout.cc629 fprintf(out_file_, "class_idx : %d\n", class_def->ClassType()->GetIndex()); in DumpClassDef()
633 DexFile::kDexNoIndex16 : class_def->Superclass()->GetIndex(); in DumpClassDef()
639 source_file_offset = class_def->SourceFile()->GetIndex(); in DumpClassDef()
731 const uint32_t field_idx = field_id->GetIndex(); in DumpClassAnnotations()
742 const uint32_t method_idx = method_id->GetIndex(); in DumpClassAnnotations()
753 const uint32_t method_idx = method_id->GetIndex(); in DumpClassAnnotations()
1182 fprintf(out_file_, " method_idx : %d\n", method_id->GetIndex()); in DumpMethod()
1468 DumpSField((*static_fields)[i].GetFieldId()->GetIndex(), in DumpClass()
1485 DumpIField((*instance_fields)[i].GetFieldId()->GetIndex(), in DumpClass()
1501 DumpMethod((*direct_methods)[i].GetMethodId()->GetIndex(), in DumpClass()
[all …]
Ddex_visualize.cc178 uint32_t method_idx = method->GetMethodId()->GetIndex(); in DumpMethodItem()
258 dex::TypeIndex type_idx(class_def->ClassType()->GetIndex()); in VisualizeDexLayout()
Dcompact_dex_writer.cc65 const uint32_t method_idx = method_id->GetIndex(); in WriteDebugInfoOffsetTable()
253 method_idx_map.insert(std::make_pair(debug_item, method_id->GetIndex())); in SortDebugInfosByMethodIndex()
349 const uint32_t idx = method.GetMethodId()->GetIndex(); in CanGenerateCompactDex()
/art/libdexfile/dex/
Dclass_accessor_test.cc49 EXPECT_EQ(field.GetIndex(), field_it->GetIndex()); in TEST_F()
57 EXPECT_EQ(field.GetIndex(), field_it->GetIndex()); in TEST_F()
59 EXPECT_EQ(field.GetIndex(), instance_field_it->GetIndex()); in TEST_F()
68 EXPECT_EQ(method.GetIndex(), method_it->GetIndex()); in TEST_F()
77 EXPECT_EQ(method.GetIndex(), method_it->GetIndex()); in TEST_F()
Dart_dex_file_loader_test.cc128 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F()
202 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F()
212 raw->PrettyMethod(cur_method->GetIndex(), /* with_signature= */ false)); in TEST_F()
214 raw->PrettyMethod(cur_method->GetIndex(), /* with_signature= */ true)); in TEST_F()
Ddex_file_verifier.cc1138 uint32_t index = field.GetIndex(); in CheckStaticFieldTypes()
1466 const uint32_t direct_idx = direct_methods->GetIndex(); in CheckIntraClassDataItemMethods()
1925 ptr_, data_end, member_type, member.GetIndex()); in CheckIntraHiddenapiClassData()
1931 decoded_flags, member_type, member.GetIndex()); in CheckIntraHiddenapiClassData()
2437 DCHECK_LE(read_field.GetIndex(), dex_file_->NumFieldIds()); in FindFirstClassDataDefiner()
2438 return dex_file_->GetFieldId(read_field.GetIndex()).class_idx_.index_; in FindFirstClassDataDefiner()
2444 DCHECK_LE(read_method.GetIndex(), dex_file_->NumMethodIds()); in FindFirstClassDataDefiner()
2445 return dex_file_->GetMethodId(read_method.GetIndex()).class_idx_.index_; in FindFirstClassDataDefiner()
2989 DCHECK_LE(read_field.GetIndex(), header_->field_ids_size_); in CheckInterClassDataItem()
2990 const dex::FieldId& field = dex_file_->GetFieldId(read_field.GetIndex()); in CheckInterClassDataItem()
[all …]
Ddex_file_tracking_registrar.cc207 const dex::MethodId& methodid_item = dex_file_->GetMethodId(method.GetIndex()); in SetCodeItemRegistration()
Dclass_accessor-inl.h77 return MethodReference(&dex_file_, GetIndex()); in GetReference()
/art/dex2oat/linker/
Dindex_bss_mapping_encoder.h44 DCHECK_NE(index, entry_.GetIndex(index_bits_)); in TryMerge()
48 uint32_t diff = index - entry_.GetIndex(index_bits_); in TryMerge()
/art/compiler/optimizing/
Dinstruction_simplifier_arm64.cc203 instruction->GetIndex(), in VisitArrayGet()
214 instruction->GetIndex(), in VisitArraySet()
281 && TryExtractVecArrayAccessAddress(instruction, instruction->GetIndex())) { in VisitVecLoad()
287 if (TryExtractVecArrayAccessAddress(instruction, instruction->GetIndex())) { in VisitVecStore()
Dcode_sinking.cc193 : block->GetPredecessors()[use.GetIndex()]; in FindIdealPosition()
381 environment->RemoveAsUserOfInput(use.GetIndex()); in SinkCodeToUncommonBranch()
382 environment->SetRawEnvAt(use.GetIndex(), nullptr); in SinkCodeToUncommonBranch()
Dload_store_analysis.h125 HInstruction* GetIndex() const { return index_; } in GetIndex() function
317 loc->GetIndex() == index && in FindHeapLocationIndex()
423 HInstruction* idx1 = loc1->GetIndex(); in ComputeMayAlias()
424 HInstruction* idx2 = loc2->GetIndex(); in ComputeMayAlias()
Dinstruction_simplifier_arm.cc222 instruction->GetIndex(), in VisitArrayGet()
243 instruction->GetIndex(), in VisitArraySet()
Dssa_phi_elimination.cc116 user->SetRawEnvAt(use.GetIndex(), nullptr); in EliminateDeadPhis()
Dnodes_shared.h168 HInstruction* GetIndex() const { return InputAt(0); } in GetIndex() function
/art/tools/veridex/
Dresolver.cc41 field_infos_[field.GetIndex()] = field.GetDataPointer(); in Run()
44 method_infos_[method.GetIndex()] = method.GetDataPointer(); in Run()
143 const dex::MethodId& other_method_id = other_dex_file.GetMethodId(method.GetIndex()); in LookupMethodIn()
198 const dex::FieldId& other_field_id = other_dex_file.GetFieldId(field.GetIndex()); in LookupFieldIn()
249 other_dex_file.GetMethodId(method.GetIndex()), in LookupDeclaredMethodIn()
/art/runtime/
Dindex_bss_mapping.h53 uint32_t GetIndex(size_t index_bits) const { in GetIndex() function
Dindex_bss_mapping.cc29 uint32_t diff = GetIndex(index_bits) - index; in GetBssOffset()
Dhidden_api.cc186 const dex::FieldId& field_id = dex_file.GetFieldId(field.GetIndex()); in MemberSignature()
195 const dex::MethodId& method_id = dex_file.GetMethodId(method.GetIndex()); in MemberSignature()
419 if (dex_member.GetIndex() == member_index) { in GetDexFlags()
/art/test/983-source-transform-verify/
Dsource_transform_art.cc63 LOG(FATAL) << "Unexpected instruction found in " << dex->PrettyMethod(method.GetIndex()) in VerifyClassData()
/art/libdexfile/external/
Ddex_file_ext.cc128 int32_t index = method.GetIndex(); in GetMethodCacheEntryForOffset()
377 ext_dex_file->dex_file_->PrettyMethod(method.GetIndex(), with_signature)}; in ExtDexFileGetAllMethodInfos()
/art/dexlist/
Ddexlist.cc148 method.GetIndex(), in dumpClass()
/art/tools/dexanalyze/
Ddexanalyze_experiments.cc95 CodeItemDebugInfoAccessor code_item(*dex_file, method.GetCodeItem(), method.GetIndex()); in ProcessDexFiles()
256 static_field_index_map_[field.GetIndex()] = current_idx++; in ProcessDexFile()
261 instance_field_index_map_[field.GetIndex()] = current_idx++; in ProcessDexFile()

123