| /external/libmonet/scheme/ |
| D | Scheme.java | 19 package com.google.ux.material.libmonet.scheme; 25 /** Represents a Material color scheme, a mapping of color roles to colors. */ 27 public class Scheme { class 58 public Scheme() {} in Scheme() method in Scheme 60 public Scheme( in Scheme() method in Scheme 122 /** Creates a light theme Scheme from a source color in ARGB, i.e. a hex code. */ 123 public static Scheme light(int argb) { in light() 127 /** Creates a dark theme Scheme from a source color in ARGB, i.e. a hex code. */ 128 public static Scheme dark(int argb) { in dark() 132 /** 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 | 26 // <scheme>" "<host>[":"<port>] 28 // Where <scheme> may be one of (case-insensitive): 38 // chosen scheme (via ProxyServer::GetDefaultPortForScheme()). 40 // If parsing fails the returned proxy will have scheme 44 // "PROXY foopy:19" {scheme=HTTP, host="foopy", port=19} 45 // "DIRECT" {scheme=DIRECT} 46 // "SOCKS5 foopy" {scheme=SOCKS5, host="foopy", port=1080} 47 // "HTTPS foopy:123" {scheme=HTTPS, host="foopy", port=123} 48 // "QUIC foopy:123" {scheme=QUIC, host="foopy", port=123} 58 // [<scheme>"://"]<server>[":"<port>] [all …]
|
| D | proxy_string_util.cc | 22 // Parses the proxy type from a PAC string, to a ProxyServer::Scheme. 25 ProxyServer::Scheme GetSchemeFromPacTypeInternal(base::StringPiece 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() 117 // Everything to the left of the space is the scheme. in PacResultElementToProxyServer() 118 ProxyServer::Scheme scheme = in PacResultElementToProxyServer() local 123 return FromSchemeHostAndPort(scheme, pac_result_element.substr(space)); in PacResultElementToProxyServer() 127 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, absl::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/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 | 27 // For each (scheme_host_port, realm, scheme) triple the cache stores a 29 // - the origin server {protocol scheme, host, port} 31 // - the last auth handler used (contains realm and authentication scheme) 33 // Entries can be looked up by either (origin, realm, scheme) or (origin, path). 48 // The authentication scheme of the challenge. 49 HttpAuth::Scheme scheme() const { in scheme() function 100 HttpAuth::Scheme scheme_ = HttpAuth::AUTH_SCHEME_MAX; 142 // scheme |scheme|. If a matching entry is found, move it up by one place 145 // |scheme_host_port| - the {scheme, host, port} of the server. 148 // |scheme| - the authentication scheme (i.e. basic, negotiate). [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); 113 *schemedata; /* Scheme-specific data */ in cupsDoAuthentication() 114 char scheme[256], /* Scheme name */ in cupsDoAuthentication() local 168 …_scheme(www_auth, scheme, sizeof(scheme)); schemedata; schemedata = cups_auth_scheme(schemedata + … in cupsDoAuthentication() 171 * Check the scheme name... in cupsDoAuthentication() 174 DEBUG_printf(("2cupsDoAuthentication: Trying scheme \"%s\"...", scheme)); in cupsDoAuthentication() 177 if (!_cups_strcasecmp(scheme, "Negotiate")) in cupsDoAuthentication() 204 if (_cups_strcasecmp(scheme, "Basic") && _cups_strcasecmp(scheme, "Digest")) 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 169 return compare_to[0] == 0; // When component is empty, match empty scheme. in DoCompareSchemeComponent() 176 // Returns true and sets |type| to the SchemeType of the given scheme 177 // 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/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 - *nt*: scheme for NT platforms like Windows. 87 - *nt_user*: scheme for NT platforms, when the *user* option is used. [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/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/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/rust/crates/grpcio-sys/grpc/ |
| D | .travis.yml | 11 - SCHEME="RxLibraryUnitTests" 14 - SCHEME="InteropTestsLocalSSL" 17 - SCHEME="InteropTestsLocalCleartext" 21 # - SCHEME="InteropTestsRemote" 24 - SCHEME="HelloWorld" 27 - SCHEME="RouteGuideClient" 30 - SCHEME="AuthSample" 33 - SCHEME="Sample" 36 - SCHEME="Sample" 39 - SCHEME="SwiftSample" [all …]
|
| /external/grpc-grpc/ |
| D | .travis.yml | 11 - SCHEME="RxLibraryUnitTests" 14 - SCHEME="InteropTestsLocalSSL" 17 - SCHEME="InteropTestsLocalCleartext" 21 # - SCHEME="InteropTestsRemote" 24 - SCHEME="HelloWorld" 27 - SCHEME="RouteGuideClient" 30 - SCHEME="AuthSample" 33 - SCHEME="Sample" 36 - SCHEME="Sample" 39 - SCHEME="SwiftSample" [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 …]
|
| /external/tensorflow/tensorflow/core/platform/ |
| D | env.cc | 58 Status Register(const std::string& scheme, Factory factory) override; 59 Status Register(const std::string& scheme, 61 FileSystem* Lookup(const std::string& scheme) override; 71 Status FileSystemRegistryImpl::Register(const std::string& scheme, in Register() argument 74 if (!registry_.emplace(scheme, std::unique_ptr<FileSystem>(factory())) in Register() 76 return errors::AlreadyExists("File factory for ", scheme, in Register() 83 const std::string& scheme, std::unique_ptr<FileSystem> filesystem) { in Register() argument 85 if (!registry_.emplace(scheme, std::move(filesystem)).second) { in Register() 86 return errors::AlreadyExists("File system for ", scheme, in Register() 92 FileSystem* FileSystemRegistryImpl::Lookup(const std::string& scheme) { in Lookup() argument [all …]
|
| /external/apache-http/src/org/apache/http/auth/ |
| D | AuthScope.java | 39 * a port number, a realm name and an authentication scheme name which 71 * The <tt>null</tt> value represents any authentication scheme. 76 * Default scope matching any host, port, realm and authentication scheme. 82 /** The authentication scheme the credentials apply to. */ 83 private final String scheme; field in AuthScope 96 * <tt>authentication scheme</tt>. 107 * @param scheme the authentication scheme the credentials apply to. 109 * any authentication scheme. 112 final String realm, final String scheme) in AuthScope() argument 117 this.scheme = (scheme == null) ? ANY_SCHEME: scheme.toUpperCase(Locale.ENGLISH); in AuthScope() [all …]
|