Home
last modified time | relevance | path

Searched refs:url_from (Results 1 – 8 of 8) sorted by relevance

/PHP-7.3/ext/phar/
H A Dstream.c748 …if ((resource_from = phar_parse_url(wrapper, url_from, "wb", options|PHP_STREAM_URL_STAT_QUIET)) =… in phar_wrapper_rename()
749 …: cannot rename \"%s\" to \"%s\": invalid or non-writable url \"%s\"", url_from, url_to, url_from); in phar_wrapper_rename()
784 … "phar error: cannot rename \"%s\" to \"%s\", not within the same phar archive", url_from, url_to); in phar_wrapper_rename()
792 …ING, "phar error: cannot rename \"%s\" to \"%s\": invalid url \"%s\"", url_from, url_to, url_from); in phar_wrapper_rename()
799 …RNING, "phar error: cannot rename \"%s\" to \"%s\": invalid url \"%s\"", url_from, url_to, url_to); in phar_wrapper_rename()
806 … error: cannot rename \"%s\" to \"%s\": not a phar stream url \"%s\"", url_from, url_to, url_from); in phar_wrapper_rename()
813 …ar error: cannot rename \"%s\" to \"%s\": not a phar stream url \"%s\"", url_from, url_to, url_to); in phar_wrapper_rename()
822 …php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": %s", url_from, url_… in phar_wrapper_rename()
830 …ar error: cannot rename \"%s\" to \"%s\": could not make cached phar writeable", url_from, url_to); in phar_wrapper_rename()
860 …php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": %s", url_from, url_… in phar_wrapper_rename()
[all …]
H A Ddirstream.c412 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url_from, int mode, int options, ph… in phar_wrapper_mkdir() argument
422 …if (FAILURE == phar_split_fname(url_from, strlen(url_from), &arch, &arch_len, &entry2, &entry_len,… in phar_wrapper_mkdir()
423 …apper, options, "phar error: cannot create directory \"%s\", no phar archive specified", url_from); in phar_wrapper_mkdir()
435 …apper, options, "phar error: cannot create directory \"%s\", write operations disabled", url_from); in phar_wrapper_mkdir()
439 if ((resource = phar_parse_url(wrapper, url_from, "w", options)) == NULL) { in phar_wrapper_mkdir()
446 php_stream_wrapper_log_error(wrapper, options, "phar error: invalid url \"%s\"", url_from); in phar_wrapper_mkdir()
452 …p_stream_wrapper_log_error(wrapper, options, "phar error: not a phar stream url \"%s\"", url_from); in phar_wrapper_mkdir()
H A Ddirstream.h21 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url_from, int mode, int options, ph…
H A Dstream.h26 static int phar_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_t…
/PHP-7.3/main/streams/
H A Dplain_wrapper.c1174 if (!url_from || !url_to) { in php_plain_files_rename()
1179 if (!php_win32_check_trailing_space(url_from, strlen(url_from))) { in php_plain_files_rename()
1180 php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to); in php_plain_files_rename()
1184 php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to); in php_plain_files_rename()
1189 if (strncasecmp(url_from, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_rename()
1190 url_from += sizeof("file://") - 1; in php_plain_files_rename()
1201 ret = VCWD_RENAME(url_from, url_to); in php_plain_files_rename()
1213 if (php_copy_file(url_from, url_to) == SUCCESS) { in php_plain_files_rename()
1214 if (VCWD_STAT(url_from, &sb) == 0) { in php_plain_files_rename()
1241 VCWD_UNLINK(url_from); in php_plain_files_rename()
[all …]
H A Duserspace.c49 static int user_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_t…
1137 static int user_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_t… in user_wrapper_rename() argument
1154 ZVAL_STRING(&args[0], url_from); in user_wrapper_rename()
/PHP-7.3/ext/standard/
H A Dftp_fopen_wrapper.c959 static int php_stream_ftp_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url… in php_stream_ftp_rename() argument
966 resource_from = php_url_parse(url_from); in php_stream_ftp_rename()
987 stream = php_ftp_fopen_connect(wrapper, url_from, "r", 0, NULL, context, NULL, NULL, NULL, NULL); in php_stream_ftp_rename()
/PHP-7.3/main/
H A Dphp_streams.h152 …int (*rename)(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, …

Completed in 25 milliseconds