Home
last modified time | relevance | path

Searched refs:ScratchFile (Results 1 – 25 of 27) sorted by relevance

12

/art/tools/hiddenapi/
Dhiddenapi_test.cc45 std::unique_ptr<const DexFile> RunHiddenapiEncode(const ScratchFile& flags_csv, in RunHiddenapiEncode()
47 const ScratchFile& out_dex) { in RunHiddenapiEncode()
49 ScratchFile in_dex; in RunHiddenapiEncode()
84 bool RunHiddenapiList(const ScratchFile& out_flags_csv) { in RunHiddenapiList()
108 std::unique_ptr<const DexFile> OpenDex(const ScratchFile& file) { in OpenDex()
132 std::ofstream OpenStream(const ScratchFile& file) { in OpenStream()
141 std::map<std::string, std::string> ReadFlagsCsvFile(const ScratchFile& file) { in ReadFlagsCsvFile()
268 ScratchFile dex, flags_csv; in TEST_F()
279 ScratchFile dex, flags_csv; in TEST_F()
290 ScratchFile dex, flags_csv; in TEST_F()
[all …]
/art/libartbase/base/unix_file/
Dfd_file_test.cc76 art::ScratchFile tmp; in TEST_F()
92 art::ScratchFile tmp; in TEST_F()
121 art::ScratchFile tmp; in TEST_F()
148 art::ScratchFile src_tmp; in TEST_F()
158 art::ScratchFile dest_tmp; in TEST_F()
177 art::ScratchFile tmp; in TEST_F()
196 art::ScratchFile tmp; in TEST_F()
209 art::ScratchFile tmp; in TEST_F()
234 auto reset_compare = [&](art::ScratchFile& a, art::ScratchFile& b) { in TEST_F()
240 art::ScratchFile tmp; in TEST_F()
[all …]
/art/dexlayout/
Ddexlayout_test.cc261 ScratchFile dexdump_output; in FullPlainOutputExec()
266 ScratchFile dexlayout_output; in FullPlainOutputExec()
291 ScratchFile tmp_file; in DexFileOutputExec()
384 ScratchFile tmp_file; in DexFileLayoutExec()
413 ScratchFile tmp_file; in DexFileLayoutFixedPointExec()
476 ScratchFile tmp_file; in UnreferencedCatchHandlerExec()
506 bool DexLayoutExec(ScratchFile* dex_file, in DexLayoutExec()
508 ScratchFile* profile_file, in DexLayoutExec()
604 ScratchFile temp_dex; in TEST_F()
614 ScratchFile temp_dex; in TEST_F()
[all …]
/art/libartbase/base/
Dcommon_art_test.cc81 ScratchFile::ScratchFile() { in ScratchFile() function in art::ScratchFile
92 ScratchFile::ScratchFile(const ScratchFile& other, const char* suffix) in ScratchFile() function in art::ScratchFile
93 : ScratchFile(other.GetFilename() + suffix) {} in ScratchFile()
95 ScratchFile::ScratchFile(const std::string& filename) : filename_(filename) { in ScratchFile() function in art::ScratchFile
101 ScratchFile::ScratchFile(File* file) { in ScratchFile() function in art::ScratchFile
107 ScratchFile::ScratchFile(ScratchFile&& other) noexcept { in ScratchFile() function in art::ScratchFile
111 ScratchFile& ScratchFile::operator=(ScratchFile&& other) noexcept { in operator =()
119 ScratchFile::~ScratchFile() { in ~ScratchFile()
123 int ScratchFile::GetFd() const { in GetFd()
127 void ScratchFile::Close() { in Close()
[all …]
Dcommon_art_test.h63 class ScratchFile {
65 ScratchFile();
67 explicit ScratchFile(const std::string& filename);
69 ScratchFile(const ScratchFile& other, const char* suffix);
71 ScratchFile(ScratchFile&& other) noexcept;
73 ScratchFile& operator=(ScratchFile&& other) noexcept;
75 explicit ScratchFile(File* file);
77 ~ScratchFile();
Dscoped_flock_test.cc26 ScratchFile scratch_file; in TEST_F()
Dzip_archive_test.cc43 ScratchFile tmp; in TEST_F()
Dmem_map_test.cc384 ScratchFile scratch_file; in TEST_F()
461 ScratchFile scratch_file; in TEST_F()
775 ScratchFile scratch_file; in TEST_F()
/art/profman/
Dprofile_assistant_test.cc89 const ScratchFile& profile, in SetupProfile()
120 const ScratchFile& profile, in SetupBasicProfile()
173 int GetFd(const ScratchFile& file) const { in GetFd()
177 void CheckProfileInfo(ScratchFile& file, const ProfileCompilationInfo& info) { in CheckProfileInfo()
235 ScratchFile class_names_file; in CreateProfile()
255 ScratchFile output_file; in RunProfman()
290 ScratchFile profile_file; in CreateAndDump()
364 ScratchFile profile; in CheckCompilationMethodPercentChange()
365 ScratchFile reference_profile; in CheckCompilationMethodPercentChange()
388 ScratchFile profile; in CheckCompilationClassPercentChange()
[all …]
/art/dex2oat/linker/
Dimage_test.h65 std::vector<ScratchFile> image_locations;
67 std::vector<ScratchFile> image_files;
68 std::vector<ScratchFile> oat_files;
69 std::vector<ScratchFile> vdex_files;
123 for (ScratchFile& image_file : image_files) { in ~CompilationHelper()
126 for (ScratchFile& oat_file : oat_files) { in ~CompilationHelper()
129 for (ScratchFile& vdex_file : vdex_files) { in ~CompilationHelper()
138 for (ScratchFile& image_file : image_files) { in GetImageObjectSectionSizes()
173 ScratchFile location; in DoCompile()
179 out_helper.image_locations.push_back(ScratchFile(image_locations[i])); in DoCompile()
[all …]
Doat_writer_test.cc258 void CheckOatWriteResult(ScratchFile& oat_file, in CheckOatWriteResult()
259 ScratchFile& vdex_file, in CheckOatWriteResult()
442 ScratchFile tmp_base, tmp_oat(tmp_base, ".oat"), tmp_vdex(tmp_base, ".vdex"); in TEST_F()
562 ScratchFile tmp_base, tmp_oat(tmp_base, ".oat"), tmp_vdex(tmp_base, ".vdex"); in TEST_F()
596 std::vector<const ScratchFile*> scratch_files; in TestDexFileInput()
598 ScratchFile dex_file1; in TestDexFileInput()
615 ScratchFile dex_file2; in TestDexFileInput()
635 ScratchFile tmp_base, tmp_oat(tmp_base, ".oat"), tmp_vdex(tmp_base, ".vdex"); in TestDexFileInput()
666 const ScratchFile* dex_file = scratch_files[0]; in TestDexFileInput()
672 ScratchFile tmp_base, tmp_oat(tmp_base, ".oat"), tmp_vdex(tmp_base, ".vdex"); in TestDexFileInput()
[all …]
Dimage_write_read_test.cc32 for (ScratchFile& image_file : helper.image_files) { in TestWriteRead()
/art/libprofile/profile/
Dprofile_boot_info_test.cc37 ScratchFile profile; in TEST_F()
47 ScratchFile profile; in TEST_F()
66 ScratchFile profile; in TEST_F()
95 ScratchFile profile; in TEST_F()
Dprofile_compilation_info_test.cc101 uint32_t GetFd(const ScratchFile& file) { in GetFd()
180 ScratchFile profile; in TestProfileLoadFromZip()
195 ScratchFile zip; in TestProfileLoadFromZip()
259 ScratchFile boot_file; in SizeStressTest()
260 ScratchFile reg_file; in SizeStressTest()
300 ScratchFile profile; in TEST_F()
335 ScratchFile profile; in TEST_F()
344 ScratchFile profile; in TEST_F()
357 ScratchFile profile; in TEST_F()
373 ScratchFile profile; in TEST_F()
[all …]
/art/runtime/
Dvdex_file_test.cc32 ScratchFile tmp; in TEST_F()
Dmodule_exclusion_test.cc150 ScratchFile package_list_file; in TEST_F()
Ddexopt_test.cc111 ScratchFile profile_file; in GenerateOatForTest()
/art/compiler/linker/
Doutput_stream_test.cc68 ScratchFile tmp; in TEST_F()
81 ScratchFile tmp; in TEST_F()
/art/compiler/utils/
Dswap_space_test.cc37 ScratchFile scratch; in SwapTest()
/art/dex2oat/
Ddex2oat_image_test.cc201 ScratchFile profile_file; in TEST_F()
221 ScratchFile profile_file; in TEST_F()
238 ScratchFile classes; in TEST_F()
312 ScratchFile head_profile_file; in TEST_F()
318 ScratchFile mid_profile_file; in TEST_F()
324 ScratchFile tail_profile_file; in TEST_F()
378 ScratchFile single_profile_file; in TEST_F()
Ddex2oat_test.cc274 std::unique_ptr<ScratchFile> sf;
276 sf.reset(new ScratchFile());
765 ScratchFile vdex_file2; in RunTestVDex()
1356 ScratchFile profile_file; in TEST_F()
1775 ScratchFile temp_dex; in TEST_F()
1812 ScratchFile apk_file; in TEST_F()
1945 ScratchFile dm_file; in TEST_F()
2002 ScratchFile temp_dex; in TEST_F()
2067 ScratchFile temp; in TEST_F()
2078 ScratchFile invalid_dex; in TEST_F()
[all …]
/art/runtime/jit/
Dprofiling_info_test.cc64 uint32_t GetFd(const ScratchFile& file) { in GetFd()
200 ScratchFile profile; in TEST_F()
258 ScratchFile profile; in TEST_F()
/art/runtime/gc/space/
Dimage_space_test.cc83 ScratchFile profile_file; in TEST_F()
110 ScratchFile profile_file; in TEST_F()
380 missing_image_base_ = std::make_unique<ScratchFile>(); in SetUpRuntimeOptions()
413 std::unique_ptr<ScratchFile> missing_image_base_;
/art/compiler/debug/dwarf/
Ddwarf_test.h65 ScratchFile file; in Objdump()
/art/libprofile/
DAndroid.bp182 // ScratchFile and related.

12