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

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

Completed in 417 milliseconds