| /external/libmonet/scheme/ |
| D | Scheme.java | 19 package com.google.ux.material.libmonet.scheme; 26 * Represents a Material color scheme, a mapping of color roles to colors. 34 public class Scheme { class 65 public Scheme() {} in Scheme() method in Scheme 67 public Scheme( in Scheme() method in Scheme 129 /** Creates a light theme Scheme from a source color in ARGB, i.e. a hex code. */ 130 public static Scheme light(int argb) { in light() 134 /** Creates a dark theme Scheme from a source color in ARGB, i.e. a hex code. */ 135 public static Scheme dark(int argb) { in dark() 139 /** Creates a light theme content-based Scheme from a source color in ARGB, i.e. a hex code. */ [all …]
|
| /external/apache-http/src/org/apache/http/conn/scheme/ |
| D | SchemeRegistry.java | 2 …onents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/SchemeRegistry.jav… 31 package org.apache.http.conn.scheme; 41 * A set of supported protocol {@link Scheme schemes}. 60 private final Map<String,Scheme> registeredSchemes; 64 * Creates a new, empty scheme registry. 68 registeredSchemes = new LinkedHashMap<String,Scheme>(); in SchemeRegistry() 73 * Obtains a scheme by name. 75 * @param name the name of the scheme to look up (in lowercase) 77 * @return the scheme, never <code>null</code> 80 * if the scheme with the given name is not registered [all …]
|
| D | Scheme.java | 2 …tpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/Scheme.java $ 31 package org.apache.http.conn.scheme; 38 * Encapsulates specifics of a protocol scheme such as "http" or "https". 48 * Scheme https = new Scheme("https", new MySecureSocketFactory(), 443); 62 public final class Scheme { class 64 /** The name of this scheme, in lowercase. (e.g. http, https) */ 67 /** The socket factory for this scheme */ 70 /** The default port for this scheme */ 73 /** Indicates whether this scheme allows for layered connections */ 82 * Creates a new scheme. [all …]
|
| /external/cronet/net/base/ |
| D | proxy_string_util.h | 25 // <scheme>" "<host>[":"<port>] 27 // Where <scheme> may be one of (case-insensitive): 37 // chosen scheme (via ProxyServer::GetDefaultPortForScheme()). 42 // "PROXY foopy:19" {scheme=HTTP, host="foopy", port=19} 43 // "DIRECT" {scheme=DIRECT} 44 // "SOCKS5 foopy" {scheme=SOCKS5, host="foopy", port=1080} 45 // "HTTPS foopy:123" {scheme=HTTPS, host="foopy", port=123} 46 // "QUIC foopy:123" {scheme=QUIC, host="foopy", port=123} 58 // [<scheme>"://"]<server>[":"<port>] 60 // Where <scheme> may be one of: [all …]
|
| D | proxy_string_util.cc | 22 // Parses the proxy type from a PAC string, to a ProxyServer::Scheme. 25 ProxyServer::Scheme GetSchemeFromPacTypeInternal(std::string_view type) { in GetSchemeFromPacTypeInternal() 48 ProxyServer FromSchemeHostAndPort(ProxyServer::Scheme scheme, in FromSchemeHostAndPort() argument 53 if (scheme == ProxyServer::SCHEME_INVALID) in FromSchemeHostAndPort() 56 if (scheme == ProxyServer::SCHEME_DIRECT) { in FromSchemeHostAndPort() 88 return ProxyServer::FromSchemeHostAndPort(scheme, hostname, port); in FromSchemeHostAndPort() 122 // Everything to the left of the space is the scheme. in PacResultElementToProxyServer() 123 ProxyServer::Scheme scheme = in PacResultElementToProxyServer() local 128 return FromSchemeHostAndPort(scheme, pac_result_element.substr(space)); in PacResultElementToProxyServer() 132 switch (proxy_server.scheme()) { in ProxyServerToPacResultElement() [all …]
|
| D | proxy_server.cc | 25 ProxyServer::ProxyServer(Scheme scheme, const HostPortPair& host_port_pair) in ProxyServer() argument 26 : scheme_(scheme), host_port_pair_(host_port_pair) { in ProxyServer() 37 ProxyServer ProxyServer::FromSchemeHostAndPort(Scheme scheme, in FromSchemeHostAndPort() argument 41 DCHECK_NE(scheme, SCHEME_INVALID); in FromSchemeHostAndPort() 44 DCHECK_NE(scheme, SCHEME_DIRECT); in FromSchemeHostAndPort() 49 return FromSchemeHostAndPort(scheme, host, std::nullopt); in FromSchemeHostAndPort() 55 return FromSchemeHostAndPort(scheme, host, in FromSchemeHostAndPort() 60 ProxyServer ProxyServer::FromSchemeHostAndPort(Scheme scheme, in FromSchemeHostAndPort() argument 64 DCHECK_NE(scheme, SCHEME_INVALID); in FromSchemeHostAndPort() 67 DCHECK_NE(scheme, SCHEME_DIRECT); in FromSchemeHostAndPort() [all …]
|
| /external/rust/crates/http/src/uri/ |
| D | scheme.rs | 11 /// Represents the scheme component of a URI 13 pub struct Scheme { struct 30 impl Scheme { impl 31 /// HTTP protocol scheme 32 pub const HTTP: Scheme = Scheme { 37 pub const HTTPS: Scheme = Scheme { 42 Scheme { in empty() 47 /// Return a str representation of the scheme 53 /// let scheme: Scheme = "http".parse().unwrap(); 54 /// assert_eq!(scheme.as_str(), "http"); [all …]
|
| D | mod.rs | 35 use self::scheme::Scheme2; 41 pub use self::scheme::Scheme; 47 mod scheme; module 75 /// scheme authority path query fragment 97 scheme: Scheme, field 107 /// The scheme component of a URI 108 pub scheme: Option<Scheme>, field 194 /// .scheme("https") 219 /// assert!(uri.scheme().is_none()); 228 /// parts.scheme = Some("http".parse().unwrap()); [all …]
|
| /external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
| D | CryptEccCrypt.c | 43 // This function is used by TPM2_ECC_Decrypt and TPM2_ECC_Encrypt. It sets scheme 44 // either the input scheme or the key scheme. If they key scheme is not TPM_ALG_NULL 45 // then the input scheme must be TPM_ALG_NULL or the same as the key scheme. If 48 // TRUE 'scheme' is set 49 // FALSE 'scheme' is not valid (it may have been changed). 52 OBJECT *key, //IN: key containing default scheme in CryptEccSelectScheme() 53 TPMT_KDF_SCHEME *scheme // IN: a decrypt scheme in CryptEccSelectScheme() argument 59 if(scheme->scheme == TPM_ALG_NULL) in CryptEccSelectScheme() 60 *scheme = *keyScheme; in CryptEccSelectScheme() 61 if(keyScheme->scheme == TPM_ALG_NULL) in CryptEccSelectScheme() [all …]
|
| D | CryptUtil.c | 77 // TPM_RC_SCHEME not the proper scheme for this key type 88 &signKey->publicArea.parameters.keyedHashDetail.scheme; in CryptHMACVerifySignature() 95 // algorithm than otherwise allowed by the key. That is, a key with a scheme in CryptHMACVerifySignature() 97 // a matching scheme. in CryptHMACVerifySignature() 98 if((keyScheme->scheme != TPM_ALG_NULL) in CryptHMACVerifySignature() 99 && ((keyScheme->scheme != signature->sigAlg) in CryptHMACVerifySignature() 122 // the scheme 132 TPMT_KEYEDHASH_SCHEME *scheme; in CryptGenerateKeyedHash() local 136 scheme = &publicArea->parameters.keyedHashDetail.scheme; in CryptGenerateKeyedHash() 142 if(scheme->scheme == TPM_ALG_NULL) in CryptGenerateKeyedHash() [all …]
|
| /external/cronet/net/http/ |
| D | http_auth_cache.h | 28 // For each (scheme_host_port, realm, scheme) triple the cache stores a 30 // - the origin server {protocol scheme, host, port} 32 // - the last auth handler used (contains realm and authentication scheme) 34 // Entries can be looked up by either (origin, realm, scheme) or (origin, path). 49 // The authentication scheme of the challenge. 50 HttpAuth::Scheme scheme() const { in scheme() function 101 HttpAuth::Scheme scheme_ = HttpAuth::AUTH_SCHEME_MAX; 143 // scheme |scheme|. If a matching entry is found, move it up by one place 146 // |scheme_host_port| - the {scheme, host, port} of the server. 149 // |scheme| - the authentication scheme (i.e. basic, negotiate). [all …]
|
| /external/python/cpython3/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 …]
|
| /external/libcups/cups/ |
| D | auth.c | 40 static const char *cups_auth_find(const char *www_authenticate, const char *scheme); 41 static const char *cups_auth_param(const char *scheme, const char *name, char *value, size_t valsiz… 42 static const char *cups_auth_scheme(const char *www_authenticate, char *scheme, size_t schemesize); 114 *schemedata; /* Scheme-specific data */ in cupsDoAuthentication() 115 char scheme[256], /* Scheme name */ in cupsDoAuthentication() local 169 …_scheme(www_auth, scheme, sizeof(scheme)); schemedata; schemedata = cups_auth_scheme(schemedata + … in cupsDoAuthentication() 172 * Check the scheme name... in cupsDoAuthentication() 175 DEBUG_printf(("2cupsDoAuthentication: Trying scheme \"%s\"...", scheme)); in cupsDoAuthentication() 178 if (!_cups_strcasecmp(scheme, "Negotiate") && !cups_is_local_connection(http)) in cupsDoAuthentication() 205 if (_cups_strcasecmp(scheme, "Basic") && in cupsDoAuthentication() [all …]
|
| /external/cronet/url/ |
| D | url_util.cc | 27 // A pair for representing a standard scheme name and the SchemeType for it. 29 std::string scheme; member 33 // A pair for representing a scheme and a custom protocol handler for it. 39 std::string scheme; member 64 // WARNING: Adding (1) a non-"standard" scheme or (2) a scheme whose URLs have 89 // loaded with any other URL scheme. 129 // Gets the scheme registry without locking the schemes. This should *only* be 157 return compare_to[0] == 0; // When component is empty, match empty scheme. in DoCompareSchemeComponent() 163 // Returns true and sets |type| to the SchemeType of the given scheme 164 // identified by |scheme| within |spec| if in |schemes|. [all …]
|
| D | url_util.h | 45 // Android WebView assumes that one URL with a non-standard scheme will be 46 // same-origin to another URL with the same non-standard scheme. 54 // The following Add*Scheme method are not threadsafe and can not be called 58 // Adds an application-defined scheme to the internal list of "standard-format" 59 // URL schemes. A standard-format scheme adheres to what RFC 3986 calls "generic 69 // other operations against the standard scheme list. 73 // Adds an application-defined scheme to the internal list of schemes allowed 78 // Adds an application-defined scheme to the list of schemes that do not trigger 83 // Adds an application-defined scheme to the list of schemes that normal pages 89 // Adds an application-defined scheme to the list of schemes that cause pages [all …]
|
| D | url_canon_relative.cc | 30 // don't have to worry about invalid scheme characters since we are comparing 31 // against the canonical scheme of the base. 69 bool IsValidScheme(const CHAR* url, const Component& scheme) { in IsValidScheme() argument 70 // Caller should ensure that the |scheme| is not empty. in IsValidScheme() 71 DCHECK_NE(0, scheme.len); in IsValidScheme() 73 // From https://url.spec.whatwg.org/#scheme-start-state: in IsValidScheme() 74 // scheme start state: in IsValidScheme() 76 // state to scheme state. in IsValidScheme() 77 // 2. Otherwise, if state override is not given, set state to no scheme in IsValidScheme() 80 // Note that both step 2 and step 3 mean that the scheme was not valid. in IsValidScheme() [all …]
|
| /external/rust/crates/url/src/ |
| D | origin.rs | 15 let scheme = url.scheme(); in url_origin() localVariable 16 match scheme { in url_origin() 25 scheme.to_owned(), in url_origin() 29 // TODO: Figure out what to do if the scheme is a file in url_origin() 41 /// The origin is determined based on the scheme as follows: 43 /// - If the scheme is "blob" the origin is the origin of the 46 /// - If the scheme is "ftp", "http", "https", "ws", or "wss", 47 /// then the origin is a tuple of the scheme, host, and port. 48 /// - If the scheme is anything else, the origin is opaque, meaning 57 /// Consists of the URL's scheme, host and port [all …]
|
| /external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/ |
| D | CryptEccCrypt_fp.h | 46 // This function is used by TPM2_ECC_Decrypt and TPM2_ECC_Encrypt. It sets scheme 47 // either the input scheme or the key scheme. If they key scheme is not TPM_ALG_NULL 48 // then the input scheme must be TPM_ALG_NULL or the same as the key scheme. If 51 // TRUE 'scheme' is set 52 // FALSE 'scheme' is not valid (it may have been changed). 55 OBJECT *key, //IN: key containing default scheme 56 TPMT_KDF_SCHEME *scheme // IN: a decrypt scheme 60 //This function performs ECC-based data obfuscation. The only scheme that is currently 65 // TPM_RC_SCHEME 'scheme' is not supported 70 TPMT_KDF_SCHEME *scheme, // IN: scheme to use. [all …]
|
| D | CryptUtil_fp.h | 44 // This function is used to test a scheme to see if it is an anonymous scheme 45 // The only anonymous scheme is ECDAA. ECDAA can be used to do things 49 TPM_ALG_ID scheme // IN: the scheme algorithm to test 150 // TPM_RC_SCHEME RSA key with an unsupported padding scheme 264 // scheme for a keyed hash object 291 TPM_ALG_ID scheme // IN: the algorithm selector 295 // This function indicates if a scheme algorithm is a sign algorithm. 299 TPMI_ALG_ASYM_SCHEME scheme // IN: the scheme 303 // This function indicate if a scheme algorithm is a decrypt algorithm. 307 TPMI_ALG_ASYM_SCHEME scheme // IN: the scheme [all …]
|
| /external/aws-sdk-java-v2/core/crt-core/src/main/java/software/amazon/awssdk/crtcore/ |
| D | CrtProxyConfiguration.java | 31 private final String scheme; field in CrtProxyConfiguration 43 this.scheme = builder.scheme; in CrtProxyConfiguration() 47 builder.scheme); in CrtProxyConfiguration() 87 * @return The proxy scheme. 89 public final String scheme() { in scheme() method in CrtProxyConfiguration 90 return scheme; in scheme() 95 * based on the scheme used, if {@link Builder#useSystemPropertyValues(Boolean)} is set to true 103 * based on the scheme used, if {@link Builder#useSystemPropertyValues(Boolean)} is set to true 111 …* property, based on the scheme used, if {@link Builder#useSystemPropertyValues(Boolean)} is set t… 119 …* system property, based on the scheme used, if {@link Builder#useSystemPropertyValues(Boolean)} i… [all …]
|
| /external/openscreen/third_party/mozilla/ |
| D | url_parse.h | 57 // Component scheme; 58 // if (!ExtractScheme(url, url_len, &scheme)) 61 // if (IsStandardScheme(url, scheme)) // Not provided by this component 63 // else if (IsFileURL(url, scheme)) // Not provided by this component 71 SCHEME, enumerator 92 // contain an entry for the four-character scheme, and it doesn't know about 113 // SCHEME: 0 0 124 // Scheme without the colon: "http://foo"/ would have a scheme of "http". 125 // The length will be -1 if no scheme is specified ("foo.com"), or 0 if there 126 // is a colon but no scheme (":foo"). Note that the scheme is not guaranteed [all …]
|
| /external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/downloader/ |
| D | MultiSchemeFileDownloader.java | 35 * URL scheme. 44 /** Associates a url scheme (e.g. "http") with a specific {@link FileDownloader} delegate. */ 46 public MultiSchemeFileDownloader.Builder addScheme(String scheme, FileDownloader downloader) { in addScheme() argument 48 Preconditions.checkNotNull(scheme), Preconditions.checkNotNull(downloader)); in addScheme() 73 /** Returns true if a FileDownloader is registered for the given scheme. */ 74 public boolean supportsScheme(String scheme) { in supportsScheme() argument 75 return schemeToDownloader.containsKey(scheme); in supportsScheme() 107 /** Extract the scheme of a url string. */ 114 String scheme = parsed.getScheme(); in getScheme() local 115 if (scheme == null) { in getScheme() [all …]
|
| /external/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 …]
|
| /external/python/cpython2/Doc/library/ |
| D | sysconfig.rst | 65 Python uses an installation scheme that differs depending on the platform and on 70 Distutils-based system will follow the same scheme to copy its file in the right 75 - *posix_prefix*: scheme for Posix platforms like Linux or Mac OS X. This is 76 the default scheme used when Python or a component is installed. 77 - *posix_home*: scheme for Posix platforms used when a *home* option is used 78 upon installation. This scheme is used when a component is installed through 80 - *posix_user*: scheme for Posix platforms used when a component is installed 81 through Distutils and the *user* option is used. This scheme defines paths 83 - *nt*: scheme for NT platforms like Windows. 84 - *nt_user*: scheme for NT platforms, when the *user* option is used. [all …]
|
| /external/python/cpython2/Lib/ |
| D | urlparse.py | 14 RFC 2368: "The mailto URL scheme", by P.Hoffman , L Masinter, J. Zwinski, July 1998. 59 # Characters valid in scheme names 121 class SplitResult(namedtuple('SplitResult', 'scheme netloc path query fragment'), ResultMixin): 129 class ParseResult(namedtuple('ParseResult', 'scheme netloc path params query fragment'), ResultMixi… 137 def urlparse(url, scheme='', allow_fragments=True): argument 139 <scheme>://<netloc>/<path>;<params>?<query>#<fragment> 140 Return a 6-tuple: (scheme, netloc, path, params, query, fragment). 143 tuple = urlsplit(url, scheme, allow_fragments) 144 scheme, netloc, url, query, fragment = tuple 145 if scheme in uses_params and ';' in url: [all …]
|