Searched refs:CreateEmptyFile (Results 1 – 11 of 11) sorted by relevance
38 static File* CreateEmptyFile(const char* name, int extra_flags) { in CreateEmptyFile() function46 File* OS::CreateEmptyFile(const char* name) { in CreateEmptyFile() function in art::OS47 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()
40 static File* CreateEmptyFile(const char* name);
145 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); in OpenDexFileBase64()
699 oat_file.reset(OS::CreateEmptyFile(oat_file_name.c_str())); in GenerateOatFile()
165 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); in OpenDexFileBase64()
74 ScratchFile image_file(OS::CreateEmptyFile(image_filename.c_str())); in TestWriteRead()78 ScratchFile oat_file(OS::CreateEmptyFile(oat_filename.c_str())); in TestWriteRead()
207 image_file.reset(OS::CreateEmptyFile(image_filename)); in Write()
223 file.reset(OS::CreateEmptyFile(file_name)); in MarkZygoteStart()
1184 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()
115 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()
127 std::unique_ptr<File> f(OS::CreateEmptyFile(name)); in CreateOrOpen()