Searched refs:dex_file1 (Results 1 – 4 of 4) sorted by relevance
/aosp12/art/compiler/linker/ |
H A D | linker_patch_test.cc | 25 const DexFile* dex_file1 = reinterpret_cast<const DexFile*>(1); in TEST() local 32 LinkerPatch::RelativeMethodPatch(16u, dex_file1, 3000u, 1000u), in TEST() 33 LinkerPatch::RelativeMethodPatch(16u, dex_file1, 3001u, 1000u), in TEST() 34 LinkerPatch::RelativeMethodPatch(16u, dex_file1, 3000u, 1001u), in TEST() 48 LinkerPatch::RelativeCodePatch(16u, dex_file1, 1000u), in TEST() 49 LinkerPatch::RelativeCodePatch(16u, dex_file1, 1001u), in TEST() 52 LinkerPatch::RelativeTypePatch(16u, dex_file1, 3000u, 1000u), in TEST() 53 LinkerPatch::RelativeTypePatch(16u, dex_file1, 3001u, 1000u), in TEST() 54 LinkerPatch::RelativeTypePatch(16u, dex_file1, 3000u, 1001u), in TEST() 109 LinkerPatch::RelativeCodePatch(32u, dex_file1, 1000u), in TEST() [all …]
|
/aosp12/art/libdexfile/dex/ |
H A D | string_reference_test.cc | 36 std::unique_ptr<const DexFile> dex_file1 = builder1.Build("fake location 1"); in TEST() local 37 ASSERT_EQ(1u, dex_file1->NumStringIds()); in TEST() 38 ASSERT_STREQ("String1", dex_file1->GetStringData(dex_file1->GetStringId(dex::StringIndex(0)))); in TEST() 39 StringReference sr1(dex_file1.get(), dex::StringIndex(0)); in TEST() 81 std::unique_ptr<const DexFile> dex_file1 = builder1.Build("fake location 1"); in TEST() local 82 ASSERT_EQ(arraysize(kDexFile1Strings), dex_file1->NumStringIds()); in TEST() 85 dex_file1->GetStringData(dex_file1->GetStringId(dex::StringIndex(index)))); in TEST() 102 StringReference sr1(dex_file1.get(), dex::StringIndex(index1)); in TEST()
|
/aosp12/art/dex2oat/linker/ |
H A D | oat_writer_test.cc | 591 ScratchFile dex_file1; in TestDexFileInput() local 595 std::unique_ptr<const DexFile> dex_file1_data = builder1.Build(dex_file1.GetFilename()); in TestDexFileInput() 599 bool success = dex_file1.GetFile()->WriteFully(&dex_file1_data->GetHeader(), in TestDexFileInput() 602 success = dex_file1.GetFile()->Flush() == 0; in TestDexFileInput() 604 input_filenames.push_back(dex_file1.GetFilename().c_str()); in TestDexFileInput() 606 scratch_files.push_back(&dex_file1); in TestDexFileInput() 715 ScratchFile dex_file1; in TestZipFileInput() local 719 std::unique_ptr<const DexFile> dex_file1_data = builder1.Build(dex_file1.GetFilename()); in TestZipFileInput() 723 bool success = dex_file1.GetFile()->WriteFully(&dex_file1_data->GetHeader(), in TestZipFileInput() 726 success = dex_file1.GetFile()->Flush() == 0; in TestZipFileInput()
|
/aosp12/art/profman/ |
H A D | profile_assistant_test.cc | 63 void SetupProfile(const DexFile* dex_file1, in SetupProfile() argument 75 GetTestInlineCaches(dex_file1, dex_file2, dex3); in SetupProfile() 80 ASSERT_TRUE(AddMethod(info, dex_file1, i, inline_caches, flags)); in SetupProfile() 82 ASSERT_TRUE(AddMethod(info, dex_file1, i, inline_caches, flags)); in SetupProfile() 87 ASSERT_TRUE(AddClass(info, dex_file1, dex::TypeIndex(i))); in SetupProfile() 125 TypeReference(dex_file1, dex::TypeIndex(0)), in GetTestInlineCaches() 134 TypeReference(dex_file1, dex::TypeIndex(0)), in GetTestInlineCaches() 135 TypeReference(dex_file1, dex::TypeIndex(1)), in GetTestInlineCaches() 136 TypeReference(dex_file1, dex::TypeIndex(2)), in GetTestInlineCaches() 137 TypeReference(dex_file1, dex::TypeIndex(3)), in GetTestInlineCaches() [all …]
|