Lines Matching refs:oldfile
2505 php_stream *file, *oldfile, *newfile, *stubfile; local
2542 oldfile = phar->fp;
2544 php_stream_rewind(oldfile);
2546 oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL);
2547 closeoldfile = oldfile != NULL;
2555 php_stream_close(oldfile);
2566 php_stream_close(oldfile);
2583 php_stream_close(oldfile);
2601 php_stream_close(oldfile);
2618 php_stream_close(oldfile);
2636 if (!user_stub && phar->halt_offset && oldfile && !phar->is_brandnew) {
2637 php_stream_copy_to_stream_ex(oldfile, newfile, phar->halt_offset, &written);
2647 php_stream_close(oldfile);
2737 if ((oldfile && !entry->is_modified) || entry->is_dir) {
2758 php_stream_close(oldfile);
2781 php_stream_close(oldfile);
2805 php_stream_close(oldfile);
2813 php_stream_close(oldfile);
2824 php_stream_close(oldfile);
2884 php_stream_close(oldfile);
2905 php_stream_close(oldfile);
2947 php_stream_close(oldfile);
2981 php_stream_close(oldfile);
2997 php_stream_close(oldfile);
3031 php_stream_close(oldfile);
3043 php_stream_close(oldfile);
3057 php_stream_close(oldfile);
3105 php_stream_close(oldfile);
3127 php_stream_close(oldfile);
3162 php_stream_close(oldfile);