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()58 return art::CreateEmptyFile(name, flags); in CreateEmptyFileWriteOnly()
42 static File* CreateEmptyFile(const char* name);
191 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()
193 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()
456 image_file.reset(OS::CreateEmptyFile(image_filename.c_str())); in Write()
461 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()
253 jit_dump_file_.reset(OS::CreateEmptyFile(jitdump_filename.c_str())); in OpenJitDumpLog()
86 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()
1468 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()
245 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); in WriteFileBase64()372 std::unique_ptr<File> file(OS::CreateEmptyFile(out_profile.c_str())); in CreateProfile()
1847 new_file.reset(OS::CreateEmptyFile(output_location.c_str())); in OutputDexFile()
145 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()