Lines Matching refs:dex_file
270 for (const std::string& dex_file : GetLibCoreDexFileNames()) { in FullPlainOutputExec() local
272 { dexdump, "-d", "-f", "-h", "-l", "plain", "-o", dexdump_filename, dex_file }; in FullPlainOutputExec()
274 { "-d", "-f", "-h", "-l", "plain", "-o", dexlayout_filename, dex_file }; in FullPlainOutputExec()
298 for (const std::string& dex_file : GetLibCoreDexFileNames()) { in DexFileOutputExec() local
300 { "-w", tmp_dir, "-o", tmp_name, dex_file }; in DexFileOutputExec()
306 { "/usr/bin/unzip", dex_file, "classes.dex", "-d", unzip_dir}; in DexFileOutputExec()
348 for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { in CreateProfile() local
349 for (uint32_t i = 0; i < dex_file->NumMethodIds(); i += 2) { in CreateProfile()
361 dex_file->GetLocationChecksum(), in CreateProfile()
363 dex_file->NumMethodIds()); in CreateProfile()
367 dex_file->GetLocationChecksum(), in CreateProfile()
368 dex_file->NumMethodIds()); in CreateProfile()
370 for (uint32_t i = 0; i < dex_file->NumClassDefs(); i += 1) { in CreateProfile()
372 cur_classes.AddClass(dex_file->GetClassDef(i).class_idx_); in CreateProfile()
398 std::string dex_file = tmp_dir + "classes.dex"; in DexFileLayoutExec() local
399 WriteFileBase64(kDexFileLayoutInputDex, dex_file.c_str()); in DexFileLayoutExec()
401 CreateProfile(dex_file, profile_file, dex_file); in DexFileLayoutExec()
406 { "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, dex_file }; in DexFileLayoutExec()
412 if (!UnlinkFile(dex_file) || !UnlinkFile(profile_file) || !UnlinkFile(output_dex)) { in DexFileLayoutExec()
428 std::string dex_file = tmp_dir + "classes.dex"; in DexFileLayoutFixedPointExec() local
443 CreateProfile(dex_file, profile_file, dex_file); in DexFileLayoutFixedPointExec()
449 { "-i", "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, dex_file }; in DexFileLayoutFixedPointExec()
456 CreateProfile(dex_file, profile_file, output_dex); in DexFileLayoutFixedPointExec()
473 std::vector<std::string> test_files = { dex_file, profile_file, output_dex, second_output_dex }; in DexFileLayoutFixedPointExec()
507 for (const std::string& dex_file : dex_files) { in UnreferencedCatchHandlerExec() local
508 if (!UnlinkFile(dex_file)) { in UnreferencedCatchHandlerExec()
515 bool DexLayoutExec(ScratchFile* dex_file, in DexLayoutExec() argument
520 WriteBase64ToFile(dex_filename, dex_file->GetFile()); in DexLayoutExec()
521 EXPECT_EQ(dex_file->GetFile()->Flush(), 0); in DexLayoutExec()
524 CreateProfile(dex_file->GetFilename(), profile_file->GetFilename(), dex_file->GetFilename()); in DexLayoutExec()
793 for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { in TEST_F() local
794 EXPECT_GT(dex_file->NumClassDefs(), 1u); in TEST_F()
795 for (uint32_t i = 0; i < dex_file->NumClassDefs(); ++i) { in TEST_F()
796 const dex::ClassDef& class_def = dex_file->GetClassDef(i); in TEST_F()
797 LOG(INFO) << dex_file->GetClassDescriptor(class_def); in TEST_F()
808 dex_file->GetLocation().c_str(), in TEST_F()
809 dex_file.get(), in TEST_F()
820 dex_file->GetLocation().c_str(), in TEST_F()