/aosp12/art/compiler/linker/ |
H A D | linker_patch_test.cc | 26 const DexFile* dex_file2 = reinterpret_cast<const DexFile*>(2); in TEST() local 36 LinkerPatch::RelativeMethodPatch(16u, dex_file2, 3000u, 1000u), in TEST() 37 LinkerPatch::RelativeMethodPatch(16u, dex_file2, 3001u, 1000u), in TEST() 50 LinkerPatch::RelativeCodePatch(16u, dex_file2, 1000u), in TEST() 51 LinkerPatch::RelativeCodePatch(16u, dex_file2, 1001u), in TEST() 56 LinkerPatch::RelativeTypePatch(16u, dex_file2, 3000u, 1000u), in TEST() 57 LinkerPatch::RelativeTypePatch(16u, dex_file2, 3001u, 1000u), in TEST() 58 LinkerPatch::RelativeTypePatch(16u, dex_file2, 3000u, 1001u), in TEST() 59 LinkerPatch::RelativeTypePatch(16u, dex_file2, 3001u, 1001u), in TEST() 111 LinkerPatch::RelativeCodePatch(32u, dex_file2, 1000u), in TEST() [all …]
|
/aosp12/art/libdexfile/dex/ |
H A D | string_reference_test.cc | 43 std::unique_ptr<const DexFile> dex_file2 = builder2.Build("fake location 2"); in TEST() local 44 ASSERT_EQ(1u, dex_file2->NumStringIds()); in TEST() 45 ASSERT_STREQ("String2", dex_file2->GetStringData(dex_file2->GetStringId(dex::StringIndex(0)))); in TEST() 46 StringReference sr2(dex_file2.get(), dex::StringIndex(0)); in TEST() 92 std::unique_ptr<const DexFile> dex_file2 = builder2.Build("fake location 1"); in TEST() local 93 ASSERT_EQ(arraysize(kDexFile2Strings), dex_file2->NumStringIds()); in TEST() 96 dex_file2->GetStringData(dex_file2->GetStringId(dex::StringIndex(index)))); in TEST() 103 StringReference sr2(dex_file2.get(), dex::StringIndex(index2)); in TEST()
|
/aosp12/art/dex2oat/linker/ |
H A D | oat_writer_test.cc | 608 ScratchFile dex_file2; in TestDexFileInput() local 612 std::unique_ptr<const DexFile> dex_file2_data = builder2.Build(dex_file2.GetFilename()); in TestDexFileInput() 616 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestDexFileInput() 619 success = dex_file2.GetFile()->Flush() == 0; in TestDexFileInput() 621 input_filenames.push_back(dex_file2.GetFilename().c_str()); in TestDexFileInput() 623 scratch_files.push_back(&dex_file2); in TestDexFileInput() 733 ScratchFile dex_file2; in TestZipFileInput() local 737 std::unique_ptr<const DexFile> dex_file2_data = builder2.Build(dex_file2.GetFilename()); in TestZipFileInput() 741 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestZipFileInput() 744 success = dex_file2.GetFile()->Flush() == 0; in TestZipFileInput()
|
/aosp12/art/dex2oat/ |
H A D | dex2oat_vdex_test.cc | 290 std::unique_ptr<const DexFile> dex_file2(OpenTestDexFile("Main")); in TEST_F() local 292 dex_file2->GetLocation(), in TEST_F() 293 GetOdex(dex_file2, "v2"), in TEST_F()
|
/aosp12/art/runtime/ |
H A D | art_method.cc | 199 const DexFile* dex_file2 = other->GetDexFile(); in HasSameNameAndSignature() local 200 const dex::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature() 201 if (!DexFile::StringEquals(dex_file, mid.name_idx_, dex_file2, mid2.name_idx_)) { in HasSameNameAndSignature() 204 return dex_file->GetMethodSignature(mid) == dex_file2->GetMethodSignature(mid2); in HasSameNameAndSignature()
|
/aosp12/art/profman/ |
H A D | profile_assistant_test.cc | 64 const DexFile* dex_file2, in SetupProfile() argument 75 GetTestInlineCaches(dex_file1, dex_file2, dex3); in SetupProfile() 79 ASSERT_TRUE(AddMethod(info, dex_file2, i, inline_caches, flags)); in SetupProfile() 83 ASSERT_TRUE(AddMethod(info, dex_file2, i, inline_caches, flags)); in SetupProfile() 115 const DexFile* dex_file1, const DexFile* dex_file2, const DexFile* dex_file3) { in GetTestInlineCaches() argument 126 TypeReference(dex_file2, dex::TypeIndex(1)), in GetTestInlineCaches()
|