Home
last modified time | relevance | path

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

/art/runtime/
Dos_linux.cc38 static File* CreateEmptyFile(const char* name, int extra_flags) { in CreateEmptyFile() function
46 File* OS::CreateEmptyFile(const char* name) { in CreateEmptyFile() function in art::OS
47 return art::CreateEmptyFile(name, O_RDWR | O_TRUNC); in CreateEmptyFile()
51 return art::CreateEmptyFile(name, O_WRONLY | O_TRUNC | O_NOFOLLOW | O_CLOEXEC); in CreateEmptyFileWriteOnly()
Dos.h40 static File* CreateEmptyFile(const char* name);
Ddex_file_test.cc145 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); in OpenDexFileBase64()
Doat_file_assistant.cc699 oat_file.reset(OS::CreateEmptyFile(oat_file_name.c_str())); in GenerateOatFile()
Ddex_file_verifier_test.cc165 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); in OpenDexFileBase64()
/art/compiler/
Dimage_test.cc74 ScratchFile image_file(OS::CreateEmptyFile(image_filename.c_str())); in TestWriteRead()
78 ScratchFile oat_file(OS::CreateEmptyFile(oat_filename.c_str())); in TestWriteRead()
Dimage_writer.cc207 image_file.reset(OS::CreateEmptyFile(image_filename)); in Write()
/art/runtime/gc/space/
Dimage_space_fs.h223 file.reset(OS::CreateEmptyFile(file_name)); in MarkZygoteStart()
/art/dex2oat/
Ddex2oat.cc1184 std::unique_ptr<File> oat_file(OS::CreateEmptyFile(oat_filename)); in OpenFile()
1223 std::unique_ptr<File> swap_file(OS::CreateEmptyFile(swap_file_name_.c_str())); in OpenFile()
1788 std::unique_ptr<File> out(OS::CreateEmptyFile(oat_unstripped_[i])); in CopyStrippedToUnstripped()
2149 std::unique_ptr<File> tmp_file(OS::CreateEmptyFile(tmp_file_name.c_str())); in SaveDexInput()
/art/oatdump/
Doatdump.cc115 File* elf_file = OS::CreateEmptyFile(output_name_.c_str()); in Symbolize()
694 std::unique_ptr<File> file(OS::CreateEmptyFile(out_dex_path.c_str())); in ExportDexFile()
/art/patchoat/
Dpatchoat.cc127 std::unique_ptr<File> f(OS::CreateEmptyFile(name)); in CreateOrOpen()