Lines Matching refs:Ref
95 const char* ref;
1084 // Always escape '#' since it would mark the ref.
1156 TEST(URLCanonTest, Ref) {
1298 {"http://www.google.com/foo?bar=baz#ref", NULL, NULL, NULL, NULL, NULL, "/", kDeleteComp, kDeleteComp, "http://www.google.com/"},
1300 {"http://a:b@google.com:22/foo;bar?baz@cat", "https", "me", "pw", "host.com", "99", "/path", "query", "ref", "https://me:pw@host.com:99/path?query#ref"},
1323 SetupReplComp(&R::SetRef, &R::ClearRef, &r, cur.ref);
1367 {"file:///C:/gaba?query#ref", NULL, NULL, NULL, "filer", NULL, "/foo", "b", "c", "file://filer/foo?b#c"},
1369 {"file:///C:/gaba?query#ref", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "file:///C:/gaba?query#ref"},
1371 {"file:///C:/gaba?query#ref", NULL, NULL, NULL, NULL, NULL, NULL, kDeleteComp, kDeleteComp, "file:///C:/gaba"},
1375 {"file:///home/gaba?query#ref", NULL, NULL, NULL, "filer", NULL, "/foo", "b", "c", "file://filer/foo?b#c"},
1376 {"file:///home/gaba?query#ref", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "file:///home/gaba?query#ref"},
1377 {"file:///home/gaba?query#ref", NULL, NULL, NULL, NULL, NULL, NULL, kDeleteComp, kDeleteComp, "file:///home/gaba"},
1396 SetupReplComp(&R::SetRef, &R::ClearRef, &r, cur.ref);
1436 SetupReplComp(&R::SetRef, &R::ClearRef, &r, cur.ref);
1469 // Setting the ref should have no effect
1488 SetupReplComp(&R::SetRef, &R::ClearRef, &r, cur.ref);
1776 a.ref.begin == b.ref.begin && a.ref.len == b.ref.len;
1793 // Empty relative URLs should only remove the ref part of the URL,
1796 {"http://foo/bar#ref", true, false, "", true, true, true, "http://foo/bar"},
1820 {"http://host/a/", true, false, "bc/de?query#ref", true, true, true, "http://host/a/bc/de?query#ref"},
1826 {"http://host/a?query#ref", true, false, "../../../foo", true, true, true, "http://host/foo"},
1831 // Ref input
1832 {"http://host/a", true, false, "#ref", true, true, true, "http://host/a#ref"},
1856 {"http://host/a", true, false, "//another/path?query#ref", true, true, true, "http://another/path?query#ref"},