Home
last modified time | relevance | path

Searched refs:CreateEmptyFile (Results 1 – 12 of 12) sorted by relevance

/art/libartbase/base/
Dos_linux.cc40 static File* CreateEmptyFile(const char* name, int extra_flags) { in CreateEmptyFile() function
48 File* OS::CreateEmptyFile(const char* name) { in CreateEmptyFile() function in art::OS
49 return art::CreateEmptyFile(name, O_RDWR | O_TRUNC); in CreateEmptyFile()
58 return art::CreateEmptyFile(name, flags); in CreateEmptyFileWriteOnly()
Dos.h42 static File* CreateEmptyFile(const char* name);
/art/compiler/utils/
Dassembler_test_base.h191 std::unique_ptr<File> file(OS::CreateEmptyFile(filename.c_str())); in WriteFile()
213 std::unique_ptr<File> file(OS::CreateEmptyFile(filename.c_str())); in WriteElf()
/art/dex2oat/linker/
Dimage_test.h193 out_helper.image_files.push_back(ScratchFile(OS::CreateEmptyFile(image_filename.c_str()))); in DoCompile()
200 out_helper.oat_files.push_back(ScratchFile(OS::CreateEmptyFile(oat_filename.c_str()))); in DoCompile()
203 out_helper.vdex_files.push_back(ScratchFile(OS::CreateEmptyFile(vdex_filename.c_str()))); in DoCompile()
Dimage_writer.cc456 image_file.reset(OS::CreateEmptyFile(image_filename.c_str())); in Write()
/art/runtime/
Dcommon_runtime_test.cc461 art_file.reset(OS::CreateEmptyFile((use_fd_prefix + ".art").c_str())); in CompileBootImage()
462 vdex_file.reset(OS::CreateEmptyFile((use_fd_prefix + ".vdex").c_str())); in CompileBootImage()
463 oat_file.reset(OS::CreateEmptyFile((use_fd_prefix + ".oat").c_str())); in CompileBootImage()
/art/compiler/jit/
Djit_logger.cc253 jit_dump_file_.reset(OS::CreateEmptyFile(jitdump_filename.c_str())); in OpenJitDumpLog()
/art/dex2oat/
Ddex2oat_test.cc86 oat_file.reset(OS::CreateEmptyFile(odex_location.c_str()));
690 app_image_file.reset(OS::CreateEmptyFile(app_image_file_name.c_str()));
763 std::unique_ptr<File> vdex_file1(OS::CreateEmptyFile(vdex_location.c_str())); in RunTestVDex()
885 std::unique_ptr<File> vdex_file1(OS::CreateEmptyFile(vdex_location.c_str())); in RunUnquickenMultiDex()
933 std::unique_ptr<File> vdex_file1(OS::CreateEmptyFile(vdex_location.c_str())); in RunUnquickenMultiDexCDex()
934 std::unique_ptr<File> vdex_file2(OS::CreateEmptyFile(vdex_location2.c_str())); in RunUnquickenMultiDexCDex()
2024 std::unique_ptr<File> vdex_output(OS::CreateEmptyFile(vdex_location.c_str())); in TEST_F()
2041 std::unique_ptr<File> vdex_unquickened(OS::CreateEmptyFile(vdex_location2.c_str())); in TEST_F()
Ddex2oat.cc1468 std::unique_ptr<File> oat_file(OS::CreateEmptyFile(oat_filename.c_str())); in OpenFile()
1498 std::unique_ptr<File> vdex_file(OS::CreateEmptyFile(vdex_filename.c_str())); in OpenFile()
1632 std::unique_ptr<File> swap_file(OS::CreateEmptyFile(swap_file_name_.c_str())); in OpenFile()
2438 std::unique_ptr<File> out(OS::CreateEmptyFile(oat_unstripped_[i].c_str())); in CopyOatFilesToSymbolsDirectoryAndStrip()
2762 std::unique_ptr<File> tmp_file(OS::CreateEmptyFile(tmp_file_name.c_str())); in SaveDexInput()
/art/dexlayout/
Ddexlayout_test.cc245 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); in WriteFileBase64()
372 std::unique_ptr<File> file(OS::CreateEmptyFile(out_profile.c_str())); in CreateProfile()
Ddexlayout.cc1847 new_file.reset(OS::CreateEmptyFile(output_location.c_str())); in OutputDexFile()
/art/oatdump/
Doatdump.cc145 std::unique_ptr<File> elf_file(OS::CreateEmptyFile(output_name_.c_str())); in Symbolize()
1045 std::unique_ptr<File> file(OS::CreateEmptyFile(out_dex_path.c_str())); in ExportDexFile()