Home
last modified time | relevance | path

Searched refs:new_file (Results 1 – 1 of 1) sorted by relevance

/art/dexlayout/
Ddexlayout.cc1828 std::unique_ptr<File> new_file; in OutputDexFile() local
1847 new_file.reset(OS::CreateEmptyFile(output_location.c_str())); in OutputDexFile()
1848 if (new_file == nullptr) { in OutputDexFile()
1856 if (new_file != nullptr) { in OutputDexFile()
1859 if (!new_file->WriteFully(main_section->Begin(), main_section->Size())) { in OutputDexFile()
1861 new_file->Erase(); in OutputDexFile()
1865 if (!new_file->WriteFully(data_section->Begin(), data_section->Size())) { in OutputDexFile()
1867 new_file->Erase(); in OutputDexFile()
1870 UNUSED(new_file->FlushCloseOrErase()); in OutputDexFile()