Home
last modified time | relevance | path

Searched refs:ScratchFile (Results 1 – 25 of 29) 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.cc55 art::ScratchFile scratch_file; in TEST_F()
90 art::ScratchFile tmp; in TEST_F()
106 art::ScratchFile tmp; in TEST_F()
135 art::ScratchFile tmp; in TEST_F()
162 art::ScratchFile src_tmp; in TEST_F()
172 art::ScratchFile dest_tmp; in TEST_F()
191 art::ScratchFile tmp; in TEST_F()
210 art::ScratchFile tmp; in TEST_F()
223 art::ScratchFile tmp; in TEST_F()
248 auto reset_compare = [&](art::ScratchFile& a, art::ScratchFile& b) { in TEST_F()
[all …]
/art/libartbase/base/
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();
Dcommon_art_test.cc82 ScratchFile::ScratchFile() { in ScratchFile() function in art::ScratchFile
93 ScratchFile::ScratchFile(const ScratchFile& other, const char* suffix) in ScratchFile() function in art::ScratchFile
94 : ScratchFile(other.GetFilename() + suffix) {} in ScratchFile()
96 ScratchFile::ScratchFile(const std::string& filename) : filename_(filename) { in ScratchFile() function in art::ScratchFile
102 ScratchFile::ScratchFile(File* file) { in ScratchFile() function in art::ScratchFile
108 ScratchFile::ScratchFile(ScratchFile&& other) noexcept { in ScratchFile() function in art::ScratchFile
112 ScratchFile& ScratchFile::operator=(ScratchFile&& other) noexcept { in operator =()
120 ScratchFile::~ScratchFile() { in ~ScratchFile()
124 int ScratchFile::GetFd() const { in GetFd()
128 void ScratchFile::Close() { in Close()
[all …]
Dflags_test.cc33 TestFlag(ScratchFile* tmp_file, FlagType flag_type) { in TestFlag()
91 std::unique_ptr<ScratchFile> tmp_file_;
107 test_flag_.reset(new TestFlag(new ScratchFile(), FlagType::kDeviceConfig)); in SetUpRuntimeOptions()
132 test_flag_.reset(new TestFlag(new ScratchFile(), flag_type_)); in SetUpRuntimeOptions()
Dscoped_flock_test.cc26 ScratchFile scratch_file; in TEST_F()
Dzip_archive_test.cc43 ScratchFile tmp; in TEST_F()
/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/profman/
Dprofile_assistant_test.cc67 const ScratchFile& profile, in SetupProfile()
98 const ScratchFile& profile, in SetupBasicProfile()
150 int GetFd(const ScratchFile& file) const { in GetFd()
154 void CheckProfileInfo(ScratchFile& file, const ProfileCompilationInfo& info) { in CheckProfileInfo()
212 ScratchFile class_names_file; in CreateProfile()
233 ScratchFile output_file; in RunProfman()
271 ScratchFile profile_file; in CreateAndDump()
418 ScratchFile profile; in CheckCompilationMethodPercentChange()
419 ScratchFile reference_profile; in CheckCompilationMethodPercentChange()
450 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()
435 ScratchFile tmp_base, tmp_oat(tmp_base, ".oat"), tmp_vdex(tmp_base, ".vdex"); in TEST_F()
555 ScratchFile tmp_base, tmp_oat(tmp_base, ".oat"), tmp_vdex(tmp_base, ".vdex"); in TEST_F()
589 std::vector<const ScratchFile*> scratch_files; in TestDexFileInput()
591 ScratchFile dex_file1; in TestDexFileInput()
608 ScratchFile dex_file2; in TestDexFileInput()
628 ScratchFile tmp_base, tmp_oat(tmp_base, ".oat"), tmp_vdex(tmp_base, ".vdex"); in TestDexFileInput()
659 const ScratchFile* dex_file = scratch_files[0]; in TestDexFileInput()
665 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.cc57 uint32_t GetFd(const ScratchFile& file) { in GetFd()
130 ScratchFile profile; in TestProfileLoadFromZip()
144 ScratchFile zip; in TestProfileLoadFromZip()
206 ScratchFile boot_file; in SizeStressTest()
207 ScratchFile reg_file; in SizeStressTest()
281 ScratchFile profile; in TEST_F()
314 ScratchFile profile; in TEST_F()
323 ScratchFile profile; in TEST_F()
336 ScratchFile profile; in TEST_F()
351 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()
/art/compiler/linker/
Doutput_stream_test.cc68 ScratchFile tmp; in TEST_F()
81 ScratchFile tmp; in TEST_F()
/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.cc235 std::unique_ptr<ScratchFile> sf;
237 sf.reset(new ScratchFile());
746 ScratchFile vdex_file2; in RunTestVDex()
1148 ScratchFile profile_file; in TEST_F()
1583 ScratchFile temp_dex; in TEST_F()
1620 ScratchFile apk_file; in TEST_F()
1753 ScratchFile dm_file; in TEST_F()
1807 ScratchFile invalid_dex; in TEST_F()
1849 ScratchFile invalid_dex_zip; in TEST_F()
1860 ScratchFile invalid_dex; in TEST_F()
[all …]
/art/compiler/utils/
Dswap_space_test.cc37 ScratchFile scratch; in SwapTest()
/art/runtime/jit/
Dprofiling_info_test.cc65 uint32_t GetFd(const ScratchFile& file) { in GetFd()
172 ScratchFile profile; in TEST_F()
229 ScratchFile profile; in TEST_F()
/art/runtime/gc/space/
Dimage_space_test.cc81 ScratchFile profile_file; in TEST_F()
108 ScratchFile profile_file; in TEST_F()
375 missing_image_base_ = std::make_unique<ScratchFile>(); in SetUpRuntimeOptions()
407 std::unique_ptr<ScratchFile> missing_image_base_;
/art/odrefresh/
Dodr_compilation_log_test.cc304 ScratchFile scratch_file; in TEST_F()
340 ScratchFile scratch_file; in TEST_F()
510 ScratchFile scratch_file; in TEST_F()
/art/compiler/debug/dwarf/
Ddwarf_test.h65 ScratchFile file; in Objdump()
/art/libprofile/
DAndroid.bp185 // ScratchFile and related.

12