url_from 411 ext/phar/dirstream.c int phar_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url_from, int mode, int options, php_stream_context *context TSRMLS_DC) /* {{{ */ url_from 421 ext/phar/dirstream.c if (FAILURE == phar_split_fname(url_from, strlen(url_from), &arch, &arch_len, &entry2, &entry_len, 2, 2 TSRMLS_CC)) { url_from 422 ext/phar/dirstream.c php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: cannot create directory \"%s\", no phar archive specified", url_from); url_from 434 ext/phar/dirstream.c php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: cannot create directory \"%s\", write operations disabled", url_from); url_from 438 ext/phar/dirstream.c if ((resource = phar_parse_url(wrapper, url_from, "w", options TSRMLS_CC)) == NULL) { url_from 445 ext/phar/dirstream.c php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url \"%s\"", url_from); url_from 451 ext/phar/dirstream.c php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: not a phar stream url \"%s\"", url_from); url_from 23 ext/phar/dirstream.h int phar_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url_from, int mode, int options, php_stream_context *context TSRMLS_DC); url_from 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_from 769 ext/phar/stream.c if ((resource_from = phar_parse_url(wrapper, url_from, "wb", options|PHP_STREAM_URL_STAT_QUIET TSRMLS_CC)) == NULL) { url_from 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_from 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_from 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_from 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_from 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_from 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_from 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_from 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_from 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_from 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_from 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_from 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_from 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_from 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_from 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_from 965 ext/standard/ftp_fopen_wrapper.c resource_from = php_url_parse(url_from); url_from 986 ext/standard/ftp_fopen_wrapper.c stream = php_ftp_fopen_connect(wrapper, url_from, "r", 0, NULL, NULL, NULL, NULL, NULL, NULL TSRMLS_CC); url_from 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_from 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_from 1083 main/streams/plain_wrapper.c if (!url_from || !url_to) { url_from 1088 main/streams/plain_wrapper.c if (!php_win32_check_trailing_space(url_from, strlen(url_from))) { url_from 1089 main/streams/plain_wrapper.c php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to TSRMLS_CC); url_from 1093 main/streams/plain_wrapper.c php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to TSRMLS_CC); url_from 1098 main/streams/plain_wrapper.c if (strncasecmp(url_from, "file://", sizeof("file://") - 1) == 0) { url_from 1099 main/streams/plain_wrapper.c url_from += sizeof("file://") - 1; url_from 1106 main/streams/plain_wrapper.c if (php_check_open_basedir(url_from TSRMLS_CC) || php_check_open_basedir(url_to TSRMLS_CC)) { url_from 1110 main/streams/plain_wrapper.c ret = VCWD_RENAME(url_from, url_to); url_from 1117 main/streams/plain_wrapper.c if (php_copy_file(url_from, url_to TSRMLS_CC) == SUCCESS) { url_from 1118 main/streams/plain_wrapper.c if (VCWD_STAT(url_from, &sb) == 0) { url_from 1122 main/streams/plain_wrapper.c php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_from 1123 main/streams/plain_wrapper.c VCWD_UNLINK(url_from); url_from 1126 main/streams/plain_wrapper.c php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_from 1131 main/streams/plain_wrapper.c php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_from 1132 main/streams/plain_wrapper.c VCWD_UNLINK(url_from); url_from 1135 main/streams/plain_wrapper.c php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_from 1139 main/streams/plain_wrapper.c VCWD_UNLINK(url_from); url_from 1143 main/streams/plain_wrapper.c php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_from 1150 main/streams/plain_wrapper.c php_win32_docref2_from_error(GetLastError(), url_from, url_to TSRMLS_CC); url_from 1152 main/streams/plain_wrapper.c php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); url_from 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_from 1212 main/streams/userspace.c static int user_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, url_from 1230 main/streams/userspace.c ZVAL_STRING(zold_name, url_from, 1);