Home
last modified time | relevance | path

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

/art/compiler/
Dcompiled_method_test.cc51 const DexFile* dex_file2 = reinterpret_cast<const DexFile*>(2); in TEST() local
57 LinkerPatch::RelativeMethodPatch(16u, dex_file2, 3000u, 1000u), in TEST()
58 LinkerPatch::RelativeMethodPatch(16u, dex_file2, 3001u, 1000u), in TEST()
59 LinkerPatch::RelativeMethodPatch(16u, dex_file2, 3000u, 1001u), in TEST()
60 LinkerPatch::RelativeMethodPatch(16u, dex_file2, 3001u, 1001u), in TEST()
65 LinkerPatch::MethodBssEntryPatch(16u, dex_file2, 3000u, 1000u), in TEST()
66 LinkerPatch::MethodBssEntryPatch(16u, dex_file2, 3001u, 1000u), in TEST()
67 LinkerPatch::MethodBssEntryPatch(16u, dex_file2, 3000u, 1001u), in TEST()
68 LinkerPatch::MethodBssEntryPatch(16u, dex_file2, 3001u, 1001u), in TEST()
71 LinkerPatch::CodePatch(16u, dex_file2, 1000u), in TEST()
[all …]
Doat_test.cc590 ScratchFile dex_file2; in TestDexFileInput() local
594 std::unique_ptr<const DexFile> dex_file2_data = builder2.Build(dex_file2.GetFilename()); in TestDexFileInput()
598 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestDexFileInput()
601 success = dex_file2.GetFile()->Flush() == 0; in TestDexFileInput()
603 input_filenames.push_back(dex_file2.GetFilename().c_str()); in TestDexFileInput()
698 ScratchFile dex_file2; in TestZipFileInput() local
702 std::unique_ptr<const DexFile> dex_file2_data = builder2.Build(dex_file2.GetFilename()); in TestZipFileInput()
706 success = dex_file2.GetFile()->WriteFully(&dex_file2_data->GetHeader(), in TestZipFileInput()
709 success = dex_file2.GetFile()->Flush() == 0; in TestZipFileInput()
/art/compiler/utils/
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/runtime/
Dart_method.cc196 const DexFile* dex_file2 = other->GetDexFile(); in HasSameNameAndSignature() local
197 const DexFile::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature()
198 if (!DexFileStringEquals(dex_file, mid.name_idx_, dex_file2, mid2.name_idx_)) { in HasSameNameAndSignature()
201 return dex_file->GetMethodSignature(mid) == dex_file2->GetMethodSignature(mid2); in HasSameNameAndSignature()