/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 | 55 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/ |
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 | common_art_test.cc | 82 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 …]
|
D | flags_test.cc | 33 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()
|
D | scoped_flock_test.cc | 26 ScratchFile scratch_file; in TEST_F()
|
D | zip_archive_test.cc | 43 ScratchFile tmp; in TEST_F()
|
/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/profman/ |
D | profile_assistant_test.cc | 67 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/ |
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() 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 …]
|
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 | 57 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/ |
D | vdex_file_test.cc | 32 ScratchFile tmp; in TEST_F()
|
D | module_exclusion_test.cc | 150 ScratchFile package_list_file; in TEST_F()
|
/art/compiler/linker/ |
D | output_stream_test.cc | 68 ScratchFile tmp; in TEST_F() 81 ScratchFile tmp; in TEST_F()
|
/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 | 235 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/ |
D | swap_space_test.cc | 37 ScratchFile scratch; in SwapTest()
|
/art/runtime/jit/ |
D | profiling_info_test.cc | 65 uint32_t GetFd(const ScratchFile& file) { in GetFd() 172 ScratchFile profile; in TEST_F() 229 ScratchFile profile; in TEST_F()
|
/art/runtime/gc/space/ |
D | image_space_test.cc | 81 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/ |
D | odr_compilation_log_test.cc | 304 ScratchFile scratch_file; in TEST_F() 340 ScratchFile scratch_file; in TEST_F() 510 ScratchFile scratch_file; in TEST_F()
|
/art/compiler/debug/dwarf/ |
D | dwarf_test.h | 65 ScratchFile file; in Objdump()
|
/art/libprofile/ |
D | Android.bp | 185 // ScratchFile and related.
|