| /third_party/openssl/crypto/store/ |
| D | store_register.c | 31 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 …]
|
| 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 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 …]
|
| D | store_lib.c | 75 char scheme_copy[256], *p, *schemes[2], *scheme = NULL; in OSSL_STORE_open_ex() local 80 * Put the file scheme first. If the uri does represent an existing file, in OSSL_STORE_open_ex() 87 * Now, check if we have something that looks like a scheme, and add it in OSSL_STORE_open_ex() 88 * as a second scheme. However, also check if there's an authority start in OSSL_STORE_open_ex() 89 * (://), because that will invalidate the previous file scheme. Also, in OSSL_STORE_open_ex() 90 * check that this isn't actually the file scheme, as there's no point in OSSL_STORE_open_ex() 98 schemes_n--; /* Invalidate the file scheme */ in OSSL_STORE_open_ex() 106 * Try each scheme until we find one that could open the URI. in OSSL_STORE_open_ex() 108 * For each scheme, we look for the engine implementation first, and in OSSL_STORE_open_ex() 114 scheme = schemes[i]; in OSSL_STORE_open_ex() [all …]
|
| /third_party/python/Doc/library/ |
| D | sysconfig.rst | 68 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 …]
|
| D | urllib.parse.rst | 19 strings up in components (addressing scheme, network location, path etc.), to 40 .. function:: urlparse(urlstring, scheme='', allow_fragments=True) 44 ``scheme://netloc/path;parameters?query#fragment``. 55 >>> urlparse("scheme://netloc/path;parameters?query#fragment") 56 ParseResult(scheme='scheme', netloc='netloc', path='/path;parameters', params='', 61 ParseResult(scheme='http', netloc='docs.python.org:80', 64 >>> o.scheme 85 ParseResult(scheme='', netloc='www.cwi.nl:80', path='/%7Eguido/Python.html', 88 ParseResult(scheme='', netloc='', path='www.cwi.nl/%7Eguido/Python.html', 91 ParseResult(scheme='', netloc='', path='help/Python.html', params='', [all …]
|
| /third_party/curl/tests/libtest/ |
| D | lib1536.c | 33 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/ |
| D | backport-CVE-2023-24805.patch | 25 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/ |
| D | CURLINFO_SCHEME.md | 19 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 */
|
| D | CURLOPT_DEFAULT_PROTOCOL.md | 18 scheme name 31 This option tells libcurl to use *protocol* if the URL is missing a scheme 34 Use one of these protocol (scheme) names: 41 scheme. Parsing happens when curl_easy_perform(3) or 65 /* set a URL without a scheme */ 68 /* set the default protocol (scheme) for schemeless URLs */
|
| /third_party/libcoap/src/ |
| D | coap_address.c | 340 coap_uri_scheme_t scheme; in coap_get_available_scheme_hint_bits() local 342 for (scheme = 0; scheme < COAP_URI_SCHEME_LAST; scheme++) { in coap_get_available_scheme_hint_bits() 343 switch (scheme) { in coap_get_available_scheme_hint_bits() 345 scheme_hint_bits |= 1 << scheme; in coap_get_available_scheme_hint_bits() 350 scheme_hint_bits |= 1 << scheme; in coap_get_available_scheme_hint_bits() 355 scheme_hint_bits |= 1 << scheme; in coap_get_available_scheme_hint_bits() 360 scheme_hint_bits |= 1 << scheme; in coap_get_available_scheme_hint_bits() 365 scheme_hint_bits |= 1 << scheme; in coap_get_available_scheme_hint_bits() 370 scheme_hint_bits |= 1 << scheme; in coap_get_available_scheme_hint_bits() 427 coap_uri_scheme_t scheme; in coap_resolve_address_info() local [all …]
|
| /third_party/typescript/tests/cases/fourslash/ |
| D | quickInfoOnUnionPropertiesWithIdenticalJSDocComments01.ts | 6 //// /** 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/python/Lib/test/ |
| D | test_sysconfig.py | 98 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 …]
|
| D | test_urlparse.py | 76 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/ |
| D | parse.py | 14 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/ |
| D | schemetable.c | 37 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/python/Lib/ |
| D | sysconfig.py | 59 # 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/protobuf/php/src/Google/Protobuf/ |
| D | Any.php | 92 * scheme `http`, `https`, or no scheme, one can optionally set up a type 94 * * If no scheme is provided, `https` is assumed. 105 * Schemes other than `http`, `https` (or the empty scheme) might be 133 * scheme `http`, `https`, or no scheme, one can optionally set up a type 135 * * If no scheme is provided, `https` is assumed. 146 * Schemes other than `http`, `https` (or the empty scheme) might be 166 * scheme `http`, `https`, or no scheme, one can optionally set up a type 168 * * If no scheme is provided, `https` is assumed. 179 * Schemes other than `http`, `https` (or the empty scheme) might be 199 * scheme `http`, `https`, or no scheme, one can optionally set up a type [all …]
|
| /third_party/curl/docs/libcurl/ |
| D | curl_url_get.md | 53 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 …]
|
| D | curl_url.md | 49 char *scheme; 50 rc = curl_url_get(url, CURLUPART_SCHEME, &scheme, 0); 52 printf("the scheme is %s\n", scheme); 53 curl_free(scheme);
|
| D | curl_url_set.md | 93 Scheme cannot be URL decoded on set. libcurl only accepts setting schemes up 170 If set, allows curl_url_set(3) to set a non-supported scheme. 175 **scheme**, **port** and **URL**. 188 If set, allows the URL to be set without a scheme and then sets that to the 189 default scheme: HTTPS. Overrides the *CURLU_GUESS_SCHEME* option if both 194 If set, allows the URL to be set without a scheme and it instead "guesses" 195 which scheme that was intended based on the hostname. If the outermost 196 subdomain name matches DICT, FTP, IMAP, LDAP, POP3 or SMTP then that scheme is 205 permits empty authority sections, similar to how file scheme is handled. 218 or '+'. When spaces are allowed, they are still not allowed in the scheme.
|
| /third_party/openssl/include/crypto/ |
| 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") {
|
| /third_party/openssl/crypto/http/ |
| D | http_lib.c | 44 const char *scheme, *scheme_end; in OSSL_parse_url() local 66 /* check for optional prefix "<scheme>://" */ in OSSL_parse_url() 67 scheme = scheme_end = url; in OSSL_parse_url() 73 if (scheme_end == scheme) in OSSL_parse_url() 149 if (!copy_substring(pscheme, scheme, scheme_end) in OSSL_parse_url() 188 char *scheme, *port; in OSSL_HTTP_parse_url() local 194 if (!OSSL_parse_url(url, &scheme, puser, phost, &port, pport_num, in OSSL_HTTP_parse_url() 198 /* check for optional HTTP scheme "http[s]" */ in OSSL_HTTP_parse_url() 199 if (strcmp(scheme, OSSL_HTTPS_NAME) == 0) { in OSSL_HTTP_parse_url() 203 } else if (*scheme != '\0' && strcmp(scheme, OSSL_HTTP_NAME) != 0) { in OSSL_HTTP_parse_url() [all …]
|
| /third_party/curl/src/ |
| D | tool_cb_hdr.c | 81 const char *scheme = NULL; in tool_header_cb() local 111 curl_easy_getinfo(per->curl, CURLINFO_SCHEME, &scheme); in tool_header_cb() 112 scheme = proto_token(scheme); in tool_header_cb() 113 if((scheme == proto_http || scheme == proto_https)) { in tool_header_cb() 235 (scheme == proto_http || scheme == proto_https || in tool_header_cb() 236 scheme == proto_rtsp || scheme == proto_file)) { in tool_header_cb() 384 char *copyloc = NULL, *locurl = NULL, *scheme = NULL, *finalurl = NULL; in write_linked_location() local 434 if(curl_url_get(u, CURLUPART_SCHEME, &scheme, 0)) in write_linked_location() 437 if(!strcmp("http", scheme) || in write_linked_location() 438 !strcmp("https", scheme) || in write_linked_location() [all …]
|
| /third_party/tex-hyphen/collaboration/source/conversion-to-xml/org/tug/texhyphen/ |
| D | ConvertTeXPattern.java | 133 String scheme = texPatternUri.getScheme(); in makeTexPatternUri() local 135 if (scheme == null) { in makeTexPatternUri() 138 scheme = texPatternUri.getScheme(); in makeTexPatternUri() 140 if (scheme == null || !(scheme.equals("http") || scheme.equals("file"))) { in makeTexPatternUri() 142 ("URI with file or http scheme required for hyphenation pattern file"); in makeTexPatternUri() 151 * @param scheme 158 String scheme = texPatternUri.getScheme(); in makeTexPatternUris() local 159 if (scheme.equals("file")) { in makeTexPatternUris() 305 String scheme = texPatternUri.getScheme(); in doConvert() local 307 if (scheme.equals("file")) { in doConvert() [all …]
|
| /third_party/curl/lib/ |
| D | urlapi.c | 58 /* scheme is not URL encoded, the longest libcurl supported ones are... */ 72 char *scheme; member 91 free(u->scheme); in free_urlhandle() 198 * Returns the length of the scheme if the given URL is absolute (as opposed 199 * to relative). Stores the scheme in the buffer if TRUE and 'buf' is 203 * scheme. 222 scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." ) in Curl_is_absolute_url() 230 /* If this does not guess scheme, the scheme always ends with the colon so in Curl_is_absolute_url() 234 /* the length of the scheme is the name part only */ in Curl_is_absolute_url() 461 /* if this is a known scheme, get some details */ in parse_hostname_login() [all …]
|