Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 25 of 238) sorted by relevance

12345678910

/NextBSD/usr.bin/mkimg/
HDscheme.c68 static struct mkimg_scheme *scheme; variable
93 scheme = s; in scheme_select()
104 return (scheme); in scheme_selected()
112 if (scheme == NULL || scheme->bootcode == 0) in scheme_bootcode()
117 if (sb.st_size > scheme->bootcode) in scheme_bootcode()
120 bootcode = malloc(scheme->bootcode); in scheme_bootcode()
123 memset(bootcode, 0, scheme->bootcode); in scheme_bootcode()
138 assert(scheme != NULL); in scheme_check_part()
145 iter = scheme->aliases; in scheme_check_part()
157 if (strlen(p->label) > scheme->labellen) in scheme_check_part()
[all …]
/NextBSD/contrib/serf/auth/
HDauth.c26 default_auth_response_handler(const serf__authn_scheme_t *scheme, in default_auth_response_handler() argument
129 const serf__authn_scheme_t *scheme; in handle_auth_headers() local
139 for (scheme = serf_authn_schemes; scheme->name != 0; ++scheme) { in handle_auth_headers()
144 if (! (ctx->authn_types & scheme->type)) in handle_auth_headers()
148 "Client supports: %s\n", scheme->name); in handle_auth_headers()
150 auth_hdr = apr_hash_get(hdrs, scheme->key, APR_HASH_KEY_STRING); in handle_auth_headers()
161 if (authn_info->failed_authn_types & scheme->type) { in handle_auth_headers()
169 handler = scheme->handle_func; in handle_auth_headers()
172 "... matched: %s\n", scheme->name); in handle_auth_headers()
177 if (authn_info->scheme != scheme) { in handle_auth_headers()
[all …]
HDauth.h40 apr_status_t serf__init_basic_connection(const serf__authn_scheme_t *scheme,
63 apr_status_t serf__init_digest_connection(const serf__authn_scheme_t *scheme,
81 apr_status_t serf__validate_response_digest_auth(const serf__authn_scheme_t *scheme,
94 apr_status_t serf__init_spnego_connection(const serf__authn_scheme_t *scheme,
112 apr_status_t serf__validate_response_spnego_auth(const serf__authn_scheme_t *scheme,
HDauth_basic.c95 code, authn_info->scheme->name, in serf__handle_basic_auth()
107 authn_info->scheme->name, in serf__handle_basic_auth()
129 serf__init_basic_connection(const serf__authn_scheme_t *scheme, in serf__init_basic_connection() argument
HDauth_spnego.c349 serf__encode_auth_header(&gss_info->value, authn_info->scheme->name, in do_auth()
371 serf__init_spnego_connection(const serf__authn_scheme_t *scheme, in serf__init_spnego_connection() argument
396 status = serf__spnego_create_sec_context(&gss_info->gss_ctx, scheme, in serf__init_spnego_connection()
581 serf__validate_response_spnego_auth(const serf__authn_scheme_t *scheme, in serf__validate_response_spnego_auth() argument
615 auth_hdr_val = get_auth_header(hdrs, auth_hdr_name, scheme->name, in serf__validate_response_spnego_auth()
/NextBSD/lib/libfetch/
HDfetch.c82 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchXGet()
84 else if (strcasecmp(URL->scheme, SCHEME_FTP) == 0) in fetchXGet()
86 else if (strcasecmp(URL->scheme, SCHEME_HTTP) == 0) in fetchXGet()
88 else if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0) in fetchXGet()
112 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchPut()
114 else if (strcasecmp(URL->scheme, SCHEME_FTP) == 0) in fetchPut()
116 else if (strcasecmp(URL->scheme, SCHEME_HTTP) == 0) in fetchPut()
118 else if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0) in fetchPut()
136 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchStat()
138 else if (strcasecmp(URL->scheme, SCHEME_FTP) == 0) in fetchStat()
[all …]
HDhttp.c631 http_auth_schemes_t scheme; member
644 b->scheme = HTTPAS_UNKNOWN; in init_http_auth_challenge()
781 cs->challenges[cs->count]->scheme = HTTPAS_BASIC; in http_parse_authenticate()
783 cs->challenges[cs->count]->scheme = HTTPAS_DIGEST; in http_parse_authenticate()
785 cs->challenges[cs->count]->scheme = HTTPAS_UNKNOWN; in http_parse_authenticate()
1026 char *scheme; member
1035 s->scheme = s->realm = s->user = s->password = NULL; in init_http_auth_params()
1041 if (s->scheme) in clean_http_auth_params()
1042 free(s->scheme); in clean_http_auth_params()
1069 if ((parms->scheme = strdup(v)) == NULL) { in http_authfromenv()
[all …]
/NextBSD/usr.sbin/bsdinstall/partedit/
HDgpart_ops.c70 scheme_supports_labels(const char *scheme) in scheme_supports_labels() argument
72 if (strcmp(scheme, "APM") == 0) in scheme_supports_labels()
74 if (strcmp(scheme, "GPT") == 0) in scheme_supports_labels()
76 if (strcmp(scheme, "PC98") == 0) in scheme_supports_labels()
213 const char *scheme = NULL; in choose_part_type() local
252 scheme = items[choice].name; in choose_part_type()
254 return scheme; in choose_part_type()
258 gpart_partition(const char *lg_name, const char *scheme) in gpart_partition() argument
265 if (scheme == NULL) { in gpart_partition()
266 scheme = choose_part_type(default_scheme()); in gpart_partition()
[all …]
HDpart_wizard.c203 const char *scheme = NULL; in wizard_partition() local
220 scheme = gc->lg_val; in wizard_partition()
227 if (scheme != NULL && strcmp(scheme, "(none)") == 0) in wizard_partition()
228 scheme = NULL; in wizard_partition()
246 if (choice == 1 && scheme != NULL && !is_scheme_bootable(scheme)) { in wizard_partition()
254 scheme); in wizard_partition()
260 scheme = choose_part_type(default_scheme()); in wizard_partition()
261 if (scheme == NULL) in wizard_partition()
263 gpart_partition(disk, scheme); in wizard_partition()
266 if (scheme == NULL || choice == 0) { in wizard_partition()
[all …]
HDpartedit.h72 int gpart_partition(const char *lg_name, const char *scheme);
73 void set_default_part_metadata(const char *name, const char *scheme,
80 int is_scheme_bootable(const char *scheme);
81 int is_fs_bootable(const char *scheme, const char *fs);
82 size_t bootpart_size(const char *scheme);
83 const char *bootpart_type(const char *scheme);
84 const char *bootcode_path(const char *scheme);
85 const char *partcode_path(const char *scheme, const char *fs_type);
HDscripted.c66 part_config(char *disk, const char *scheme, char *config) in part_config() argument
74 if (scheme == NULL) in part_config()
75 scheme = default_scheme(); in part_config()
95 gpart_partition(disk, scheme); in part_config()
97 if (strcmp(scheme, "PC98") == 0 || strcmp(scheme, "MBR") == 0) { in part_config()
149 char *disk = NULL, *scheme = NULL, *partconfig = NULL; in parse_disk_config() local
174 else if (scheme == NULL) in parse_disk_config()
175 scheme = strsep(&input, " \t\n"); in parse_disk_config()
185 return (part_config(disk, scheme, partconfig)); in parse_disk_config()
HDpartedit_x86.c92 bootpart_size(const char *scheme) in bootpart_size() argument
96 if (strcmp(scheme, "GPT") != 0) in bootpart_size()
108 bootpart_type(const char *scheme) in bootpart_type() argument
/NextBSD/contrib/groff/src/libs/libgroff/
HDcolor.cpp78 scheme = c->scheme; in color()
91 if (scheme != c.scheme) in operator ==()
93 switch (scheme) { in operator ==()
132 return scheme; in get_components()
137 scheme = DEFAULT; in set_default()
145 scheme = RGB; in set_rgb()
156 scheme = CMY; in set_cmy()
167 scheme = CMYK; in set_cmyk()
178 scheme = GRAY; in set_gray()
218 scheme = cs; in read_encoding()
[all …]
/NextBSD/usr.bin/mkimg/tests/
HDmkimg.sh33 local blksz bootarg bootsz format geom nhds nsecs partarg pfx scheme
36 scheme=$2
45 bootsz=`bootcode $scheme`
63 imagename=$pfx-$geom-$blksz-$scheme.$format
65 mkimg -y -f $format -o $imagename -s $scheme -P $blksz -H $nhds -T $nsecs \
101 local blksz format geom scheme
105 scheme=$3
108 case $scheme in
117 image=`makeimage $format $scheme $blksz $geom img $partinfo`
/NextBSD/contrib/apr-util/ldap/
HDapr_ldap_url.c102 const char **scheme);
120 const char * scheme; in apr_ldap_is_ldap_url() local
126 if( skip_url_prefix( url, &enclosed, &scheme ) == NULL ) { in apr_ldap_is_ldap_url()
140 const char * scheme; in apr_ldap_is_ldaps_url() local
146 if( skip_url_prefix( url, &enclosed, &scheme ) == NULL ) { in apr_ldap_is_ldaps_url()
150 return strcmp(scheme, "ldaps") == 0; in apr_ldap_is_ldaps_url()
160 const char * scheme; in apr_ldap_is_ldapi_url() local
166 if( skip_url_prefix( url, &enclosed, &scheme ) == NULL ) { in apr_ldap_is_ldapi_url()
170 return strcmp(scheme, "ldapi") == 0; in apr_ldap_is_ldapi_url()
175 const char **scheme) in skip_url_prefix() argument
[all …]
/NextBSD/contrib/apr-util/uri/
HDapr_uri.c75 schemes_t *scheme; in apr_uri_port_of_scheme() local
78 for (scheme = schemes; scheme->name != NULL; ++scheme) { in apr_uri_port_of_scheme()
79 if (strcasecmp(scheme_str, scheme->name) == 0) { in apr_uri_port_of_scheme()
80 return scheme->default_port; in apr_uri_port_of_scheme()
130 uptr->port == apr_uri_port_of_scheme(uptr->scheme)); in apr_uri_unparse()
137 if (uptr->scheme) { in apr_uri_unparse()
138 ret = apr_pstrcat(p, uptr->scheme, ":", ret, NULL); in apr_uri_unparse()
798 uptr->scheme = apr_pstrmemdup(p, uri, s - uri); in apr_uri_parse()
893 uptr->port = apr_uri_port_of_scheme(uptr->scheme); in apr_uri_parse()
/NextBSD/sys/geom/part/
HDg_part_if.m39 # The G_PART scheme interface.
84 # add() - scheme specific processing for the add verb.
91 # bootcode() - scheme specific processing for the bootcode verb.
97 # create() - scheme specific processing for the create verb.
103 # destroy() - scheme specific processing for the destroy verb.
141 # modify() - scheme specific processing for the modify verb.
148 # resize() - scheme specific processing for the resize verb.
178 # existence of the scheme implemented by the G_PART interface handler.
190 # recover() - scheme specific processing for the recover verb.
/NextBSD/crypto/openssl/crypto/asn1/
HDp5_pbev2.c94 X509_ALGOR *scheme = NULL, *kalg = NULL, *ret = NULL; variable
113 scheme = pbe2->encryption;
115 scheme->algorithm = obj;
116 if (!(scheme->parameter = ASN1_TYPE_new()))
132 if (EVP_CIPHER_param_to_asn1(&ctx, scheme->parameter) < 0) {
/NextBSD/contrib/groff/src/include/
HDcolor.h33 color_scheme scheme;
44 color(symbol s = default_symbol) : scheme(DEFAULT), nm(s) {} in scheme() function
53 int is_default() { return scheme == DEFAULT; } in is_default()
/NextBSD/contrib/serf/
HDoutgoing.c400 if (authn_info->scheme) { in serf__open_connections()
401 authn_info->scheme->init_conn_func(authn_info->scheme, 407, in serf__open_connections()
407 if (authn_info->scheme) { in serf__open_connections()
408 authn_info->scheme->init_conn_func(authn_info->scheme, 401, in serf__open_connections()
413 if (ctx->proxy_address && strcmp(conn->host_info.scheme, "https") == 0) in serf__open_connections()
1385 host_info.port = apr_uri_port_of_scheme(host_info.scheme); in serf_connection_create2()
1410 c->host_info.port = apr_uri_port_of_scheme(c->host_info.scheme); in serf_connection_create2()
1687 (strcmp(conn->host_info.scheme, "https") == 0); in serf_request_bucket_request_create()
1708 if (authn_info->scheme) in serf_request_bucket_request_create()
1709 authn_info->scheme->setup_request_func(HOST, 0, conn, request, in serf_request_bucket_request_create()
[all …]
/NextBSD/lib/libz/doc/
HDtxtvsbin.txt16 were using a crude detection scheme: if more than 80% (4/5) of the bytes
19 limitation of this scheme is the restriction to Latin-based alphabets.
22 are most often misidentified by this scheme; in other words, the rate
24 is low. Another weakness of this scheme is a reduced precision, due to
28 In this article we propose a new, simple detection scheme that features
29 a much increased precision and a near-100% recall. This scheme is
88 considerations. In such cases, a scheme that tolerates a small fraction
/NextBSD/contrib/apr-util/test/
HDtesturi.c28 const char *scheme; member
246 info->scheme, info->hostinfo, info->user, info->password,
272 ABTS_STR_EQUAL(tc, t->scheme, info.scheme); in test_aup()
288 ABTS_STR_EQUAL(tc, info.scheme, NULL); in test_aup()
/NextBSD/contrib/llvm/tools/lldb/source/Utility/
HDUriParser.cpp28 std::string& scheme, in Parse() argument
59 scheme.assign(scheme_buf); in Parse()
/NextBSD/contrib/ntp/util/
HDntp-keygen-opts.def33 arg-name = scheme;
35 descrip = "certificate scheme";
37 scheme is one of
41 Select the certificate message digest/signature encryption scheme.
82 Generate parameters and keys for the GQ identification scheme,
103 Generate parameters for the IFF identification scheme, obsoleting
244 descrip = "trusted certificate (TC scheme)";
260 identification scheme.
534 However, the scheme specified in the certificate must be compatible
653 However, the scheme specified in the certificate must be compatible
[all …]
/NextBSD/contrib/subversion/subversion/libsvn_ra/
HDra_loader.c196 const char *scheme = *schemes; in has_scheme_of() local
197 len = strlen(scheme); in has_scheme_of()
201 if (strncasecmp(scheme, url, len) == 0 && in has_scheme_of()
203 return scheme; in has_scheme_of()
212 check_ra_version(const svn_version_t *ra_version, const char *scheme) in check_ra_version() argument
220 scheme, in check_ra_version()
339 const char *scheme; in svn_ra_open4() local
341 if ((scheme = has_scheme_of(defn->schemes, repos_URL))) in svn_ra_open4()
360 SVN_ERR(check_ra_version(vtable->get_version(), scheme)); in svn_ra_open4()
1483 const char *scheme; in svn_ra_get_ra_library() local
[all …]

12345678910