Lines Matching refs:resource_to
959 php_url *resource_from = NULL, *resource_to = NULL; in php_stream_ftp_rename() local
964 resource_to = php_url_parse(url_to); in php_stream_ftp_rename()
969 !resource_to || in php_stream_ftp_rename()
971 !resource_to->scheme || in php_stream_ftp_rename()
972 strcmp(resource_from->scheme, resource_to->scheme) || in php_stream_ftp_rename()
974 !resource_to->host || in php_stream_ftp_rename()
975 strcmp(resource_from->host, resource_to->host) || in php_stream_ftp_rename()
976 (resource_from->port != resource_to->port && in php_stream_ftp_rename()
977 resource_from->port * resource_to->port != 0 && in php_stream_ftp_rename()
978 resource_from->port + resource_to->port != 21) || in php_stream_ftp_rename()
980 !resource_to->path) { in php_stream_ftp_rename()
1004 …php_stream_printf(stream TSRMLS_CC, "RNTO %s\r\n", (resource_to->path != NULL ? resource_to->path … in php_stream_ftp_rename()
1015 php_url_free(resource_to); in php_stream_ftp_rename()
1023 if (resource_to) { in php_stream_ftp_rename()
1024 php_url_free(resource_to); in php_stream_ftp_rename()