| /freebsd-13.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_local.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-13.1/usr.bin/mkimg/ |
| H A D | scheme.c | 65 static struct mkimg_scheme *scheme; variable 104 scheme = s; in scheme_select() 115 return (scheme); in scheme_selected() 123 if (scheme == NULL || scheme->bootcode == 0) in scheme_bootcode() 128 if (sb.st_size > scheme->bootcode) in scheme_bootcode() 149 assert(scheme != NULL); in scheme_check_part() 156 iter = scheme->aliases; in scheme_check_part() 179 return ((scheme == NULL) ? 0 : scheme->nparts); in scheme_max_parts() 186 return ((scheme == NULL) ? INT_MAX+1U : scheme->maxsecsz); in scheme_max_secsz() 193 return ((scheme == NULL) ? start : scheme->metadata(where, start)); in scheme_metadata() [all …]
|
| /freebsd-13.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-13.1/lib/libfetch/ |
| H A D | fetch.c | 86 if (strcmp(URL->scheme, SCHEME_FILE) == 0) in fetchXGet() 88 else if (strcmp(URL->scheme, SCHEME_FTP) == 0) in fetchXGet() 116 if (strcmp(URL->scheme, SCHEME_FILE) == 0) in fetchPut() 140 if (strcmp(URL->scheme, SCHEME_FILE) == 0) in fetchStat() 160 if (strcmp(URL->scheme, SCHEME_FILE) == 0) in fetchList() 262 if (!scheme || (!host && !doc)) { in fetchMakeURL() 286 seturl(scheme); in fetchMakeURL() 381 (u->scheme[0] == '\0' && in fetchParseURL() 443 if (strcmp(u->scheme, SCHEME_HTTP) == 0 || in fetchParseURL() 444 strcmp(u->scheme, SCHEME_HTTPS) == 0) { in fetchParseURL() [all …]
|
| H A D | http.c | 635 http_auth_schemes_t scheme; member 648 b->scheme = HTTPAS_UNKNOWN; in init_http_auth_challenge() 1029 char *scheme; member 1044 if (s->scheme) in clean_http_auth_params() 1045 free(s->scheme); in clean_http_auth_params() 1356 (parms->scheme && strcasecmp(parms->scheme, "digest") == 0)) { in http_authorize() 1366 (parms->scheme && strcasecmp(parms->scheme, "basic") == 0)) in http_authorize() 1515 if (!*purl->scheme) in http_get_proxy() 1516 strcpy(purl->scheme, SCHEME_HTTP); in http_get_proxy() 1665 url->scheme, host, url->doc); in http_request_body() [all …]
|
| /freebsd-13.1/usr.sbin/bsdinstall/partedit/ |
| H A D | gpart_ops.c | 252 return scheme; in choose_part_type() 263 if (scheme == NULL) { in gpart_partition() 266 if (scheme == NULL) in gpart_partition() 279 scheme = NULL; in gpart_partition() 296 scheme = NULL; in gpart_partition() 326 if (strcmp(scheme, "MBR") == 0 || strcmp(scheme, "EBR") == 0) in gpart_activate() 430 const char *scheme; in gpart_partcode() local 542 scheme = NULL; in gpart_edit() 549 if (scheme == NULL || strcmp(scheme, "(none)") == 0) { in gpart_edit() 1029 scheme = NULL; in gpart_create() [all …]
|
| H A D | partedit.h | 76 int gpart_partition(const char *lg_name, const char *scheme); 77 void set_default_part_metadata(const char *name, const char *scheme, 84 int is_scheme_bootable(const char *scheme); /* Non-zero if scheme boots */ 85 int is_fs_bootable(const char *scheme, const char *fs); /* Ditto if FS boots */ 88 size_t bootpart_size(const char *scheme); 96 const char *bootpart_type(const char *scheme, const char **mountpoint); 99 const char *bootcode_path(const char *scheme); 106 const char *partcode_path(const char *scheme, const char *fs_type);
|
| H A D | part_wizard.c | 203 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() 261 if (scheme == NULL) in wizard_partition() 263 gpart_partition(disk, scheme); in wizard_partition() 278 if (scheme == NULL) in wizard_partition() 280 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() 193 return (part_config(disk, scheme, partconfig)); in parse_disk_config()
|
| H A D | partedit_efi.c | 73 bootpart_size(const char *scheme) in bootpart_size() argument 77 if (strcmp(scheme, "GPT") != 0) in bootpart_size() 84 bootpart_type(const char *scheme, const char **mountpoint) in bootpart_type() argument
|
| H A D | partedit_x86.c | 97 bootpart_size(const char *scheme) in bootpart_size() argument 101 if (strcmp(scheme, "GPT") != 0) in bootpart_size() 113 bootpart_type(const char *scheme, const char **mountpoint) in bootpart_type() argument
|
| /freebsd-13.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-13.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-13.1/tools/boot/ |
| H A D | rootgen.sh | 93 scheme=$5 132 scheme=$5 171 scheme=$5 252 scheme=$5 293 scheme=$5 335 scheme=$5 377 scheme=$5 413 scheme=$5 449 scheme=$5 486 scheme=$5 [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/tools/lldb-server/ |
| H A D | Acceptor.cpp | 38 bool FindProtocolByScheme(const char *scheme, in FindProtocolByScheme() argument 41 if (!strcmp(s.m_scheme, scheme)) { in FindProtocolByScheme() 88 StringRef scheme, host, path; in Create() local 90 if (UriParser::Parse(name, scheme, host, port, path)) { in Create() 91 if (!FindProtocolByScheme(scheme.str().c_str(), socket_protocol)) in Create() 93 scheme.str().c_str()); in Create() 95 name = name.drop_front(scheme.size() + strlen("://")); in Create()
|
| /freebsd-13.1/crypto/openssl/include/crypto/ |
| H A D | dso_conf.h.in | 19 my $scheme = $disabled{dso} ? undef : 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-13.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-13.1/contrib/unbound/testcode/ |
| H A D | unitzonemd.c | 61 int scheme, int hashalgo, const char* digest) in zonemd_generate_test() argument 94 result = auth_zone_generate_zonemd_hash(z, scheme, hashalgo, in zonemd_generate_test() 118 scheme, hashalgo); in zonemd_generate_test() 178 int scheme = 1; in zonemd_check_test() local 219 result = auth_zone_generate_zonemd_check(z, scheme, hashalgo, in zonemd_check_test() 225 result = auth_zone_generate_zonemd_check(z, scheme, 242, in zonemd_check_test() 228 result = auth_zone_generate_zonemd_check(z, scheme, hashalgo, in zonemd_check_test() 231 result = auth_zone_generate_zonemd_check(z, scheme, hashalgo, in zonemd_check_test() 234 result = auth_zone_generate_zonemd_check(z, scheme, hashalgo, in zonemd_check_test()
|
| /freebsd-13.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-13.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-13.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-13.1/sys/contrib/device-tree/Bindings/mtd/ |
| H A D | gpmc-nand.txt | 35 Refer below "How to select correct ECC scheme for your device ?" 105 How to select correct ECC scheme for your device ? 107 Higher ECC scheme usually means better protection against bit-flips and 108 increased system lifetime. However, selection of ECC scheme is dependent 120 Other factor which governs the selection of ecc-scheme is oob-size. 137 trying to use BCH16 (ECC_BYTES=26) ecc-scheme. 144 trying to use BCH16 (ECC_BYTES=26) ecc-scheme. 147 (OOBSIZE=128). So this device can use BCH16 ecc-scheme.
|