Searched refs:new_file (Results 1 – 1 of 1) sorted by relevance
1824 std::unique_ptr<File> new_file; in OutputDexFile() local1843 new_file.reset(OS::CreateEmptyFile(output_location.c_str())); in OutputDexFile()1844 if (new_file == nullptr) { in OutputDexFile()1852 if (new_file != nullptr) { in OutputDexFile()1855 if (!new_file->WriteFully(main_section->Begin(), main_section->Size())) { in OutputDexFile()1857 new_file->Erase(); in OutputDexFile()1861 if (!new_file->WriteFully(data_section->Begin(), data_section->Size())) { in OutputDexFile()1863 new_file->Erase(); in OutputDexFile()1866 UNUSED(new_file->FlushCloseOrErase()); in OutputDexFile()