Home | History | Annotate | Download | only in src

Lines Matching refs:Query

94   const char* query;
1070 TEST(URLCanonTest, Query) {
1082 // Allow question marks in the query without escaping
1102 // Escape double quotemarks in the query.
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"},
1322 SetupReplComp(&R::SetQuery, &R::ClearQuery, &r, cur.query);
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"},
1395 SetupReplComp(&R::SetQuery, &R::ClearQuery, &r, cur.query);
1435 SetupReplComp(&R::SetQuery, &R::ClearQuery, &r, cur.query);
1457 // Replace the query
1459 // Replace the path and query
1461 // Set the query to empty (should leave trailing question mark)
1463 // Clear the query
1467 // Clear the path + query
1487 SetupReplComp(&R::SetQuery, &R::ClearQuery, &r, cur.query);
1684 EXPECT_EQ(cases[i].expected_query.begin, out_parsed.query.begin);
1685 EXPECT_EQ(cases[i].expected_query.len, out_parsed.query.len);
1775 a.query.begin == b.query.begin && a.query.len == b.query.len &&
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"},
1827 // Query input
1856 {"http://host/a", true, false, "//another/path?query#ref", true, true, true, "http://another/path?query#ref"},
1967 query with