OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:found_scheme
(Results
1 - 3
of
3
) sorted by null
/external/chromium/googleurl/src/
url_util_unittest.cc
37
url_parse::Component
found_scheme
;
local
44
kStr1, static_cast<int>(strlen(kStr1)), "http", &
found_scheme
));
45
EXPECT_TRUE(
found_scheme
== url_parse::Component(0, 4));
49
kStr1, static_cast<int>(strlen(kStr1)), "https", &
found_scheme
));
50
EXPECT_TRUE(
found_scheme
== url_parse::Component(0, 4));
55
kStr2, static_cast<int>(strlen(kStr2)), "http", &
found_scheme
));
56
EXPECT_TRUE(
found_scheme
== url_parse::Component());
61
kStr3, static_cast<int>(strlen(kStr3)), "", &
found_scheme
));
62
EXPECT_TRUE(
found_scheme
== url_parse::Component(0, 0));
65
EXPECT_FALSE(url_util::FindAndCompareScheme("", 0, "", &
found_scheme
));
[
all
...]
url_util.h
47
// Locates the scheme in the given string and places it into |
found_scheme
|,
54
url_parse::Component*
found_scheme
);
58
url_parse::Component*
found_scheme
);
61
url_parse::Component*
found_scheme
) {
63
compare,
found_scheme
);
67
url_parse::Component*
found_scheme
) {
69
compare,
found_scheme
);
url_util.cc
140
url_parse::Component*
found_scheme
) {
144
if (
found_scheme
)
145
*
found_scheme
= url_parse::Component();
148
if (
found_scheme
)
149
*
found_scheme
= our_scheme;
351
url_parse::Component*
found_scheme
) {
352
return DoFindAndCompareScheme(str, str_len, compare,
found_scheme
);
358
url_parse::Component*
found_scheme
) {
359
return DoFindAndCompareScheme(str, str_len, compare,
found_scheme
);
Completed in 866 milliseconds