Searched refs:scheme (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-9.3-release/lib/libfetch/
H A Dfetch.c61 { URL_BAD_SCHEME, FETCH_URL, "Invalid URL scheme" },
70 * Select the appropriate protocol for the URL scheme, and return a
82 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0)
84 else if (strcasecmp(URL->scheme, SCHEME_FTP) == 0)
86 else if (strcasecmp(URL->scheme, SCHEME_HTTP) == 0)
88 else if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0)
95 * Select the appropriate protocol for the URL scheme, and return a
105 * Select the appropriate protocol for the URL scheme, and return a
112 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0)
114 else if (strcasecmp(URL->scheme, SCHEME_FT
253 fetchMakeURL(const char *scheme, const char *host, int port, const char *doc, const char *user, const char *pwd) argument
[all...]
H A Dhttp.c629 http_auth_schemes_t scheme; member in struct:__anon5216
642 b->scheme = HTTPAS_UNKNOWN;
779 cs->challenges[cs->count]->scheme = HTTPAS_BASIC;
781 cs->challenges[cs->count]->scheme = HTTPAS_DIGEST;
783 cs->challenges[cs->count]->scheme = HTTPAS_UNKNOWN;
1021 * The value is like scheme:realm:user:pass
1024 char *scheme; member in struct:__anon5219
1033 s->scheme = s->realm = s->user = s->password = 0;
1039 if (s->scheme)
1040 free(s->scheme);
[all...]
H A Dfetch.h41 char scheme[URL_SCHEMELEN+1]; member in struct:url
H A Dftp.c919 if (purl && url->port == fetch_default_port(url->scheme))
1042 url->port = fetch_default_port(url->scheme);
1077 if (!*purl->scheme) {
1079 strcpy(purl->scheme, SCHEME_FTP);
1081 strcpy(purl->scheme, SCHEME_HTTP);
1084 purl->port = fetch_default_proxy_port(purl->scheme);
1085 if (strcasecmp(purl->scheme, SCHEME_FTP) == 0 ||
1086 strcasecmp(purl->scheme, SCHEME_HTTP) == 0)
1104 if (purl && strcasecmp(purl->scheme, SCHEME_HTTP) == 0) {
H A Dcommon.c181 * Return the default port for a scheme
184 fetch_default_port(const char *scheme) argument
188 if ((se = getservbyname(scheme, "tcp")) != NULL)
190 if (strcasecmp(scheme, SCHEME_FTP) == 0)
192 if (strcasecmp(scheme, SCHEME_HTTP) == 0)
198 * Return the default proxy port for a scheme
201 fetch_default_proxy_port(const char *scheme) argument
203 if (strcasecmp(scheme, SCHEME_FTP) == 0)
205 if (strcasecmp(scheme, SCHEME_HTTP) == 0)
/freebsd-9.3-release/usr.sbin/bsdinstall/partedit/
H A Dscripted.c66 part_config(char *disk, const char *scheme, char *config) argument
74 if (scheme == NULL)
75 scheme = default_scheme();
84 /* Remove any existing partitioning and create new scheme */
95 gpart_partition(disk, scheme);
97 if (strcmp(scheme, "PC98") == 0 || strcmp(scheme, "MBR") == 0) {
149 char *disk = NULL, *scheme = NULL, *partconfig = NULL; local
174 else if (scheme == NULL)
175 scheme
[all...]
H A Dgpart_ops.c69 scheme_supports_labels(const char *scheme) argument
71 if (strcmp(scheme, "APM") == 0)
73 if (strcmp(scheme, "GPT") == 0)
75 if (strcmp(scheme, "PC98") == 0)
162 gpart_partition(const char *lg_name, const char *scheme) argument
184 if (scheme == NULL) {
187 "Select a partition scheme for this volume:", 0, 0, 0,
196 sprintf(message, "This partition scheme (%s) is not "
206 scheme = items[choice].name;
213 gctl_ro_param(r, "scheme",
235 const char *errstr, *scheme; local
283 const char *errstr, *scheme; local
335 const char *scheme; local
416 const char *errstr, *oldtype, *scheme; local
564 set_default_part_metadata(const char *name, const char *scheme, const char *type, const char *mountpoint, const char *newfs) argument
749 const char *errstr, *scheme; local
[all...]
H A Dpart_wizard.c194 const char *scheme = NULL; local
210 if (strcmp(gc->lg_name, "scheme") == 0) {
211 scheme = gc->lg_val;
217 /* Treat uncommitted scheme deletions as no scheme */
218 if (scheme != NULL && strcmp(scheme, "(none)") == 0)
219 scheme = NULL;
237 if (choice == 1 && scheme != NULL && !is_scheme_bootable(scheme)) {
[all...]
H A Dpartedit.h71 int gpart_partition(const char *lg_name, const char *scheme);
72 void set_default_part_metadata(const char *name, const char *scheme,
/freebsd-9.3-release/contrib/groff/src/libs/libgroff/
H A Dcolor.cpp78 scheme = c->scheme;
91 if (scheme != c.scheme)
93 switch (scheme) {
132 return scheme;
137 scheme = DEFAULT;
145 scheme = RGB;
156 scheme = CMY;
167 scheme
[all...]
/freebsd-9.3-release/contrib/groff/src/include/
H A Dcolor.h33 color_scheme scheme; member in class:color
44 color(symbol s = default_symbol) : scheme(DEFAULT), nm(s) {}
53 int is_default() { return scheme == DEFAULT; }
71 // Return the actual color scheme and retrieve the color components
/freebsd-9.3-release/crypto/openssl/crypto/asn1/
H A Dp5_pbev2.c92 X509_ALGOR *scheme = NULL, *kalg = NULL, *ret = NULL;
112 /* Setup the AlgorithmIdentifier for the encryption scheme */
113 scheme = pbe2->encryption;
115 scheme->algorithm = obj;
116 if (!(scheme->parameter = ASN1_TYPE_new()))
128 if (EVP_CIPHER_param_to_asn1(&ctx, scheme->parameter) < 0) {
214 /* Note 'scheme' is freed as part of pbe2 */
/freebsd-9.3-release/sys/netncp/
H A Dncp_nls.h65 int ncp_nls_setrecode(int scheme);
/freebsd-9.3-release/usr.bin/fetch/
H A Dfetch.c367 URL->scheme, URL->host, URL->port);
441 /* if no scheme was specified, take a guess */
442 if (!*url->scheme) {
444 strcpy(url->scheme, SCHEME_FILE);
446 strcpy(url->scheme, SCHEME_FTP);
448 strcpy(url->scheme, SCHEME_HTTP);
462 if (strcmp(url->scheme, SCHEME_FTP) == 0) {
473 if (strcmp(url->scheme, SCHEME_HTTP) == 0 ||
474 strcmp(url->scheme, SCHEME_HTTPS) == 0) {
555 if (i_flag && strcmp(url->scheme, SCHEME_HTT
[all...]
/freebsd-9.3-release/lib/libncp/
H A Dncpl_nls.c284 int scheme; member in struct:ncp_nlsdesc
327 ncp_nls_setrecode(int scheme) { argument
330 if (scheme == 0) {
332 scheme = NCP_NLS_DEFAULT;
334 scheme = NCP_NLS_AS_IS;
338 if (nd->scheme != scheme) continue;
343 fprintf(stderr, "Character conversion scheme %d was not compiled in\n", scheme);
357 fprintf(stderr, "Character conversion scheme
[all...]
/freebsd-9.3-release/sys/geom/part/
H A Dg_part.c605 struct g_part_scheme *iter, *scheme; local
610 scheme = (table != NULL) ? table->gpt_scheme : NULL;
611 pri = (scheme != NULL) ? G_PART_PROBE(table, cp) : INT_MIN;
615 scheme = NULL;
630 scheme = iter;
641 return ((scheme == NULL) ? ENXIO : 0);
894 struct g_part_scheme *scheme; local
900 scheme = gpp->gpp_scheme;
916 (gpp->gpp_entries < scheme->gps_minent ||
917 gpp->gpp_entries > scheme
2196 struct g_part_scheme *scheme; local
2234 g_part_modevent(module_t mod, int type, struct g_part_scheme *scheme) argument
[all...]
/freebsd-9.3-release/contrib/wpa/src/wps/
H A Dupnp_xml.c186 * schema following actionName will be WFA scheme instead
/freebsd-9.3-release/sbin/geom/class/part/
H A Dgeom_part.c122 { 's', "scheme", NULL, G_TYPE_STRING },
126 "-s scheme [-n entries] [-f flags] provider"
596 const char *s, *scheme; local
601 scheme = find_geomcfg(gp, "scheme");
602 if (scheme == NULL)
634 scheme, fmtsize(pp->lg_mediasize),
744 const char *s, *scheme; local
768 scheme = find_geomcfg(gp, "scheme");
[all...]
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Dhttp.c1598 const char *scheme; local
1746 scheme = evhttp_uri_get_scheme(req->uri_elems);
1748 if (scheme && (!evutil_ascii_strcasecmp(scheme, "http") ||
1749 !evutil_ascii_strcasecmp(scheme, "https")) &&
4241 char *scheme; /* scheme; e.g http, ftp etc */ member in struct:evhttp_uri
4266 * is a valid URI scheme according to RFC3986
4271 /* scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." ) */
4556 URI = scheme "
4790 evhttp_uri_set_scheme(struct evhttp_uri *uri, const char *scheme) argument
[all...]
/freebsd-9.3-release/contrib/ntp/util/
H A Dntp-keygen.c317 const char *scheme = NULL; /* digest/signature scheme */ local
321 int nid; /* X509 digest/signature scheme */
413 scheme = OPT_ARG( CERTIFICATE );
515 * Extract digest/signature scheme.
517 if (scheme == NULL) {
519 scheme = OBJ_nid2sn(nid);
554 if (scheme == NULL)
555 scheme = "RSA-MD5";
809 * Decode the digest/signature scheme an
[all...]
/freebsd-9.3-release/contrib/tnftp/src/
H A Dfetch.c149 const char *cp, *scheme, *errormsg; local
160 scheme = "Basic"; /* only support Basic authentication */
165 if (! match_token(&cp, scheme)) {
220 /* scheme + " " + enc + "\0" */
221 rlen = strlen(scheme) + 1 + (clen + 2) * 4 / 3 + 1;
223 (void)strlcpy(*response, scheme, rlen);
994 "fetch_url: skipping unknown auth scheme `%s'\n",
/freebsd-9.3-release/contrib/ntp/sntp/libevent/include/event2/
H A Dhttp.h998 /** Return the scheme of an evhttp_uri, or NULL if there is no scheme has
1037 /** Set the scheme of an evhttp_uri, or clear the scheme if scheme==NULL.
1038 * Returns 0 on success, -1 if scheme is not well-formed. */
1040 int evhttp_uri_set_scheme(struct evhttp_uri *uri, const char *scheme);
1074 * scheme://[[userinfo]@]foo.com[:port]]/[path][?query][#fragment]
/freebsd-9.3-release/usr.sbin/pkg/
H A Dpkg.c208 if (strcmp(u->scheme, "file") != 0 &&
211 "_%s._tcp.%s", u->scheme, u->host);
/freebsd-9.3-release/contrib/opie/
H A Dconfigure1272 # Extract the first word of "scheme", so it can be a program name with args.
1273 set dummy scheme; ac_word=$2
1288 ac_dummy="/usr/lib/iaf/scheme"
/freebsd-9.3-release/contrib/amd/doc/
H A Dtexinfo.tex1453 % Support font families that don't use the same naming scheme as CM.

Completed in 348 milliseconds

12