Searched refs:found_scheme (Results 1 - 3 of 3) sorted by relevance
/external/chromium/googleurl/src/ |
H A D | url_util_unittest.cc | 38 url_parse::Component found_scheme; local 45 kStr1, static_cast<int>(strlen(kStr1)), "http", &found_scheme)); 46 EXPECT_TRUE(found_scheme == url_parse::Component(0, 4)); 50 kStr1, static_cast<int>(strlen(kStr1)), "https", &found_scheme)); 51 EXPECT_TRUE(found_scheme == url_parse::Component(0, 4)); 56 kStr2, static_cast<int>(strlen(kStr2)), "http", &found_scheme)); 57 EXPECT_TRUE(found_scheme == url_parse::Component()); 62 kStr3, static_cast<int>(strlen(kStr3)), "", &found_scheme)); 63 EXPECT_TRUE(found_scheme == url_parse::Component(0, 0)); 66 EXPECT_FALSE(url_util::FindAndCompareScheme("", 0, "", &found_scheme)); [all...] |
H A D | url_util.h | 85 // Locates the scheme in the given string and places it into |found_scheme|, 94 url_parse::Component* found_scheme); 98 url_parse::Component* found_scheme); 101 url_parse::Component* found_scheme) { 103 compare, found_scheme); 107 url_parse::Component* found_scheme) { 109 compare, found_scheme); 99 FindAndCompareScheme(const std::string& str, const char* compare, url_parse::Component* found_scheme) argument 105 FindAndCompareScheme(const string16& str, const char* compare, url_parse::Component* found_scheme) argument
|
H A D | url_util.cc | 124 url_parse::Component* found_scheme) { 135 if (found_scheme) 136 *found_scheme = url_parse::Component(); 139 if (found_scheme) 140 *found_scheme = our_scheme; 402 url_parse::Component* found_scheme) { 403 return DoFindAndCompareScheme(str, str_len, compare, found_scheme); 409 url_parse::Component* found_scheme) { 410 return DoFindAndCompareScheme(str, str_len, compare, found_scheme); 121 DoFindAndCompareScheme(const CHAR* str, int str_len, const char* compare, url_parse::Component* found_scheme) argument 399 FindAndCompareScheme(const char* str, int str_len, const char* compare, url_parse::Component* found_scheme) argument 406 FindAndCompareScheme(const char16* str, int str_len, const char* compare, url_parse::Component* found_scheme) argument
|
Completed in 82 milliseconds