Searched refs:dex_file2 (Results 1 – 4 of 4) sorted by relevance
/art/compiler/linker/ |
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() 38 LinkerPatch::RelativeMethodPatch(16u, dex_file2, 3000u, 1001u), in TEST() 39 LinkerPatch::RelativeMethodPatch(16u, dex_file2, 3001u, 1001u), in TEST() 44 LinkerPatch::MethodBssEntryPatch(16u, dex_file2, 3000u, 1000u), in TEST() 45 LinkerPatch::MethodBssEntryPatch(16u, dex_file2, 3001u, 1000u), in TEST() 46 LinkerPatch::MethodBssEntryPatch(16u, dex_file2, 3000u, 1001u), in TEST() 47 LinkerPatch::MethodBssEntryPatch(16u, dex_file2, 3001u, 1001u), in TEST() 50 LinkerPatch::RelativeCodePatch(16u, dex_file2, 1000u), in TEST() [all …]
|
/art/libdexfile/dex/ |
D | string_reference_test.cc | 43 std::unique_ptr<const DexFile> dex_file2 = builder2.Build("dummy 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("dummy 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()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 570 ScratchFile dex_file2; in TestDexFileInput() local 574 std::unique_ptr<const DexFile> dex_file2_data = builder2.Build(dex_file2.GetFilename()); in TestDexFileInput() 578 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestDexFileInput() 581 success = dex_file2.GetFile()->Flush() == 0; in TestDexFileInput() 583 input_filenames.push_back(dex_file2.GetFilename().c_str()); in TestDexFileInput() 695 ScratchFile dex_file2; in TestZipFileInput() local 699 std::unique_ptr<const DexFile> dex_file2_data = builder2.Build(dex_file2.GetFilename()); in TestZipFileInput() 703 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestZipFileInput() 706 success = dex_file2.GetFile()->Flush() == 0; in TestZipFileInput()
|
/art/runtime/ |
D | art_method.cc | 189 const DexFile* dex_file2 = other->GetDexFile(); in HasSameNameAndSignature() local 190 const dex::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature() 191 if (!DexFile::StringEquals(dex_file, mid.name_idx_, dex_file2, mid2.name_idx_)) { in HasSameNameAndSignature() 194 return dex_file->GetMethodSignature(mid) == dex_file2->GetMethodSignature(mid2); in HasSameNameAndSignature()
|