oldfile 2509 ext/phar/phar.c php_stream *file, *oldfile, *newfile, *stubfile; oldfile 2546 ext/phar/phar.c oldfile = phar->fp; oldfile 2548 ext/phar/phar.c php_stream_rewind(oldfile); oldfile 2550 ext/phar/phar.c oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); oldfile 2551 ext/phar/phar.c closeoldfile = oldfile != NULL; oldfile 2559 ext/phar/phar.c php_stream_close(oldfile); oldfile 2570 ext/phar/phar.c php_stream_close(oldfile); oldfile 2587 ext/phar/phar.c php_stream_close(oldfile); oldfile 2605 ext/phar/phar.c php_stream_close(oldfile); oldfile 2622 ext/phar/phar.c php_stream_close(oldfile); oldfile 2640 ext/phar/phar.c if (!user_stub && phar->halt_offset && oldfile && !phar->is_brandnew) { oldfile 2641 ext/phar/phar.c php_stream_copy_to_stream_ex(oldfile, newfile, phar->halt_offset, &written); oldfile 2651 ext/phar/phar.c php_stream_close(oldfile); oldfile 2741 ext/phar/phar.c if ((oldfile && !entry->is_modified) || entry->is_dir) { oldfile 2762 ext/phar/phar.c php_stream_close(oldfile); oldfile 2785 ext/phar/phar.c php_stream_close(oldfile); oldfile 2809 ext/phar/phar.c php_stream_close(oldfile); oldfile 2817 ext/phar/phar.c php_stream_close(oldfile); oldfile 2828 ext/phar/phar.c php_stream_close(oldfile); oldfile 2888 ext/phar/phar.c php_stream_close(oldfile); oldfile 2909 ext/phar/phar.c php_stream_close(oldfile); oldfile 2951 ext/phar/phar.c php_stream_close(oldfile); oldfile 2985 ext/phar/phar.c php_stream_close(oldfile); oldfile 3001 ext/phar/phar.c php_stream_close(oldfile); oldfile 3035 ext/phar/phar.c php_stream_close(oldfile); oldfile 3047 ext/phar/phar.c php_stream_close(oldfile); oldfile 3061 ext/phar/phar.c php_stream_close(oldfile); oldfile 3109 ext/phar/phar.c php_stream_close(oldfile); oldfile 3131 ext/phar/phar.c php_stream_close(oldfile); oldfile 3166 ext/phar/phar.c php_stream_close(oldfile); oldfile 3395 ext/phar/phar_object.c char *oldfile, *newfile, *error; oldfile 3403 ext/phar/phar_object.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp", &oldfile, &oldfile_len, &newfile, &newfile_len) == FAILURE) { oldfile 3409 ext/phar/phar_object.c "Cannot copy \"%s\" to \"%s\", phar is read-only", oldfile, newfile); oldfile 3413 ext/phar/phar_object.c if (oldfile_len >= sizeof(".phar")-1 && !memcmp(oldfile, ".phar", sizeof(".phar")-1)) { oldfile 3416 ext/phar/phar_object.c "file \"%s\" cannot be copied to file \"%s\", cannot copy Phar meta-file in %s", oldfile, newfile, phar_obj->archive->fname); oldfile 3423 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->archive->fname); oldfile 3427 ext/phar/phar_object.c if (!zend_hash_str_exists(&phar_obj->archive->manifest, oldfile, (uint) oldfile_len) || NULL == (oldentry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, oldfile, (uint) oldfile_len)) || oldentry->is_deleted) { oldfile 3429 ext/phar/phar_object.c "file \"%s\" cannot be copied to file \"%s\", file does not exist in %s", oldfile, newfile, phar_obj->archive->fname); oldfile 3436 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->archive->fname); oldfile 3444 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->archive->fname); oldfile 3455 ext/phar/phar_object.c oldentry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, oldfile, (uint) oldfile_len); oldfile 5154 ext/phar/phar_object.c ZEND_ARG_INFO(0, oldfile) oldfile 948 ext/phar/tar.c php_stream *oldfile, *newfile, *stubfile; oldfile 1132 ext/phar/tar.c oldfile = phar->fp; oldfile 1134 ext/phar/tar.c php_stream_rewind(oldfile); oldfile 1136 ext/phar/tar.c oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); oldfile 1137 ext/phar/tar.c closeoldfile = oldfile != NULL; oldfile 1146 ext/phar/tar.c php_stream_close(oldfile); oldfile 1151 ext/phar/tar.c pass.old = oldfile; oldfile 1162 ext/phar/tar.c php_stream_close(oldfile); oldfile 1178 ext/phar/tar.c php_stream_close(oldfile); oldfile 1186 ext/phar/tar.c php_stream_close(oldfile); oldfile 1197 ext/phar/tar.c php_stream_close(oldfile); oldfile 1217 ext/phar/tar.c php_stream_close(oldfile); oldfile 1250 ext/phar/tar.c php_stream_close(oldfile); oldfile 1263 ext/phar/tar.c php_stream_close(oldfile); oldfile 1277 ext/phar/tar.c php_stream_close(oldfile); oldfile 1190 ext/phar/zip.c php_stream *stubfile, *oldfile; oldfile 1393 ext/phar/zip.c oldfile = phar->fp; oldfile 1395 ext/phar/zip.c php_stream_rewind(oldfile); oldfile 1397 ext/phar/zip.c oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); oldfile 1398 ext/phar/zip.c closeoldfile = oldfile != NULL; oldfile 1402 ext/phar/zip.c pass.old = oldfile; oldfile 1408 ext/phar/zip.c php_stream_close(oldfile); oldfile 1457 ext/phar/zip.c php_stream_close(oldfile); oldfile 1536 ext/phar/zip.c php_stream_close(oldfile); oldfile 1551 ext/phar/zip.c php_stream_close(oldfile);