Home
last modified time | relevance | path

Searched full:scheme (Results 1 – 25 of 1702) sorted by relevance

12345678910>>...69

/third_party/openssl/crypto/store/
Dstore_register.c31 OSSL_STORE_LOADER *OSSL_STORE_LOADER_new(ENGINE *e, const char *scheme) in OSSL_STORE_LOADER_new() argument
37 * scheme is crucial and must never be NULL, or the user will get in OSSL_STORE_LOADER_new()
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()
143 return OPENSSL_LH_strhash(v->scheme); in store_loader_hash()
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
169 * Check that the given scheme conforms to correct scheme syntax as per in ossl_store_register_loader_int()
[all …]
Dstore_meth.c42 * OSSL_STORE_LOADER_new() expects the scheme as a constant string,
94 const char *scheme; /* For get_loader_from_store() */ member
163 id = ossl_namemap_name2num(namemap, methdata->scheme); in get_loader_from_store()
177 const char *scheme, const char *propdef, in put_loader_in_store() argument
185 || (id = ossl_namemap_name2num(namemap, scheme)) == 0) in put_loader_in_store()
258 * The core fetching functionality passes the scheme of the implementation.
268 * namemap entry, this is it. Should the scheme already exist there, we in construct_loader()
274 const char *scheme = algodef->algorithm_names; in construct_loader() local
275 int id = ossl_namemap_add_name(namemap, 0, scheme); in construct_loader()
298 /* Fetching support. Can fetch by numeric identity or by scheme */
[all …]
/third_party/python/Doc/library/
Dsysconfig.rst68 Python uses an installation scheme that differs depending on the platform and on
73 Distutils-based system will follow the same scheme to copy its file in the right
78 - *posix_prefix*: scheme for POSIX platforms like Linux or macOS. This is
79 the default scheme used when Python or a component is installed.
80 - *posix_home*: scheme for POSIX platforms used when a *home* option is used
81 upon installation. This scheme is used when a component is installed through
83 - *posix_user*: scheme for POSIX platforms used when a component is installed
84 through Distutils and the *user* option is used. This scheme defines paths
86 - *posix_venv*: scheme for :mod:`Python virtual environments <venv>` on POSIX
88 - *nt*: scheme for NT platforms like Windows.
[all …]
/third_party/cups/cups/
Dauth.c42 static const char *cups_auth_find(const char *www_authenticate, const char *scheme);
43 static const char *cups_auth_param(const char *scheme, const char *name, char *value, size_t valsiz…
44 static const char *cups_auth_scheme(const char *www_authenticate, char *scheme, size_t schemesize);
116 *schemedata; /* Scheme-specific data */ in cupsDoAuthentication()
117 char scheme[256], /* Scheme name */ in cupsDoAuthentication() local
171 …_scheme(www_auth, scheme, sizeof(scheme)); schemedata; schemedata = cups_auth_scheme(schemedata + … in cupsDoAuthentication()
174 * Check the scheme name... in cupsDoAuthentication()
177 DEBUG_printf(("2cupsDoAuthentication: Trying scheme \"%s\"...", scheme)); in cupsDoAuthentication()
180 if (!_cups_strcasecmp(scheme, "Negotiate") && !cups_is_local_connection(http)) in cupsDoAuthentication()
207 if (!_cups_strcasecmp(scheme, "Bearer")) in cupsDoAuthentication()
[all …]
Dhttp-support.c159 const char *scheme, /* I - Scheme name */ in httpAssembleURI() argument
173 if (!uri || urilen < 1 || !scheme || port < 0) in httpAssembleURI()
182 * Assemble the URI starting with the scheme... in httpAssembleURI()
186 ptr = http_copy_encode(uri, scheme, end, NULL, NULL, 0); in httpAssembleURI()
191 if (!strcmp(scheme, "geo") || !strcmp(scheme, "mailto") || !strcmp(scheme, "tel")) in httpAssembleURI()
439 const char *scheme, /* I - Scheme name */ in httpAssembleURIf() argument
455 if (!uri || urilen < 1 || !scheme || port < 0 || !resourcef) in httpAssembleURIf()
477 return (httpAssembleURI(encoding, uri, urilen, scheme, username, host, in httpAssembleURIf()
900 char *scheme, /* O - Scheme [32] (http, https, etc.) */ in httpSeparate() argument
906 httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, 32, username, in httpSeparate()
[all …]
/third_party/curl/tests/libtest/
Dlib1536.c33 char *scheme; in test() local
40 /* Test that scheme is properly initialized on curl_easy_init. in test()
43 res = curl_easy_getinfo(curl, CURLINFO_SCHEME, &scheme); in test()
49 if(scheme) { in test()
50 fprintf(stderr, "%s:%d scheme init failed; expected NULL\n", in test()
65 /* Test that a scheme is properly set after receiving an HTTP resource. in test()
68 res = curl_easy_getinfo(curl, CURLINFO_SCHEME, &scheme); in test()
74 if(!scheme || memcmp(scheme, "http", 5) != 0) { in test()
75 fprintf(stderr, "%s:%d scheme of http resource is incorrect; " in test()
78 (scheme == NULL ? "NULL" : "invalid")); in test()
[all …]
/third_party/cups-filters/
Dbackport-CVE-2023-24805.patch25 char scheme[1024], /* Scheme from URI */
26 *ptr, /* Pointer into scheme */
40 - strncpy(scheme, uri, sizeof(scheme) - 1);
42 - scheme[1023] = '\0';
43 + scheme[0] = '\0';
44 + strncat(scheme, uri, sizeof(scheme) - 1);
46 if ((ptr = strchr(scheme, ':')) != NULL)
52 + "ERROR: beh: Invalid URI, no colon (':') to mark end of scheme part.\n");
55 + if (strchr(scheme, '/'))
58 + "ERROR: beh: Invalid URI, scheme contains a slash ('/').\n");
[all …]
/third_party/curl/docs/libcurl/opts/
DCURLINFO_SCHEME.md19 CURLINFO_SCHEME - get the URL scheme (sometimes called protocol) used in the connection
26 CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SCHEME, char **scheme);
32 string holding the URL scheme used for the most recent connection done with
35 The **scheme** pointer is NULL or points to private memory. You MUST NOT
39 The returned scheme might be upper or lowercase. Do comparisons case
53 char *scheme = NULL;
54 curl_easy_getinfo(curl, CURLINFO_SCHEME, &scheme);
55 if(scheme)
56 printf("scheme: %s\n", scheme); /* scheme: HTTP */
/third_party/openhitls/tls/config/src/
Dconfig_sign.c393 static int32_t PrepareSignSchemeStorage(TLS_Config *config, TLS_SigSchemeInfo **scheme) in PrepareSignSchemeStorage() argument
409 *scheme = config->sigSchemeInfo + config->sigSchemeInfolen; in PrepareSignSchemeStorage()
418 static int32_t ProcessOids(TLS_SigSchemeInfo *scheme, BslOidInfo *keyTypeOidInfo, BslOidInfo *paraO… in ProcessOids() argument
424 keyTypeOidInfo->oidName, scheme->keyType); in ProcessOids()
431 paraOidInfo->oidName, scheme->paraId); in ProcessOids()
438 hashOidInfo->oidName, scheme->hashAlgId); in ProcessOids()
445 signHashAlgOidInfo->oidName, scheme->signHashAlgId); in ProcessOids()
450 return BSL_OBJ_CreateSignId(scheme->signHashAlgId, scheme->signAlgId, scheme->hashAlgId); in ProcessOids()
461 TLS_SigSchemeInfo *scheme = NULL; in ProviderAddSignatureSchemeInfo() local
468 int32_t ret = PrepareSignSchemeStorage(config, &scheme); in ProviderAddSignatureSchemeInfo()
[all …]
/third_party/typescript/tests/cases/fourslash/
DquickInfoOnUnionPropertiesWithIdenticalJSDocComments01.ts6 //// /** A Uri [scheme](#Uri.scheme), like `file` or `untitled`. */
7 //// scheme?: string;
13 //// /** A Uri [scheme](#Uri.scheme), like `file` or `untitled`. */
14 //// scheme: string;
20 //// /** A Uri [scheme](#Uri.scheme), like `file` or `untitled`. */
21 //// scheme?: string;
/third_party/libcoap/src/
Dcoap_address.c342 coap_uri_scheme_t scheme; in coap_get_available_scheme_hint_bits() local
344 for (scheme = 0; scheme < COAP_URI_SCHEME_LAST; scheme++) { in coap_get_available_scheme_hint_bits()
345 switch (scheme) { in coap_get_available_scheme_hint_bits()
347 scheme_hint_bits |= 1 << scheme; in coap_get_available_scheme_hint_bits()
352 scheme_hint_bits |= 1 << scheme; in coap_get_available_scheme_hint_bits()
357 scheme_hint_bits |= 1 << scheme; in coap_get_available_scheme_hint_bits()
362 scheme_hint_bits |= 1 << scheme; in coap_get_available_scheme_hint_bits()
367 scheme_hint_bits |= 1 << scheme; in coap_get_available_scheme_hint_bits()
372 scheme_hint_bits |= 1 << scheme; in coap_get_available_scheme_hint_bits()
429 coap_uri_scheme_t scheme; in coap_resolve_address_info() local
[all …]
/third_party/grpc/src/core/lib/address_utils/
Dparse_address.cc62 if (uri.scheme() != "unix") { in grpc_parse_unix()
63 LOG(ERROR) << "Expected 'unix' scheme, got '" << uri.scheme() << "'"; in grpc_parse_unix()
77 if (uri.scheme() != "unix-abstract") { in grpc_parse_unix_abstract()
78 LOG(ERROR) << "Expected 'unix-abstract' scheme, got '" << uri.scheme() in grpc_parse_unix_abstract()
161 if (uri.scheme() != "vsock") { in grpc_parse_vsock()
162 LOG(ERROR) << "Expected 'vsock' scheme, got '" << uri.scheme() << "'"; in grpc_parse_vsock()
235 if (log_errors) LOG(ERROR) << "no port given for ipv4 scheme"; in grpc_parse_ipv4_hostport()
252 if (uri.scheme() != "ipv4") { in grpc_parse_ipv4()
253 LOG(ERROR) << "Expected 'ipv4' scheme, got '" << uri.scheme() << "'"; in grpc_parse_ipv4()
324 if (log_errors) LOG(ERROR) << "no port given for ipv6 scheme"; in grpc_parse_ipv6_hostport()
[all …]
/third_party/python/Lib/test/
Dtest_sysconfig.py98 scheme = get_paths()
102 scheme = sorted(scheme.items())
103 self.assertEqual(scheme, wanted)
111 for scheme in _INSTALL_SCHEMES:
112 for name in _INSTALL_SCHEMES[scheme]:
113 expected = _INSTALL_SCHEMES[scheme][name].format(**config_vars)
115 os.path.normpath(get_path(name, scheme)),
146 # before bpo-45413, here we assert the posix_venv scheme does not regress
158 self.assertEqual(binpath, sysconfig.get_path('scripts', scheme='posix_venv'))
159 self.assertEqual(libpath, sysconfig.get_path('purelib', scheme='posix_venv'))
[all …]
Dtest_urlparse.py76 t = (result.scheme, result.netloc, result.path,
89 self.assertEqual(result3.scheme, result.scheme)
103 t = (result.scheme, result.netloc, result.path,
114 self.assertEqual(result3.scheme, result.scheme)
209 for scheme in schemes:
211 url = scheme + url
212 parsed = (scheme,) + parsed
213 split = (scheme,) + split
525 self.assertEqual(p.scheme, "http")
535 # since the scheme is always case-normalized
[all …]
/third_party/python/Lib/urllib/
Dparse.py14 RFC 2368: "The mailto URL scheme", by P.Hoffman , L Masinter, J. Zawinski, July 1998.
50 # The empty string classifies URLs with no scheme specified,
81 # Characters valid in scheme names
128 # "scheme=''" default argument to some functions
252 'SplitResult', 'scheme netloc path query fragment')
254 'ParseResult', 'scheme netloc path params query fragment')
272 SplitResult(scheme, netloc, path, query, fragment)
278 _SplitResultBase.scheme.__doc__ = """Specifies URL scheme for the request."""
290 in path component, identifies a resource in the scope of URI's scheme and
300 ParseResult(scheme, netloc, path, params, query, fragment)
[all …]
/third_party/curl/scripts/
Dschemetable.c37 static const struct detail scheme[] = { variable
98 for(i = 0; scheme[i].n; ++i) in showtable()
99 num[i] = calc(scheme[i].n, init, shift); in showtable()
100 for(i = 0; scheme[i].n; ++i) in showtable()
118 for(j=0; scheme[j].n; j++) { in showtable()
121 printf("%s\n", scheme[j].ifdef); in showtable()
122 printf(" &Curl_handler_%s,\n", scheme[j].n); in showtable()
153 for(i = 0; scheme[i].n; ++i) { in main()
154 unsigned int v = calc(scheme[i].n, add, shift); in main()
162 v, scheme[i], scheme[j]); in main()
[all …]
/third_party/cups/man/
Dlpinfo.827 .I scheme-list
30 .I scheme-list
52 .I scheme-list
55 .I scheme-list
80 \fB\-\-exclude\-schemes \fIscheme-list\fR
82 Static PPD files use the "file" scheme.
84 \fB\-\-include\-schemes \fIscheme-list\fR
86 Static PPD files use the "file" scheme.
/third_party/grpc/src/objective-c/tests/
Dbuild_one_example.sh23 # SCHEME - scheme of the example, used by xcodebuild
45 if [ "$SCHEME" == "tvOS-sample" ]; then
49 -scheme $SCHEME \
60 -scheme $SCHEME \
/third_party/python/Lib/
Dsysconfig.py59 # Downstream distributors can overwrite the default install scheme.
62 # So, distributors will change the default scheme to one that correctly
66 # the default install scheme, there is no guarantee that the information
72 # The "*_venv" install scheme is a scheme to bootstrap virtual environments,
74 # Downstream distributors who patch posix_prefix/nt scheme are encouraged to
100 # For the OS-native venv scheme, we essentially provide an alias:
135 # NOTE: When modifying "purelib" scheme, update site._get_path() too.
232 for scheme in ('posix_prefix', 'posix_home'):
235 # scheme when building CPython)
237 scheme = _INSTALL_SCHEMES[scheme] variable
[all …]
/third_party/curl/docs/libcurl/
Dcurl_url_get.md53 return the default port for the used scheme.
57 If the handle has no scheme stored, this option makes curl_url_get(3)
58 return the default scheme instead of error.
63 default port for the scheme.
68 does not decode the scheme, the port number or the full URL.
144 Scheme cannot be URL decoded on get.
155 this field independently of scheme when not parsing full URLs.
211 char *scheme;
212 rc = curl_url_get(url, CURLUPART_SCHEME, &scheme, 0);
214 printf("the scheme is %s\n", scheme);
[all …]
/third_party/openhitls/tls/config/include/
Dconfig_type.h51 * @brief Load signature scheme information
58 * @brief Get signature scheme information
60 * @param signatureScheme: signature scheme
61 * @return signature scheme information
66 * @brief Get signature scheme information list
68 * @param size: size of signature scheme information list
69 * @return signature scheme information list
/third_party/protobuf/php/src/Google/Protobuf/
DAny.php95 * scheme `http`, `https`, or no scheme, one can optionally set up a type
97 * * If no scheme is provided, `https` is assumed.
108 * Schemes other than `http`, `https` (or the empty scheme) might be
136 * scheme `http`, `https`, or no scheme, one can optionally set up a type
138 * * If no scheme is provided, `https` is assumed.
149 * Schemes other than `http`, `https` (or the empty scheme) might be
169 * scheme `http`, `https`, or no scheme, one can optionally set up a type
171 * * If no scheme is provided, `https` is assumed.
182 * Schemes other than `http`, `https` (or the empty scheme) might be
202 * scheme `http`, `https`, or no scheme, one can optionally set up a type
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics/test_data/
Dclippy_pass_by_ref.txt4 scheme: "file",
36 scheme: "https",
63 scheme: "file",
89 scheme: "file",
121 scheme: "file",
153 scheme: "https",
180 scheme: "file",
212 scheme: "file",
244 scheme: "https",
271 scheme: "file",
Dsnap_multi_line_fix.txt4 scheme: "file",
36 scheme: "https",
63 scheme: "file",
89 scheme: "file",
121 scheme: "file",
153 scheme: "https",
180 scheme: "file",
212 scheme: "file",
244 scheme: "https",
271 scheme: "file",
[all …]
/third_party/openssl/include/crypto/
Ddso_conf.h.in21 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") {

12345678910>>...69