Lines Matching refs:oldfile
2548 php_stream *file, *oldfile, *newfile; in phar_flush_ex() local
2589 oldfile = phar->fp; in phar_flush_ex()
2591 php_stream_rewind(oldfile); in phar_flush_ex()
2593 oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); in phar_flush_ex()
2594 must_close_old_file = oldfile != NULL; in phar_flush_ex()
2602 php_stream_close(oldfile); in phar_flush_ex()
2612 php_stream_close(oldfile); in phar_flush_ex()
2630 php_stream_close(oldfile); in phar_flush_ex()
2643 if (!user_stub && phar->halt_offset && oldfile && !phar->is_brandnew) { in phar_flush_ex()
2644 php_stream_copy_to_stream_ex(oldfile, newfile, phar->halt_offset, &written); in phar_flush_ex()
2653 php_stream_close(oldfile); in phar_flush_ex()
2735 if ((oldfile && !entry->is_modified) || entry->is_dir) { in phar_flush_ex()
2756 php_stream_close(oldfile); in phar_flush_ex()
2776 php_stream_close(oldfile); in phar_flush_ex()
2803 php_stream_close(oldfile); in phar_flush_ex()
2814 php_stream_close(oldfile); in phar_flush_ex()
2825 php_stream_close(oldfile); in phar_flush_ex()
2884 php_stream_close(oldfile); in phar_flush_ex()
2905 php_stream_close(oldfile); in phar_flush_ex()
2941 php_stream_close(oldfile); in phar_flush_ex()
2976 php_stream_close(oldfile); in phar_flush_ex()
2992 php_stream_close(oldfile); in phar_flush_ex()
3019 php_stream_close(oldfile); in phar_flush_ex()
3031 php_stream_close(oldfile); in phar_flush_ex()
3045 php_stream_close(oldfile); in phar_flush_ex()
3108 php_stream_close(oldfile); in phar_flush_ex()
3145 php_stream_close(oldfile); in phar_flush_ex()