| /freebsd-12.1/crypto/openssl/crypto/store/ |
| H A D | store_register.c | 41 if (scheme == NULL) { in OSSL_STORE_LOADER_new() 53 res->scheme = scheme; in OSSL_STORE_LOADER_new() 64 return loader->scheme; in OSSL_STORE_LOADER_get0_scheme() 140 assert(a->scheme != NULL && b->scheme != NULL); in store_loader_cmp() 141 return strcmp(a->scheme, b->scheme); in store_loader_cmp() 148 const char *scheme = loader->scheme; in ossl_store_register_loader_int() local 157 if (ossl_isalpha(*scheme)) in ossl_store_register_loader_int() 162 scheme++; in ossl_store_register_loader_int() 163 if (*scheme != '\0') { in ossl_store_register_loader_int() 211 template.scheme = scheme; in ossl_store_get0_loader_int() [all …]
|
| H A D | store_locl.h | 98 OSSL_STORE_LOADER *ossl_store_unregister_loader_int(const char *scheme); 102 const char *scheme; member 115 const OSSL_STORE_LOADER *ossl_store_get0_loader_int(const char *scheme);
|
| /freebsd-12.1/usr.bin/mkimg/ |
| H A D | scheme.c | 64 static struct mkimg_scheme *scheme; variable 103 scheme = s; in scheme_select() 114 return (scheme); in scheme_selected() 122 if (scheme == NULL || scheme->bootcode == 0) in scheme_bootcode() 127 if (sb.st_size > scheme->bootcode) in scheme_bootcode() 148 assert(scheme != NULL); in scheme_check_part() 155 iter = scheme->aliases; in scheme_check_part() 178 return ((scheme == NULL) ? 0 : scheme->nparts); in scheme_max_parts() 185 return ((scheme == NULL) ? INT_MAX+1U : scheme->maxsecsz); in scheme_max_secsz() 192 return ((scheme == NULL) ? start : scheme->metadata(where, start)); in scheme_metadata() [all …]
|
| /freebsd-12.1/contrib/serf/auth/ |
| H A D | auth.c | 134 const serf__authn_scheme_t *scheme; in handle_auth_headers() local 144 for (scheme = serf_authn_schemes; scheme->name != 0; ++scheme) { in handle_auth_headers() 149 if (! (ctx->authn_types & scheme->type)) in handle_auth_headers() 174 handler = scheme->handle_func; in handle_auth_headers() 182 if (authn_info->scheme != scheme) { in handle_auth_headers() 185 status = scheme->init_conn_func(scheme, code, conn, in handle_auth_headers() 188 authn_info->scheme = scheme; in handle_auth_headers() 190 authn_info->scheme = NULL; in handle_auth_headers() 397 if (authn_info->scheme) { in serf__handle_auth_response() 441 scheme_len = strlen(scheme); in serf__encode_auth_header() [all …]
|
| H A D | auth.h | 45 apr_status_t serf__init_basic_connection(const serf__authn_scheme_t *scheme, 68 apr_status_t serf__init_digest_connection(const serf__authn_scheme_t *scheme, 86 apr_status_t serf__validate_response_digest_auth(const serf__authn_scheme_t *scheme, 99 apr_status_t serf__init_spnego_connection(const serf__authn_scheme_t *scheme, 117 apr_status_t serf__validate_response_spnego_auth(const serf__authn_scheme_t *scheme,
|
| /freebsd-12.1/lib/libfetch/ |
| H A D | fetch.c | 84 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchXGet() 114 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchPut() 138 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchStat() 158 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchList() 260 if (!scheme || (!host && !doc)) { in fetchMakeURL() 284 seturl(scheme); in fetchMakeURL() 361 snprintf(u->scheme, URL_SCHEMELEN+1, in fetchParseURL() 374 (u->scheme[0] == '\0' && in fetchParseURL() 427 if (strcasecmp(u->scheme, SCHEME_HTTP) == 0 || in fetchParseURL() 428 strcasecmp(u->scheme, SCHEME_HTTPS) == 0) { in fetchParseURL() [all …]
|
| H A D | http.c | 634 http_auth_schemes_t scheme; member 647 b->scheme = HTTPAS_UNKNOWN; in init_http_auth_challenge() 1028 char *scheme; member 1043 if (s->scheme) in clean_http_auth_params() 1044 free(s->scheme); in clean_http_auth_params() 1355 (parms->scheme && strcasecmp(parms->scheme, "digest") == 0)) { in http_authorize() 1365 (parms->scheme && strcasecmp(parms->scheme, "basic") == 0)) in http_authorize() 1472 if (!*purl->scheme) in http_get_proxy() 1473 strcpy(purl->scheme, SCHEME_HTTP); in http_get_proxy() 1619 url->scheme, host, url->doc); in http_request_body() [all …]
|
| /freebsd-12.1/usr.sbin/bsdinstall/partedit/ |
| H A D | gpart_ops.c | 251 return scheme; in choose_part_type() 262 if (scheme == NULL) { in gpart_partition() 265 if (scheme == NULL) in gpart_partition() 278 scheme = NULL; in gpart_partition() 295 scheme = NULL; in gpart_partition() 325 if (strcmp(scheme, "MBR") == 0 || strcmp(scheme, "EBR") == 0) in gpart_activate() 429 const char *scheme; in gpart_partcode() local 541 scheme = NULL; in gpart_edit() 548 if (scheme == NULL || strcmp(scheme, "(none)") == 0) { in gpart_edit() 1033 scheme = NULL; in gpart_create() [all …]
|
| H A D | partedit.h | 75 int gpart_partition(const char *lg_name, const char *scheme); 76 void set_default_part_metadata(const char *name, const char *scheme, 83 int is_scheme_bootable(const char *scheme); /* Non-zero if scheme boots */ 84 int is_fs_bootable(const char *scheme, const char *fs); /* Ditto if FS boots */ 87 size_t bootpart_size(const char *scheme); 95 const char *bootpart_type(const char *scheme, const char **mountpoint); 98 const char *bootcode_path(const char *scheme); 105 const char *partcode_path(const char *scheme, const char *fs_type);
|
| H A D | part_wizard.c | 205 const char *scheme = NULL; in wizard_partition() local 222 scheme = gc->lg_val; in wizard_partition() 229 if (scheme != NULL && strcmp(scheme, "(none)") == 0) in wizard_partition() 230 scheme = NULL; in wizard_partition() 248 if (choice == 1 && scheme != NULL && !is_scheme_bootable(scheme)) { in wizard_partition() 256 scheme); in wizard_partition() 263 if (scheme == NULL) in wizard_partition() 265 gpart_partition(disk, scheme); in wizard_partition() 280 if (scheme == NULL) in wizard_partition() 282 gpart_partition(disk, scheme); in wizard_partition() [all …]
|
| H A D | scripted.c | 68 part_config(char *disk, const char *scheme, char *config) in part_config() argument 76 if (scheme == NULL) in part_config() 77 scheme = default_scheme(); in part_config() 97 gpart_partition(disk, scheme); in part_config() 99 if (strcmp(scheme, "MBR") == 0) { in part_config() 151 char *disk = NULL, *scheme = NULL, *partconfig = NULL; in parse_disk_config() local 176 else if (scheme == NULL) in parse_disk_config() 177 scheme = strsep(&input, " \t\n"); in parse_disk_config() 187 return (part_config(disk, scheme, partconfig)); in parse_disk_config()
|
| H A D | partedit_arm64.c | 69 bootpart_size(const char *scheme) in bootpart_size() argument 73 if (strcmp(scheme, "GPT") != 0) in bootpart_size() 80 bootpart_type(const char *scheme, const char **mountpoint) in bootpart_type() argument
|
| H A D | partedit_x86.c | 98 bootpart_size(const char *scheme) in bootpart_size() argument 102 if (strcmp(scheme, "GPT") != 0) in bootpart_size() 114 bootpart_type(const char *scheme, const char **mountpoint) in bootpart_type() argument
|
| /freebsd-12.1/usr.bin/mkimg/tests/ |
| H A D | mkimg_test.sh | 33 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`
|
| /freebsd-12.1/contrib/apr-util/ldap/ |
| H A D | apr_ldap_url.c | 102 const char **scheme); 120 const char * scheme; in apr_ldap_is_ldap_url() local 140 const char * scheme; in apr_ldap_is_ldaps_url() local 150 return strcmp(scheme, "ldaps") == 0; in apr_ldap_is_ldaps_url() 160 const char * scheme; in apr_ldap_is_ldapi_url() local 170 return strcmp(scheme, "ldapi") == 0; in apr_ldap_is_ldapi_url() 175 const char **scheme) in skip_url_prefix() argument 206 *scheme = "ldap"; in skip_url_prefix() 214 *scheme = "ldaps"; in skip_url_prefix() 222 *scheme = "ldapi"; in skip_url_prefix() [all …]
|
| /freebsd-12.1/tools/boot/ |
| H A D | rootgen.sh | 112 scheme=$5 151 scheme=$5 190 scheme=$5 271 scheme=$5 312 scheme=$5 354 scheme=$5 396 scheme=$5 432 scheme=$5 468 scheme=$5 505 scheme=$5 [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/tools/lldb-server/ |
| H A D | Acceptor.cpp | 39 bool FindProtocolByScheme(const char *scheme, in FindProtocolByScheme() argument 42 if (!strcmp(s.m_scheme, scheme)) { in FindProtocolByScheme() 89 StringRef scheme, host, path; in Create() local 91 if (UriParser::Parse(name, scheme, host, port, path)) { in Create() 92 if (!FindProtocolByScheme(scheme.str().c_str(), socket_protocol)) in Create() 94 scheme.str().c_str()); in Create() 96 name = name.drop_front(scheme.size() + strlen("://")); in Create()
|
| /freebsd-12.1/crypto/openssl/crypto/include/internal/ |
| H A D | dso_conf.h.in | 19 my $scheme = uc $target{dso_scheme}; 20 if (!$scheme) { 21 $scheme = "NONE"; 23 my @macros = ( "DSO_$scheme" ); 24 if ($scheme eq 'DLFCN') { 26 } elsif ($scheme eq "DLFCN_NO_H") {
|
| /freebsd-12.1/contrib/apr-util/uri/ |
| H A D | apr_uri.c | 75 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()
|
| /freebsd-12.1/contrib/libevent/sample/ |
| H A D | https-client.c | 195 const char *scheme, *host, *path, *query; in main() local 284 scheme = evhttp_uri_get_scheme(http_uri); in main() 285 if (scheme == NULL || (strcasecmp(scheme, "https") != 0 && in main() 286 strcasecmp(scheme, "http") != 0)) { in main() 299 port = (strcasecmp(scheme, "http") == 0) ? 80 : 443; in main() 394 if (strcasecmp(scheme, "http") == 0) { in main()
|
| /freebsd-12.1/sys/geom/part/ |
| H A D | g_part_if.m | 39 # 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.
|
| /freebsd-12.1/crypto/openssl/crypto/asn1/ |
| H A D | p5_scrypt.c | 44 X509_ALGOR *scheme = NULL, *ret = NULL; in PKCS5_pbe2_set_scrypt() local 74 scheme = pbe2->encryption; in PKCS5_pbe2_set_scrypt() 76 scheme->algorithm = OBJ_nid2obj(alg_nid); in PKCS5_pbe2_set_scrypt() 77 scheme->parameter = ASN1_TYPE_new(); in PKCS5_pbe2_set_scrypt() 78 if (scheme->parameter == NULL) in PKCS5_pbe2_set_scrypt() 96 if (EVP_CIPHER_param_to_asn1(ctx, scheme->parameter) <= 0) { in PKCS5_pbe2_set_scrypt()
|
| H A D | p5_pbev2.c | 44 X509_ALGOR *scheme = NULL, *ret = NULL; variable 61 scheme = pbe2->encryption; 62 scheme->algorithm = OBJ_nid2obj(alg_nid); 63 if ((scheme->parameter = ASN1_TYPE_new()) == NULL) 81 if (EVP_CIPHER_param_to_asn1(ctx, scheme->parameter) <= 0) {
|
| /freebsd-12.1/crypto/openssl/doc/man3/ |
| H A D | OSSL_STORE_LOADER.pod | 24 OSSL_STORE_LOADER *OSSL_STORE_LOADER_new(ENGINE *e, const char *scheme); 66 OSSL_STORE_LOADER *OSSL_STORE_unregister_loader(const char *scheme); 76 It contains a scheme and the functions needed to implement 78 OSSL_STORE_close() for this scheme. 94 manner possible according to the scheme the loader implements, it also 181 It takes an B<ENGINE> B<e> and a string B<scheme>. 182 B<scheme> must I<always> be set. 183 Both B<e> and B<scheme> are used as is and must therefore be alive as 187 OSSL_STORE_LOADER_get0_scheme() returns the scheme of the B<store_loader>. 214 B<scheme>. [all …]
|
| /freebsd-12.1/crypto/openssl/doc/man7/ |
| H A D | ossl_store-file.pod | 7 scheme it implements, in man section 7. 13 ossl_store-file - The store 'file' scheme loader 23 Support for the 'file' scheme is built into C<libcrypto>. 25 scheme has its own layer of functionality called "file handlers", 48 When needed, the 'file' scheme loader will require a pass phrase by
|