Searched refs:type_id (Results 1 – 15 of 15) sorted by relevance
514 uint16_t GetIndexForTypeId(const TypeId& type_id) const { in GetIndexForTypeId() argument515 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() local525 return StringDataAndUtf16LengthByIdx(type_id.descriptor_idx_, unicode_length); in StringByTypeIdx()529 const TypeId& type_id = GetTypeId(idx); in StringByTypeIdx() local530 return StringDataByIdx(type_id.descriptor_idx_); in StringByTypeIdx()534 const char* GetTypeDescriptor(const TypeId& type_id) const { in GetTypeDescriptor() argument535 return StringDataByIdx(type_id.descriptor_idx_); in GetTypeDescriptor()[all …]
438 const TypeId* type_id = FindTypeId(GetIndexForStringId(*string_id)); in FindClassDef() local439 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() local596 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() local683 if (type_id == NULL) { in CreateTypeList()686 uint16_t type_idx = GetIndexForTypeId(*type_id); in CreateTypeList()
298 const DexFile::TypeId* type_id = java_lang_dex_file_->FindTypeId(type_str_idx); in TEST_F() local299 ASSERT_TRUE(type_id != NULL); in TEST_F()300 EXPECT_EQ(java_lang_dex_file_->GetIndexForTypeId(*type_id), i); in TEST_F()
354 const DexFile::TypeId& type_id = dex->GetTypeId(i); in AssertDexFile() local355 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() local998 ASSERT_TRUE(type_id != NULL); in TEST_F()999 uint32_t type_idx = dex_file->GetIndexForTypeId(*type_id); in TEST_F()
328 const DexFile::TypeId& type_id = dex_file.GetTypeId(type_idx); in PrettyType() local329 return PrettyDescriptor(dex_file.GetTypeDescriptor(type_id)); in PrettyType()
80 const DexFile::TypeId& type_id = dex_file_->GetTypeId(type_idx); in CheckLoadStringByTypeIdx() local81 uint32_t idx = type_id.descriptor_idx_; in CheckLoadStringByTypeIdx()
3453 const DexFile::TypeId* type_id = in LookupClassFromImage() local3455 if (type_id != nullptr) { in LookupClassFromImage()3456 uint16_t type_idx = dex_file->GetIndexForTypeId(*type_id); in LookupClassFromImage()
1220 JDWP::RefTypeId type_id = gRegistry->AddRefType(o->GetClass()); in GetReferenceType() local1223 expandBufAddRefTypeId(pReply, type_id); in GetReferenceType()
141 const DexFile::TypeId* type_id = in IsFastStaticField() local143 if (type_id != nullptr) { in IsFastStaticField()145 storage_idx = dex_file->GetIndexForTypeId(*type_id); in IsFastStaticField()
759 const DexFile::TypeId& type_id = dex_file->GetTypeId(exception_type_idx); in LoadImageClasses() local760 const char* descriptor = dex_file->GetTypeDescriptor(type_id); in LoadImageClasses()
589 const DexFile::TypeId* type_id = dex_file->FindTypeId(string_index); in FindClassIndex() local590 if (type_id == nullptr) { in FindClassIndex()594 *class_index = dex_file->GetIndexForTypeId(*type_id); in FindClassIndex()
277 const DexFile::TypeId* type_id = java_lang_dex_file_->FindTypeId( in TEST_F() local279 ASSERT_TRUE(type_id != NULL); in TEST_F()280 uint32_t type_idx = java_lang_dex_file_->GetIndexForTypeId(*type_id); in TEST_F()
681 const DexFile::TypeId& type_id = dex_file.GetTypeId(GetClassDef()->class_idx_); in DescriptorEquals() local682 return strcmp(dex_file.GetTypeDescriptor(type_id), match) == 0; in DescriptorEquals()
732 const DexFile::TypeId& type_id = dex_file.GetTypeId(GetClassDef()->class_idx_); in GetDescriptor() local733 return dex_file.GetTypeDescriptor(type_id); in GetDescriptor()
582 const DexFile::TypeId& type_id = dex_file->GetTypeId(class_def.class_idx_); in SafeGetClassDescriptor() local583 return dex_file->GetTypeDescriptor(type_id); in SafeGetClassDescriptor()