Lines Matching refs:url_to

1091 …es_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_…  in php_plain_files_rename()  argument
1095 if (!url_from || !url_to) { 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()
1104 if (!php_win32_check_trailing_space(url_to, strlen(url_to))) { 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()
1114 if (strncasecmp(url_to, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_rename()
1115 url_to += 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()
1132 if (VCWD_CHMOD(url_to, sb.st_mode)) { 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()
1138 php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1141 if (VCWD_CHOWN(url_to, sb.st_uid, sb.st_gid)) { 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()
1147 php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); 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()