Searched refs:new_file (Results 1 – 1 of 1) sorted by relevance
1825 std::unique_ptr<File> new_file; in OutputDexFile() local1844 new_file.reset(OS::CreateEmptyFile(output_location.c_str())); in OutputDexFile()1845 if (new_file == nullptr) { in OutputDexFile()1853 if (new_file != nullptr) { in OutputDexFile()1856 if (!new_file->WriteFully(main_section->Begin(), main_section->Size())) { in OutputDexFile()1858 new_file->Erase(); in OutputDexFile()1862 if (!new_file->WriteFully(data_section->Begin(), data_section->Size())) { in OutputDexFile()1864 new_file->Erase(); in OutputDexFile()1867 UNUSED(new_file->FlushCloseOrErase()); in OutputDexFile()