url_to 757 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 TSRMLS_DC) /* {{{ */ url_to 770 ext/phar/stream.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": invalid or non-writable url \"%s\"", url_from, url_to, url_from); url_to 785 ext/phar/stream.c if ((resource_to = phar_parse_url(wrapper, url_to, "wb", options|PHP_STREAM_URL_STAT_QUIET TSRMLS_CC)) == NULL) { url_to 787 ext/phar/stream.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": invalid or non-writable url \"%s\"", url_from, url_to, url_to); url_to 805 ext/phar/stream.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\", not within the same phar archive", url_from, url_to); url_to 813 ext/phar/stream.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": invalid url \"%s\"", url_from, url_to, url_from); url_to 820 ext/phar/stream.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": invalid url \"%s\"", url_from, url_to, url_to); url_to 827 ext/phar/stream.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": not a phar stream url \"%s\"", url_from, url_to, url_from); url_to 834 ext/phar/stream.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": not a phar stream url \"%s\"", url_from, url_to, url_to); url_to 843 ext/phar/stream.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": %s", url_from, url_to, error); url_to 851 ext/phar/stream.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": could not make cached phar writeable", url_from, url_to); url_to 862 ext/phar/stream.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\" from extracted phar archive, source has been deleted", url_from, url_to); url_to 881 ext/phar/stream.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": %s", url_from, url_to, error); url_to 896 ext/phar/stream.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\" from extracted phar archive, source does not exist", url_from, url_to); url_to 982 ext/phar/stream.c php_error_docref(NULL TSRMLS_CC, 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 TSRMLS_DC); url_to 958 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 TSRMLS_DC) url_to 966 ext/standard/ftp_fopen_wrapper.c resource_to = php_url_parse(url_to); url_to 152 main/php_streams.h int (*rename)(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context TSRMLS_DC); url_to 1079 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 TSRMLS_DC) url_to 1083 main/streams/plain_wrapper.c if (!url_from || !url_to) { url_to 1089 main/streams/plain_wrapper.c php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to TSRMLS_CC); url_to 1092 main/streams/plain_wrapper.c if (!php_win32_check_trailing_space(url_to, strlen(url_to))) { url_to 1093 main/streams/plain_wrapper.c php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to TSRMLS_CC); url_to 1102 main/streams/plain_wrapper.c if (strncasecmp(url_to, "file://", sizeof("file://") - 1) == 0) { url_to 1103 main/streams/plain_wrapper.c url_to += sizeof("file://") - 1; url_to 1106 main/streams/plain_wrapper.c if (php_check_open_basedir(url_from TSRMLS_CC) || php_check_open_basedir(url_to TSRMLS_CC)) { url_to 1110 main/streams/plain_wrapper.c ret = VCWD_RENAME(url_from, url_to); url_to 1117 main/streams/plain_wrapper.c if (php_copy_file(url_from, url_to TSRMLS_CC) == SUCCESS) { url_to 1120 main/streams/plain_wrapper.c if (VCWD_CHMOD(url_to, sb.st_mode)) { url_to 1122 main/streams/plain_wrapper.c php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_to 1126 main/streams/plain_wrapper.c php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_to 1129 main/streams/plain_wrapper.c if (VCWD_CHOWN(url_to, sb.st_uid, sb.st_gid)) { url_to 1131 main/streams/plain_wrapper.c php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_to 1135 main/streams/plain_wrapper.c php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_to 1143 main/streams/plain_wrapper.c php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_to 1150 main/streams/plain_wrapper.c php_win32_docref2_from_error(GetLastError(), url_from, url_to TSRMLS_CC); url_to 1152 main/streams/plain_wrapper.c php_error_docref2(NULL TSRMLS_CC, 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 TSRMLS_DC); url_to 1212 main/streams/userspace.c static int user_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, url_to 1234 main/streams/userspace.c ZVAL_STRING(znew_name, url_to, 1);