url_to 752 ext/phar/stream.c static int phar_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context) /* {{{ */ url_to 765 ext/phar/stream.c php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": invalid or non-writable url \"%s\"", url_from, url_to, url_from); url_to 780 ext/phar/stream.c if ((resource_to = phar_parse_url(wrapper, url_to, "wb", options|PHP_STREAM_URL_STAT_QUIET)) == NULL) { url_to 782 ext/phar/stream.c php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": invalid or non-writable url \"%s\"", url_from, url_to, url_to); url_to 800 ext/phar/stream.c php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\", not within the same phar archive", url_from, url_to); url_to 808 ext/phar/stream.c php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": invalid url \"%s\"", url_from, url_to, url_from); url_to 815 ext/phar/stream.c php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": invalid url \"%s\"", url_from, url_to, url_to); url_to 822 ext/phar/stream.c php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": not a phar stream url \"%s\"", url_from, url_to, url_from); url_to 829 ext/phar/stream.c php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": not a phar stream url \"%s\"", url_from, url_to, url_to); url_to 838 ext/phar/stream.c php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": %s", url_from, url_to, error); url_to 846 ext/phar/stream.c php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": could not make cached phar writeable", url_from, url_to); url_to 857 ext/phar/stream.c php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\" from extracted phar archive, source has been deleted", url_from, url_to); url_to 876 ext/phar/stream.c php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": %s", url_from, url_to, error); url_to 891 ext/phar/stream.c php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\" from extracted phar archive, source does not exist", url_from, url_to); url_to 974 ext/phar/stream.c php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": %s", url_from, url_to, error); url_to 28 ext/phar/stream.h static int phar_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context); url_to 949 ext/standard/ftp_fopen_wrapper.c static int php_stream_ftp_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context) url_to 957 ext/standard/ftp_fopen_wrapper.c resource_to = php_url_parse(url_to); url_to 154 main/php_streams.h int (*rename)(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context); url_to 1107 main/streams/plain_wrapper.c static int php_plain_files_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context) url_to 1111 main/streams/plain_wrapper.c if (!url_from || !url_to) { url_to 1117 main/streams/plain_wrapper.c php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to); url_to 1120 main/streams/plain_wrapper.c if (!php_win32_check_trailing_space(url_to, (int)strlen(url_to))) { url_to 1121 main/streams/plain_wrapper.c php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to); url_to 1130 main/streams/plain_wrapper.c if (strncasecmp(url_to, "file://", sizeof("file://") - 1) == 0) { url_to 1131 main/streams/plain_wrapper.c url_to += sizeof("file://") - 1; url_to 1134 main/streams/plain_wrapper.c if (php_check_open_basedir(url_from) || php_check_open_basedir(url_to)) { url_to 1138 main/streams/plain_wrapper.c ret = VCWD_RENAME(url_from, url_to); url_to 1145 main/streams/plain_wrapper.c if (php_copy_file(url_from, url_to) == SUCCESS) { url_to 1148 main/streams/plain_wrapper.c if (VCWD_CHMOD(url_to, sb.st_mode)) { url_to 1150 main/streams/plain_wrapper.c php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_to 1154 main/streams/plain_wrapper.c php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_to 1157 main/streams/plain_wrapper.c if (VCWD_CHOWN(url_to, sb.st_uid, sb.st_gid)) { url_to 1159 main/streams/plain_wrapper.c php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_to 1163 main/streams/plain_wrapper.c php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_to 1171 main/streams/plain_wrapper.c php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_to 1178 main/streams/plain_wrapper.c php_win32_docref2_from_error(GetLastError(), url_from, url_to); url_to 1180 main/streams/plain_wrapper.c php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_to 51 main/streams/userspace.c static int user_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context); url_to 1136 main/streams/userspace.c static int user_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, url_to 1154 main/streams/userspace.c ZVAL_STRING(&args[1], url_to);