Home
last modified time | relevance | path

Searched refs:GetTypeId (Results 1 – 25 of 28) sorted by relevance

12

/art/libdexfile/dex/
Dtype_reference.h47 StringReference sr1(tr1.dex_file, tr1.dex_file->GetTypeId(tr1.TypeIndex()).descriptor_idx_); in operator()
48 StringReference sr2(tr2.dex_file, tr2.dex_file->GetTypeId(tr2.TypeIndex()).descriptor_idx_); in operator()
Ddex_file-inl.h67 const TypeId& type_id = GetTypeId(idx); in StringByTypeIdx()
75 const TypeId& type_id = GetTypeId(idx); in StringByTypeIdx()
84 const DexFile::TypeId& type_id = GetTypeId(field_id.type_idx_); in GetFieldTypeDescriptor()
93 const DexFile::TypeId& type_id = GetTypeId(method_id.class_idx_); in GetMethodDeclaringClassDescriptor()
175 const DexFile::TypeId& return_type_id = dex_file_->GetTypeId(proto_id_->return_type_idx_);
177 rhs.dex_file_->GetTypeId(rhs.proto_id_->return_type_idx_);
192 const DexFile::TypeId& param_id = dex_file_->GetTypeId(params->GetTypeItem(i).type_idx_);
194 rhs.dex_file_->GetTypeId(rhs_params->GetTypeItem(i).type_idx_);
Dtest_dex_file_builder_test.cc66 dex_file->GetTypeDescriptor(dex_file->GetTypeId(dex::TypeIndex(i)))) << i; in TEST()
Ddex_file.cc337 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId()
376 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId()
623 const DexFile::TypeId& type_id = GetTypeId(type_idx); in PrettyType()
Ddex_file.h521 const TypeId& GetTypeId(dex::TypeIndex idx) const { in GetTypeId() function
575 const DexFile::TypeId& type_id = GetTypeId(field_id.class_idx_); in GetFieldDeclaringClassDescriptor()
Ddex_file_verifier.cc174 return CheckLoadStringByIdx(dex_file_->GetTypeId(type_idx).descriptor_idx_, error_string); in CheckLoadStringByTypeIdx()
1027 const DexFile::TypeId& type_id = dex_file_->GetTypeId(dex_file_->GetFieldId(index).type_idx_); in CheckStaticFieldTypes()
/art/runtime/
Dimtable-inl.h61 dex_file->GetTypeDescriptor(dex_file->GetTypeId(proto_id.return_type_idx_))); in GetImtHashComponents()
71 dex_file->GetTypeDescriptor(dex_file->GetTypeId(type.type_idx_))); in GetImtHashComponents()
Dtype_lookup_table.cc82 const DexFile::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); in TypeLookupTable()
96 const DexFile::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); in TypeLookupTable()
Dart_method-inl.h306 return dex_file->GetTypeDescriptor(dex_file->GetTypeId(GetReturnTypeIndex())); in GetReturnTypeDescriptor()
316 return dex_file->GetTypeDescriptor(dex_file->GetTypeId(type_idx)); in GetTypeDescriptorFromTypeIdx()
/art/dexlayout/
Ddex_verify.cc642 if (orig->GetTypeId()->GetIndex() != output->GetTypeId()->GetIndex()) { in VerifyEncodedValue()
645 orig->GetTypeId()->GetIndex(), in VerifyEncodedValue()
646 output->GetTypeId()->GetIndex()); in VerifyEncodedValue()
1008 if (orig_handler->GetTypeId() == nullptr || output_handler->GetTypeId() == nullptr) { in VerifyHandler()
1009 if (orig_handler->GetTypeId() != output_handler->GetTypeId()) { in VerifyHandler()
1015 } else if (orig_handler->GetTypeId()->GetIndex() != output_handler->GetTypeId()->GetIndex()) { in VerifyHandler()
1019 orig_handler->GetTypeId()->GetIndex(), in VerifyHandler()
1020 output_handler->GetTypeId()->GetIndex()); in VerifyHandler()
Ddex_ir.cc130 type_ids->push_back(collections.GetTypeId(index)); in GetIdFromInstruction()
267 item->SetTypeId(GetTypeId(string_index)); in ReadEncodedValue()
306 item->SetEncodedAnnotation(new EncodedAnnotation(GetTypeId(type_idx), elements)); in ReadEncodedValue()
329 const DexFile::TypeId& disk_type_id = dex_file.GetTypeId(dex::TypeIndex(i)); in CreateTypeId()
340 GetTypeId(disk_proto_id.return_type_idx_.index_), in CreateProtoId()
347 FieldId* field_id = new FieldId(GetTypeId(disk_field_id.class_idx_.index_), in CreateFieldId()
348 GetTypeId(disk_field_id.type_idx_.index_), in CreateFieldId()
355 MethodId* method_id = new MethodId(GetTypeId(disk_method_id.class_idx_.index_), in CreateMethodId()
363 const TypeId* class_type = GetTypeId(disk_class_def.class_idx_.index_); in CreateClassDef()
399 type_vector->push_back(GetTypeId(dex_type_list->GetTypeItem(index).type_idx_.index_)); in CreateTypeList()
Ddex_ir.h272 TypeId* GetTypeId(uint32_t index) { in GetTypeId() function
305 return index == DexFile::kDexNoIndex16 ? nullptr : GetTypeId(index); in GetTypeIdOrNullPtr()
816 TypeId* GetTypeId() const { return u_.type_val_; } in GetTypeId() function
978 const TypeId* GetTypeId() const { return type_id_; } in GetTypeId() function
Ddex_writer.cc156 length = EncodeUIntValue(encoded_value->GetTypeId()->GetIndex(), buffer); in WriteEncodedValue()
511 if (handler->GetTypeId() != nullptr) { in WriteCodeItemPostInstructionData()
512 stream->WriteUleb128(handler->GetTypeId()->GetIndex()); in WriteCodeItemPostInstructionData()
Ddexlayout.cc421 const char* tp = header->GetCollections().GetTypeId(index)->GetStringId()->Data(); in IndexString()
553 dex_ir::TypeId* type_id = data->GetTypeId(); in DumpEncodedValue()
816 const dex_ir::TypeId* type_id = handler->GetTypeId(); in DumpCatches()
/art/runtime/dex/
Dart_dex_file_loader_test.cc266 const DexFile::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); in TEST_F()
281 const DexFile::TypeId& klass = java_lang_dex_file_->GetTypeId(to_find.class_idx_); in TEST_F()
283 const DexFile::TypeId& type = java_lang_dex_file_->GetTypeId(to_find.type_idx_); in TEST_F()
/art/runtime/native/
Djava_lang_reflect_Executable.cc298 const DexFile::TypeId& lhs = this_method->GetDexFile()->GetTypeId( in Executable_compareMethodParametersInternal()
300 const DexFile::TypeId& rhs = other_method->GetDexFile()->GetTypeId( in Executable_compareMethodParametersInternal()
/art/runtime/verifier/
Dverifier_deps.cc103 const DexFile::TypeId& type_id = dex_file.GetTypeId(class_def->class_idx_); in GetClassDescriptorStringId()
121 const DexFile::TypeId& type_id = dex_file.GetTypeId(type_idx); in TryGetClassDescriptorStringId()
123 const DexFile::TypeId& klass_type_id = klass_dex.GetTypeId(klass->GetClassDef()->class_idx_); in TryGetClassDescriptorStringId()
968 …StringPiece type(dex_file.StringDataByIdx(dex_file.GetTypeId(field_id.type_idx_).descriptor_idx_)); in VerifyFields()
/art/profman/
Dprofman.cc593 const DexFile::TypeId& type_id = dex_file->GetTypeId(type_index); in GetClassNamesAndMethods()
602 std::string type_string(dex_file->GetTypeDescriptor(dex_file->GetTypeId(id.class_idx_))); in GetClassNamesAndMethods()
813 dex_file->GetTypeId(class_ref.TypeIndex()), *name_id, *proto_id); in FindMethodIndex()
/art/compiler/driver/
Dcompiler_driver_test.cc125 << " " << dex.GetTypeDescriptor(dex.GetTypeId(dex::TypeIndex(i))); in TEST_F()
Dcompiler_driver.cc1142 const DexFile::TypeId& type_id = dex_file->GetTypeId(exception_type_idx); in LoadImageClasses()
2235 const DexFile::TypeId& class_type_id = dex_file.GetTypeId(class_def.class_idx_); in Visit()
2257 const DexFile::TypeId& class_type_id = dex_file.GetTypeId(class_def->class_idx_); in TryInitializeClass()
/art/compiler/optimizing/
Dgraph_visualizer.cc381 load_class->GetDexFile().GetTypeId(load_class->GetTypeIndex())); in VisitLoadClass()
/art/openjdkjvmti/
Dti_redefine.cc1399 const art::DexFile::TypeId& declaring_class_id = dex_file_->GetTypeId(class_def.class_idx_); in UpdateMethods()
1413 old_dex_file.GetTypeId( in UpdateMethods()
/art/runtime/mirror/
Dclass-inl.h888 const DexFile::TypeId& type_id = dex_file.GetTypeId(GetClassDef()->class_idx_); in DescriptorEquals()
Dclass.cc1020 const DexFile::TypeId& type_id = dex_file.GetTypeId(GetClassDef()->class_idx_); in GetDescriptor()
/art/runtime/jit/
Dprofile_compilation_info.cc2038 const DexFile::TypeId& type_id = dex_file->GetTypeId(type_idx); in GetClassDescriptors()

12