Searched refs:scheme (Results 226 - 250 of 687) sorted by relevance

1234567891011>>

/external/okhttp/src/main/java/com/squareup/okhttp/internal/
H A DUtil.java64 private static int getEffectivePort(String scheme, int specifiedPort) { argument
65 return specifiedPort != -1 ? specifiedPort : getDefaultPort(scheme);
68 public static int getDefaultPort(String scheme) { argument
69 if ("http".equalsIgnoreCase(scheme)) {
71 } else if ("https".equalsIgnoreCase(scheme)) {
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
H A DKURL.cpp329 return componentString(m_parsed.scheme);
419 // If KURL is given an invalid scheme, it returns failure without modifying
437 // finished building up its final scheme.
660 if (m_string.isNull() || !m_parsed.scheme.is_nonempty())
663 url_util::IsStandard(asURLChar8Subtle(m_string), m_parsed.scheme) :
664 url_util::IsStandard(m_string.characters16(), m_parsed.scheme);
786 m_innerURL = adoptPtr(new KURL(ParsedURLString, m_string.substring(innerParsed->scheme.begin, innerParsed->Length() - innerParsed->scheme.begin)));
792 bool internalProtocolIs(const url_parse::Component& scheme, const CHAR* spec, const char* protocol) argument
794 const CHAR* begin = spec + scheme
809 checkIfProtocolIsInHTTPFamily(const url_parse::Component& scheme, const CHAR* spec) argument
[all...]
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/
H A D__init__.py183 scheme, netloc, path, params, query, fragment = parts[:6]
188 return urlparse.urlunparse((scheme, netloc, path, params,
281 scheme, netloc, path, params, query, fragment = urlparse.urlparse(value)
284 if scheme == 'http' and netloc[-3:] == ':80':
286 elif scheme == 'https' and netloc[-4:] == ':443':
288 if scheme not in ('http', 'https'):
289 raise ValueError("Unsupported URL %s (%s)." % (value, scheme))
292 self.normalized_url = urlparse.urlunparse((scheme, netloc, path, None, None, None))
343 scheme = base_url.scheme
[all...]
/external/chromium/googleurl/src/
H A Dgurl.h191 // scheme and the authority. If this URL is not a standard URL (it doesn't
200 // A helper function to return a GURL containing just the scheme, host,
211 // Returns true if the scheme for the current URL is a known "standard"
212 // scheme. Standard schemes have an authority and a path section. This
218 // the canonicalized scheme) is the scheme for this URL. This call is more
219 // efficient than getting the scheme and comparing it because no copies or
229 // If the scheme indicates a secure connection
241 std::string scheme() const { // Not including the colon. See also SchemeIs. function in class:GURL
242 return ComponentString(parsed_.scheme);
[all...]
H A Dgurl.cc140 DCHECK(test_url.parsed_.scheme == parsed_.scheme);
315 return url_util::IsStandard(spec_.data(), parsed_.scheme);
319 if (parsed_.scheme.len <= 0)
321 return url_util::LowerCaseEqualsASCII(spec_.data() + parsed_.scheme.begin,
322 spec_.data() + parsed_.scheme.end(),
335 return url_canon::DefaultPortForScheme(spec_.data() + parsed_.scheme.begin,
336 parsed_.scheme.len);
H A Durl_canon_mailtourl.cc48 // mailto: only uses {scheme, path, query} -- clear the rest.
56 // complicated scheme canonicalizer).
57 new_parsed->scheme.begin = output->length();
59 new_parsed->scheme.len = 6;
H A Durl_canon_relative.cc47 // 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 does
[all...]
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
H A Dhttp_header_util.py222 if parsed.scheme != 'wss' and parsed.scheme != 'ws':
239 if parsed.scheme == 'ws':
/external/chromium_org/chrome/common/
H A Dcontent_settings_pattern.h69 // Lowercase string of the URL scheme to match. This string is empty if the
71 std::string scheme; member in struct:ContentSettingsPattern::PatternParts
73 // True if the scheme wildcard is set.
95 // scheme part.
114 virtual BuilderInterface* WithScheme(const std::string& scheme) = 0;
144 // Returns a pattern that matches the scheme and host of this URL, as well as
155 // - scheme://host:port (supported schemes: http,https)
156 // - scheme://[*.]domain.tld:port (supported schemes: http,https)
220 virtual BuilderInterface* WithScheme(const std::string& scheme) OVERRIDE;
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/
H A D__init__.py183 scheme, netloc, path, params, query, fragment = parts[:6]
188 return urlparse.urlunparse((scheme, netloc, path, params,
281 scheme, netloc, path, params, query, fragment = urlparse.urlparse(value)
284 if scheme == 'http' and netloc[-3:] == ':80':
286 elif scheme == 'https' and netloc[-4:] == ':443':
288 if scheme not in ('http', 'https'):
289 raise ValueError("Unsupported URL %s (%s)." % (value, scheme))
292 self.normalized_url = urlparse.urlunparse((scheme, netloc, path, None, None, None))
343 scheme = base_url.scheme
[all...]
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DMediaResourceGetter.java95 String scheme = uri.getScheme();
96 if (scheme == null || scheme.equals("file")) {
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
H A Dhttp_header_util.py222 if parsed.scheme != 'wss' and parsed.scheme != 'ws':
239 if parsed.scheme == 'ws':
/external/chromium_org/url/
H A Dgurl.h178 // scheme and the authority. If this URL is not a standard URL (it doesn't
187 // A helper function to return a GURL containing just the scheme, host,
198 // Returns true if the scheme for the current URL is a known "standard"
199 // scheme. Standard schemes have an authority and a path section. This
205 // the canonicalized scheme) is the scheme for this URL. This call is more
206 // efficient than getting the scheme and comparing it because no copies or
210 // Returns true if the scheme is "http" or "https".
213 // Returns true is the scheme is "ws" or "wss".
227 // If the scheme indicate
245 std::string scheme() const { // Not including the colon. See also SchemeIs. function in class:GURL
[all...]
H A Durl_canon_pathurl.cc55 bool success = CanonicalizeScheme(source.scheme, parsed.scheme,
56 output, &new_parsed->scheme);
/external/chromium_org/url/third_party/mozilla/
H A Durl_parse.h73 // url_parse::Component scheme;
74 // if (!url_parse::ExtractScheme(url, url_len, &scheme))
77 // if (IsStandardScheme(url, scheme)) // Not provided by this component
79 // else if (IsFileURL(url, scheme)) // Not provided by this component
108 // contain an entry for the four-character scheme, and it doesn't know about
140 // Scheme without the colon: "http://foo"/ would have a scheme of "http".
141 // The length will be -1 if no scheme is specified ("foo.com"), or 0 if there
142 // is a colon but no scheme (":foo"). Note that the scheme is not guaranteed
145 Component scheme; member in struct:url_parse::Parsed
[all...]
/external/smack/src/com/kenai/jbosh/
H A DBOSHClientConfig.java131 String scheme = cmURI.getScheme();
132 if (!("http".equals(scheme) || "https".equals(scheme))) {
/external/apache-http/src/org/apache/http/conn/
H A DMultihomePlainSocketFactory.java44 import org.apache.http.conn.scheme.PlainSocketFactory;
45 import org.apache.http.conn.scheme.SocketFactory;
/external/chromium/chrome/browser/net/
H A Dmetadata_url_request.cc27 const std::string& scheme);
57 const std::string& scheme) {
56 Factory(net::URLRequest* request, const std::string& scheme) argument
/external/chromium/chrome/common/extensions/
H A Durl_pattern_unittest.cc84 // all pages for a given scheme
89 EXPECT_EQ("http", pattern.scheme());
106 EXPECT_EQ("https", pattern.scheme());
123 EXPECT_EQ("http", pattern.scheme());
140 EXPECT_EQ("file", pattern.scheme());
154 EXPECT_EQ("http", pattern.scheme());
168 EXPECT_EQ("http", pattern.scheme());
185 EXPECT_EQ("http", pattern.scheme());
201 EXPECT_EQ("chrome", pattern.scheme());
361 // Test that scheme restriction
[all...]
/external/chromium/net/http/
H A Dhttp_auth.h123 static const char* SchemeToString(Scheme scheme);
132 // |origin| is used by the NTLM and Negotiation authentication scheme to
171 // Breaks up a challenge string into the the auth scheme and parameter list,
173 // challenge = auth-scheme 1*SP 1#auth-param
175 // Depending on the challenge scheme, it may be appropriate to interpret the
197 // Get the auth scheme of the challenge.
200 std::string scheme() const { function in class:net::HttpAuth::ChallengeTokenizer
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Durl_util_unittest.cc50 EXPECT_EQ("chrome-extension", url.scheme());
92 EXPECT_EQ("chrome-extension", url.scheme());
/external/chromium_org/chrome/browser/password_manager/
H A Dpassword_form_data.cc14 form->scheme = form_data.scheme;
H A Dpassword_store_mac_internal.h80 // Returns the Keychain items matching the given signon_realm, scheme, and
86 autofill::PasswordForm::Scheme scheme,
90 // Returns the Keychain SecAuthenticationType type corresponding to |scheme|.
92 autofill::PasswordForm::Scheme scheme);
145 // Returns true if the two given forms match based on signon_reaml, scheme, and
/external/chromium_org/components/test/data/web_database/
H A Dversion_47.sql42 CREATE TABLE web_intents ( service_url LONGVARCHAR, action VARCHAR, type VARCHAR, title LONGVARCHAR, disposition VARCHAR, scheme VARCHAR, UNIQUE (service_url, action, scheme, type));
43 CREATE TABLE web_intents_defaults ( action VARCHAR, type VARCHAR, url_pattern LONGVARCHAR, user_date INTEGER, suppression INTEGER, service_url LONGVARCHAR, scheme VARCHAR, UNIQUE (action, scheme, type, url_pattern));
/external/chromium_org/net/http/
H A Dhttp_auth.h123 static const char* SchemeToString(Scheme scheme);
132 // |origin| is used by the NTLM and Negotiation authentication scheme to
171 // Breaks up a challenge string into the the auth scheme and parameter list,
173 // challenge = auth-scheme 1*SP 1#auth-param
175 // Depending on the challenge scheme, it may be appropriate to interpret the
189 // Get the auth scheme of the challenge.
192 std::string scheme() const { function in class:net::HttpAuth::ChallengeTokenizer

Completed in 2227 milliseconds

1234567891011>>