Lines Matching refs:url_from
1211 static int php_plain_files_rename(php_stream_wrapper *wrapper, const char *url_from, const char *ur… in php_plain_files_rename() argument
1215 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()
1238 if (php_check_open_basedir(url_from) || php_check_open_basedir(url_to)) { 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()
1266 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1274 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1282 VCWD_UNLINK(url_from); in php_plain_files_rename()
1285 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1288 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1299 php_win32_docref2_from_error(GetLastError(), url_from, url_to); in php_plain_files_rename()
1301 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()