Home
last modified time | relevance | path

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

/art/compiler/linker/
Dlinker_patch_test.cc26 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/
Dstring_reference_test.cc43 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()
/art/dex2oat/linker/
Doat_writer_test.cc615 ScratchFile dex_file2; in TestDexFileInput() local
619 std::unique_ptr<const DexFile> dex_file2_data = builder2.Build(dex_file2.GetFilename()); in TestDexFileInput()
623 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestDexFileInput()
626 success = dex_file2.GetFile()->Flush() == 0; in TestDexFileInput()
628 input_filenames.push_back(dex_file2.GetFilename().c_str()); in TestDexFileInput()
630 scratch_files.push_back(&dex_file2); in TestDexFileInput()
740 ScratchFile dex_file2; in TestZipFileInput() local
744 std::unique_ptr<const DexFile> dex_file2_data = builder2.Build(dex_file2.GetFilename()); in TestZipFileInput()
748 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestZipFileInput()
751 success = dex_file2.GetFile()->Flush() == 0; in TestZipFileInput()
/art/runtime/
Dart_method.cc198 const DexFile* dex_file2 = other->GetDexFile(); in HasSameNameAndSignature() local
199 const dex::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
200 if (!DexFile::StringEquals(dex_file, mid.name_idx_, dex_file2, mid2.name_idx_)) { in HasSameNameAndSignature()
203 return dex_file->GetMethodSignature(mid) == dex_file2->GetMethodSignature(mid2); in HasSameNameAndSignature()
/art/profman/
Dprofile_assistant_test.cc86 const DexFile* dex_file2, in SetupProfile() argument
96 … std::vector<ProfileInlineCache> inline_caches = GetTestInlineCaches(dex_file1 , dex_file2, dex3); in SetupProfile()
100 ASSERT_TRUE(AddMethod(info, dex_file2, i, inline_caches, flags)); in SetupProfile()
104 ASSERT_TRUE(AddMethod(info, dex_file2, i, inline_caches, flags)); in SetupProfile()
138 const DexFile* dex_file1, const DexFile* dex_file2, const DexFile* dex_file3) { in GetTestInlineCaches() argument
149 TypeReference(dex_file2, dex::TypeIndex(1)), in GetTestInlineCaches()