Lines Matching refs:protocolIs
290 inline bool KURL::protocolIs(const String& string, const char* protocol)
292 return WebCore::protocolIs(string, protocol);
364 if (rel.contains('\\') && !(protocolIsJavaScript(rel) || protocolIs(rel, "data")))
682 bool KURL::protocolIs(const char* protocol) const
897 } else if (protocolIs("file")) {
1682 if (protocolIs(str, "mailto")) {
1717 if (encoding != pathEncoding && encoding.isValid() && !protocolIs(rel, "mailto") && !protocolIs(rel, "data") && !protocolIsJavaScript(rel)) {
1771 bool protocolIs(const String& url, const char* protocol)
1822 return protocolIs("file");
1827 protocolIs(url, "javascript");
1946 if ((port == 21 || port == 22) && url.protocolIs("ftp"))
1950 if (url.protocolIs("file"))
1958 ASSERT(protocolIs(url, "data"));