oldfile 2562 ext/phar/phar.c php_stream *file, *oldfile, *newfile, *stubfile; oldfile 2599 ext/phar/phar.c oldfile = phar->fp; oldfile 2601 ext/phar/phar.c php_stream_rewind(oldfile); oldfile 2603 ext/phar/phar.c oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); oldfile 2604 ext/phar/phar.c closeoldfile = oldfile != NULL; oldfile 2612 ext/phar/phar.c php_stream_close(oldfile); oldfile 2622 ext/phar/phar.c php_stream_close(oldfile); oldfile 2639 ext/phar/phar.c php_stream_close(oldfile); oldfile 2655 ext/phar/phar.c php_stream_close(oldfile); oldfile 2672 ext/phar/phar.c php_stream_close(oldfile); oldfile 2690 ext/phar/phar.c if (!user_stub && phar->halt_offset && oldfile && !phar->is_brandnew) { oldfile 2691 ext/phar/phar.c php_stream_copy_to_stream_ex(oldfile, newfile, phar->halt_offset, &written); oldfile 2700 ext/phar/phar.c php_stream_close(oldfile); oldfile 2794 ext/phar/phar.c if ((oldfile && !entry->is_modified) || entry->is_dir) { oldfile 2815 ext/phar/phar.c php_stream_close(oldfile); oldfile 2838 ext/phar/phar.c php_stream_close(oldfile); oldfile 2862 ext/phar/phar.c php_stream_close(oldfile); oldfile 2870 ext/phar/phar.c php_stream_close(oldfile); oldfile 2881 ext/phar/phar.c php_stream_close(oldfile); oldfile 2941 ext/phar/phar.c php_stream_close(oldfile); oldfile 2962 ext/phar/phar.c php_stream_close(oldfile); oldfile 3004 ext/phar/phar.c php_stream_close(oldfile); oldfile 3037 ext/phar/phar.c php_stream_close(oldfile); oldfile 3053 ext/phar/phar.c php_stream_close(oldfile); oldfile 3087 ext/phar/phar.c php_stream_close(oldfile); oldfile 3099 ext/phar/phar.c php_stream_close(oldfile); oldfile 3113 ext/phar/phar.c php_stream_close(oldfile); oldfile 3161 ext/phar/phar.c php_stream_close(oldfile); oldfile 3183 ext/phar/phar.c php_stream_close(oldfile); oldfile 3218 ext/phar/phar.c php_stream_close(oldfile); oldfile 3438 ext/phar/phar_object.c char *oldfile, *newfile, *error; oldfile 3445 ext/phar/phar_object.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pp", &oldfile, &oldfile_len, &newfile, &newfile_len) == FAILURE) { oldfile 3451 ext/phar/phar_object.c "Cannot copy \"%s\" to \"%s\", phar is read-only", oldfile, newfile); oldfile 3455 ext/phar/phar_object.c if (oldfile_len >= sizeof(".phar")-1 && !memcmp(oldfile, ".phar", sizeof(".phar")-1)) { oldfile 3458 ext/phar/phar_object.c "file \"%s\" cannot be copied to file \"%s\", cannot copy Phar meta-file in %s", oldfile, newfile, phar_obj->arc.archive->fname); oldfile 3465 ext/phar/phar_object.c "file \"%s\" cannot be copied to file \"%s\", cannot copy to Phar meta-file in %s", oldfile, newfile, phar_obj->arc.archive->fname); oldfile 3469 ext/phar/phar_object.c if (!zend_hash_exists(&phar_obj->arc.archive->manifest, oldfile, (uint) oldfile_len) || SUCCESS != zend_hash_find(&phar_obj->arc.archive->manifest, oldfile, (uint) oldfile_len, (void**)&oldentry) || oldentry->is_deleted) { oldfile 3471 ext/phar/phar_object.c "file \"%s\" cannot be copied to file \"%s\", file does not exist in %s", oldfile, newfile, phar_obj->arc.archive->fname); oldfile 3478 ext/phar/phar_object.c "file \"%s\" cannot be copied to file \"%s\", file must not already exist in phar %s", oldfile, newfile, phar_obj->arc.archive->fname); oldfile 3485 ext/phar/phar_object.c "file \"%s\" contains invalid characters %s, cannot be copied from \"%s\" in phar %s", newfile, pcr_error, oldfile, phar_obj->arc.archive->fname); oldfile 3495 ext/phar/phar_object.c zend_hash_find(&phar_obj->arc.archive->manifest, oldfile, (uint) oldfile_len, (void**)&oldentry); oldfile 5211 ext/phar/phar_object.c ZEND_ARG_INFO(0, oldfile) oldfile 949 ext/phar/tar.c php_stream *oldfile, *newfile, *stubfile; oldfile 1119 ext/phar/tar.c oldfile = phar->fp; oldfile 1121 ext/phar/tar.c php_stream_rewind(oldfile); oldfile 1123 ext/phar/tar.c oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); oldfile 1124 ext/phar/tar.c closeoldfile = oldfile != NULL; oldfile 1133 ext/phar/tar.c php_stream_close(oldfile); oldfile 1138 ext/phar/tar.c pass.old = oldfile; oldfile 1149 ext/phar/tar.c php_stream_close(oldfile); oldfile 1165 ext/phar/tar.c php_stream_close(oldfile); oldfile 1173 ext/phar/tar.c php_stream_close(oldfile); oldfile 1184 ext/phar/tar.c php_stream_close(oldfile); oldfile 1204 ext/phar/tar.c php_stream_close(oldfile); oldfile 1237 ext/phar/tar.c php_stream_close(oldfile); oldfile 1250 ext/phar/tar.c php_stream_close(oldfile); oldfile 1264 ext/phar/tar.c php_stream_close(oldfile); oldfile 1165 ext/phar/zip.c php_stream *stubfile, *oldfile; oldfile 1354 ext/phar/zip.c oldfile = phar->fp; oldfile 1356 ext/phar/zip.c php_stream_rewind(oldfile); oldfile 1358 ext/phar/zip.c oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); oldfile 1359 ext/phar/zip.c closeoldfile = oldfile != NULL; oldfile 1363 ext/phar/zip.c pass.old = oldfile; oldfile 1369 ext/phar/zip.c php_stream_close(oldfile); oldfile 1418 ext/phar/zip.c php_stream_close(oldfile); oldfile 1497 ext/phar/zip.c php_stream_close(oldfile); oldfile 1512 ext/phar/zip.c php_stream_close(oldfile);