Home
last modified time | relevance | path

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

/PHP-5.4/main/streams/
H A Dplain_wrapper.c1063 if (!url_from || !url_to) { in php_plain_files_rename()
1068 if (!php_win32_check_trailing_space(url_from, strlen(url_from))) { in php_plain_files_rename()
1078 if ((p = strstr(url_from, "://")) != NULL) { in php_plain_files_rename()
1079 url_from = p + 3; in php_plain_files_rename()
1090 ret = VCWD_RENAME(url_from, url_to); in php_plain_files_rename()
1097 if (php_copy_file(url_from, url_to TSRMLS_CC) == SUCCESS) { in php_plain_files_rename()
1098 if (VCWD_STAT(url_from, &sb) == 0) { in php_plain_files_rename()
1103 VCWD_UNLINK(url_from); in php_plain_files_rename()
1112 VCWD_UNLINK(url_from); in php_plain_files_rename()
1119 VCWD_UNLINK(url_from); in php_plain_files_rename()
[all …]
H A Duserspace.c51 static int user_wrapper_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int optio…
1201 static int user_wrapper_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int optio… in user_wrapper_rename() argument
1218 ZVAL_STRING(zold_name, url_from, 1); in user_wrapper_rename()
/PHP-5.4/ext/phar/
H A Dstream.c777 …if ((resource_from = phar_parse_url(wrapper, url_from, "wb", options|PHP_STREAM_URL_STAT_QUIET TSR… in phar_wrapper_rename()
778 …: cannot rename \"%s\" to \"%s\": invalid or non-writable url \"%s\"", url_from, url_to, url_from); in phar_wrapper_rename()
813 … "phar error: cannot rename \"%s\" to \"%s\", not within the same phar archive", url_from, url_to); in phar_wrapper_rename()
821 …ING, "phar error: cannot rename \"%s\" to \"%s\": invalid url \"%s\"", url_from, url_to, url_from); in phar_wrapper_rename()
828 …RNING, "phar error: cannot rename \"%s\" to \"%s\": invalid url \"%s\"", url_from, url_to, url_to); in phar_wrapper_rename()
835 … error: cannot rename \"%s\" to \"%s\": not a phar stream url \"%s\"", url_from, url_to, url_from); in phar_wrapper_rename()
842 …ar error: cannot rename \"%s\" to \"%s\": not a phar stream url \"%s\"", url_from, url_to, url_to); in phar_wrapper_rename()
851 …L TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": %s", url_from, url_to, error); in phar_wrapper_rename()
859 …ar error: cannot rename \"%s\" to \"%s\": could not make cached phar writeable", url_from, url_to); in phar_wrapper_rename()
889 …L TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\": %s", url_from, url_to, error); in phar_wrapper_rename()
[all …]
H A Ddirstream.c431 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, char *url_from, int mode, int options, php_stre… in phar_wrapper_mkdir() argument
441 …if (FAILURE == phar_split_fname(url_from, strlen(url_from), &arch, &arch_len, &entry2, &entry_len,… in phar_wrapper_mkdir()
442 …ions TSRMLS_CC, "phar error: cannot create directory \"%s\", no phar archive specified", url_from); in phar_wrapper_mkdir()
454 …ions TSRMLS_CC, "phar error: cannot create directory \"%s\", write operations disabled", url_from); in phar_wrapper_mkdir()
458 if ((resource = phar_parse_url(wrapper, url_from, "w", options TSRMLS_CC)) == NULL) { in phar_wrapper_mkdir()
465 …p_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url \"%s\"", url_from); in phar_wrapper_mkdir()
471 …rapper_log_error(wrapper, options TSRMLS_CC, "phar error: not a phar stream url \"%s\"", url_from); in phar_wrapper_mkdir()
H A Ddirstream.h23 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, char *url_from, int mode, int options, php_stre…
H A Dstream.h28 static int phar_wrapper_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int optio…
/PHP-5.4/ext/standard/
H A Dftp_fopen_wrapper.c956 static int php_stream_ftp_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int opt… in php_stream_ftp_rename() argument
963 resource_from = php_url_parse(url_from); in php_stream_ftp_rename()
984 …stream = php_ftp_fopen_connect(wrapper, url_from, "r", 0, NULL, NULL, NULL, NULL, NULL, NULL TSRML… in php_stream_ftp_rename()
/PHP-5.4/main/
H A Dphp_streams.h152 …int (*rename)(php_stream_wrapper *wrapper, char *url_from, char *url_to, int options, php_stream_c…

Completed in 40 milliseconds