Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 25 of 274) sorted by relevance

1234567891011

/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()
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()
DHttpUrl.java42 private final String scheme; field in HttpUrl
69 private HttpUrl(String scheme, String username, String password, String host, int port, in HttpUrl() argument
71 this.scheme = scheme; in HttpUrl()
91 public String scheme() { in scheme() method in HttpUrl
92 return scheme; in scheme()
96 return scheme.equals("https"); in isHttps()
154 public static int defaultPort(String scheme) { in defaultPort() argument
155 if (scheme.equals("http")) { in defaultPort()
157 } else if (scheme.equals("https")) { in defaultPort()
264 String scheme; field in HttpUrl.Builder
[all …]
/external/apache-http/src/org/apache/http/auth/
DAuthScope.java83 private final String scheme; field in AuthScope
112 final String realm, final String scheme) in AuthScope() argument
117 this.scheme = (scheme == null) ? ANY_SCHEME: scheme.toUpperCase(Locale.ENGLISH); in AuthScope()
164 this.scheme = authscope.getScheme(); in AuthScope()
192 return this.scheme; in getScheme()
204 if (LangUtils.equals(this.scheme, that.scheme)) { in match()
207 if (this.scheme != ANY_SCHEME && that.scheme != ANY_SCHEME) { in match()
254 && LangUtils.equals(this.scheme, that.scheme); in equals()
263 if (this.scheme != null) { in toString()
264 buffer.append(this.scheme.toUpperCase(Locale.ENGLISH)); in toString()
[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/glide/library/src/main/java/com/bumptech/glide/load/model/
DUriLoader.java27 final String scheme = model.getScheme(); in getResourceFetcher() local
30 if (isLocalUri(scheme)) { in getResourceFetcher()
37 } else if (urlLoader != null && ("http".equals(scheme) || "https".equals(scheme))) { in getResourceFetcher()
48 private static boolean isLocalUri(String scheme) { in isLocalUri() argument
49 return ContentResolver.SCHEME_FILE.equals(scheme) in isLocalUri()
50 || ContentResolver.SCHEME_CONTENT.equals(scheme) in isLocalUri()
51 || ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme); in isLocalUri()
/external/robolectric/src/main/java/android/net/
DUri__FromAndroid.java477 private volatile String scheme = NOT_CACHED; field in Uri__FromAndroid.StringUri
481 boolean cached = (scheme != NOT_CACHED); in getScheme()
482 return cached ? scheme : (scheme = parseScheme()); in getScheme()
727 .scheme(getScheme()) in buildUpon()
734 .scheme(getScheme()) in buildUpon()
757 public static Uri__FromAndroid fromParts(String scheme, String ssp, in fromParts() argument
759 if (scheme == null) { in fromParts()
766 return new OpaqueUri(scheme, Part.fromDecoded(ssp), in fromParts()
778 private final String scheme; field in Uri__FromAndroid.OpaqueUri
782 private OpaqueUri(String scheme, Part ssp, Part fragment) { in OpaqueUri() argument
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DWebPlatformUrlTest.java89 if (!testData.scheme.isEmpty() && !JAVA_NET_URL_SCHEMES.contains(testData.scheme)) { in javaNetUrl()
90 System.out.println("Ignoring unsupported scheme " + testData.scheme); in javaNetUrl()
126 assertEquals("scheme", testData.scheme, url.getProtocol()); in testJavaNetUrl()
138 if (!testData.scheme.isEmpty() && !HTTP_URL_SCHEMES.contains(testData.scheme)) { in httpUrl()
139 System.out.println("Ignoring unsupported scheme " + testData.scheme); in httpUrl()
171 String effectivePort = url.port() != HttpUrl.defaultPort(url.scheme()) in testHttpUrl()
176 assertEquals("scheme", testData.scheme, url.scheme()); in testHttpUrl()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DPBES2Parameters.java17 private EncryptionScheme scheme; field in PBES2Parameters
37 this.scheme = encScheme; in PBES2Parameters()
55 scheme = EncryptionScheme.getInstance(e.nextElement()); in PBES2Parameters()
65 return scheme; in getEncryptionScheme()
73 v.add(scheme); in toASN1Primitive()
DPBES2Algorithms.java20 private EncryptionScheme scheme; field in PBES2Algorithms
46 scheme = EncryptionScheme.getInstance(e.nextElement()); in PBES2Algorithms()
61 return scheme; in getEncryptionScheme()
72 subV.add(scheme); in getASN1Primitive()
/external/nist-sip/java/gov/nist/javax/sip/header/
DAuthenticationHeader.java84 protected String scheme; field in AuthenticationHeader
89 this.scheme = ParameterNames.DIGEST; in AuthenticationHeader()
147 this.scheme = challenge.scheme; in setChallenge()
158 return this.scheme + SP + parameters.encode(); in encodeBody()
169 public void setScheme(String scheme) { in setScheme() argument
170 this.scheme = scheme; in setScheme()
180 return scheme; in getScheme()
DCredentials.java54 protected String scheme; field in Credentials
82 return scheme; in getScheme()
90 scheme = s; in setScheme()
102 String retval = scheme; in encode()
DChallenge.java62 protected String scheme; field in Challenge
82 return new StringBuffer(scheme) in encode()
93 return scheme; in getScheme()
240 scheme = s; in setScheme()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/
DSHA1.java99 private int scheme; field in SHA1.BasePBKDF2WithHmacSHA1
101 public BasePBKDF2WithHmacSHA1(String name, int scheme) in BasePBKDF2WithHmacSHA1() argument
105 this.scheme = scheme; in BasePBKDF2WithHmacSHA1()
141 … CipherParameters param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); in engineGenerateSecret()
143 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultUserTokenHandler.java84 AuthScheme scheme = authState.getAuthScheme(); in getAuthPrincipal() local
85 if (scheme != null && scheme.isComplete() && scheme.isConnectionBased()) { in getAuthPrincipal()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dproxy.py59 self.scheme = self.parsed[0].lower()
73 if self.scheme == 'http':
75 elif self.scheme == 'https':
79 "Unknown scheme for %r: %r" % (self.address, self.scheme))
186 scheme = environ['wsgi.url_scheme']
188 conn_scheme = scheme
197 "Unknown scheme %r" % scheme)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DDES.java296 private int scheme; field in DES.DESPBEKeyFactory
305 int scheme, in DESPBEKeyFactory() argument
313 this.scheme = scheme; in DESPBEKeyFactory()
330 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret()
335 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); in engineGenerateSecret()
339 param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); in engineGenerateSecret()
354 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
/external/nist-sip/java/gov/nist/javax/sip/address/
DTelURLImpl.java52 this.scheme = "tel"; in TelURLImpl()
87 return this.scheme; in getScheme()
158 return this.scheme + ":" + telephoneNumber.encode(); in toString()
166 buffer.append(this.scheme).append(':'); in encode()
DAddressFactoryImpl.java212 String scheme = urlParser.peekScheme(); in createURI() local
213 if (scheme == null) in createURI()
215 if (scheme.equalsIgnoreCase("sip")) { in createURI()
217 } else if (scheme.equalsIgnoreCase("sips")) { in createURI()
219 } else if (scheme.equalsIgnoreCase("tel")) { in createURI()
DGenericURI.java60 protected String scheme; field in GenericURI
75 scheme = uriString.substring(0, i); in GenericURI()
106 return scheme; in getScheme()
DSipUri.java82 this.scheme = SIP; in SipUri()
91 public void setScheme(String scheme) { in setScheme() argument
92 if (scheme.compareToIgnoreCase(SIP) != 0 in setScheme()
93 && scheme.compareToIgnoreCase(SIPS) != 0) in setScheme()
94 throw new IllegalArgumentException("bad scheme " + scheme); in setScheme()
95 this.scheme = scheme.toLowerCase(); in setScheme()
101 return scheme; in getScheme()
242 buffer.append(scheme).append(COLON); in encode()
964 this.scheme = SIPS; in setSecure()
966 this.scheme = SIP; in setSecure()
/external/clang/test/Rewriter/
Drewrite-property-set-cfstring.mm11 @property (retain) NSString *scheme; property
16 @synthesize scheme=_scheme;
19 discoveryInfo.scheme = @"https";
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/
Dclient.py41 scheme = environ['wsgi.url_scheme']
42 if scheme == 'http':
44 elif scheme == 'https':
48 "Unknown scheme: %r" % scheme)
57 if scheme == 'http':
/external/libxml2/
Duri.c221 if (uri->scheme != NULL) xmlFree(uri->scheme); in xmlParse3986Scheme()
222 uri->scheme = STRNDUP(*str, cur - *str); in xmlParse3986Scheme()
1075 if (uri->scheme != NULL) { in xmlSaveUri()
1076 p = uri->scheme; in xmlSaveUri()
1195 } else if (uri->scheme != NULL) { in xmlSaveUri()
1208 if ((uri->scheme != NULL) && in xmlSaveUri()
1213 (xmlStrEqual(BAD_CAST uri->scheme, BAD_CAST "file"))) { in xmlSaveUri()
1351 if (uri->scheme != NULL) xmlFree(uri->scheme); in xmlCleanURI()
1352 uri->scheme = NULL; in xmlCleanURI()
1381 if (uri->scheme != NULL) xmlFree(uri->scheme); in xmlFreeURI()
[all …]
/external/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c118 X509_ALGOR *scheme = NULL, *kalg = NULL, *ret = NULL; in PKCS5_pbe2_set_iv() local
135 scheme = pbe2->encryption; in PKCS5_pbe2_set_iv()
137 scheme->algorithm = (ASN1_OBJECT*) obj; in PKCS5_pbe2_set_iv()
138 if(!(scheme->parameter = ASN1_TYPE_new())) goto merr; in PKCS5_pbe2_set_iv()
154 if(param_to_asn1(&ctx, scheme->parameter) < 0) { in PKCS5_pbe2_set_iv()
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultClientConnectionOperator.java49 import org.apache.http.conn.scheme.LayeredSocketFactory;
50 import org.apache.http.conn.scheme.PlainSocketFactory;
51 import org.apache.http.conn.scheme.Scheme;
52 import org.apache.http.conn.scheme.SchemeRegistry;
53 import org.apache.http.conn.scheme.SocketFactory;

1234567891011