Home
last modified time | relevance | path

Searched refs:dex_file2 (Results 1 – 4 of 4) sorted by relevance

/art/compiler/linker/
Dlinker_patch_test.cc26 const DexFile* dex_file2 = reinterpret_cast<const DexFile*>(2); in TEST() local
32 LinkerPatch::RelativeMethodPatch(16u, dex_file2, 3000u, 1000u), in TEST()
33 LinkerPatch::RelativeMethodPatch(16u, dex_file2, 3001u, 1000u), in TEST()
34 LinkerPatch::RelativeMethodPatch(16u, dex_file2, 3000u, 1001u), in TEST()
35 LinkerPatch::RelativeMethodPatch(16u, dex_file2, 3001u, 1001u), in TEST()
40 LinkerPatch::MethodBssEntryPatch(16u, dex_file2, 3000u, 1000u), in TEST()
41 LinkerPatch::MethodBssEntryPatch(16u, dex_file2, 3001u, 1000u), in TEST()
42 LinkerPatch::MethodBssEntryPatch(16u, dex_file2, 3000u, 1001u), in TEST()
43 LinkerPatch::MethodBssEntryPatch(16u, dex_file2, 3001u, 1001u), in TEST()
46 LinkerPatch::CodePatch(16u, dex_file2, 1000u), in TEST()
[all …]
/art/libdexfile/dex/
Dstring_reference_test.cc43 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/
Doat_writer_test.cc600 ScratchFile dex_file2; in TestDexFileInput() local
604 std::unique_ptr<const DexFile> dex_file2_data = builder2.Build(dex_file2.GetFilename()); in TestDexFileInput()
608 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestDexFileInput()
611 success = dex_file2.GetFile()->Flush() == 0; in TestDexFileInput()
613 input_filenames.push_back(dex_file2.GetFilename().c_str()); in TestDexFileInput()
726 ScratchFile dex_file2; in TestZipFileInput() local
730 std::unique_ptr<const DexFile> dex_file2_data = builder2.Build(dex_file2.GetFilename()); in TestZipFileInput()
734 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestZipFileInput()
737 success = dex_file2.GetFile()->Flush() == 0; in TestZipFileInput()
/art/runtime/
Dart_method.cc204 const DexFile* dex_file2 = other->GetDexFile(); in HasSameNameAndSignature() local
205 const DexFile::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
206 if (!DexFileStringEquals(dex_file, mid.name_idx_, dex_file2, mid2.name_idx_)) { in HasSameNameAndSignature()
209 return dex_file->GetMethodSignature(mid) == dex_file2->GetMethodSignature(mid2); in HasSameNameAndSignature()