Home
last modified time | relevance | path

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

/PHP-8.0/ext/phar/
H A Dstream.c745 …if ((resource_from = phar_parse_url(wrapper, url_from, "wb", options|PHP_STREAM_URL_STAT_QUIET)) =… in phar_wrapper_rename()
746 …: cannot rename \"%s\" to \"%s\": invalid or non-writable url \"%s\"", url_from, url_to, url_from); in phar_wrapper_rename()
781 … "phar error: cannot rename \"%s\" to \"%s\", not within the same phar archive", url_from, url_to); in phar_wrapper_rename()
789 …ING, "phar error: cannot rename \"%s\" to \"%s\": invalid url \"%s\"", url_from, url_to, url_from); in phar_wrapper_rename()
796 …RNING, "phar error: cannot rename \"%s\" to \"%s\": invalid url \"%s\"", url_from, url_to, url_to); in phar_wrapper_rename()
803 … error: cannot rename \"%s\" to \"%s\": not a phar stream url \"%s\"", url_from, url_to, url_from); in phar_wrapper_rename()
810 …ar error: cannot rename \"%s\" to \"%s\": not a phar stream url \"%s\"", url_from, url_to, url_to); in phar_wrapper_rename()
819 …php_error_docref(NULL, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": %s", url_from, url_… in phar_wrapper_rename()
827 …ar error: cannot rename \"%s\" to \"%s\": could not make cached phar writeable", url_from, url_to); in phar_wrapper_rename()
857 …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.c399 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url_from, int mode, int options, ph… in phar_wrapper_mkdir() argument
409 …if (FAILURE == phar_split_fname(url_from, strlen(url_from), &arch, &arch_len, &entry2, &entry_len,… in phar_wrapper_mkdir()
410 …apper, options, "phar error: cannot create directory \"%s\", no phar archive specified", url_from); in phar_wrapper_mkdir()
422 …apper, options, "phar error: cannot create directory \"%s\", write operations disabled", url_from); in phar_wrapper_mkdir()
426 if ((resource = phar_parse_url(wrapper, url_from, "w", options)) == NULL) { in phar_wrapper_mkdir()
433 php_stream_wrapper_log_error(wrapper, options, "phar error: invalid url \"%s\"", url_from); in phar_wrapper_mkdir()
439 …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-8.0/main/streams/
H A Dplain_wrapper.c1215 if (!url_from || !url_to) { in php_plain_files_rename()
1220 if (!php_win32_check_trailing_space(url_from, strlen(url_from))) { in php_plain_files_rename()
1221 php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to); in php_plain_files_rename()
1225 php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to); in php_plain_files_rename()
1230 if (strncasecmp(url_from, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_rename()
1231 url_from += sizeof("file://") - 1; in php_plain_files_rename()
1242 ret = VCWD_RENAME(url_from, url_to); in php_plain_files_rename()
1254 if (php_copy_file(url_from, url_to) == SUCCESS) { in php_plain_files_rename()
1255 if (VCWD_STAT(url_from, &sb) == 0) { in php_plain_files_rename()
1282 VCWD_UNLINK(url_from); in php_plain_files_rename()
[all …]
H A Duserspace.c46 static int user_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_t…
1117 static int user_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_t… in user_wrapper_rename() argument
1134 ZVAL_STRING(&args[0], url_from); in user_wrapper_rename()
/PHP-8.0/ext/standard/
H A Dftp_fopen_wrapper.c945 static int php_stream_ftp_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url… in php_stream_ftp_rename() argument
952 resource_from = php_url_parse(url_from); in php_stream_ftp_rename()
973 stream = php_ftp_fopen_connect(wrapper, url_from, "r", 0, NULL, context, NULL, NULL, NULL, NULL); in php_stream_ftp_rename()
/PHP-8.0/main/
H A Dphp_streams.h150 …int (*rename)(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, …

Completed in 40 milliseconds