Home
last modified time | relevance | path

Searched refs:type_id (Results 1 – 15 of 15) sorted by relevance

/art/runtime/
Ddex_file.h514 uint16_t GetIndexForTypeId(const TypeId& type_id) const { in GetIndexForTypeId() argument
515 CHECK_GE(&type_id, type_ids_) << GetLocation(); in GetIndexForTypeId()
516 CHECK_LT(&type_id, type_ids_ + header_->type_ids_size_) << GetLocation(); in GetIndexForTypeId()
517 size_t result = &type_id - type_ids_; in GetIndexForTypeId()
524 const TypeId& type_id = GetTypeId(idx); in StringByTypeIdx() local
525 return StringDataAndUtf16LengthByIdx(type_id.descriptor_idx_, unicode_length); in StringByTypeIdx()
529 const TypeId& type_id = GetTypeId(idx); in StringByTypeIdx() local
530 return StringDataByIdx(type_id.descriptor_idx_); in StringByTypeIdx()
534 const char* GetTypeDescriptor(const TypeId& type_id) const { in GetTypeDescriptor() argument
535 return StringDataByIdx(type_id.descriptor_idx_); in GetTypeDescriptor()
[all …]
Ddex_file.cc438 const TypeId* type_id = FindTypeId(GetIndexForStringId(*string_id)); in FindClassDef() local
439 if (type_id != nullptr) { in FindClassDef()
440 uint16_t type_idx = GetIndexForTypeId(*type_id); in FindClassDef()
595 const TypeId& type_id = GetTypeId(mid); in FindTypeId() local
596 if (string_idx > type_id.descriptor_idx_) { in FindTypeId()
598 } else if (string_idx < type_id.descriptor_idx_) { in FindTypeId()
601 return &type_id; in FindTypeId()
682 const DexFile::TypeId* type_id = FindTypeId(GetIndexForStringId(*string_id)); in CreateTypeList() local
683 if (type_id == NULL) { in CreateTypeList()
686 uint16_t type_idx = GetIndexForTypeId(*type_id); in CreateTypeList()
Ddex_file_test.cc298 const DexFile::TypeId* type_id = java_lang_dex_file_->FindTypeId(type_str_idx); in TEST_F() local
299 ASSERT_TRUE(type_id != NULL); in TEST_F()
300 EXPECT_EQ(java_lang_dex_file_->GetIndexForTypeId(*type_id), i); in TEST_F()
Dclass_linker_test.cc354 const DexFile::TypeId& type_id = dex->GetTypeId(i); in AssertDexFile() local
355 const char* descriptor = dex->GetTypeDescriptor(type_id); in AssertDexFile()
997 const DexFile::TypeId* type_id = dex_file->FindTypeId(dex_file->GetIndexForStringId(*string_id)); in TEST_F() local
998 ASSERT_TRUE(type_id != NULL); in TEST_F()
999 uint32_t type_idx = dex_file->GetIndexForTypeId(*type_id); in TEST_F()
Dutils.cc328 const DexFile::TypeId& type_id = dex_file.GetTypeId(type_idx); in PrettyType() local
329 return PrettyDescriptor(dex_file.GetTypeDescriptor(type_id)); in PrettyType()
Ddex_file_verifier.cc80 const DexFile::TypeId& type_id = dex_file_->GetTypeId(type_idx); in CheckLoadStringByTypeIdx() local
81 uint32_t idx = type_id.descriptor_idx_; in CheckLoadStringByTypeIdx()
Dclass_linker.cc3453 const DexFile::TypeId* type_id = in LookupClassFromImage() local
3455 if (type_id != nullptr) { in LookupClassFromImage()
3456 uint16_t type_idx = dex_file->GetIndexForTypeId(*type_id); in LookupClassFromImage()
Ddebugger.cc1220 JDWP::RefTypeId type_id = gRegistry->AddRefType(o->GetClass()); in GetReferenceType() local
1223 expandBufAddRefTypeId(pReply, type_id); in GetReferenceType()
/art/compiler/driver/
Dcompiler_driver-inl.h141 const DexFile::TypeId* type_id = in IsFastStaticField() local
143 if (type_id != nullptr) { in IsFastStaticField()
145 storage_idx = dex_file->GetIndexForTypeId(*type_id); in IsFastStaticField()
Dcompiler_driver.cc759 const DexFile::TypeId& type_id = dex_file->GetTypeId(exception_type_idx); in LoadImageClasses() local
760 const char* descriptor = dex_file->GetTypeDescriptor(type_id); in LoadImageClasses()
/art/compiler/dex/quick/
Ddex_file_method_inliner.cc589 const DexFile::TypeId* type_id = dex_file->FindTypeId(string_index); in FindClassIndex() local
590 if (type_id == nullptr) { in FindClassIndex()
594 *class_index = dex_file->GetIndexForTypeId(*type_id); in FindClassIndex()
/art/runtime/mirror/
Dobject_test.cc277 const DexFile::TypeId* type_id = java_lang_dex_file_->FindTypeId( in TEST_F() local
279 ASSERT_TRUE(type_id != NULL); in TEST_F()
280 uint32_t type_idx = java_lang_dex_file_->GetIndexForTypeId(*type_id); in TEST_F()
Dclass-inl.h681 const DexFile::TypeId& type_id = dex_file.GetTypeId(GetClassDef()->class_idx_); in DescriptorEquals() local
682 return strcmp(dex_file.GetTypeDescriptor(type_id), match) == 0; in DescriptorEquals()
Dclass.cc732 const DexFile::TypeId& type_id = dex_file.GetTypeId(GetClassDef()->class_idx_); in GetDescriptor() local
733 return dex_file.GetTypeDescriptor(type_id); in GetDescriptor()
/art/runtime/gc/
Dheap.cc582 const DexFile::TypeId& type_id = dex_file->GetTypeId(class_def.class_idx_); in SafeGetClassDescriptor() local
583 return dex_file->GetTypeDescriptor(type_id); in SafeGetClassDescriptor()