Lines Matching refs:url_from

1091 static int php_plain_files_rename(php_stream_wrapper *wrapper, const char *url_from, const char *ur…  in php_plain_files_rename()  argument
1095 if (!url_from || !url_to) { in php_plain_files_rename()
1100 if (!php_win32_check_trailing_space(url_from, strlen(url_from))) { in php_plain_files_rename()
1101 php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to TSRMLS_CC); in php_plain_files_rename()
1105 php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to TSRMLS_CC); in php_plain_files_rename()
1110 if (strncasecmp(url_from, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_rename()
1111 url_from += sizeof("file://") - 1; in php_plain_files_rename()
1118 if (php_check_open_basedir(url_from TSRMLS_CC) || php_check_open_basedir(url_to TSRMLS_CC)) { in php_plain_files_rename()
1122 ret = VCWD_RENAME(url_from, url_to); in php_plain_files_rename()
1129 if (php_copy_file(url_from, url_to TSRMLS_CC) == SUCCESS) { in php_plain_files_rename()
1130 if (VCWD_STAT(url_from, &sb) == 0) { in php_plain_files_rename()
1134 php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1135 VCWD_UNLINK(url_from); in php_plain_files_rename()
1138 php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1143 php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1144 VCWD_UNLINK(url_from); in php_plain_files_rename()
1147 php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1151 VCWD_UNLINK(url_from); in php_plain_files_rename()
1155 php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1162 php_win32_docref2_from_error(GetLastError(), url_from, url_to TSRMLS_CC); in php_plain_files_rename()
1164 php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()