/art/tools/hiddenapi/ |
D | hiddenapi_test.cc | 45 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/ |
D | fd_file_test.cc | 76 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/ |
D | dexlayout_test.cc | 261 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/ |
D | common_art_test.cc | 81 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 …]
|
D | common_art_test.h | 63 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();
|
D | scoped_flock_test.cc | 26 ScratchFile scratch_file; in TEST_F()
|
D | zip_archive_test.cc | 43 ScratchFile tmp; in TEST_F()
|
D | mem_map_test.cc | 384 ScratchFile scratch_file; in TEST_F() 461 ScratchFile scratch_file; in TEST_F() 775 ScratchFile scratch_file; in TEST_F()
|
/art/profman/ |
D | profile_assistant_test.cc | 89 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/ |
D | image_test.h | 65 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 …]
|
D | oat_writer_test.cc | 258 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 …]
|
D | image_write_read_test.cc | 32 for (ScratchFile& image_file : helper.image_files) { in TestWriteRead()
|
/art/libprofile/profile/ |
D | profile_boot_info_test.cc | 37 ScratchFile profile; in TEST_F() 47 ScratchFile profile; in TEST_F() 66 ScratchFile profile; in TEST_F() 95 ScratchFile profile; in TEST_F()
|
D | profile_compilation_info_test.cc | 101 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/ |
D | vdex_file_test.cc | 32 ScratchFile tmp; in TEST_F()
|
D | module_exclusion_test.cc | 150 ScratchFile package_list_file; in TEST_F()
|
D | dexopt_test.cc | 111 ScratchFile profile_file; in GenerateOatForTest()
|
/art/compiler/linker/ |
D | output_stream_test.cc | 68 ScratchFile tmp; in TEST_F() 81 ScratchFile tmp; in TEST_F()
|
/art/compiler/utils/ |
D | swap_space_test.cc | 37 ScratchFile scratch; in SwapTest()
|
/art/dex2oat/ |
D | dex2oat_image_test.cc | 201 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()
|
D | dex2oat_test.cc | 274 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/ |
D | profiling_info_test.cc | 64 uint32_t GetFd(const ScratchFile& file) { in GetFd() 200 ScratchFile profile; in TEST_F() 258 ScratchFile profile; in TEST_F()
|
/art/runtime/gc/space/ |
D | image_space_test.cc | 83 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/ |
D | dwarf_test.h | 65 ScratchFile file; in Objdump()
|
/art/libprofile/ |
D | Android.bp | 182 // ScratchFile and related.
|