Home
last modified time | relevance | path

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

12345678910>>...100

/external/apache-http/src/org/apache/http/conn/scheme/
DSchemeRegistry.java2 …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 …]
DScheme.java2 …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/syzkaller/vendor/google.golang.org/grpc/resolver/
Dresolver.go24 // m is a map from scheme to resolver builder.
26 // defaultScheme is the default scheme to use.
32 // Register registers the resolver builder to the resolver map. b.Scheme will be
33 // used as the scheme registered with this builder.
39 m[b.Scheme()] = b
42 // Get returns the resolver builder registered with the given scheme.
44 // If no builder is register with the scheme, nil will be returned.
45 func Get(scheme string) Builder {
46 if b, ok := m[scheme]; ok {
52 // SetDefaultScheme sets the default scheme that will be used.
[all …]
/external/python/cpython2/Doc/library/
Dsysconfig.rst65 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/
Durlparse.py14 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/grpc-grpc/
D.travis.yml11 - 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/apache-http/src/org/apache/http/auth/
DAuthScope.java39 * 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 …]
DAuthSchemeRegistry.java42 * Authentication scheme registry that can be used to obtain the corresponding
43 * authentication scheme implementation for a given type of authorization challenge.
68 * retrieve the {@link AuthScheme authentication scheme} from {@link #getAuthScheme}.
72 * for the new {@link AuthScheme authentication scheme} to take effect.
75 * @param name the identifier for this scheme
87 throw new IllegalArgumentException("Authentication scheme factory may not be null"); in register()
93 * Unregisters the class implementing an {@link AuthScheme authentication scheme} with
106 * Gets the {@link AuthScheme authentication scheme} with the given name.
108 * @param name the {@link AuthScheme authentication scheme} identifier
110 * scheme.
[all …]
/external/curl/tests/libtest/
Dlib1536.c31 char *scheme; in test() local
38 /* Test that scheme is properly initialized on curl_easy_init. in test()
41 res = curl_easy_getinfo(curl, CURLINFO_SCHEME, &scheme); in test()
47 if(scheme != NULL) { in test()
48 fprintf(stderr, "%s:%d scheme init failed; expected NULL\n", in test()
63 /* Test that a scheme is properly set after receiving an HTTP resource. in test()
66 res = curl_easy_getinfo(curl, CURLINFO_SCHEME, &scheme); in test()
72 if(memcmp(scheme, "HTTP", 5) != 0) { in test()
73 fprintf(stderr, "%s:%d scheme of http resource is incorrect; " in test()
76 (scheme == NULL ? "NULL" : "invalid")); in test()
[all …]
/external/python/cpython3/Doc/library/
Dsysconfig.rst67 Python uses an installation scheme that differs depending on the platform and on
72 Distutils-based system will follow the same scheme to copy its file in the right
77 - *posix_prefix*: scheme for Posix platforms like Linux or Mac OS X. This is
78 the default scheme used when Python or a component is installed.
79 - *posix_home*: scheme for Posix platforms used when a *home* option is used
80 upon installation. This scheme is used when a component is installed through
82 - *posix_user*: scheme for Posix platforms used when a component is installed
83 through Distutils and the *user* option is used. This scheme defines paths
85 - *nt*: scheme for NT platforms like Windows.
86 - *nt_user*: scheme for NT platforms, when the *user* option is used.
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DChallenge.java22 private final String scheme; field in Challenge
25 public Challenge(String scheme, String realm) { in Challenge() argument
26 this.scheme = scheme; in Challenge()
30 /** Returns the authentication scheme, like {@code Basic}. */
32 return scheme; in getScheme()
42 && equal(scheme, ((Challenge) o).scheme) in equals()
49 result = 31 * result + (scheme != null ? scheme.hashCode() : 0); in hashCode()
54 return scheme + " realm=\"" + realm + "\""; in toString()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DChallenge.java24 private final String scheme; field in Challenge
27 public Challenge(String scheme, String realm) { in Challenge() argument
28 this.scheme = scheme; in Challenge()
32 /** Returns the authentication scheme, like {@code Basic}. */
34 return scheme; in getScheme()
44 && equal(scheme, ((Challenge) o).scheme) in equals()
51 result = 31 * result + (scheme != null ? scheme.hashCode() : 0); in hashCode()
56 return scheme + " realm=\"" + realm + "\""; in toString()
/external/curl/docs/libcurl/opts/
DCURLINFO_SCHEME.326 CURLINFO_SCHEME \- get the URL scheme (sometimes called protocol) used in the connection
30 CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SCHEME, char **scheme);
33 string holding the URL scheme used for the most recent connection done with
36 The \fBscheme\fP pointer will be NULL or pointing to private memory you MUST
49 char *scheme = NULL;
50 curl_easy_getinfo(curl, CURLINFO_SCHEME, &scheme);
51 if(scheme)
52 printf("scheme: %s\\n", scheme); /* scheme: HTTP */
/external/fonttools/Lib/fontTools/ttLib/tables/
DgrUtils.py9 #old scheme for VERSION < 0.9 otherwise use lz4.block
13 scheme = compression >> 27
15 if scheme == 0:
17 elif scheme == 1 and lz4:
24 warnings.warn("Table is compressed with an unsupported compression scheme")
25 return (data, scheme)
27 def compress(scheme, data): argument
28 hdr = data[:4] + struct.pack(">L", (scheme << 27) + (len(data) & 0x07ffffff))
29 if scheme == 0 :
31 elif scheme == 1 and lz4:
[all …]
/external/curl/docs/libcurl/
Dcurl_url_get.350 return the default port for the used scheme.
52 If the handle has no scheme stored, this option will make
53 \fIcurl_url_get(3)\fP return the default scheme instead of error.
56 default port for the scheme.
59 will not attempt to decode the scheme, the port number or the full URL.
75 Scheme cannot be URL decoded on get.
98 char *scheme;
99 rc = curl_url_get(url, CURLUPART_SCHEME, &scheme, 0);
101 printf("the scheme is %s\\n", scheme);
102 curl_free(scheme);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DPBEPBKDF2.java151 private int scheme; field in PBEPBKDF2.BasePBKDF2
158 public BasePBKDF2(String name, int scheme) in BasePBKDF2() argument
160 this(name, scheme, SHA1); in BasePBKDF2()
164 // public BasePBKDF2(String name, int scheme, int defaultDigest)
166 String name, int scheme, int digest, int keySizeInBits, int ivSizeInBits) in BasePBKDF2() argument
171 this.scheme = scheme; in BasePBKDF2()
180 private BasePBKDF2(String name, int scheme, int digest) { in BasePBKDF2() argument
181 this(name, scheme, digest, 0, 0); in BasePBKDF2()
201 this.algName, this.algOid, scheme, defaultDigest, keySizeInBits, in engineGenerateSecret()
212 // scheme == PKCS5S2 ? PasswordConverter.ASCII : PasswordConverter.UTF8); in engineGenerateSecret()
[all …]
/external/apache-http/android/src/android/net/http/
DHttpAuthHeader.java40 * An authentication scheme. We currently support two different schemes:
81 * implementations compliant with this version of the Digest scheme.
114 * most one authentication-scheme (ensured by the caller).
179 * @return The authentication scheme requested. We currently
234 * @return True iff the authentication scheme requested by the
257 * Parses the header scheme name and then scheme parameters if
258 * the scheme is supported.
268 // if we have a supported scheme in parseHeader()
277 * Parses the authentication scheme name. If we have a Digest
278 * scheme, sets the algorithm value to the default of MD5.
[all …]
/external/apache-http/src/org/apache/http/
DHttpHost.java41 * This includes remote host name, port and scheme.
57 /** The default scheme is "http". */
70 /** The scheme */
80 * <code>-1</code> indicates the scheme default port.
81 * @param scheme the name of the scheme.
83 * {@link #DEFAULT_SCHEME_NAME default scheme}
85 public HttpHost(final String hostname, int port, final String scheme) { in HttpHost() argument
92 if (scheme != null) { in HttpHost()
93 this.schemeName = scheme.toLowerCase(Locale.ENGLISH); in HttpHost()
101 * Creates a new {@link HttpHost HttpHost}, with default scheme.
[all …]
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dparse_address.cc42 if (strcmp("unix", uri->scheme) != 0) { in grpc_parse_unix()
43 gpr_log(GPR_ERROR, "Expected 'unix' scheme, got '%s'", uri->scheme); in grpc_parse_unix()
84 if (log_errors) gpr_log(GPR_ERROR, "no port given for ipv4 scheme"); in grpc_parse_ipv4_hostport()
102 if (strcmp("ipv4", uri->scheme) != 0) { in grpc_parse_ipv4()
103 gpr_log(GPR_ERROR, "Expected 'ipv4' scheme, got '%s'", uri->scheme); in grpc_parse_ipv4()
168 if (log_errors) gpr_log(GPR_ERROR, "no port given for ipv6 scheme"); in grpc_parse_ipv6_hostport()
186 if (strcmp("ipv6", uri->scheme) != 0) { in grpc_parse_ipv6()
187 gpr_log(GPR_ERROR, "Expected 'ipv6' scheme, got '%s'", uri->scheme); in grpc_parse_ipv6()
197 if (strcmp("unix", uri->scheme) == 0) { in grpc_parse_uri()
199 } else if (strcmp("ipv4", uri->scheme) == 0) { in grpc_parse_uri()
[all …]
/external/libbrillo/brillo/http/
Dhttp_proxy.cc63 std::string scheme = base::ToLowerASCII(std::string(token.begin(), space)); in ParseProxyInfo() local
65 if (scheme == "socks") { in ParseProxyInfo()
66 scheme += "4"; in ParseProxyInfo()
67 } else if (scheme == "proxy") { in ParseProxyInfo()
68 scheme = "http"; in ParseProxyInfo()
69 } else if (scheme != "https" && scheme != "socks4" && scheme != "socks5" && in ParseProxyInfo()
70 scheme != "direct") { in ParseProxyInfo()
71 LOG(ERROR) << "Invalid proxy scheme found of: " << scheme; in ParseProxyInfo()
77 if (scheme != "direct" && host_and_port.empty()) { in ParseProxyInfo()
81 proxies_out->push_back(scheme + "://" + host_and_port); in ParseProxyInfo()
/external/python/cpython3/Lib/urllib/
Dparse.py14 RFC 2368: "The mailto URL scheme", by P.Hoffman , L Masinter, J. Zawinski, July 1998.
42 # The empty string classifies URLs with no scheme specified,
73 # Characters valid in scheme names
118 # "scheme=''" default argument to some functions
239 'SplitResult', 'scheme netloc path query fragment')
241 'ParseResult', 'scheme netloc path params query fragment')
259 SplitResult(scheme, netloc, path, query, fragment)
265 _SplitResultBase.scheme.__doc__ = """Specifies URL scheme for the request."""
277 in path component, identifies a resource in the scope of URI's scheme and
287 ParseResult(scheme, netloc, path, params, query, fragment)
[all …]
/external/pdfium/third_party/libtiff/
Dtif_compress.c30 * Compression Scheme Configuration Support.
45 "Compression scheme %u %s encoding is not implemented", in TIFFNoEncode()
83 "Compression scheme %u %s decoding is not implemented", in TIFFNoDecode()
161 TIFFSetCompressionScheme(TIFF* tif, int scheme) in TIFFSetCompressionScheme() argument
163 const TIFFCodec *c = TIFFFindCODEC((uint16) scheme); in TIFFSetCompressionScheme()
167 * Don't treat an unknown compression scheme as an error. in TIFFSetCompressionScheme()
172 return (c ? (*c->init)(tif, scheme) : 1); in TIFFSetCompressionScheme()
187 TIFFFindCODEC(uint16 scheme) in TIFFFindCODEC() argument
193 if (cd->info->scheme == scheme) in TIFFFindCODEC()
196 if (c->scheme == scheme) in TIFFFindCODEC()
[all …]
/external/libcups/cups/
Dhttp-support.c161 const char *scheme, /* I - Scheme name */ in httpAssembleURI() argument
175 if (!uri || urilen < 1 || !scheme || port < 0) in httpAssembleURI()
184 * Assemble the URI starting with the scheme... in httpAssembleURI()
188 ptr = http_copy_encode(uri, scheme, end, NULL, NULL, 0); in httpAssembleURI()
193 if (!strcmp(scheme, "geo") || !strcmp(scheme, "mailto") || !strcmp(scheme, "tel")) in httpAssembleURI()
441 const char *scheme, /* I - Scheme name */ in httpAssembleURIf() argument
457 if (!uri || urilen < 1 || !scheme || port < 0 || !resourcef) in httpAssembleURIf()
479 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 …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DPBESecretKeyFactory.java17 private int scheme; field in PBESecretKeyFactory
26 int scheme, in PBESecretKeyFactory() argument
34 this.scheme = scheme; in PBESecretKeyFactory()
51 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret()
56 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); in engineGenerateSecret()
60 param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); in engineGenerateSecret()
63 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/
DPBEPBKDF2.java158 private int scheme; field in PBEPBKDF2.BasePBKDF2
165 public BasePBKDF2(String name, int scheme) in BasePBKDF2() argument
167 this(name, scheme, SHA1); in BasePBKDF2()
171 // public BasePBKDF2(String name, int scheme, int defaultDigest)
173 String name, int scheme, int digest, int keySizeInBits, int ivSizeInBits) in BasePBKDF2() argument
178 this.scheme = scheme; in BasePBKDF2()
187 private BasePBKDF2(String name, int scheme, int digest) { in BasePBKDF2() argument
188 this(name, scheme, digest, 0, 0); in BasePBKDF2()
208 this.algName, this.algOid, scheme, defaultDigest, keySizeInBits, in engineGenerateSecret()
219 // scheme == PKCS5S2 ? PasswordConverter.ASCII : PasswordConverter.UTF8); in engineGenerateSecret()
[all …]

12345678910>>...100