Home
last modified time | relevance | path

Searched refs:url (Results 1 – 25 of 191) sorted by relevance

12345678

/freebsd-14.2/lib/libfetch/
H A Dfetch.h40 struct url { struct
95 FILE *fetchGetFile(struct url *, const char *);
96 FILE *fetchPutFile(struct url *, const char *);
102 FILE *fetchGetHTTP(struct url *, const char *);
111 FILE *fetchGetFTP(struct url *, const char *);
112 FILE *fetchPutFTP(struct url *, const char *);
123 FILE *fetchGet(struct url *, const char *);
124 FILE *fetchPut(struct url *, const char *);
131 struct url *fetchParseURL(const char *);
132 void fetchFreeURL(struct url *);
[all …]
H A Dftp.c905 ftp_authenticate(conn_t *conn, struct url *url, struct url *purl) in ftp_authenticate() argument
922 if (purl && url->port == fetch_default_port(url->scheme)) in ftp_authenticate()
955 ftp_connect(struct url *url, struct url *purl, const char *flags) in ftp_connect() argument
981 conn = fetch_connect(url->host, url->port, af, verbose); in ftp_connect()
1026 ftp_isconnected(struct url *url) in ftp_isconnected() argument
1039 ftp_cached_connect(struct url *url, struct url *purl, const char *flags) in ftp_cached_connect() argument
1046 url->port = fetch_default_port(url->scheme); in ftp_cached_connect()
1061 memcpy(&cached_host, url, sizeof(*url)); in ftp_cached_connect()
1069 ftp_get_proxy(struct url * url, const char *flags) in ftp_get_proxy() argument
1169 fetchGetFTP(struct url *url, const char *flags) in fetchGetFTP() argument
[all …]
H A Dhttp.c1248 http_auth_params_t *parms, struct url *url) in http_digest_auth() argument
1333 http_auth_params_t *parms, struct url *url) in http_authorize() argument
1590 struct url *url, *new; in http_request_body() local
1637 url->port = fetch_default_port(url->scheme); in http_request_body()
1661 url->scheme, host, url->doc); in http_request_body()
1664 op, url->scheme, host, url->doc); in http_request_body()
1719 if (*url->user || *url->pwd) { in http_request_body()
1754 url->scheme, host, url->doc); in http_request_body()
1903 new = fetchMakeURL(url->scheme, url->host, in http_request_body()
1904 url->port, p, url->user, url->pwd); in http_request_body()
[all …]
H A Dcommon.h122 int fetch_ssl(conn_t *, const struct url *, int);
131 int fetch_netrc_auth(struct url *url);
162 FILE *http_request(struct url *, const char *,
163 struct url_stat *, struct url *, const char *);
164 FILE *http_request_body(struct url *, const char *,
165 struct url_stat *, struct url *, const char *,
167 FILE *ftp_request(struct url *, const char *,
168 struct url_stat *, struct url *, const char *);
H A Dfetch.c101 fetchGet(struct url *URL, const char *flags) in fetchGet()
111 fetchPut(struct url *URL, const char *flags) in fetchPut()
176 struct url *u; in fetchXGetURL()
203 struct url *u; in fetchPutURL()
221 struct url *u; in fetchStatURL()
239 struct url *u; in fetchListURL()
254 struct url *
258 struct url *u; in fetchMakeURL()
347 struct url *
352 struct url *u; in fetchParseURL()
[all …]
H A Dfile.c44 fetchXGetFile(struct url *u, struct url_stat *us, const char *flags) in fetchXGetFile()
68 fetchGetFile(struct url *u, const char *flags) in fetchGetFile()
74 fetchPutFile(struct url *u, const char *flags) in fetchPutFile()
115 fetchStatFile(struct url *u, struct url_stat *us, const char *flags __unused) in fetchStatFile()
121 fetchListFile(struct url *u, const char *flags __unused) in fetchListFile()
/freebsd-14.2/contrib/googletest/docs/_data/
H A Dnavigation.yml5 url: "/platforms.html"
7 url: "/quickstart-bazel.html"
9 url: "/quickstart-cmake.html"
13 url: "/primer.html"
15 url: "/advanced.html"
17 url: "/gmock_for_dummies.html"
19 url: "/gmock_cook_book.html"
35 url: "/faq.html"
37 url: "/gmock_faq.html"
39 url: "/samples.html"
[all …]
/freebsd-14.2/sbin/ipf/libipf/
H A Dload_url.c12 load_url(char *url) in load_url() argument
16 if (strncmp(url, "file://", 7) == 0) { in load_url()
21 hosts = load_file(url); in load_url()
23 } else if (*url == '/' || *url == '.') { in load_url()
24 hosts = load_file(url); in load_url()
26 } else if (strncmp(url, "http://", 7) == 0) { in load_url()
27 hosts = load_http(url); in load_url()
H A Dload_http.c30 load_http(char *url) in load_http() argument
41 if (strlen(url) > MAX_URL_LEN) { in load_http()
52 error = snprintf(buffer, avail, "GET %s HTTP/1.0\r\n", url); in load_http()
60 myurl = strdup(url); in load_http()
67 fprintf(stderr, "load_http has a malformed URL '%s'\n", url); in load_http()
77 fprintf(stderr, "load_http has a malformed URL '%s'\n", url); in load_http()
88 fprintf(stderr, "URL is too large: %s\n", url); in load_http()
189 url, linenum, buffer); in load_http()
/freebsd-14.2/contrib/wpa/src/wps/
H A Dhttp_client.c192 u = os_strdup(url); in http_client_url_parse()
215 url, addr, port); in http_client_url_parse()
248 if (os_strncmp(url, "http://", 7) != 0) in http_client_url()
326 if (url == NULL) in http_link_update()
329 if (os_strncmp(url, "http://", 7) == 0) in http_link_update()
330 return url; /* absolute link */ in http_link_update()
338 return url; /* failed */ in http_link_update()
340 if (url[0] == '/') { in http_link_update()
346 os_memcpy(n + (pos - base), url, os_strlen(url) + 1); in http_link_update()
354 os_memcpy(n + (pos - base) + 1, url, os_strlen(url) + in http_link_update()
[all …]
/freebsd-14.2/contrib/wpa/src/utils/
H A Dbrowser-system.c34 const char *url; in http_req() local
37 url = http_request_get_uri(req); in http_req()
38 wpa_printf(MSG_INFO, "Browser response received: %s", url); in http_req()
40 if (os_strcmp(url, "/") == 0) { in http_req()
43 } else if (os_strncmp(url, "/osu/", 5) == 0) { in http_req()
44 data->success = atoi(url + 5); in http_req()
65 int hs20_web_browser(const char *url, int ignore_tls) in hs20_web_browser() argument
72 wpa_printf(MSG_INFO, "Launching system browser to %s", url); in hs20_web_browser()
101 argv[1] = (void *) url; in hs20_web_browser()
H A Dbrowser-android.c34 const char *url; in http_req() local
37 url = http_request_get_uri(req); in http_req()
38 wpa_printf(MSG_INFO, "Browser response received: %s", url); in http_req()
40 if (os_strcmp(url, "/") == 0) { in http_req()
43 } else if (os_strncmp(url, "/osu/", 5) == 0) { in http_req()
44 data->success = atoi(url + 5); in http_req()
65 int hs20_web_browser(const char *url, int ignore_tls) in hs20_web_browser() argument
72 wpa_printf(MSG_INFO, "Launching Android browser to %s", url); in hs20_web_browser()
105 argv[5] = (void *) url; in hs20_web_browser()
H A Dbrowser-wpadebug.c34 const char *url; in http_req() local
37 url = http_request_get_uri(req); in http_req()
38 wpa_printf(MSG_INFO, "Browser response received: %s", url); in http_req()
40 if (os_strcmp(url, "/") == 0) { in http_req()
43 } else if (os_strncmp(url, "/osu/", 5) == 0) { in http_req()
44 data->success = atoi(url + 5); in http_req()
66 int hs20_web_browser(const char *url, int ignore_tls) in hs20_web_browser() argument
73 wpa_printf(MSG_INFO, "Launching wpadebug browser to %s", url); in hs20_web_browser()
112 argv[10] = (void *) url; in hs20_web_browser()
/freebsd-14.2/contrib/tnftp/src/
H A Dfetch.c268 url_decode(char *url) in url_decode() argument
272 if (EMPTYSTRING(url)) in url_decode()
336 origurl = url; in parse_url()
368 if (*url == '\0') in parse_url()
372 ep = strchr(url, '/'); in parse_url()
376 len = ep - url; in parse_url()
537 rval = fetch_ftp(url); in fetch_url()
561 rval = fetch_ftp(url); in fetch_url()
1133 url, savefile); in fetch_url()
1413 url); in fetch_ftp()
[all …]
/freebsd-14.2/crypto/openssl/apps/lib/
H A Dhttp_server.c295 char *meth, *url, *end; in http_server_get_asn1_req() local
343 url = meth + 3; in http_server_get_asn1_req()
350 *(url++) = '\0'; in http_server_get_asn1_req()
351 while (*url == ' ') in http_server_get_asn1_req()
352 url++; in http_server_get_asn1_req()
353 if (*url != '/') { in http_server_get_asn1_req()
356 meth, url); in http_server_get_asn1_req()
360 url++; in http_server_get_asn1_req()
388 len = urldecode(url); in http_server_get_asn1_req()
416 while (*url == '/') in http_server_get_asn1_req()
[all …]
/freebsd-14.2/contrib/wpa/src/ap/
H A Dhs20.c104 u8 osu_method, const char *url) in hs20_send_wnm_notification() argument
113 if (url) { in hs20_send_wnm_notification()
114 len = 1 + os_strlen(url); in hs20_send_wnm_notification()
117 "WNM-Notification: '%s'", url); in hs20_send_wnm_notification()
136 if (url) { in hs20_send_wnm_notification()
138 wpabuf_put_data(buf, url, len - 1); in hs20_send_wnm_notification()
190 const u8 *addr, const char *url) in hs20_send_wnm_notification_t_c() argument
196 if (!url) { in hs20_send_wnm_notification_t_c()
201 url_len = os_strlen(url); in hs20_send_wnm_notification_t_c()
205 url); in hs20_send_wnm_notification_t_c()
[all …]
/freebsd-14.2/usr.bin/fetch/
H A Dfetch.c385 query_auth(struct url *URL) in query_auth()
428 struct url *url; in fetch() local
456 url = NULL; in fetch()
467 if (!*url->scheme) { in fetch()
468 if (!*url->host) in fetch()
561 url->offset = sb.st_size; in fetch()
705 if (url->offset > 0) { in fetch()
711 url->offset = 0; in fetch()
747 count = url->offset; in fetch()
880 if (url) in fetch()
[all …]
/freebsd-14.2/contrib/wpa/hs20/client/
H A Dosu_client.h89 int cmd_prov(struct hs20_osu_client *ctx, const char *url);
90 int cmd_sim_prov(struct hs20_osu_client *ctx, const char *url);
95 int cmd_oma_dm_prov(struct hs20_osu_client *ctx, const char *url);
96 int cmd_oma_dm_sim_prov(struct hs20_osu_client *ctx, const char *url);
116 int est_load_cacerts(struct hs20_osu_client *ctx, const char *url);
117 int est_build_csr(struct hs20_osu_client *ctx, const char *url);
118 int est_simple_enroll(struct hs20_osu_client *ctx, const char *url,
H A Doma_dm_client.c109 const char *url, int msgid) in oma_dm_build_hdr() argument
305 syncml = oma_dm_build_hdr(ctx, url, msgid); in build_oma_dm_1()
337 const char *url, int msgid) in build_oma_dm_1_sub_reg() argument
350 const char *url, int msgid) in build_oma_dm_1_sub_prov() argument
354 syncml = build_oma_dm_1(ctx, url, msgid, in build_oma_dm_1_sub_prov()
364 const char *url, int msgid) in build_oma_dm_1_pol_upd() argument
377 const char *url, int msgid) in build_oma_dm_1_sub_rem() argument
381 syncml = build_oma_dm_1(ctx, url, msgid, in build_oma_dm_1_sub_rem()
957 ctx->server_url = os_strdup(url); in oma_dm_send_recv()
1160 if (url == NULL) { in cmd_oma_dm_prov()
[all …]
/freebsd-14.2/crypto/openssl/demos/certs/
H A Docspquery.sh12 -url http://127.0.0.1:8888/
14 -url http://127.0.0.1:8888/
16 -url http://127.0.0.1:8888/
21 -CAfile root.pem -url http://127.0.0.1:8888/
/freebsd-14.2/sys/contrib/openzfs/.github/ISSUE_TEMPLATE/
H A Dconfig.yml4 url: https://github.com/openzfs/zfs/discussions/new
7 url: https://zfsonlinux.topicbox.com/groups/zfs-discuss
10 url: https://lists.freebsd.org/mailman/listinfo/freebsd-fs
13 url: https://web.libera.chat/#openzfs
/freebsd-14.2/share/doc/papers/
H A Dbsdreferences.bib10 url = {http://dl.acm.org/citation.cfm?id=2592801},
26 url = {http://doi.acm.org/10.1145/956993.957010},
46 url = {http://doi.acm.org/10.1145/1384609.1384613},
79 url = {http://doi.acm.org/10.1145/1985441.1985463},
98 url = {http://doi.acm.org/10.1145/1370750.1370766},
118 url = {http://doi.acm.org/10.1145/2786763.2694367},
138 url = {http://doi.acm.org/10.1145/2775054.2694367},
156 url = {http://doi.acm.org/10.1145/2694344.2694367},
176 url = {http://doi.acm.org/10.1145/360271.360272},
208 url = {http://doi.acm.org/10.1145/1159733.1159765},
[all …]
/freebsd-14.2/sys/contrib/libsodium/packaging/dotnet-core/
H A Dprepare.py60 …self.url = 'https://download.libsodium.org/libsodium/releases/libsodium-{0}-msvc.zip'.format(versi…
61 self.cachefile = os.path.join(CACHEDIR, re.sub(r'[^A-Za-z0-9.]', '-', self.url))
84 …self.url = 'https://bintray.com/homebrew/bottles/download_file?file_path=libsodium-{0}.{1}.bottle.…
85 self.cachefile = os.path.join(CACHEDIR, re.sub(r'[^A-Za-z0-9.]', '-', self.url))
108 …self.url = 'https://download.libsodium.org/libsodium/releases/libsodium-{0}.tar.gz'.format(version…
109 self.cachefile = os.path.join(CACHEDIR, re.sub(r'[^A-Za-z0-9.]', '-', self.url))
144 …self.url = 'https://download.libsodium.org/libsodium/releases/libsodium-{0}.tar.gz'.format(version…
145 self.cachefile = os.path.join(CACHEDIR, re.sub(r'[^A-Za-z0-9.]', '-', self.url))
189 downloads = {item.cachefile: item.url for item in items}
/freebsd-14.2/usr.sbin/bsdconfig/share/media/
H A Dhttp.subr163 local url
164 f_getvar $VAR_HTTP_PATH url
171 if [ ! "$url" ]; then
173 f_getvar $VAR_HTTP_PATH url
175 [ "$url" ] || return $FAILURE
177 case "$url" in
182 f_getvar $VAR_HTTP_PATH url
183 if [ ! "${url#http://}" ]; then
193 case "$url" in
201 case "$url" in
[all …]
/freebsd-14.2/crypto/openssl/crypto/http/
H A Dhttp_lib.c53 int OSSL_parse_url(const char *url, char **pscheme, char **puser, char **phost, in OSSL_parse_url() argument
76 if (url == NULL) { in OSSL_parse_url()
82 scheme = scheme_end = url; in OSSL_parse_url()
83 p = strstr(url, "://"); in OSSL_parse_url()
85 p = url; in OSSL_parse_url()
199 int OSSL_HTTP_parse_url(const char *url, int *pssl, char **puser, char **phost, in OSSL_HTTP_parse_url() argument
209 if (!OSSL_parse_url(url, &scheme, puser, phost, &port, pport_num, in OSSL_HTTP_parse_url()

12345678