Home
last modified time | relevance | path

Searched refs:CreateEmptyFile (Results 1 – 17 of 17) 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()
58 return art::CreateEmptyFile(name, flags); in CreateEmptyFileWriteOnly()
Dos.h42 static File* CreateEmptyFile(const char* name);
/art/odrefresh/
Dodrefresh_test.cc65 void CreateEmptyFile(const std::string& name) { in CreateEmptyFile() function
66 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 …]
Dodr_fs_utils_test.cc40 std::unique_ptr<File> fp(OS::CreateEmptyFile(file_path)); in CreateFile()
Dodrefresh.cc1704 std::unique_ptr<File> staging_file(OS::CreateEmptyFile(staging_location.c_str())); in RunDex2oat()
/art/dex2oat/
Ddex2oat_cts_test.cc76 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()
Ddex2oat.cc1274 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()
Ddex2oat_test.cc83 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()
/art/dex2oat/linker/
Dimage_test.h189 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()
Dimage_writer.cc386 image_file.reset(OS::CreateEmptyFile(image_filename.c_str())); in Write()
/art/compiler/utils/
Dassembler_test_base.h200 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()
/art/runtime/
Dcommon_runtime_test.cc490 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()
/art/compiler/jit/
Djit_logger.cc253 jit_dump_file_.reset(OS::CreateEmptyFile(jitdump_filename.c_str())); in OpenJitDumpLog()
/art/tools/create_minidebuginfo/
Dcreate_minidebuginfo.cc164 std::unique_ptr<File> output_file(OS::CreateEmptyFile(output_filename)); in Main()
/art/dexlayout/
Ddexlayout_test.cc247 std::unique_ptr<File> file(OS::CreateEmptyFile(location)); in WriteFileBase64()
372 std::unique_ptr<File> file(OS::CreateEmptyFile(out_profile.c_str())); in CreateProfile()
Ddexlayout.cc2149 new_file.reset(OS::CreateEmptyFile(output_location.c_str())); in OutputDexFile()
/art/oatdump/
Doatdump.cc144 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()