Home
last modified time | relevance | path

Searched refs:GetIndex (Results 1 – 25 of 65) 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.cc64 const uint32_t method_idx = method_id->GetIndex(); in WriteDebugInfoOffsetTable()
251 method_idx_map.insert(std::make_pair(debug_item, method_id->GetIndex())); in SortDebugInfosByMethodIndex()
347 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.cc137 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F()
211 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F()
221 raw->PrettyMethod(cur_method->GetIndex(), /* with_signature= */ false)); in TEST_F()
223 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()
2988 DCHECK_LE(read_field.GetIndex(), header_->field_ids_size_); in CheckInterClassDataItem()
2989 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()
/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/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/compiler/optimizing/
Dinstruction_simplifier_arm64.cc203 instruction->GetIndex(), in VisitArrayGet()
214 instruction->GetIndex(), in VisitArraySet()
282 TryExtractVecArrayAccessAddress(instruction, instruction->GetIndex())) { in VisitVecLoad()
290 TryExtractVecArrayAccessAddress(instruction, instruction->GetIndex())) { in VisitVecStore()
Dcode_sinking.cc194 : block->GetPredecessors()[use.GetIndex()]; in FindIdealPosition()
382 environment->RemoveAsUserOfInput(use.GetIndex()); in SinkCodeToUncommonBranch()
383 environment->SetRawEnvAt(use.GetIndex(), nullptr); in SinkCodeToUncommonBranch()
Dinstruction_simplifier_arm.cc222 instruction->GetIndex(), in VisitArrayGet()
243 instruction->GetIndex(), in VisitArraySet()
Dload_store_analysis.h189 HInstruction* GetIndex() const { return index_; } in GetIndex() function
383 loc->GetIndex() == index && in FindHeapLocationIndex()
494 HInstruction* idx1 = loc1->GetIndex(); in ComputeMayAlias()
495 HInstruction* idx2 = loc2->GetIndex(); in ComputeMayAlias()
Dload_store_elimination.cc1222 if (ref == new_array && location->GetIndex() != nullptr) { in VisitNewArray()
1516 HInstruction* index = location->GetIndex(); in PrepareLoopValue()
1890 if (loop_info->Contains(*loc1->GetIndex()->GetBlock()) || in MayAliasOnBackEdge()
1891 loop_info->Contains(*loc2->GetIndex()->GetBlock())) { in MayAliasOnBackEdge()
2076 HInstruction* index = heap_location_collector_.GetHeapLocation(idx)->GetIndex(); in FindLoopPhisToMaterialize()
2111 heap_location_collector_.GetHeapLocation(idx)->GetIndex() != nullptr) { in FindLoopPhisToMaterialize()
3168 use.GetUser()->ReplaceInput(replacement, use.GetIndex()); in RemoveAndReplaceInputs()
3172 use.GetUser()->ReplaceInput(replacement, use.GetIndex()); in RemoveAndReplaceInputs()
3315 to_replace.push_back({use.GetUser(), use.GetIndex()}); in CollectReplacements()
3322 to_replace.push_back({use.GetUser(), use.GetIndex()}); in CollectReplacements()
[all …]
Dssa_phi_elimination.cc116 user->SetRawEnvAt(use.GetIndex(), nullptr); in EliminateDeadPhis()
Dnodes_shared.h168 HInstruction* GetIndex() const { return InputAt(0); } in GetIndex() function
/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.cc192 const dex::FieldId& field_id = dex_file.GetFieldId(field.GetIndex()); in MemberSignature()
201 const dex::MethodId& method_id = dex_file.GetMethodId(method.GetIndex()); in MemberSignature()
438 if (dex_member.GetIndex() == member_index) { in GetDexFlags()
/art/test/983-source-transform-verify/
Dsource_transform_art.cc62 LOG(FATAL) << "Unexpected instruction found in " << dex->PrettyMethod(method.GetIndex()) in VerifyClassData()
/art/libdexfile/external/
Ddex_file_ext.cc72 .index = method.GetIndex(), in FindMethod()
246 .index = method.GetIndex(), in ADexFile_forEachMethod()
/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