Home
last modified time | relevance | path

Searched refs:java_lang_dex_file_ (Results 1 – 9 of 9) sorted by relevance

/art/libdexfile/dex/
Dart_dex_file_loader_test.cc47 java_lang_dex_file_ = dex_files_[0].get(); in SetUp()
52 const DexFile* java_lang_dex_file_; member in art::ArtDexFileLoaderTest
74 EXPECT_EQ(java_lang_dex_file_->GetLocationChecksum(), checksums[0]); in TEST_F()
234 for (size_t i = 0; i < java_lang_dex_file_->NumTypeIds(); i++) { in TEST_F()
235 const char* type_str = java_lang_dex_file_->StringByTypeIdx(dex::TypeIndex(i)); in TEST_F()
236 const dex::StringId* type_str_id = java_lang_dex_file_->FindStringId(type_str); in TEST_F()
238 dex::StringIndex type_str_idx = java_lang_dex_file_->GetIndexForStringId(*type_str_id); in TEST_F()
239 const dex::TypeId* type_id = java_lang_dex_file_->FindTypeId(type_str_idx); in TEST_F()
240 ASSERT_EQ(type_id, java_lang_dex_file_->FindTypeId(type_str)); in TEST_F()
242 EXPECT_EQ(java_lang_dex_file_->GetIndexForTypeId(*type_id).index_, i); in TEST_F()
[all …]
/art/runtime/mirror/
Ddex_cache_test.cc45 ASSERT_TRUE(java_lang_dex_file_ != nullptr); in TEST_F()
49 *java_lang_dex_file_, in TEST_F()
54 || java_lang_dex_file_->NumStringIds() == dex_cache->NumStrings()); in TEST_F()
56 || java_lang_dex_file_->NumTypeIds() == dex_cache->NumResolvedTypes()); in TEST_F()
58 || java_lang_dex_file_->NumMethodIds() == dex_cache->NumResolvedMethods()); in TEST_F()
60 || java_lang_dex_file_->NumFieldIds() == dex_cache->NumResolvedFields()); in TEST_F()
62 || java_lang_dex_file_->NumProtoIds() == dex_cache->NumResolvedMethodTypes()); in TEST_F()
68 ASSERT_TRUE(java_lang_dex_file_ != nullptr); in TEST_F()
72 *java_lang_dex_file_, in TEST_F()
76 || java_lang_dex_file_->NumProtoIds() == dex_cache->NumResolvedMethodTypes()); in TEST_F()
/art/runtime/verifier/
Dmethod_verifier_test.cc70 ASSERT_TRUE(java_lang_dex_file_ != nullptr); in TEST_F()
71 VerifyDexFile(*java_lang_dex_file_); in TEST_F()
/art/dex2oat/linker/
Dimage_write_read_test.cc62 java_lang_dex_file_ = nullptr; in TestWriteRead()
Doat_writer_test.cc468 ASSERT_TRUE(java_lang_dex_file_ != nullptr); in TEST_F()
469 const DexFile& dex_file = *java_lang_dex_file_; in TEST_F()
/art/dex2oat/driver/
Dcompiler_driver_test.cc124 ASSERT_TRUE(java_lang_dex_file_ != nullptr); in TEST_F()
125 const DexFile& dex = *java_lang_dex_file_; in TEST_F()
/art/runtime/
Dcommon_runtime_test.h184 const DexFile* java_lang_dex_file_; variable
Dcommon_runtime_test.cc74 : class_linker_(nullptr), java_lang_dex_file_(nullptr) { in CommonRuntimeTestImpl()
131 java_lang_dex_file_ = boot_class_path_[0]; in SetUp()
Dclass_linker_test.cc1072 ASSERT_TRUE(java_lang_dex_file_ != nullptr); in TEST_F()
1073 AssertDexFile(*java_lang_dex_file_, nullptr); in TEST_F()