Home
last modified time | relevance | path

Searched refs:found_scheme (Results 1 – 3 of 3) sorted by relevance

/external/chromium/googleurl/src/
Durl_util_unittest.cc37 url_parse::Component found_scheme; in TEST() local
44 kStr1, static_cast<int>(strlen(kStr1)), "http", &found_scheme)); in TEST()
45 EXPECT_TRUE(found_scheme == url_parse::Component(0, 4)); in TEST()
49 kStr1, static_cast<int>(strlen(kStr1)), "https", &found_scheme)); in TEST()
50 EXPECT_TRUE(found_scheme == url_parse::Component(0, 4)); in TEST()
55 kStr2, static_cast<int>(strlen(kStr2)), "http", &found_scheme)); in TEST()
56 EXPECT_TRUE(found_scheme == url_parse::Component()); in TEST()
61 kStr3, static_cast<int>(strlen(kStr3)), "", &found_scheme)); in TEST()
62 EXPECT_TRUE(found_scheme == url_parse::Component(0, 0)); in TEST()
65 EXPECT_FALSE(url_util::FindAndCompareScheme("", 0, "", &found_scheme)); in TEST()
[all …]
Durl_util.h54 url_parse::Component* found_scheme);
58 url_parse::Component* found_scheme);
61 url_parse::Component* found_scheme) { in FindAndCompareScheme() argument
63 compare, found_scheme); in FindAndCompareScheme()
67 url_parse::Component* found_scheme) { in FindAndCompareScheme() argument
69 compare, found_scheme); in FindAndCompareScheme()
Durl_util.cc140 url_parse::Component* found_scheme) { in DoFindAndCompareScheme() argument
144 if (found_scheme) in DoFindAndCompareScheme()
145 *found_scheme = url_parse::Component(); in DoFindAndCompareScheme()
148 if (found_scheme) in DoFindAndCompareScheme()
149 *found_scheme = our_scheme; in DoFindAndCompareScheme()
351 url_parse::Component* found_scheme) { in FindAndCompareScheme() argument
352 return DoFindAndCompareScheme(str, str_len, compare, found_scheme); in FindAndCompareScheme()
358 url_parse::Component* found_scheme) { in FindAndCompareScheme() argument
359 return DoFindAndCompareScheme(str, str_len, compare, found_scheme); in FindAndCompareScheme()