Lines Matching refs:resource_to
960 php_url *resource_from = NULL, *resource_to = NULL; in php_stream_ftp_rename() local
965 resource_to = php_url_parse(url_to); in php_stream_ftp_rename()
970 !resource_to || in php_stream_ftp_rename()
972 !resource_to->scheme || in php_stream_ftp_rename()
973 strcmp(resource_from->scheme, resource_to->scheme) || in php_stream_ftp_rename()
975 !resource_to->host || in php_stream_ftp_rename()
976 strcmp(resource_from->host, resource_to->host) || in php_stream_ftp_rename()
977 (resource_from->port != resource_to->port && in php_stream_ftp_rename()
978 resource_from->port * resource_to->port != 0 && in php_stream_ftp_rename()
979 resource_from->port + resource_to->port != 21) || in php_stream_ftp_rename()
981 !resource_to->path) { in php_stream_ftp_rename()
1005 …php_stream_printf(stream TSRMLS_CC, "RNTO %s\r\n", (resource_to->path != NULL ? resource_to->path … in php_stream_ftp_rename()
1016 php_url_free(resource_to); in php_stream_ftp_rename()
1024 if (resource_to) { in php_stream_ftp_rename()
1025 php_url_free(resource_to); in php_stream_ftp_rename()