Home
last modified time | relevance | path

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

/art/dexlayout/
Ddexlayout.cc1822 std::unique_ptr<File> new_file; in OutputDexFile() local
1835 new_file.reset(OS::CreateEmptyFile(output_location.c_str())); in OutputDexFile()
1836 if (new_file == nullptr) { in OutputDexFile()
1844 if (new_file != nullptr) { in OutputDexFile()
1847 if (!new_file->WriteFully(main_section->Begin(), main_section->Size())) { in OutputDexFile()
1849 new_file->Erase(); in OutputDexFile()
1853 if (!new_file->WriteFully(data_section->Begin(), data_section->Size())) { in OutputDexFile()
1855 new_file->Erase(); in OutputDexFile()
1858 UNUSED(new_file->FlushCloseOrErase()); in OutputDexFile()