Searched refs:CreateEmptyFile (Results 1 – 17 of 17) 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);
65 void CreateEmptyFile(const std::string& name) { in CreateEmptyFile() function66 File* file = OS::CreateEmptyFile(name.c_str()); in CreateEmptyFile()73 CreateEmptyFile(name); in ScopedCreateEmptyFile()177 CreateEmptyFile(framework_profile_); in SetUp()179 CreateEmptyFile(dirty_image_objects_file_); in SetUp()181 CreateEmptyFile(preloaded_classes_file_); in SetUp()185 CreateEmptyFile(art_profile_); in SetUp()203 CreateEmptyFile(framework_jar_); in SetUp()204 CreateEmptyFile(location_provider_jar_); in SetUp()205 CreateEmptyFile(services_jar_); in SetUp()[all …]
40 std::unique_ptr<File> fp(OS::CreateEmptyFile(file_path)); in CreateFile()
1704 std::unique_ptr<File> staging_file(OS::CreateEmptyFile(staging_location.c_str())); in RunDex2oat()
76 std::unique_ptr<File> oat_file(OS::CreateEmptyFile(oat_location.c_str())); in TEST_F()81 std::unique_ptr<File> vdex_file(OS::CreateEmptyFile(vdex_location.c_str())); in TEST_F()
1274 std::unique_ptr<File> oat_file(OS::CreateEmptyFile(oat_filename.c_str())); in OpenFile()1303 std::unique_ptr<File> vdex_file(OS::CreateEmptyFile(vdex_filename.c_str())); in OpenFile()1411 std::unique_ptr<File> swap_file(OS::CreateEmptyFile(swap_file_name_.c_str())); in OpenFile()2259 std::unique_ptr<File> out(OS::CreateEmptyFile(oat_unstripped_[i].c_str())); in CopyOatFilesToSymbolsDirectoryAndStrip()2689 std::unique_ptr<File> tmp_file(OS::CreateEmptyFile(tmp_file_name.c_str())); in SaveDexInput()
83 oat_file.reset(OS::CreateEmptyFile(odex_location.c_str()));644 app_image_file.reset(OS::CreateEmptyFile(app_image_file_name.c_str()));747 std::unique_ptr<File> vdex_file1(OS::CreateEmptyFile(vdex_location.c_str())); in RunTestVDex()
189 out_helper.image_files.push_back(ScratchFile(OS::CreateEmptyFile(image_filename.c_str()))); in DoCompile()196 out_helper.oat_files.push_back(ScratchFile(OS::CreateEmptyFile(oat_filename.c_str()))); in DoCompile()199 out_helper.vdex_files.push_back(ScratchFile(OS::CreateEmptyFile(vdex_filename.c_str()))); in DoCompile()
386 image_file.reset(OS::CreateEmptyFile(image_filename.c_str())); in Write()
200 std::unique_ptr<File> file(OS::CreateEmptyFile(filename.c_str())); in WriteFile()222 std::unique_ptr<File> file(OS::CreateEmptyFile(filename.c_str())); in WriteElf()
490 art_file.reset(OS::CreateEmptyFile((use_fd_prefix + ".art").c_str())); in CompileBootImage()491 vdex_file.reset(OS::CreateEmptyFile((use_fd_prefix + ".vdex").c_str())); in CompileBootImage()492 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()
164 std::unique_ptr<File> output_file(OS::CreateEmptyFile(output_filename)); in Main()
247 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); in WriteFileBase64()372 std::unique_ptr<File> file(OS::CreateEmptyFile(out_profile.c_str())); in CreateProfile()
2149 new_file.reset(OS::CreateEmptyFile(output_location.c_str())); in OutputDexFile()
144 std::unique_ptr<File> elf_file(OS::CreateEmptyFile(output_name_.c_str())); in Symbolize()1027 std::unique_ptr<File> file(OS::CreateEmptyFile(out_dex_path.c_str())); in ExportDexFile()