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()
53 return art::CreateEmptyFile(name, O_WRONLY | O_TRUNC | O_NOFOLLOW | O_CLOEXEC); in CreateEmptyFileWriteOnly()
Dos.h42 static File* CreateEmptyFile(const char* name);
/art/runtime/gc/space/
Dimage_space_fs.h119 file.reset(OS::CreateEmptyFile(file_name)); in MarkZygoteStart()
/art/dex2oat/linker/
Dimage_test.h184 image_files.push_back(ScratchFile(OS::CreateEmptyFile(image_filename.c_str()))); in Compile()
191 oat_files.push_back(ScratchFile(OS::CreateEmptyFile(oat_filename.c_str()))); in Compile()
194 vdex_files.push_back(ScratchFile(OS::CreateEmptyFile(vdex_filename.c_str()))); in Compile()
Dimage_writer.cc216 image_file.reset(OS::CreateEmptyFile(image_filename)); in Write()
/art/compiler/jit/
Djit_logger.cc254 jit_dump_file_.reset(OS::CreateEmptyFile(jitdump_filename.c_str())); in OpenJitDumpLog()
/art/dexlayout/
Ddexlayout_test.cc244 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); in WriteFileBase64()
377 std::unique_ptr<File> file(OS::CreateEmptyFile(out_profile.c_str())); in CreateProfile()
Ddexlayout.cc1835 new_file.reset(OS::CreateEmptyFile(output_location.c_str())); in OutputDexFile()
/art/runtime/
Doat_file_assistant.cc743 Dex2oatFileWrapper vdex_file_wrapper(OS::CreateEmptyFile(vdex_file_name.c_str())); in GenerateOatFileNoChecks()
759 Dex2oatFileWrapper oat_file_wrapper(OS::CreateEmptyFile(oat_file_name.c_str())); in GenerateOatFileNoChecks()
/art/dex2oat/
Ddex2oat.cc1319 std::unique_ptr<File> oat_file(OS::CreateEmptyFile(oat_filename)); in OpenFile()
1349 std::unique_ptr<File> vdex_file(OS::CreateEmptyFile(vdex_filename.c_str())); in OpenFile()
1482 std::unique_ptr<File> swap_file(OS::CreateEmptyFile(swap_file_name_.c_str())); in OpenFile()
2225 std::unique_ptr<File> out(OS::CreateEmptyFile(oat_unstripped_[i])); in CopyStrippedToUnstripped()
2564 std::unique_ptr<File> tmp_file(OS::CreateEmptyFile(tmp_file_name.c_str())); in SaveDexInput()
/art/patchoat/
Dpatchoat.cc84 std::unique_ptr<File> f(OS::CreateEmptyFile(name)); in CreateOrOpen()
/art/oatdump/
Doatdump.cc139 std::unique_ptr<File> elf_file(OS::CreateEmptyFile(output_name_.c_str())); in Symbolize()
1221 std::unique_ptr<File> file(OS::CreateEmptyFile(out_dex_path.c_str())); in ExportDexFile()