Lines Matching refs:ret

51   CURLUcode ret;  in parse_port()  local
55 ret = Curl_parse_port(url, &host, has_scheme); in parse_port()
57 return ret; in parse_port()
62 CURLUcode ret; variable
73 ret = parse_port(u, ipv6port, FALSE);
74 fail_unless(ret == CURLUE_OK, "parse_port returned error");
75 ret = curl_url_get(u, CURLUPART_PORT, &portnum, CURLU_NO_DEFAULT_PORT);
76 fail_unless(ret != CURLUE_OK, "curl_url_get portnum returned something");
87 ret = parse_port(u, ipv6port, FALSE);
88 fail_unless(ret != CURLUE_OK, "parse_port true on error");
98 ret = parse_port(u, ipv6port, FALSE);
99 fail_unless(ret == CURLUE_OK, "parse_port returned error");
100 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0);
101 fail_unless(ret == CURLUE_OK, "curl_url_get portnum returned error");
115 ret = parse_port(u, ipv6port, FALSE);
116 fail_unless(ret == CURLUE_OK, "parse_port returned error");
117 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0);
118 fail_unless(ret == CURLUE_OK, "curl_url_get portnum returned error");
131 ret = parse_port(u, ipv6port, FALSE);
132 fail_unless(ret == CURLUE_OK, "parse_port returned error");
143 ret = parse_port(u, ipv6port, FALSE);
144 fail_unless(ret == CURLUE_OK, "parse_port returned error");
145 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0);
146 fail_unless(ret == CURLUE_OK, "curl_url_get portnum returned error");
159 ret = parse_port(u, ipv6port, FALSE);
160 fail_unless(ret != CURLUE_OK, "parse_port true on error");
170 ret = parse_port(u, ipv6port, FALSE);
171 fail_unless(ret != CURLUE_OK, "parse_port true on error");
183 ret = parse_port(u, ipv6port, TRUE);
184 fail_unless(ret == CURLUE_OK, "parse_port returned error");
195 ret = parse_port(u, ipv6port, FALSE);
196 fail_unless(ret == CURLUE_OK, "parse_port returned error");
197 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0);
198 fail_unless(ret == CURLUE_OK, "curl_url_get portnum returned error");
211 ret = parse_port(u, ipv6port, FALSE);
212 fail_unless(ret == CURLUE_OK, "parse_port returned error");
225 ret = parse_port(u, ipv6port, FALSE);
226 fail_unless(ret == CURLUE_BAD_PORT_NUMBER, "parse_port did wrong");