Searched refs:CreateEmptyFile (Results 1 – 12 of 12) sorted by relevance
40 static File* CreateEmptyFile(const char* name, int extra_flags) { in CreateEmptyFile() function48 File* OS::CreateEmptyFile(const char* name) { in CreateEmptyFile() function in art::OS49 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()
42 static File* CreateEmptyFile(const char* name);
119 file.reset(OS::CreateEmptyFile(file_name)); in MarkZygoteStart()
184 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()
216 image_file.reset(OS::CreateEmptyFile(image_filename)); in Write()
254 jit_dump_file_.reset(OS::CreateEmptyFile(jitdump_filename.c_str())); in OpenJitDumpLog()
244 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); in WriteFileBase64()377 std::unique_ptr<File> file(OS::CreateEmptyFile(out_profile.c_str())); in CreateProfile()
1835 new_file.reset(OS::CreateEmptyFile(output_location.c_str())); in OutputDexFile()
743 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()
1319 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()
84 std::unique_ptr<File> f(OS::CreateEmptyFile(name)); in CreateOrOpen()
139 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()