Searched refs:new_file (Results 1 – 1 of 1) sorted by relevance
1890 std::unique_ptr<File> new_file; in OutputDexFile() local1902 new_file.reset(OS::CreateEmptyFile(output_location.c_str())); in OutputDexFile()1903 if (new_file == nullptr) { in OutputDexFile()1907 if (ftruncate(new_file->Fd(), header_->FileSize()) != 0) { in OutputDexFile()1909 new_file->Erase(); in OutputDexFile()1913 new_file->Fd(), 0, /*low_4gb*/ false, output_location.c_str(), &error_msg)); in OutputDexFile()1920 if (new_file != nullptr) { in OutputDexFile()1921 new_file->Erase(); in OutputDexFile()1926 if (new_file != nullptr) { in OutputDexFile()1927 UNUSED(new_file->FlushCloseOrErase()); in OutputDexFile()