Searched defs:type_id (Results 1 - 20 of 20) sorted by relevance

/art/runtime/
H A Dtype_lookup_table.cc82 const DexFile::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); local
83 const DexFile::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_);
96 const DexFile::TypeId& type_id = dex_file.GetTypeId(class_def.class_idx_); local
97 const DexFile::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_);
H A Ddex_file-inl.h65 const TypeId& type_id = GetTypeId(idx); local
66 return StringDataAndUtf16LengthByIdx(type_id.descriptor_idx_, unicode_length);
73 const TypeId& type_id = GetTypeId(idx); local
74 return StringDataByIdx(type_id.descriptor_idx_);
77 inline const char* DexFile::GetTypeDescriptor(const TypeId& type_id) const {
78 return StringDataByIdx(type_id.descriptor_idx_);
82 const DexFile::TypeId& type_id = GetTypeId(field_id.type_idx_); local
83 return GetTypeDescriptor(type_id);
91 const DexFile::TypeId& type_id = GetTypeId(method_id.class_idx_); local
92 return GetTypeDescriptor(type_id);
[all...]
H A Ddex_file_test.cc471 const DexFile::TypeId* type_id = java_lang_dex_file_->FindTypeId(type_str_idx); local
472 ASSERT_EQ(type_id, java_lang_dex_file_->FindTypeId(type_str));
473 ASSERT_TRUE(type_id != nullptr);
474 EXPECT_EQ(java_lang_dex_file_->GetIndexForTypeId(*type_id).index_, i);
H A Dclass_linker_test.cc437 const DexFile::TypeId& type_id = dex.GetTypeId(dex::TypeIndex(i)); local
438 const char* descriptor = dex.GetTypeDescriptor(type_id);
1270 const DexFile::TypeId* type_id = dex_file->FindTypeId("LStaticsFromCode;"); local
1271 ASSERT_TRUE(type_id != nullptr);
1272 dex::TypeIndex type_idx = dex_file->GetIndexForTypeId(*type_id);
H A Ddex_file.cc775 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); local
776 const DexFile::StringId& str_id = GetStringId(type_id.descriptor_idx_);
784 return &type_id;
814 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); local
815 if (string_idx > type_id.descriptor_idx_) {
817 } else if (string_idx < type_id.descriptor_idx_) {
820 return &type_id;
898 const DexFile::TypeId* type_id = FindTypeId(descriptor.c_str()); local
899 if (type_id == nullptr) {
902 dex::TypeIndex type_idx = GetIndexForTypeId(*type_id);
1319 const DexFile::TypeId& type_id = GetTypeId(type_idx); local
[all...]
H A Ddex_file_verifier.cc1007 const DexFile::TypeId& type_id = dex_file_->GetTypeId(dex_file_->GetFieldId(index).type_idx_); local
1009 dex_file_->GetStringData(dex_file_->GetStringId(type_id.descriptor_idx_));
2909 const DexFile::TypeId* type_id = local
2914 return GetStringOrError(begin, header, type_id->descriptor_idx_);
H A Doat_file.cc1393 const DexFile::TypeId* type_id = dex_file.FindTypeId(descriptor); local
1394 if (type_id != nullptr) {
1395 dex::TypeIndex type_idx = dex_file.GetIndexForTypeId(*type_id);
H A Ddex_file.h595 dex::TypeIndex GetIndexForTypeId(const TypeId& type_id) const {
596 CHECK_GE(&type_id, type_ids_) << GetLocation();
597 CHECK_LT(&type_id, type_ids_ + header_->type_ids_size_) << GetLocation();
598 size_t result = &type_id - type_ids_;
609 const char* GetTypeDescriptor(const TypeId& type_id) const;
642 const DexFile::TypeId& type_id = GetTypeId(field_id.class_idx_); local
643 return GetTypeDescriptor(type_id);
H A Ddebugger.cc1076 JDWP::RefTypeId type_id = gRegistry->AddRefType(o->GetClass()); local
1079 expandBufAddRefTypeId(pReply, type_id);
H A Dclass_linker.cc8957 const DexFile::TypeId& type_id = dex_file->GetTypeId(type_idx); local
8958 const char* descriptor = dex_file->GetTypeDescriptor(type_id);
/art/dexlayout/
H A Ddex_visualize.cc123 void DumpTypeId(const dex_ir::TypeId* type_id, int class_index) { argument
124 DumpAddressRange(type_id, class_index);
125 DumpStringId(type_id->GetStringId(), class_index);
192 for (dex_ir::TypeId* type_id : *type_ids) {
193 DumpTypeId(type_id, class_index);
H A Ddex_ir.cc359 TypeId* type_id = new TypeId(GetStringId(disk_type_id.descriptor_idx_.index_)); local
360 type_ids_.AddIndexedItem(type_id, TypeIdsOffset() + i * TypeId::ItemSize(), i);
633 const TypeId* type_id = GetTypeIdOrNullPtr(type_index.index_); local
634 catch_all |= type_id == nullptr;
636 new TypeAddrPair(type_id, it.GetHandlerAddress())));
674 const TypeId* type_id = GetTypeIdOrNullPtr(DecodeUnsignedLeb128(&handlers_data)); local
677 std::unique_ptr<const TypeAddrPair>(new TypeAddrPair(type_id, addr)));
H A Ddexlayout.cc252 for (const dex_ir::TypeId* type_id : *type_list->GetTypeList()) {
253 result += type_id->GetStringId()->Data();
549 dex_ir::TypeId* type_id = data->GetTypeId(); local
550 fputs(type_id->GetStringId()->Data(), out_file_);
812 const dex_ir::TypeId* type_id = handler->GetTypeId(); local
813 const char* descriptor = (type_id == nullptr) ? "<any>" : type_id->GetStringId()->Data();
H A Ddex_ir.h82 virtual void Dispatch(const TypeId* type_id) = 0;
653 void SetTypeId(TypeId* type_id) { u_.type_val_ = type_id; } argument
831 TypeAddrPair(const TypeId* type_id, uint32_t address) : type_id_(type_id), address_(address) { } argument
/art/compiler/
H A Dverifier_deps_test.cc255 const DexFile::TypeId* type_id = dex_file.FindTypeId(cls.c_str()); local
256 DCHECK(type_id != nullptr);
257 dex::TypeIndex index = dex_file.GetIndexForTypeId(*type_id);
/art/profman/
H A Dprofman.cc431 const DexFile::TypeId& type_id = dex_file->GetTypeId(type_index); local
432 out_lines->insert(std::string(dex_file->GetTypeDescriptor(type_id)));
583 const DexFile::TypeId* type_id = dex_file->FindTypeId(klass_descriptor.c_str()); local
584 if (type_id == nullptr) {
587 dex::TypeIndex type_index = dex_file->GetIndexForTypeId(*type_id);
/art/runtime/mirror/
H A Dclass.cc903 const DexFile::TypeId& type_id = dex_file.GetTypeId(GetClassDef()->class_idx_); local
904 return dex_file.GetTypeDescriptor(type_id);
1145 const DexFile::TypeId* type_id = dex_file.FindTypeId(GetDescriptor(&temp)); local
1146 return (type_id == nullptr)
1148 : dex_file.GetIndexForTypeId(*type_id);
H A Dclass-inl.h842 const DexFile::TypeId& type_id = dex_file.GetTypeId(GetClassDef()->class_idx_); local
843 return strcmp(dex_file.GetTypeDescriptor(type_id), match) == 0;
/art/runtime/verifier/
H A Dverifier_deps.cc103 const DexFile::TypeId& type_id = dex_file.GetTypeId(class_def->class_idx_); local
106 CHECK_EQ(GetIdFromString(dex_file, klass->GetDescriptor(&temp)), type_id.descriptor_idx_);
108 return type_id.descriptor_idx_;
121 const DexFile::TypeId& type_id = dex_file.GetTypeId(type_idx); local
124 if (strcmp(dex_file.GetTypeDescriptor(type_id),
126 return type_id.descriptor_idx_;
/art/compiler/driver/
H A Dcompiler_driver.cc1153 const DexFile::TypeId& type_id = dex_file->GetTypeId(exception_type_idx); local
1154 const char* descriptor = dex_file->GetTypeDescriptor(type_id);

Completed in 881 milliseconds