| /freebsd-14.2/crypto/openssl/crypto/store/ |
| H A D | store_register.c | 41 if (scheme == NULL) { in OSSL_STORE_LOADER_new() 52 res->scheme = scheme; in OSSL_STORE_LOADER_new() 63 return loader->scheme; in OSSL_STORE_LOADER_get0_scheme() 149 assert(a->scheme != NULL && b->scheme != NULL); in store_loader_cmp() 150 return strcmp(a->scheme, b->scheme); in store_loader_cmp() 165 const char *scheme = loader->scheme; in ossl_store_register_loader_int() local 174 if (ossl_isalpha(*scheme)) in ossl_store_register_loader_int() 179 scheme++; in ossl_store_register_loader_int() 180 if (*scheme != '\0') { in ossl_store_register_loader_int() 219 template.scheme = scheme; in ossl_store_get0_loader_int() [all …]
|
| H A D | store_meth.c | 163 id = ossl_namemap_name2num(namemap, methdata->scheme); in get_loader_from_store() 274 const char *scheme = algodef->algorithm_names; in construct_loader() local 275 int id = ossl_namemap_add_name(namemap, 0, scheme); in construct_loader() 318 if (!ossl_assert(id == 0 || scheme == NULL)) { in inner_loader_fetch() 324 if (id == 0 && scheme != NULL) in inner_loader_fetch() 325 id = ossl_namemap_name2num(namemap, scheme); in inner_loader_fetch() 348 methdata->scheme = scheme; in inner_loader_fetch() 372 if ((id != 0 || scheme != NULL) && method == NULL) { in inner_loader_fetch() 381 if (scheme == NULL) in inner_loader_fetch() 382 scheme = ossl_namemap_num2name(namemap, id, 0); in inner_loader_fetch() [all …]
|
| H A D | store_local.h | 79 OSSL_STORE_LOADER *ossl_store_unregister_loader_int(const char *scheme); 85 const char *scheme; member 119 const OSSL_STORE_LOADER *ossl_store_get0_loader_int(const char *scheme); 169 const char *scheme,
|
| /freebsd-14.2/usr.bin/mkimg/ |
| H A D | scheme.c | 63 static struct mkimg_scheme *scheme; variable 102 scheme = s; in scheme_select() 113 return (scheme); in scheme_selected() 121 if (scheme == NULL || scheme->bootcode == 0) in scheme_bootcode() 126 if (sb.st_size > scheme->bootcode) in scheme_bootcode() 147 assert(scheme != NULL); in scheme_check_part() 154 iter = scheme->aliases; in scheme_check_part() 177 return ((scheme == NULL) ? 0 : scheme->nparts); in scheme_max_parts() 184 return ((scheme == NULL) ? INT_MAX+1U : scheme->maxsecsz); in scheme_max_secsz() 191 return ((scheme == NULL) ? start : scheme->metadata(where, start)); in scheme_metadata() [all …]
|
| /freebsd-14.2/lib/libfetch/ |
| H A D | fetch.c | 84 if (strcmp(URL->scheme, SCHEME_FILE) == 0) in fetchXGet() 86 else if (strcmp(URL->scheme, SCHEME_FTP) == 0) in fetchXGet() 114 if (strcmp(URL->scheme, SCHEME_FILE) == 0) in fetchPut() 138 if (strcmp(URL->scheme, SCHEME_FILE) == 0) in fetchStat() 158 if (strcmp(URL->scheme, SCHEME_FILE) == 0) in fetchList() 260 if (!scheme || (!host && !doc)) { in fetchMakeURL() 284 seturl(scheme); in fetchMakeURL() 379 (u->scheme[0] == '\0' && in fetchParseURL() 441 if (strcmp(u->scheme, SCHEME_HTTP) == 0 || in fetchParseURL() 442 strcmp(u->scheme, SCHEME_HTTPS) == 0) { in fetchParseURL() [all …]
|
| H A D | http.c | 633 http_auth_schemes_t scheme; member 646 b->scheme = HTTPAS_UNKNOWN; in init_http_auth_challenge() 1024 char *scheme; member 1039 if (s->scheme) in clean_http_auth_params() 1040 free(s->scheme); in clean_http_auth_params() 1352 (parms->scheme && strcasecmp(parms->scheme, "digest") == 0)) { in http_authorize() 1362 (parms->scheme && strcasecmp(parms->scheme, "basic") == 0)) in http_authorize() 1511 if (!*purl->scheme) in http_get_proxy() 1512 strcpy(purl->scheme, SCHEME_HTTP); in http_get_proxy() 1661 url->scheme, host, url->doc); in http_request_body() [all …]
|
| /freebsd-14.2/usr.sbin/bsdinstall/partedit/ |
| 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 | gpart_ops.c | 282 return scheme; in choose_part_type() 296 if (scheme == NULL) { in gpart_partition() 299 if (scheme == NULL) in gpart_partition() 315 scheme = NULL; in gpart_partition() 332 scheme = NULL; in gpart_partition() 362 if (strcmp(scheme, "MBR") == 0 || strcmp(scheme, "EBR") == 0) in gpart_activate() 468 const char *scheme; in gpart_partcode() local 586 scheme = NULL; in gpart_edit() 593 if (scheme == NULL || strcmp(scheme, "(none)") == 0) { in gpart_edit() 1083 scheme = NULL; in gpart_create() [all …]
|
| H A D | part_wizard.c | 229 const char *scheme = NULL; in wizard_partition() local 249 scheme = gc->lg_val; in wizard_partition() 256 if (scheme != NULL && strcmp(scheme, "(none)") == 0) in wizard_partition() 257 scheme = NULL; in wizard_partition() 276 if (choice == BSDDIALOG_NO && scheme != NULL && !is_scheme_bootable(scheme)) { in wizard_partition() 285 scheme); in wizard_partition() 293 if (scheme == NULL) in wizard_partition() 295 gpart_partition(disk, scheme); in wizard_partition() 311 if (scheme == NULL) in wizard_partition() 313 gpart_partition(disk, scheme); in wizard_partition() [all …]
|
| H A D | scripted.c | 65 part_config(char *disk, const char *scheme, char *config) in part_config() argument 73 if (scheme == NULL) in part_config() 74 scheme = default_scheme(); in part_config() 96 gpart_partition(disk, scheme); in part_config() 98 if (strcmp(scheme, "MBR") == 0) { in part_config() 160 char *disk = NULL, *scheme = NULL, *partconfig = NULL; in parse_disk_config() local 185 else if (scheme == NULL) in parse_disk_config() 186 scheme = strsep(&input, " \t\n"); in parse_disk_config() 204 return (part_config(disk, scheme, partconfig)); in parse_disk_config()
|
| H A D | partedit_efi.c | 71 bootpart_size(const char *scheme) in bootpart_size() argument 75 if (strcmp(scheme, "GPT") != 0) in bootpart_size() 82 bootpart_type(const char *scheme, const char **mountpoint) in bootpart_type() argument
|
| H A D | partedit_x86.c | 95 bootpart_size(const char *scheme) in bootpart_size() argument 99 if (strcmp(scheme, "GPT") != 0) in bootpart_size() 111 bootpart_type(const char *scheme, const char **mountpoint) in bootpart_type() argument
|
| /freebsd-14.2/usr.bin/mkimg/tests/ |
| H A D | mkimg_test.sh | 32 local blksz bootarg bootsz format geom nhds nsecs partarg pfx scheme 35 scheme=$2 44 bootsz=`bootcode $scheme` 62 imagename=$pfx-$geom-$blksz-$scheme.$format 64 mkimg -y -f $format -o $imagename -s $scheme -P $blksz -H $nhds -T $nsecs \ 98 local blksz format geom scheme 102 scheme=$3 105 case $scheme in 114 image=`makeimage $format $scheme $blksz $geom img $partinfo`
|
| /freebsd-14.2/crypto/openssl/crypto/http/ |
| H A D | http_lib.c | 58 const char *scheme, *scheme_end; in OSSL_parse_url() local 82 scheme = scheme_end = url; in OSSL_parse_url() 88 if (scheme_end == scheme) in OSSL_parse_url() 164 if (!copy_substring(pscheme, scheme, scheme_end) in OSSL_parse_url() 203 char *scheme, *port; in OSSL_HTTP_parse_url() local 209 if (!OSSL_parse_url(url, &scheme, puser, phost, &port, pport_num, in OSSL_HTTP_parse_url() 214 if (strcmp(scheme, OSSL_HTTPS_NAME) == 0) { in OSSL_HTTP_parse_url() 218 } else if (*scheme != '\0' && strcmp(scheme, OSSL_HTTP_NAME) != 0) { in OSSL_HTTP_parse_url() 220 OPENSSL_free(scheme); in OSSL_HTTP_parse_url() 224 OPENSSL_free(scheme); in OSSL_HTTP_parse_url()
|
| /freebsd-14.2/tools/boot/ |
| H A D | rootgen.sh | 106 scheme=$5 128 scheme=$5 151 scheme=$5 210 scheme=$5 237 scheme=$5 257 scheme=$5 284 scheme=$5 318 scheme=$5 352 scheme=$5 387 scheme=$5 [all …]
|
| /freebsd-14.2/crypto/openssl/include/crypto/ |
| H A D | dso_conf.h.in | 21 my $scheme = $disabled{dso} ? undef : uc $target{dso_scheme}; 22 if (!$scheme) { 23 $scheme = "NONE"; 25 my @macros = ( "DSO_$scheme" ); 26 if ($scheme eq 'DLFCN') { 28 } elsif ($scheme eq "DLFCN_NO_H") {
|
| /freebsd-14.2/contrib/llvm-project/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() 90 if (!FindProtocolByScheme(res->scheme.str().c_str(), socket_protocol)) in Create() 92 res->scheme.str().c_str()); in Create() 94 name = name.drop_front(res->scheme.size() + strlen("://")); in Create()
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | UriParser.h | 22 llvm::StringRef scheme; member 28 return port == R.port && scheme == R.scheme && hostname == R.hostname &&
|
| /freebsd-14.2/crypto/openssl/providers/common/der/ |
| H A D | SM2.asn1 | 10 sm-scheme OBJECT IDENTIFIER ::= { oscca 1 } 14 sm2-with-SM3 OBJECT IDENTIFIER ::= { sm-scheme 501 } 18 curveSM2 OBJECT IDENTIFIER ::= { sm-scheme 301 }
|
| /freebsd-14.2/contrib/ntp/sntp/libevent/sample/ |
| H A D | https-client.c | 222 const char *scheme, *host, *path, *query; in main() local 311 scheme = evhttp_uri_get_scheme(http_uri); in main() 312 if (scheme == NULL || (strcasecmp(scheme, "https") != 0 && in main() 313 strcasecmp(scheme, "http") != 0)) { in main() 326 port = (strcasecmp(scheme, "http") == 0) ? 80 : 443; in main() 432 if (strcasecmp(scheme, "http") == 0) { in main()
|
| /freebsd-14.2/contrib/libevent/sample/ |
| H A D | https-client.c | 222 const char *scheme, *host, *path, *query; in main() local 311 scheme = evhttp_uri_get_scheme(http_uri); in main() 312 if (scheme == NULL || (strcasecmp(scheme, "https") != 0 && in main() 313 strcasecmp(scheme, "http") != 0)) { in main() 326 port = (strcasecmp(scheme, "http") == 0) ? 80 : 443; in main() 432 if (strcasecmp(scheme, "http") == 0) { in main()
|
| /freebsd-14.2/crypto/openssl/crypto/asn1/ |
| H A D | p5_scrypt.c | 46 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 | 47 X509_ALGOR *scheme = NULL, *ret = NULL; variable 63 scheme = pbe2->encryption; 64 scheme->algorithm = OBJ_nid2obj(alg_nid); 65 if ((scheme->parameter = ASN1_TYPE_new()) == NULL) 84 if (EVP_CIPHER_param_to_asn1(ctx, scheme->parameter) <= 0) {
|
| /freebsd-14.2/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.
|
| /freebsd-14.2/contrib/libfido2/src/ |
| H A D | tpm.c | 110 uint16_t scheme; /* TPM_ALG_NULL */ 119 uint16_t scheme; /* TPM_ALG_NULL */ 194 x->param.scheme = htobe16(x->param.scheme); in bswap_rs256_pubarea() 207 x->param.scheme = htobe16(x->param.scheme); in bswap_es256_pubarea() 247 expected.param.scheme = TPM_ALG_NULL; in check_rs256_pubarea() 282 expected.param.scheme = TPM_ALG_NULL; /* TCG Alg. Registry, 5.2.4 */ in check_es256_pubarea()
|