Lines Matching refs:oldfile

2547 	php_stream *file, *oldfile, *newfile;  in phar_flush_ex()  local
2588 oldfile = phar->fp; in phar_flush_ex()
2590 php_stream_rewind(oldfile); in phar_flush_ex()
2592 oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); in phar_flush_ex()
2593 must_close_old_file = oldfile != NULL; in phar_flush_ex()
2601 php_stream_close(oldfile); in phar_flush_ex()
2611 php_stream_close(oldfile); in phar_flush_ex()
2629 php_stream_close(oldfile); in phar_flush_ex()
2642 if (!user_stub && phar->halt_offset && oldfile && !phar->is_brandnew) { in phar_flush_ex()
2643 php_stream_copy_to_stream_ex(oldfile, newfile, phar->halt_offset, &written); in phar_flush_ex()
2652 php_stream_close(oldfile); in phar_flush_ex()
2734 if ((oldfile && !entry->is_modified) || entry->is_dir) { in phar_flush_ex()
2755 php_stream_close(oldfile); in phar_flush_ex()
2775 php_stream_close(oldfile); in phar_flush_ex()
2802 php_stream_close(oldfile); in phar_flush_ex()
2813 php_stream_close(oldfile); in phar_flush_ex()
2824 php_stream_close(oldfile); in phar_flush_ex()
2883 php_stream_close(oldfile); in phar_flush_ex()
2904 php_stream_close(oldfile); in phar_flush_ex()
2940 php_stream_close(oldfile); in phar_flush_ex()
2975 php_stream_close(oldfile); in phar_flush_ex()
2991 php_stream_close(oldfile); in phar_flush_ex()
3018 php_stream_close(oldfile); in phar_flush_ex()
3030 php_stream_close(oldfile); in phar_flush_ex()
3044 php_stream_close(oldfile); in phar_flush_ex()
3107 php_stream_close(oldfile); in phar_flush_ex()
3144 php_stream_close(oldfile); in phar_flush_ex()