/external/okhttp/src/main/java/libcore/net/http/ |
H A D | Challenge.java | 23 final String scheme; field in class:Challenge 26 Challenge(String scheme, String realm) { argument 27 this.scheme = scheme; 33 && ((Challenge) o).scheme.equals(scheme) 38 return scheme.hashCode() + 31 * realm.hashCode();
|
/external/webkit/Source/WebCore/platform/ |
H A D | SchemeRegistry.cpp | 107 void SchemeRegistry::registerURLSchemeAsLocal(const String& scheme) argument 109 localURLSchemes().add(scheme); 112 void SchemeRegistry::removeURLSchemeRegisteredAsLocal(const String& scheme) argument 114 if (scheme == "file") 117 if (scheme == "applewebdata") 120 localURLSchemes().remove(scheme); 128 bool SchemeRegistry::shouldTreatURLSchemeAsLocal(const String& scheme) argument 130 if (scheme.isEmpty()) 132 return localURLSchemes().contains(scheme); 135 void SchemeRegistry::registerURLSchemeAsNoAccess(const String& scheme) argument 140 shouldTreatURLSchemeAsNoAccess(const String& scheme) argument 147 registerURLSchemeAsDisplayIsolated(const String& scheme) argument 152 shouldTreatURLSchemeAsDisplayIsolated(const String& scheme) argument 159 registerURLSchemeAsSecure(const String& scheme) argument 164 shouldTreatURLSchemeAsSecure(const String& scheme) argument 171 registerURLSchemeAsEmptyDocument(const String& scheme) argument 176 shouldLoadURLSchemeAsEmptyDocument(const String& scheme) argument 183 canDisplayOnlyIfCanRequest(const String& scheme) argument 190 registerAsCanDisplayOnlyIfCanRequest(const String& scheme) argument [all...] |
H A D | SchemeRegistry.h | 55 // SecurityOrigin::canDisplay) by documents from the same scheme. 64 static bool canDisplayOnlyIfCanRequest(const String& scheme); 65 static void registerAsCanDisplayOnlyIfCanRequest(const String& scheme);
|
/external/webkit/Source/WebKit/chromium/src/ |
H A D | WebSecurityPolicy.cpp | 45 void WebSecurityPolicy::registerURLSchemeAsLocal(const WebString& scheme) argument 47 SchemeRegistry::registerURLSchemeAsLocal(scheme); 50 void WebSecurityPolicy::registerURLSchemeAsNoAccess(const WebString& scheme) argument 52 SchemeRegistry::registerURLSchemeAsNoAccess(scheme); 55 void WebSecurityPolicy::registerURLSchemeAsDisplayIsolated(const WebString& scheme) argument 57 SchemeRegistry::registerURLSchemeAsDisplayIsolated(scheme); 60 void WebSecurityPolicy::registerURLSchemeAsSecure(const WebString& scheme) argument 62 SchemeRegistry::registerURLSchemeAsSecure(scheme);
|
/external/chromium/net/proxy/ |
H A D | proxy_server_mac.cc | 18 ProxyServer ProxyServer::FromDictionary(Scheme scheme, argument 22 if (scheme == SCHEME_INVALID || scheme == SCHEME_DIRECT) { 24 return ProxyServer(scheme, HostPortPair()); 45 port = GetDefaultPortForScheme(scheme); 48 return ProxyServer(scheme, HostPortPair(host, port));
|
H A D | proxy_server.h | 41 ProxyServer(Scheme scheme, const HostPortPair& host_port_pair); 45 // Gets the proxy's scheme (i.e. SOCKS4, SOCKS5, HTTP) 46 Scheme scheme() const { return scheme_; } function in class:net::ProxyServer 65 // [<scheme>"://"]<server>[":"<port>] 67 // Both <scheme> and <port> are optional. If <scheme> is omitted, it will be 69 // the default port for the chosen scheme (80 for "http", 1080 for "socks"). 74 // "foopy" {scheme=HTTP, host="foopy", port=80} 75 // "socks://foopy" {scheme=SOCKS5, host="foopy", port=1080} 76 // "socks4://foopy" {scheme [all...] |
H A D | proxy_server.cc | 44 // Parses the proxy scheme from a URL-like representation, to a 74 ProxyServer::ProxyServer(Scheme scheme, const HostPortPair& host_port_pair) argument 75 : scheme_(scheme), host_port_pair_(host_port_pair) { 86 // Doesn't make sense to call this if the URI scheme doesn't 102 // We will default to |default_scheme| if no scheme specifier was given. 103 Scheme scheme = default_scheme; local 108 // Check for [<scheme> "://"] 114 scheme = GetSchemeFromURIInternal(begin, colon); 119 return FromSchemeHostAndPort(scheme, begin, end); 127 // Leave off "http://" since it is our default scheme 165 Scheme scheme = GetSchemeFromPacTypeInternal(begin, space); local 193 GetDefaultPortForScheme(Scheme scheme) argument 208 GetSchemeFromURI(const std::string& scheme) argument 213 FromSchemeHostAndPort( Scheme scheme, std::string::const_iterator begin, std::string::const_iterator end) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
H A D | PBESecretKeyFactory.java | 17 private int scheme; field in class:PBESecretKeyFactory 26 int scheme, 34 this.scheme = scheme; 51 return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); 56 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); 60 param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); 63 return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); 22 PBESecretKeyFactory( String algorithm, DERObjectIdentifier oid, boolean forCipher, int scheme, int digest, int keySize, int ivSize) argument
|
/external/chromium/net/base/ |
H A D | auth.cc | 15 this->scheme == that.scheme &&
|
/external/chromium/net/url_request/ |
H A D | url_request_filter.cc | 19 const std::string& scheme) { 21 return GetInstance()->FindRequestHandler(request, scheme); 31 void URLRequestFilter::AddHostnameHandler(const std::string& scheme, argument 33 hostname_handler_map_[make_pair(scheme, hostname)] = factory; 36 URLRequest::RegisterProtocolFactory(scheme, &URLRequestFilter::Factory); 44 hostname_handler_map_.find(make_pair(url.scheme(), url.host())); 51 void URLRequestFilter::RemoveHostnameHandler(const std::string& scheme, argument 54 hostname_handler_map_.find(make_pair(scheme, hostname)); 59 // this would left no protocol factory for the scheme. 72 URLRequest::RegisterProtocolFactory(url.scheme(), 18 Factory(URLRequest* request, const std::string& scheme) argument 119 FindRequestHandler( URLRequest* request, const std::string& scheme) argument [all...] |
H A D | url_request_job_manager.cc | 27 const char* scheme; member in struct:net::__anon3091::SchemeToFactory 55 // If we are given an invalid URL, then don't even try to inspect the scheme. 60 const std::string& scheme = request->url().scheme(); // already lowercase local 61 if (!SupportsScheme(scheme)) 81 FactoryMap::const_iterator i = factories_.find(scheme); 83 URLRequestJob* job = i->second(request, scheme); 90 if (scheme == kBuiltinFactories[i].scheme) { 91 URLRequestJob* job = (kBuiltinFactories[i].factory)(request, scheme); 160 RegisterProtocolFactory( const std::string& scheme, URLRequest::ProtocolFactory* factory) argument [all...] |
/external/webkit/Source/WebCore/platform/network/cf/ |
H A D | AuthenticationCF.cpp | 153 CFURLProtectionSpaceAuthenticationScheme scheme = kCFURLProtectionSpaceAuthenticationSchemeDefault; local 156 scheme = kCFURLProtectionSpaceAuthenticationSchemeDefault; 159 scheme = kCFURLProtectionSpaceAuthenticationSchemeHTTPBasic; 162 scheme = kCFURLProtectionSpaceAuthenticationSchemeHTTPDigest; 165 scheme = kCFURLProtectionSpaceAuthenticationSchemeHTMLForm; 168 scheme = kCFURLProtectionSpaceAuthenticationSchemeNTLM; 171 scheme = kCFURLProtectionSpaceAuthenticationSchemeNegotiate; 179 CFURLProtectionSpaceRef result = CFURLProtectionSpaceCreate(0, host, coreSpace.port(), serverType, realm, scheme); 240 ProtectionSpaceAuthenticationScheme scheme = ProtectionSpaceAuthenticationSchemeDefault; local 244 scheme [all...] |
/external/apache-http/src/org/apache/http/auth/ |
H A D | AuthScope.java | 39 * a port number, a realm name and an authentication scheme name which 66 * The <tt>null</tt> value represents any authentication scheme. 71 * Default scope matching any host, port, realm and authentication scheme. 77 /** The authentication scheme the credentials apply to. */ 78 private final String scheme; field in class:AuthScope 91 * <tt>authentication scheme</tt>. 102 * @param scheme the authentication scheme the credentials apply to. 104 * any authentication scheme. 107 final String realm, final String scheme) 106 AuthScope(final String host, int port, final String realm, final String scheme) argument [all...] |
/external/apache-http/src/org/apache/http/conn/scheme/ |
H A D | HostNameResolver.java | 32 package org.apache.http.conn.scheme;
|
H A D | LayeredSocketFactory.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/LayeredSocketFactory.java $ 32 package org.apache.http.conn.scheme;
|
/external/chromium/net/socket_stream/ |
H A D | socket_stream_job_manager.cc | 32 const std::string& scheme = url.scheme(); // already lowercase local 35 FactoryMap::const_iterator found = factories_.find(scheme); 48 const std::string& scheme, SocketStreamJob::ProtocolFactory* factory) { 52 FactoryMap::iterator found = factories_.find(scheme); 59 factories_[scheme] = factory; 47 RegisterProtocolFactory( const std::string& scheme, SocketStreamJob::ProtocolFactory* factory) argument
|
/external/chromium/googleurl/src/ |
H A D | url_canon_stdurl.cc | 47 bool success = CanonicalizeScheme(source.scheme, parsed.scheme, 48 output, &new_parsed->scheme); 56 // Only write the authority separators when we have a scheme. 57 if (parsed.scheme.is_valid()) { 78 &output->data()[new_parsed->scheme.begin], new_parsed->scheme.len); 120 // Returns the default port for the given canonical scheme, or PORT_UNSPECIFIED 121 // if the scheme is unknown. 122 int DefaultPortForScheme(const char* scheme, in argument [all...] |
/external/chromium/chrome/browser/content_settings/ |
H A D | content_settings_pattern.h | 54 std::string scheme() const { function in class:ContentSettingsPattern 69 // refactoring pending to fully integrate scheme support in content settings 71 ContentSettingsPattern(const std::string& host, const std::string& scheme) argument 73 scheme_(scheme) {} 78 // to do to add scheme support to content-settings patterns.
|
/external/chromium/chrome/browser/custom_handlers/ |
H A D | protocol_handler_registry.h | 46 ProtocolHandler* GetHandlerFor(const std::string& scheme) const; 49 // scheme. 50 bool CanSchemeBeOverridden(const std::string& scheme) const; 58 const std::string& scheme);
|
/external/webkit/Source/WebKit/qt/Api/ |
H A D | qwebsecurityorigin.h | 40 static void addLocalScheme(const QString& scheme); 41 static void removeLocalScheme(const QString& scheme); 46 QString scheme() const;
|
/external/chromium/chrome/browser/ |
H A D | external_protocol_handler.h | 23 // Returns whether we should block a given scheme. 24 static BlockState GetBlockState(const std::string& scheme); 26 // Sets whether we should block a given scheme. 27 static void SetBlockState(const std::string& scheme, BlockState state);
|
/external/chromium/webkit/glue/ |
H A D | password_form.cc | 10 : scheme(SCHEME_HTML), 17 : scheme(SCHEME_HTML),
|
/external/webkit/Source/WebCore/html/ |
H A D | HTMLMetaElement.idl | 26 attribute [Reflect] DOMString scheme;
|
/external/apache-http/src/org/apache/http/conn/ |
H A D | ClientConnectionManagerFactory.java | 34 import org.apache.http.conn.scheme.SchemeRegistry;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
H A D | PBES2Algorithms.java | 20 private EncryptionScheme scheme; field in class:PBES2Algorithms 46 scheme = new EncryptionScheme((ASN1Sequence)e.nextElement()); 61 return scheme; 72 subV.add(scheme);
|