Lines Matching refs:url_to

1125 …es_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_…  in php_plain_files_rename()  argument
1129 if (!url_from || !url_to) { in php_plain_files_rename()
1135 php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to); in php_plain_files_rename()
1138 if (!php_win32_check_trailing_space(url_to, (int)strlen(url_to))) { in php_plain_files_rename()
1139 php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to); in php_plain_files_rename()
1148 if (strncasecmp(url_to, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_rename()
1149 url_to += sizeof("file://") - 1; in php_plain_files_rename()
1152 if (php_check_open_basedir(url_from) || php_check_open_basedir(url_to)) { in php_plain_files_rename()
1156 ret = VCWD_RENAME(url_from, url_to); in php_plain_files_rename()
1163 if (php_copy_file(url_from, url_to) == SUCCESS) { in php_plain_files_rename()
1166 if (VCWD_CHMOD(url_to, sb.st_mode)) { in php_plain_files_rename()
1168 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1172 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1175 if (VCWD_CHOWN(url_to, sb.st_uid, sb.st_gid)) { in php_plain_files_rename()
1177 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1181 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1189 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1196 php_win32_docref2_from_error(GetLastError(), url_from, url_to); in php_plain_files_rename()
1198 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()