/freebsd/lib/libfetch/ |
H A D | fetch.c | 61 { URL_MALFORMED, FETCH_URL, "Malformed URL" }, 62 { URL_BAD_SCHEME, FETCH_URL, "Invalid URL scheme" }, 71 * Select the appropriate protocol for the URL scheme, and return a 72 * read-only stream connected to the document referenced by the URL. 76 fetchXGet(struct url *URL, struct url_stat *us, const char *flags) in fetchXGet() argument 83 if (strcmp(URL->scheme, SCHEME_FILE) == 0) in fetchXGet() 84 return (fetchXGetFile(URL, us, flags)); in fetchXGet() 85 else if (strcmp(URL->scheme, SCHEME_FTP) == 0) in fetchXGet() 86 return (fetchXGetFTP(URL, us, flags)); in fetchXGet() 87 else if (strcmp(URL->scheme, SCHEME_HTTP) == 0) in fetchXGet() [all …]
|
H A D | fetch.h | 40 struct url { struct 94 FILE *fetchXGetFile(struct url *, struct url_stat *, const char *); 95 FILE *fetchGetFile(struct url *, const char *); 96 FILE *fetchPutFile(struct url *, const char *); 97 int fetchStatFile(struct url *, struct url_stat *, const char *); 98 struct url_ent *fetchListFile(struct url *, const char *); 101 FILE *fetchXGetHTTP(struct url *, struct url_stat *, const char *); 102 FILE *fetchGetHTTP(struct url *, const char *); 103 FILE *fetchPutHTTP(struct url *, const char *); 104 int fetchStatHTTP(struct url *, struct url_stat *, const char *); [all …]
|
H A D | fetch.3 | 70 .Fn fetchParseURL "const char *URL" 72 .Fn fetchFreeURL "struct url *u" 74 .Fn fetchXGetURL "const char *URL" "struct url_stat *us" "const char *flags" 76 .Fn fetchGetURL "const char *URL" "const char *flags" 78 .Fn fetchPutURL "const char *URL" "const char *flags" 80 .Fn fetchStatURL "const char *URL" "struct url_stat *us" "const char *flags" 82 .Fn fetchListURL "const char *URL" "const char *flags" 84 .Fn fetchXGet "struct url *u" "struct url_stat *us" "const char *flags" 86 .Fn fetchGet "struct url *u" "const char *flags" 88 .Fn fetchPut "struct url *u" "const char *flags" [all …]
|
H A D | http.c | 1180 IN char * pszDigestUri, /* requested URL */ in DigestCalcResponse() 1248 http_auth_params_t *parms, struct url *url) in http_digest_auth() argument 1285 "GET", url->doc, null, digest); in http_digest_auth() 1292 c->nonce, url->doc, digest, in http_digest_auth() 1298 c->nonce, url->doc, digest, options); in http_digest_auth() 1333 http_auth_params_t *parms, struct url *url) in http_authorize() argument 1366 return (http_digest_auth(conn, hdr, digest, parms, url)); in http_authorize() 1377 http_connect(struct url *URL, struct url *purl, const char *flags) in http_connect() argument 1379 struct url *curl; in http_connect() 1404 curl = (purl != NULL) ? purl : URL; in http_connect() [all …]
|
H A D | ftp.c | 102 static struct url cached_host; 905 ftp_authenticate(conn_t *conn, struct url *url, struct url *purl) in ftp_authenticate() argument 914 if (url->user[0] == '\0') in ftp_authenticate() 915 fetch_netrc_auth(url); in ftp_authenticate() 916 user = url->user; in ftp_authenticate() 922 if (purl && url->port == fetch_default_port(url->scheme)) in ftp_authenticate() 923 e = ftp_cmd(conn, "USER %s@%s", user, url->host); in ftp_authenticate() 925 e = ftp_cmd(conn, "USER %s@%s@%d", user, url->host, url->port); in ftp_authenticate() 931 pwd = url->pwd; in ftp_authenticate() 955 ftp_connect(struct url *url, struct url *purl, const char *flags) in ftp_connect() argument [all …]
|
/freebsd/contrib/googletest/docs/_data/ |
H A D | navigation.yml | 5 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" 21 url: "/gmock_cheat_sheet.html" 25 url: "/reference/testing.html" 27 url: "/reference/mocking.html" [all …]
|
/freebsd/contrib/wpa/src/wps/ |
H A D | http_client.c | 187 char * http_client_url_parse(const char *url, struct sockaddr_in *dst, in http_client_url_parse() argument 192 u = os_strdup(url); in http_client_url_parse() 213 wpa_printf(MSG_DEBUG, "HTTP: Unsupported address in URL '%s' " in http_client_url_parse() 215 url, addr, port); in http_client_url_parse() 236 struct http_client * http_client_url(const char *url, in http_client_url() argument 248 if (os_strncmp(url, "http://", 7) != 0) in http_client_url() 250 u = http_client_url_parse(url, &dst, &path); in http_client_url() 255 req_buf = wpabuf_alloc(os_strlen(url) + 1000); in http_client_url() 317 char * http_link_update(char *url, const char *base) in http_link_update() argument 326 if (url == NULL) in http_link_update() [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | load_http.c | 14 * Because the URL can be included twice into the buffer, once as the 18 * URL being too long tells you something is wrong and does not fetch 19 * any data - just truncating the URL (with snprintf, etc) and sending 30 load_http(char *url) in load_http() argument 41 if (strlen(url) > MAX_URL_LEN) { in load_http() 42 fprintf(stderr, "load_http has a URL > %d bytes?!\n", in load_http() 52 error = snprintf(buffer, avail, "GET %s HTTP/1.0\r\n", url); in load_http() 56 * the url length above. 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() [all …]
|
H A D | load_url.c | 12 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()
|
/freebsd/usr.bin/fetch/ |
H A D | fetch.c | 384 query_auth(struct url *URL) in query_auth() argument 391 URL->scheme, URL->host, URL->port); in query_auth() 394 if (fgets(URL->user, sizeof URL->user, stdin) == NULL) in query_auth() 396 for (i = strlen(URL->user); i >= 0; --i) in query_auth() 397 if (URL->user[i] == '\r' || URL->user[i] == '\n') in query_auth() 398 URL->user[i] = '\0'; in query_auth() 406 nopwd = (fgets(URL->pwd, sizeof URL->pwd, stdin) == NULL); in query_auth() 410 nopwd = (fgets(URL->pwd, sizeof URL->pwd, stdin) == NULL); in query_auth() 414 for (i = strlen(URL->pwd); i >= 0; --i) in query_auth() 415 if (URL->pwd[i] == '\r' || URL->pwd[i] == '\n') in query_auth() [all …]
|
/freebsd/contrib/tnftp/src/ |
H A D | fetch.c | 106 #define FILE_URL "file://" /* file URL prefix */ 107 #define FTP_URL "ftp://" /* ftp URL prefix */ 108 #define HTTP_URL "http://" /* http URL prefix */ 268 url_decode(char *url) in url_decode() argument 272 if (EMPTYSTRING(url)) in url_decode() 274 p = q = (unsigned char *)url; in url_decode() 291 * Parse URL of form (per RFC3986): 302 * leading `/' unless it's an ftp:// URL, as this makes things easier 304 * host and the URL-path removed, but any additional leading slashes 305 * in the URL-path are retained (because they imply that we should [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | errstring.c | 196 ** LDAP URL error messages. 202 return "LDAP URL can't allocate memory space"; 207 return "LDAP URL parameter is bad"; 212 return "LDAP URL doesn't begin with \"ldap[si]://\""; 217 return "LDAP URL is missing trailing \">\""; 222 return "LDAP URL is bad"; 227 return "LDAP URL host port is bad"; 232 return "LDAP URL bad (or missing) attributes"; 237 return "LDAP URL scope string is invalid (or missing)"; 242 return "LDAP URL bad or missing filter"; [all …]
|
/freebsd/contrib/wpa/src/ap/ |
H A D | hs20.c | 104 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() 116 wpa_printf(MSG_INFO, "HS 2.0: Too long URL for " 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() 141 /* Server URL and Server Method fields not included */ 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() [all …]
|
/freebsd/contrib/wpa/src/utils/ |
H A D | browser-wpadebug.c | 34 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() 111 argv[9] = "w1.fi.wpadebug.URL"; in hs20_web_browser() 112 argv[10] = (void *) url; in hs20_web_browser() [all …]
|
H A D | browser-system.c | 34 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 D | browser-android.c | 34 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()
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | ole2compounddocs | 100 # URL: https://en.wikipedia.org/wiki/MicroStation 110 # URL: http://fileformats.archiveteam.org/wiki/WordPerfect 118 # URL: http://fileformats.archiveteam.org/wiki/Microsoft_Works_Word_Processor 125 # URL: http://fileformats.archiveteam.org/wiki/Microsoft_Works_Spreadsheet 132 # URL: http://fileformats.archiveteam.org/wiki/XLS 142 # URL: http://fileformats.archiveteam.org/wiki/PPT 150 # URL: https://www.msoutlook.info/question/164 158 # URL: https://www.file-extensions.org/cag-file-extension 166 # URL: https://www.filesuffix.com/de/extension/rra 173 # URL: https://www.forensicswiki.org/wiki/Jump_Lists [all …]
|
/freebsd/usr.sbin/bsdconfig/share/media/ |
H A D | http.subr | 80 'URL' '$msg_specify_some_other_http_site' 107 URL) setvar $VAR_HTTP_PATH "other" ;; 124 # URL containing host and optionally a target path to the release 162 local url 163 f_getvar $VAR_HTTP_PATH url 166 if f_struct device_network && [ "${url#$msg_other}" ]; then 167 f_dialog_yesno "$msg_reuse_old_http_site_settings" || url= 170 if [ ! "$url" ]; then 172 f_getvar $VAR_HTTP_PATH url 174 [ "$url" ] || return $FAILURE [all …]
|
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/ |
H A D | qemu-2-start.sh | 31 …URL="https://repo.almalinux.org/almalinux/8/cloud/x86_64/images/AlmaLinux-8-GenericCloud-latest.x8… 35 …URL="https://repo.almalinux.org/almalinux/9/cloud/x86_64/images/AlmaLinux-9-GenericCloud-latest.x8… 39 URL="https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-cloudimg.qcow2" 40 # dns sometimes fails with that url :/ 45 …URL="https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-latest.x8… 49 URL="https://cloud.debian.org/images/cloud/bullseye/latest/debian-11-generic-amd64.qcow2" 53 URL="https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2" 58 …URL="https://download.fedoraproject.org/pub/fedora/linux/releases/40/Cloud/x86_64/images/Fedora-Cl… 63 …URL="https://download.fedoraproject.org/pub/fedora/linux/releases/41/Cloud/x86_64/images/Fedora-Cl… 113 URL="$MIRROR/tumbleweed/appliances/openSUSE-MicroOS.x86_64-OpenStack-Cloud.qcow2" [all …]
|
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/include/ |
H A D | lac_sym_cipher.h | 114 * URL="\ref cpaCySymInitSession()"] ; 116 * URL="\ref LacSymSession_ParamCheck()"]; 118 * URL="\ref LacAlgChain_SessionInit()"]; 120 * URL="\ref LacCipher_SessionSetupDataCheck()"]; 123 * URL="\ref LacSymQat_CipherContentDescPopulate()"]; 126 * URL="\ref LacSymQat_CipherArc4StateInit()"]; 129 * SYM=>SYM [label = "LAC_SYM_STAT_INC", URL="\ref LAC_SYM_STAT_INC"]; 141 * URL="\ref cpaCySymPerformOp()"] ; 143 * URL="\ref LacSym_Perform()"]; 145 * URL="\ref LacSymPerform_BufferParamCheck()"]; [all …]
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | http_server.c | 258 * Decode %xx URL-decoding in-place. Ignores malformed sequences. 292 char *meth, *url, *end; in http_server_get_asn1_req() local 340 url = meth + 3; in http_server_get_asn1_req() 342 || (url++, strncmp(meth, "POST ", 5) == 0)) { in http_server_get_asn1_req() 346 /* Expecting (GET|POST) {sp} /URL {sp} HTTP/1.x */ in http_server_get_asn1_req() 347 *(url++) = '\0'; in http_server_get_asn1_req() 348 while (*url == ' ') in http_server_get_asn1_req() 349 url++; in http_server_get_asn1_req() 350 if (*url != '/') { in http_server_get_asn1_req() 352 "Invalid %s -- URL does not begin with '/': %s", in http_server_get_asn1_req() [all …]
|
/freebsd/crypto/heimdal/doc/doxyout/gssapi/html/ |
H A D | graph_legend.dot | 7 …icBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classPublicBase.h… 9 …runcated",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="red",URL="$classTruncated.ht… 11 …edBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classProtectedBas… 13 …teBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classPrivateBase.… 17 … int >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classTempl.html"]; 19 …l< T >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classTempl.html"]; 21 …l="Used",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classUsed.html"];
|
/freebsd/crypto/heimdal/doc/doxyout/hcrypto/html/ |
H A D | graph_legend.dot | 7 …icBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classPublicBase.h… 9 …runcated",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="red",URL="$classTruncated.ht… 11 …edBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classProtectedBas… 13 …teBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classPrivateBase.… 17 … int >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classTempl.html"]; 19 …l< T >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classTempl.html"]; 21 …l="Used",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classUsed.html"];
|
/freebsd/crypto/heimdal/doc/doxyout/hdb/html/ |
H A D | graph_legend.dot | 7 …icBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classPublicBase.h… 9 …runcated",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="red",URL="$classTruncated.ht… 11 …edBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classProtectedBas… 13 …teBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classPrivateBase.… 17 … int >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classTempl.html"]; 19 …l< T >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classTempl.html"]; 21 …l="Used",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classUsed.html"];
|
/freebsd/crypto/heimdal/doc/doxyout/hx509/html/ |
H A D | graph_legend.dot | 7 …icBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classPublicBase.h… 9 …runcated",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="red",URL="$classTruncated.ht… 11 …edBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classProtectedBas… 13 …teBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classPrivateBase.… 17 … int >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classTempl.html"]; 19 …l< T >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classTempl.html"]; 21 …l="Used",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black",URL="$classUsed.html"];
|