/freebsd-current/usr.bin/mkimg/ |
H A D | scheme.c | 38 #include "scheme.h" 63 static struct mkimg_scheme *scheme; variable in typeref:struct:mkimg_scheme 102 scheme = s; 113 return (scheme); 121 if (scheme == NULL || scheme->bootcode == 0) 126 if (sb.st_size > scheme->bootcode) 129 bootcode = malloc(scheme->bootcode); 132 memset(bootcode, 0, scheme->bootcode); 147 assert(scheme ! [all...] |
H A D | Makefile | 5 SRCS+= format.c image.c mkimg.c scheme.c uuid.c
|
/freebsd-current/usr.sbin/bsdinstall/partedit/ |
H A D | partedit_efi.c | 71 bootpart_size(const char *scheme) argument 75 if (strcmp(scheme, "GPT") != 0) 82 bootpart_type(const char *scheme, const char **mountpoint) argument
|
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, 83 const char *default_scheme(void); /* Default partition 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); 91 * Type and mountpoint of boot partition for given scheme. If boot partition 96 const char *bootpart_type(const char *scheme, const char **mountpoint); 98 /* Path to bootcode that goes in the scheme ( [all...] |
H A D | partedit_generic.c | 47 * user by claiming the chosen partition scheme isn't bootable. 66 bootpart_type(const char *scheme, const char **mountpoint) { argument
|
H A D | scripted.c | 65 part_config(char *disk, const char *scheme, char *config) argument 73 if (scheme == NULL) 74 scheme = default_scheme(); 85 /* Remove any existing partitioning and create new scheme */ 96 gpart_partition(disk, scheme); 98 if (strcmp(scheme, "MBR") == 0) { 160 char *disk = NULL, *scheme = NULL, *partconfig = NULL; local 185 else if (scheme == NULL) 186 scheme = strsep(&input, " \t\n"); 204 return (part_config(disk, scheme, partconfi [all...] |
H A D | part_wizard.c | 229 const char *scheme = NULL; local 248 if (strcmp(gc->lg_name, "scheme") == 0) { 249 scheme = gc->lg_val; 255 /* Treat uncommitted scheme deletions as no scheme */ 256 if (scheme != NULL && strcmp(scheme, "(none)") == 0) 257 scheme = NULL; 276 if (choice == BSDDIALOG_NO && scheme != NULL && !is_scheme_bootable(scheme)) { [all...] |
H A D | partedit_x86.c | 95 bootpart_size(const char *scheme) argument 99 if (strcmp(scheme, "GPT") != 0) 111 bootpart_type(const char *scheme, const char **mountpoint) argument
|
H A D | gpart_ops.c | 80 scheme_supports_labels(const char *scheme) argument 82 if (strcmp(scheme, "APM") == 0) 84 if (strcmp(scheme, "GPT") == 0) 236 const char *scheme = NULL; local 259 "Select a partition scheme for this volume:", 0, 0, 0, 269 "This partition scheme (%s) is not " 280 scheme = items[choice].name; 282 return scheme; 286 gpart_partition(const char *lg_name, const char *scheme) argument 296 if (scheme 347 const char *errstr, *scheme; local 414 const char *errstr, *scheme; local 468 const char *scheme; local 553 const char *errstr, *oldtype, *scheme; local 725 set_default_part_metadata(const char *name, const char *scheme, const char *type, const char *mountpoint, const char *newfs) argument 939 add_boot_partition(struct ggeom *geom, struct gprovider *pp, const char *scheme, int interactive) argument 1036 const char *errstr, *scheme; local [all...] |
H A D | partedit_powerpc.c | 103 bootpart_type(const char *scheme, const char **mountpoint) argument 115 if (strcmp(scheme, "GPT") == 0) 117 else if (strcmp(scheme, "MBR") == 0)
|
/freebsd-current/crypto/openssl/crypto/store/ |
H A D | store_register.c | 31 OSSL_STORE_LOADER *OSSL_STORE_LOADER_new(ENGINE *e, const char *scheme) argument 37 * scheme is crucial and must never be NULL, or the user will get 41 if (scheme == NULL) { 52 res->scheme = scheme; 63 return loader->scheme; 143 return OPENSSL_LH_strhash(v->scheme); 149 assert(a->scheme != NULL && b->scheme != NULL); 150 return strcmp(a->scheme, 165 const char *scheme = loader->scheme; local 214 ossl_store_get0_loader_int(const char *scheme) argument 245 ossl_store_unregister_loader_int(const char *scheme) argument 274 OSSL_STORE_unregister_loader(const char *scheme) argument [all...] |
H A D | store_local.h | 79 OSSL_STORE_LOADER *ossl_store_unregister_loader_int(const char *scheme); 85 const char *scheme; member in struct:ossl_store_loader_st 119 const OSSL_STORE_LOADER *ossl_store_get0_loader_int(const char *scheme); 157 * 'file' scheme stuff 169 const char *scheme,
|
H A D | store_meth.c | 42 * OSSL_STORE_LOADER_new() expects the scheme as a constant string, 94 const char *scheme; /* For get_loader_from_store() */ member in struct:loader_data_st 163 id = ossl_namemap_name2num(namemap, methdata->scheme); 177 const char *scheme, const char *propdef, 185 || (id = ossl_namemap_name2num(namemap, scheme)) == 0) 258 * The core fetching functionality passes the scheme of the implementation. 268 * namemap entry, this is it. Should the scheme already exist there, we 274 const char *scheme = algodef->algorithm_names; local 275 int id = ossl_namemap_add_name(namemap, 0, scheme); 298 /* Fetching support. Can fetch by numeric identity or by scheme */ 175 put_loader_in_store(void *store, void *method, const OSSL_PROVIDER *prov, const char *scheme, const char *propdef, void *data) argument 300 inner_loader_fetch(struct loader_data_st *methdata, int id, const char *scheme, const char *properties) argument 394 OSSL_STORE_LOADER_fetch(OSSL_LIB_CTX *libctx, const char *scheme, const char *properties) argument [all...] |
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | UriParser.h | 22 llvm::StringRef scheme; member in struct:lldb_private::URI 28 return port == R.port && scheme == R.scheme && hostname == R.hostname &&
|
/freebsd-current/lib/libfetch/ |
H A D | fetch.c | 62 { URL_BAD_SCHEME, FETCH_URL, "Invalid URL scheme" }, 71 * Select the appropriate protocol for the URL scheme, and return a 83 if (strcmp(URL->scheme, SCHEME_FILE) == 0) 85 else if (strcmp(URL->scheme, SCHEME_FTP) == 0) 87 else if (strcmp(URL->scheme, SCHEME_HTTP) == 0) 89 else if (strcmp(URL->scheme, SCHEME_HTTPS) == 0) 96 * Select the appropriate protocol for the URL scheme, and return a 106 * Select the appropriate protocol for the URL scheme, and return a 113 if (strcmp(URL->scheme, SCHEME_FILE) == 0) 115 else if (strcmp(URL->scheme, SCHEME_FT 254 fetchMakeURL(const char *scheme, const char *host, int port, const char *doc, const char *user, const char *pwd) argument [all...] |
/freebsd-current/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-current/contrib/llvm-project/lldb/tools/lldb-server/ |
H A D | Acceptor.cpp | 39 bool FindProtocolByScheme(const char *scheme, argument 42 if (!strcmp(s.m_scheme, scheme)) { 90 if (!FindProtocolByScheme(res->scheme.str().c_str(), socket_protocol)) 91 error.SetErrorStringWithFormat("Unknown protocol scheme \"%s\"", 92 res->scheme.str().c_str()); 94 name = name.drop_front(res->scheme.size() + strlen("://"));
|
/freebsd-current/crypto/openssl/crypto/http/ |
H A D | http_lib.c | 51 const char *scheme, *scheme_end; local 74 /* check for optional prefix "<scheme>://" */ 75 scheme = scheme_end = url; 81 if (scheme_end == scheme) 157 if (!copy_substring(pscheme, scheme, scheme_end) 196 char *scheme, *port; local 202 if (!OSSL_parse_url(url, &scheme, puser, phost, &port, pport_num, 206 /* check for optional HTTP scheme "http[s]" */ 207 if (strcmp(scheme, OSSL_HTTPS_NAME) == 0) { 211 } else if (*scheme ! [all...] |
/freebsd-current/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 309 ${SRCTOP}/tools/boot/install-boot.sh -g ${geli} -s ${scheme} -f ${fs} -b ${bios} -d ${src} ${md} 318 scheme=$5 343 ${SRCTOP}/tools/boot/install-boot.sh -g ${geli} -s ${scheme} [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Utility/ |
H A D | UriParser.cpp | 22 OS << U.scheme << "://[" << U.hostname << ']'; 37 ret.scheme = uri.substr(0, pos);
|
/freebsd-current/crypto/openssl/crypto/asn1/ |
H A D | p5_scrypt.c | 46 X509_ALGOR *scheme = NULL, *ret = NULL; local 73 /* Setup the AlgorithmIdentifier for the encryption scheme */ 74 scheme = pbe2->encryption; 76 scheme->algorithm = OBJ_nid2obj(alg_nid); 77 scheme->parameter = ASN1_TYPE_new(); 78 if (scheme->parameter == NULL) 96 if (EVP_CIPHER_param_to_asn1(ctx, scheme->parameter) <= 0) {
|
H A D | p5_pbev2.c | 47 X509_ALGOR *scheme = NULL, *ret = NULL; 62 /* Setup the AlgorithmIdentifier for the encryption scheme */ 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) { 142 /* Note 'scheme' is freed as part of pbe2 */
|
/freebsd-current/contrib/ntp/sntp/libevent/sample/ |
H A D | https-client.c | 222 const char *scheme, *host, *path, *query; local 311 scheme = evhttp_uri_get_scheme(http_uri); 312 if (scheme == NULL || (strcasecmp(scheme, "https") != 0 && 313 strcasecmp(scheme, "http") != 0)) { 326 port = (strcasecmp(scheme, "http") == 0) ? 80 : 443; 432 if (strcasecmp(scheme, "http") == 0) {
|
/freebsd-current/contrib/libevent/sample/ |
H A D | https-client.c | 222 const char *scheme, *host, *path, *query; local 311 scheme = evhttp_uri_get_scheme(http_uri); 312 if (scheme == NULL || (strcasecmp(scheme, "https") != 0 && 313 strcasecmp(scheme, "http") != 0)) { 326 port = (strcasecmp(scheme, "http") == 0) ? 80 : 443; 432 if (strcasecmp(scheme, "http") == 0) {
|
/freebsd-current/crypto/openssl/include/openssl/ |
H A D | store.h | 121 * BIO instead of a uri, along with a scheme to use when reading. 132 OSSL_STORE_CTX *OSSL_STORE_attach(BIO *bio, const char *scheme, 211 /* To check what search types the scheme handler supports */ 257 const char *scheme, 266 const char *scheme); 276 * Function to register a loader for the given URI scheme. 280 * scheme. 314 OSSL_STORE_LOADER *OSSL_STORE_LOADER_new(ENGINE *e, const char *scheme); 352 OSSL_STORE_LOADER *OSSL_STORE_unregister_loader(const char *scheme);
|