Lines Matching refs:oldfile
2580 php_stream *file, *oldfile, *newfile, *stubfile; local
2617 oldfile = phar->fp;
2619 php_stream_rewind(oldfile);
2621 oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL);
2622 closeoldfile = oldfile != NULL;
2630 php_stream_close(oldfile);
2640 php_stream_close(oldfile);
2657 php_stream_close(oldfile);
2673 php_stream_close(oldfile);
2690 php_stream_close(oldfile);
2708 if (!user_stub && phar->halt_offset && oldfile && !phar->is_brandnew) {
2709 phar_stream_copy_to_stream(oldfile, newfile, phar->halt_offset, &written);
2718 php_stream_close(oldfile);
2812 if ((oldfile && !entry->is_modified) || entry->is_dir) {
2833 php_stream_close(oldfile);
2856 php_stream_close(oldfile);
2880 php_stream_close(oldfile);
2888 php_stream_close(oldfile);
2899 php_stream_close(oldfile);
2959 php_stream_close(oldfile);
2980 php_stream_close(oldfile);
3022 php_stream_close(oldfile);
3055 php_stream_close(oldfile);
3071 php_stream_close(oldfile);
3105 php_stream_close(oldfile);
3117 php_stream_close(oldfile);
3131 php_stream_close(oldfile);
3179 php_stream_close(oldfile);
3201 php_stream_close(oldfile);
3236 php_stream_close(oldfile);