Searched refs:FindAndCompareScheme (Results 1 - 16 of 16) sorted by relevance

/external/chromium/googleurl/src/
H A Durl_util.h91 GURL_API bool FindAndCompareScheme(const char* str,
95 GURL_API bool FindAndCompareScheme(const char16* str,
99 inline bool FindAndCompareScheme(const std::string& str, function in namespace:url_util
102 return FindAndCompareScheme(str.data(), static_cast<int>(str.size()),
105 inline bool FindAndCompareScheme(const string16& str, function in namespace:url_util
108 return FindAndCompareScheme(str.data(), static_cast<int>(str.size()),
H A Durl_util_unittest.cc37 TEST(URLUtilTest, FindAndCompareScheme) {
42 EXPECT_TRUE(url_util::FindAndCompareScheme(
44 EXPECT_TRUE(url_util::FindAndCompareScheme(
49 EXPECT_FALSE(url_util::FindAndCompareScheme(
55 EXPECT_FALSE(url_util::FindAndCompareScheme(
61 EXPECT_TRUE(url_util::FindAndCompareScheme(
66 EXPECT_FALSE(url_util::FindAndCompareScheme("", 0, "", &found_scheme));
72 EXPECT_TRUE(url_util::FindAndCompareScheme(
80 EXPECT_FALSE(url_util::FindAndCompareScheme(
H A Durl_util.cc399 bool FindAndCompareScheme(const char* str, function in namespace:url_util
406 bool FindAndCompareScheme(const char16* str, function in namespace:url_util
/external/chromium_org/url/
H A Durl_util.h66 URL_EXPORT bool FindAndCompareScheme(const char* str,
70 URL_EXPORT bool FindAndCompareScheme(const base::char16* str,
74 inline bool FindAndCompareScheme(const std::string& str, function in namespace:url_util
77 return FindAndCompareScheme(str.data(), static_cast<int>(str.size()),
80 inline bool FindAndCompareScheme(const base::string16& str, function in namespace:url_util
83 return FindAndCompareScheme(str.data(), static_cast<int>(str.size()),
H A Durl_util_unittest.cc12 TEST(URLUtilTest, FindAndCompareScheme) {
17 EXPECT_TRUE(url_util::FindAndCompareScheme(
19 EXPECT_TRUE(url_util::FindAndCompareScheme(
24 EXPECT_FALSE(url_util::FindAndCompareScheme(
30 EXPECT_FALSE(url_util::FindAndCompareScheme(
36 EXPECT_TRUE(url_util::FindAndCompareScheme(
41 EXPECT_FALSE(url_util::FindAndCompareScheme("", 0, "", &found_scheme));
47 EXPECT_TRUE(url_util::FindAndCompareScheme(
55 EXPECT_FALSE(url_util::FindAndCompareScheme(
H A Durl_util.cc416 bool FindAndCompareScheme(const char* str, function in namespace:url_util
423 bool FindAndCompareScheme(const base::char16* str, function in namespace:url_util
H A Dgurl.cc147 if (!url_util::FindAndCompareScheme(spec_.data(), spec_.length(),
/external/chromium_org/chrome/browser/autocomplete/
H A Dautocomplete_provider.cc129 if (url_util::FindAndCompareScheme(utf8_input, content::kViewSourceScheme,
132 return url_util::FindAndCompareScheme(utf8_input, chrome::kHttpScheme, NULL);
H A Dhistory_provider.cc99 !url_util::FindAndCompareScheme(UTF16ToUTF8(input_text),
/external/chromium/chrome/browser/autocomplete/
H A Dhistory_provider.cc96 !url_util::FindAndCompareScheme(UTF16ToUTF8(input_text),
H A Dautocomplete.cc519 if (url_util::FindAndCompareScheme(utf8_input, chrome::kViewSourceScheme,
522 return url_util::FindAndCompareScheme(utf8_input, chrome::kHttpScheme, NULL);
H A Dhistory_url_provider.cc193 url_util::FindAndCompareScheme(UTF16ToUTF8(params->input.text()),
/external/chromium_org/content/renderer/pepper/
H A Durl_request_info_util.cc197 url_util::FindAndCompareScheme(data.url, "javascript", NULL);
/external/chromium_org/third_party/WebKit/Source/weborigin/
H A DKURL.cpp704 return url_util::FindAndCompareScheme(asURLChar8Subtle(url), url.length(), protocol, 0);
705 return url_util::FindAndCompareScheme(url.characters16(), url.length(), protocol, 0);
/external/chromium/chrome/browser/history/
H A Din_memory_url_index.cc714 if (url_util::FindAndCompareScheme(url, chrome::kHttpScheme, NULL)) {
/external/chromium_org/content/renderer/npapi/
H A Dwebplugin_impl.cc1155 bool is_javascript_url = url_util::FindAndCompareScheme(

Completed in 693 milliseconds