Lines Matching refs:dex_file

269     for (const std::string& dex_file : GetLibCoreDexFileNames()) {  in FullPlainOutputExec()  local
271 { dexdump, "-d", "-f", "-h", "-l", "plain", "-o", dexdump_filename, dex_file }; in FullPlainOutputExec()
273 { "-d", "-f", "-h", "-l", "plain", "-o", dexlayout_filename, dex_file }; in FullPlainOutputExec()
297 for (const std::string& dex_file : GetLibCoreDexFileNames()) { in DexFileOutputExec() local
299 { "-w", tmp_dir, "-o", tmp_name, dex_file }; in DexFileOutputExec()
305 { "/usr/bin/unzip", dex_file, "classes.dex", "-d", unzip_dir}; in DexFileOutputExec()
345 for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { in CreateProfile() local
346 for (uint32_t i = 0; i < dex_file->NumMethodIds(); i += 2) { in CreateProfile()
356 pfi.AddMethod(ProfileMethodInfo(MethodReference(dex_file.get(), /*index=*/ i)), in CreateProfile()
361 for (uint32_t i = 0; i < dex_file->NumClassDefs(); i += 1) { in CreateProfile()
363 classes.insert(dex::TypeIndex(dex_file->GetClassDef(i).class_idx_)); in CreateProfile()
368 pfi.AddClassesForDex(dex_file.get(), classes.begin(), classes.end()); in CreateProfile()
390 std::string dex_file = tmp_dir + "classes.dex"; in DexFileLayoutExec() local
391 WriteFileBase64(kDexFileLayoutInputDex, dex_file.c_str()); in DexFileLayoutExec()
393 CreateProfile(dex_file, profile_file); in DexFileLayoutExec()
398 { "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, dex_file }; in DexFileLayoutExec()
404 if (!UnlinkFile(dex_file) || !UnlinkFile(profile_file) || !UnlinkFile(output_dex)) { in DexFileLayoutExec()
420 std::string dex_file = tmp_dir + "classes.dex"; in DexFileLayoutFixedPointExec() local
435 CreateProfile(dex_file, profile_file); in DexFileLayoutFixedPointExec()
441 { "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, dex_file }; in DexFileLayoutFixedPointExec()
464 std::vector<std::string> test_files = { dex_file, profile_file, output_dex, second_output_dex }; in DexFileLayoutFixedPointExec()
498 for (const std::string& dex_file : dex_files) { in UnreferencedCatchHandlerExec() local
499 if (!UnlinkFile(dex_file)) { in UnreferencedCatchHandlerExec()
506 bool DexLayoutExec(ScratchFile* dex_file, in DexLayoutExec() argument
511 WriteBase64ToFile(dex_filename, dex_file->GetFile()); in DexLayoutExec()
512 EXPECT_EQ(dex_file->GetFile()->Flush(), 0); in DexLayoutExec()
515 CreateProfile(dex_file->GetFilename(), profile_file->GetFilename()); in DexLayoutExec()
784 for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { in TEST_F() local
785 EXPECT_GT(dex_file->NumClassDefs(), 1u); in TEST_F()
786 for (uint32_t i = 0; i < dex_file->NumClassDefs(); ++i) { in TEST_F()
787 const dex::ClassDef& class_def = dex_file->GetClassDef(i); in TEST_F()
788 LOG(INFO) << dex_file->GetClassDescriptor(class_def); in TEST_F()
799 dex_file->GetLocation().c_str(), in TEST_F()
800 dex_file.get(), in TEST_F()
811 dex_file->GetLocation().c_str(), in TEST_F()