HomeSort by relevance Sort by last modified time
    Searched refs:scheme (Results 76 - 100 of 271) sorted by null

1 2 34 5 6 7 8 91011

  /external/chromium/googleurl/src/
url_canon_internal.cc 312 DoOverrideComponent(repl_source.scheme, repl_parsed.scheme,
313 &source->scheme, &parsed->scheme);
347 repl_source.scheme, repl_parsed.scheme,
348 utf8_buffer, &parsed->scheme);
374 if (repl_source.scheme) source->scheme = utf8_buffer->data();
gurl.h 186 // scheme and the authority. If this URL is not a standard URL (it doesn't
195 // A helper function to return a GURL containing just the scheme, host,
206 // Returns true if the scheme for the current URL is a known "standard"
207 // scheme or there is a "://" after it. Standard schemes have an authority
213 // the canonicalized scheme) is the scheme for this URL. This call is more
214 // efficient than getting the scheme and comparing it because no copies or
224 // If the scheme indicates a secure connection
236 std::string scheme() const { // Not including the colon. See also SchemeIs. function in class:GURL
237 return ComponentString(parsed_.scheme);
    [all...]
gurl.cc 139 DCHECK(test_url.parsed_.scheme == parsed_.scheme);
308 parsed_.scheme);
312 if (parsed_.scheme.len <= 0)
314 return url_util::LowerCaseEqualsASCII(spec_.data() + parsed_.scheme.begin,
315 spec_.data() + parsed_.scheme.end(),
328 return url_canon::DefaultPortForScheme(spec_.data() + parsed_.scheme.begin,
329 parsed_.scheme.len);
url_canon_mailtourl.cc 48 // mailto: only uses {scheme, path, query} -- clear the rest.
55 // Scheme (known, so we don't bother running it through the more
56 // complicated scheme canonicalizer).
57 new_parsed->scheme.begin = output->length();
59 new_parsed->scheme.len = 6;
url_canon_relative.cc 47 // don't have to worry about invalid scheme characters since we are comparing
48 // against the canonical scheme of the base.
113 // as relative, as this will just replace the path when the base scheme
123 // See if we've got a scheme, if not, we know this is a relative URL.
124 // BUT: Just because we have a scheme, doesn't make it absolute.
125 // "http:foo.html" is a relative URL with path "foo.html". If the scheme is
127 url_parse::Component scheme;
128 if (!url_parse::ExtractScheme(url, url_len, &scheme) || scheme.len == 0) {
129 // Don't allow relative URLs if the base scheme doesn't support it
    [all...]
url_util.h 43 // Adds an application-defined scheme to the internal list of "standard" URL
47 // Locates the scheme in the given string and places it into |found_scheme|,
49 // Returns whether the given |compare| scheme matches the scheme found in the
73 // either the scheme is in the list of known standard schemes, or there is a
74 // "://" following the scheme.
76 const url_parse::Component& scheme);
78 const url_parse::Component& scheme);
82 // Parses the given spec according to the extracted scheme type. Normal users
url_parse_unittest.cc 77 const char* scheme; member in struct:__anon2511::URLParseCase
91 const char* scheme; member in struct:__anon2511::PathURLParseCase
99 const char* scheme; member in struct:__anon2511::MailtoURLParseCase
176 {"http://u:p@h:8/p?q#r", Parsed::SCHEME, true, 0},
177 {"http://u:p@h:8/p?q#r", Parsed::SCHEME, false, 0},
206 {"", Parsed::SCHEME, true, 0},
233 // Input Scheme Usrname Passwd Host Port Path Query Ref
338 EXPECT_TRUE(ComponentMatches(url, cases[i].scheme, parsed.scheme));
372 EXPECT_TRUE(ComponentMatches(url, path_cases[i].scheme, parsed.scheme))
    [all...]
  /external/apache-http/src/org/apache/http/impl/conn/
DefaultClientConnectionOperator.java 48 import org.apache.http.conn.scheme.LayeredSocketFactory;
49 import org.apache.http.conn.scheme.PlainSocketFactory;
50 import org.apache.http.conn.scheme.Scheme;
51 import org.apache.http.conn.scheme.SchemeRegistry;
52 import org.apache.http.conn.scheme.SocketFactory;
74 /** The scheme registry for looking up socket factories. */
79 * Creates a new client connection operator for the given scheme registry.
81 * @param schemes the scheme registry
86 ("Scheme registry must not be null.")
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
MovieViewControl.java 88 String scheme = mUri.getScheme(); local
89 if ("http".equalsIgnoreCase(scheme)
90 || "rtsp".equalsIgnoreCase(scheme)) {
138 String scheme = uri.getScheme(); local
140 return ("content".equalsIgnoreCase(scheme)
  /packages/apps/Gallery3D/src/com/cooliris/media/
MovieViewControl.java 94 String scheme = mUri.getScheme(); local
95 if ("http".equalsIgnoreCase(scheme) || "rtsp".equalsIgnoreCase(scheme)) {
143 String scheme = uri.getScheme(); local
145 return ("content".equalsIgnoreCase(scheme) && MediaStore.AUTHORITY.equalsIgnoreCase(authority));
  /external/webkit/WebCore/platform/network/
CredentialStorage.cpp 96 ProtectionSpaceAuthenticationScheme scheme = protectionSpace.authenticationScheme(); local
97 if (scheme == ProtectionSpaceAuthenticationSchemeHTTPBasic || scheme == ProtectionSpaceAuthenticationSchemeDefault) {
  /frameworks/base/core/java/android/net/http/
HttpAuthHeader.java 40 * 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
277 * Parses the authentication scheme name. If we have a Diges
287 String scheme = header.substring(0, i).trim(); local
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppSendFileInfo.java 104 String scheme = u.getScheme(); local
108 // Support all Uri with "content" scheme
111 if (scheme.equals("content")) {
127 } else if (scheme.equals("file")) {
133 // currently don't accept other scheme
  /external/apache-http/src/org/apache/http/conn/
MultihomePlainSocketFactory.java 44 import org.apache.http.conn.scheme.PlainSocketFactory;
45 import org.apache.http.conn.scheme.SocketFactory;
  /external/webkit/WebCore/platform/
KURLGoogle.cpp 272 const char* scheme = m_utf8.data() + m_parsed.scheme.begin; local
273 if (m_parsed.scheme.len == 4)
274 m_protocolInHTTPFamily = lowerCaseEqualsASCII(scheme, scheme + 4, "http");
275 else if (m_parsed.scheme.len == 5)
276 m_protocolInHTTPFamily = lowerCaseEqualsASCII(scheme, scheme + 5, "https");
485 return m_url.componentString(m_url.m_parsed.scheme);
    [all...]
  /packages/apps/Email/tests/src/com/android/email/activity/setup/
AccountSetupAccountTypeUnitTests.java 117 private Account createTestAccount(String scheme) {
119 account.setStoreUri(mContext, scheme + "://user:pass@server.com:123");
  /external/nist-sip/java/gov/nist/javax/sip/address/
SipUri.java 82 this.scheme = SIP;
88 /** Constructor given the scheme.
89 * The scheme must be either Sip or Sips
91 public void setScheme(String scheme) {
92 if (scheme.compareToIgnoreCase(SIP) != 0
93 && scheme.compareToIgnoreCase(SIPS) != 0)
94 throw new IllegalArgumentException("bad scheme " + scheme);
95 this.scheme = scheme.toLowerCase()
    [all...]
  /external/apache-http/src/org/apache/http/conn/scheme/
SchemeRegistry.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/SchemeRegistry.java $
31 package org.apache.http.conn.scheme;
41 * A set of supported protocol {@link Scheme schemes}.
55 private final Map<String,Scheme> registeredSchemes;
59 * Creates a new, empty scheme registry.
63 registeredSchemes = new LinkedHashMap<String,Scheme>();
68 * Obtains a scheme by name.
70 * @param name the name of the scheme to look up (in lowercase)
72 * @return the scheme, never <code>null</code>
75 * if the scheme with the given name is not registere
    [all...]
  /external/bluetooth/glib/gio/
gicon.c 473 gchar *scheme; local
476 scheme = g_uri_parse_scheme (str);
477 if (scheme != NULL || str[0] == '/')
486 g_free (scheme);
  /external/chromium/net/http/
http_auth_handler.h 30 // Lowercase name of the auth scheme
31 const std::string& scheme() const { function in class:net::HttpAuthHandler
50 // Returns true if the authentication scheme does not send the username and
56 // Returns true if the authentication scheme is connection-based, for
57 // example, NTLM. A connection-based authentication scheme does not support
67 // sequence used by a connection-based authentication scheme.
97 // The lowercase auth-scheme {"basic", "digest", "ntlm", ...}
103 // The {scheme, host, port} for the authentication target. Used by "ntlm"
114 // A bitmask of the properties of the authentication scheme.
http_auth_sspi_win.h 28 HttpAuthSSPI(const std::string& scheme,
  /external/chromium/net/proxy/
proxy_config.h 56 // proxy-uri = [<proxy-scheme>://]<proxy-host>[:"<proxy-port>]
58 // If the proxy to use depends on the scheme of the URL, can instead specify
61 // <url-scheme>"="<proxy-uri>
72 // &socks_proxy}, or NULL if it is a scheme that we don't have a mapping
73 // for. If the scheme mapping is not present and socks_proxy is defined,
101 // &socks_proxy}, or NULL if it is a scheme that we don't have a mapping
103 ProxyServer* MapSchemeToProxy(const std::string& scheme);
  /external/chromium/net/url_request/
url_request_new_ftp_job.h 29 static URLRequestJob* Factory(URLRequest* request, const std::string& scheme);
  /external/libxml2/include/libxml/
uri.h 34 char *scheme; /* the URI scheme */ member in struct:_xmlURI
  /external/nist-sip/java/javax/sip/header/
HeaderFactory.java 32 AuthorizationHeader createAuthorizationHeader(String scheme)
103 ProxyAuthenticateHeader createProxyAuthenticateHeader(String scheme)
106 ProxyAuthorizationHeader createProxyAuthorizationHeader(String scheme)
178 WWWAuthenticateHeader createWWWAuthenticateHeader(String scheme)

Completed in 1215 milliseconds

1 2 34 5 6 7 8 91011