/external/chromium/googleurl/src/ |
D | url_util_unittest.cc | 38 url_parse::Component found_scheme; in TEST() local 45 kStr1, static_cast<int>(strlen(kStr1)), "http", &found_scheme)); in TEST() 46 EXPECT_TRUE(found_scheme == url_parse::Component(0, 4)); in TEST() 50 kStr1, static_cast<int>(strlen(kStr1)), "https", &found_scheme)); in TEST() 51 EXPECT_TRUE(found_scheme == url_parse::Component(0, 4)); in TEST() 56 kStr2, static_cast<int>(strlen(kStr2)), "http", &found_scheme)); in TEST() 57 EXPECT_TRUE(found_scheme == url_parse::Component()); in TEST() 62 kStr3, static_cast<int>(strlen(kStr3)), "", &found_scheme)); in TEST() 63 EXPECT_TRUE(found_scheme == url_parse::Component(0, 0)); in TEST() 66 EXPECT_FALSE(url_util::FindAndCompareScheme("", 0, "", &found_scheme)); in TEST() [all …]
|
D | url_util.h | 94 url_parse::Component* found_scheme); 98 url_parse::Component* found_scheme); 101 url_parse::Component* found_scheme) { in FindAndCompareScheme() argument 103 compare, found_scheme); in FindAndCompareScheme() 107 url_parse::Component* found_scheme) { in FindAndCompareScheme() argument 109 compare, found_scheme); in FindAndCompareScheme()
|
D | url_util.cc | 124 url_parse::Component* found_scheme) { in DoFindAndCompareScheme() argument 135 if (found_scheme) in DoFindAndCompareScheme() 136 *found_scheme = url_parse::Component(); in DoFindAndCompareScheme() 139 if (found_scheme) in DoFindAndCompareScheme() 140 *found_scheme = our_scheme; in DoFindAndCompareScheme() 402 url_parse::Component* found_scheme) { in FindAndCompareScheme() argument 403 return DoFindAndCompareScheme(str, str_len, compare, found_scheme); in FindAndCompareScheme() 409 url_parse::Component* found_scheme) { in FindAndCompareScheme() argument 410 return DoFindAndCompareScheme(str, str_len, compare, found_scheme); in FindAndCompareScheme()
|
/external/chromium_org/url/ |
D | url_util_unittest.cc | 13 url_parse::Component found_scheme; in TEST() local 20 kStr1, static_cast<int>(strlen(kStr1)), "http", &found_scheme)); in TEST() 21 EXPECT_TRUE(found_scheme == url_parse::Component(0, 4)); in TEST() 25 kStr1, static_cast<int>(strlen(kStr1)), "https", &found_scheme)); in TEST() 26 EXPECT_TRUE(found_scheme == url_parse::Component(0, 4)); in TEST() 31 kStr2, static_cast<int>(strlen(kStr2)), "http", &found_scheme)); in TEST() 32 EXPECT_TRUE(found_scheme == url_parse::Component()); in TEST() 37 kStr3, static_cast<int>(strlen(kStr3)), "", &found_scheme)); in TEST() 38 EXPECT_TRUE(found_scheme == url_parse::Component(0, 0)); in TEST() 41 EXPECT_FALSE(url_util::FindAndCompareScheme("", 0, "", &found_scheme)); in TEST() [all …]
|
D | url_util.h | 69 url_parse::Component* found_scheme); 73 url_parse::Component* found_scheme); 76 url_parse::Component* found_scheme) { in FindAndCompareScheme() argument 78 compare, found_scheme); in FindAndCompareScheme() 82 url_parse::Component* found_scheme) { in FindAndCompareScheme() argument 84 compare, found_scheme); in FindAndCompareScheme()
|
D | url_util.cc | 102 url_parse::Component* found_scheme) { in DoFindAndCompareScheme() argument 113 if (found_scheme) in DoFindAndCompareScheme() 114 *found_scheme = url_parse::Component(); in DoFindAndCompareScheme() 117 if (found_scheme) in DoFindAndCompareScheme() 118 *found_scheme = our_scheme; in DoFindAndCompareScheme() 421 url_parse::Component* found_scheme) { in FindAndCompareScheme() argument 422 return DoFindAndCompareScheme(str, str_len, compare, found_scheme); in FindAndCompareScheme() 428 url_parse::Component* found_scheme) { in FindAndCompareScheme() argument 429 return DoFindAndCompareScheme(str, str_len, compare, found_scheme); in FindAndCompareScheme()
|
/external/chromium_org/chrome/common/net/ |
D | url_fixer_upper.cc | 410 bool found_scheme = false; in SegmentURLInternal() local 415 found_scheme = true; in SegmentURLInternal() 419 if (!found_scheme) { in SegmentURLInternal()
|