/src/tests/lib/libbluetooth/ |
t_sdp_get.c | 605 char *url; local in function:ATF_TC_BODY 609 * sdp_get_url expects a URL type 612 ATF_REQUIRE(sdp_get_url(&test, &url, &len)); 613 ATF_CHECK(len == 4 && strncmp(url, "URL8", 4) == 0); 615 ATF_REQUIRE_EQ(sdp_get_url(&test, &url, &len), false); /* not url */ 619 ATF_REQUIRE(sdp_get_url(&test, &url, &len)); 620 ATF_CHECK(len == 5 && strncmp(url, "URL16", 5) == 0); 622 ATF_REQUIRE(sdp_get_url(&test, &url, &len)); 623 ATF_CHECK(len == 5 && strncmp(url, "URL32", 5) == 0) [all...] |
/src/share/examples/refuse/ian/libfetch/ |
fetch.h | 40 struct url { struct 92 FILE *fetchXGetFile(struct url *, struct url_stat *, const char *); 93 FILE *fetchGetFile(struct url *, const char *); 94 FILE *fetchPutFile(struct url *, const char *); 95 int fetchStatFile(struct url *, struct url_stat *, const char *); 96 struct url_ent *fetchListFile(struct url *, const char *); 99 FILE *fetchXGetHTTP(struct url *, struct url_stat *, const char *); 100 FILE *fetchGetHTTP(struct url *, const char *); 101 FILE *fetchPutHTTP(struct url *, const char *); 102 int fetchStatHTTP(struct url *, struct url_stat *, const char *) [all...] |
http.c | 680 _http_connect(struct url *URL, struct url *purl, const char *flags) 700 if (purl && strcasecmp(URL->scheme, SCHEME_HTTPS) != 0) { 701 URL = purl; 702 } else if (strcasecmp(URL->scheme, SCHEME_FTP) == 0) { 708 if ((conn = _fetch_connect(URL->host, URL->port, af, verbose)) == NULL) 711 if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0 && 732 static struct url * 807 struct url *url, *new; local in function:_http_request [all...] |
/src/libexec/httpd/ |
cgi-bozo.c | 203 append_index_html(bozohttpd_t *httpd, char **url) 205 *url = bozorealloc(httpd, *url, 206 strlen(*url) + strlen(httpd->index_html) + 1); 207 strcat(*url, httpd->index_html); 209 "append_index_html: url adjusted to `%s'", *url)); 378 char *query, *s, *t, *path, *env, *command, *file, *url; local in function:bozo_process_cgi 411 bozoasprintf(httpd, &url, "%s%s%s", 415 debug((httpd, DEBUG_NORMAL, "%s: url `%s'", __func__, url)) [all...] |
/src/usr.sbin/sysinst/ |
net.c | 101 /* URL encode unsafe characters. */ 121 * URL encode unsafe characters. See RFC 1738. 130 * URL like "ftp://username:password@host/path", the username, password, 134 * In most ordinary use, the path portion of a URL does not start with 139 * represent a password, or a path part of a URL that the user really 175 * used unencoded within a URL. 926 * that need to be encoded in the URL (for example, 986 char url[STRSIZE]; local in function:do_ftp_fetch 999 make_url(url, f, set_dir_for_set(set_name)); 1002 ftp_opt, url, set_name [all...] |
util.c | 1214 char url[STRSIZE], tmpf[PATH_MAX], mountpt[PATH_MAX]; local in function:entropy_get_file 1251 make_url(url, &server, entropy_file); 1261 ftp_opt, tmpf, url);
|
/src/usr.bin/sdpquery/ |
print.c | 887 char *url; local in function:print_url 890 if (!sdp_get_url(data, &url, &len)) 893 printf("\"%s\"\n", string_vis(url, len));
|