/external/rust/crates/url/tests/ |
D | unit.rs | 15 use url::{form_urlencoded, Host, Origin, Url}; 20 assert_eq!(size_of::<Url>(), size_of::<Option<Url>>()); in size() 25 let base: Url = "sc://%C3%B1".parse().unwrap(); in test_relative() 32 let base: Url = "sc://%C3%B1".parse().unwrap(); in test_relative_empty() 39 let mut base: Url = "moz://foo:bar@servo/baz".parse().unwrap(); in test_set_empty_host() 51 let mut base: Url = "moz://foo@servo/baz".parse().unwrap(); in test_set_empty_hostname() 71 let url = Url::from_file_path(Path::new($path)).unwrap(); 81 assert_eq!(Url::from_file_path(Path::new("relative")), Err(())); in new_file_paths() 82 assert_eq!(Url::from_file_path(Path::new("../relative")), Err(())); in new_file_paths() 85 assert_eq!(Url::from_file_path(Path::new("relative")), Err(())); in new_file_paths() [all …]
|
D | data.rs | 15 use url::{quirks, Url}; 33 let base = match Url::parse(&base) { in urltestdata() 114 let mut url = Url::parse(&href).unwrap(); in setters_tests() 132 fn check_invariants(url: &Url, name: &str, comment: Option<&str>) -> bool { in check_invariants() argument 146 let new_url: Url = serde_json::from_slice(&bytes).unwrap(); in check_invariants() 177 fn get<'a>(url: &'a Url, attr: &str) -> &'a str { in get() argument 194 fn set<'a>(url: &'a mut Url, attr: &str, new: &str) { in set() argument
|
/external/openscreen/util/ |
D | url.cc | 16 Url::Url(const std::string& source) { in Url() function in openscreen::Url 77 Url::Url(const Url&) = default; 79 Url::Url(Url&& other) noexcept in Url() function in openscreen::Url 93 Url::~Url() = default; 95 Url& Url::operator=(const Url&) = default; 97 Url& Url::operator=(Url&& other) { in operator =()
|
D | url.h | 19 class Url { 21 explicit Url(const std::string& source); 22 Url(const Url&); 23 Url(Url&&) noexcept; 24 ~Url(); 26 Url& operator=(const Url&); 27 Url& operator=(Url&&);
|
D | url_unittest.cc | 26 EXPECT_TRUE(Url(valid_cases[i]).is_valid()) << "Case: " << valid_cases[i]; in TEST() 37 EXPECT_FALSE(Url(invalid_cases[i]).is_valid()) in TEST() 43 Url url("http://user:pass@google.com:99/foo;bar?q=a#ref"); in TEST() 59 Url url1("http://user:pass@google.com:99/foo;bar?q=a#ref"); in TEST() 60 Url url2(url1); in TEST() 88 Url url1("http://user:pass@google.com:99/foo;bar?q=a#ref"); in TEST() 89 Url url2(std::move(url1)); in TEST() 107 Url url1("http://user:pass@google.com:99/foo;bar?q=a#ref"); in TEST() 108 Url url2("https://example.com"); in TEST() 109 Url url3("https://example.com"); in TEST() [all …]
|
/external/rust/crates/url/src/ |
D | quirks.rs | 15 use crate::{Host, ParseError, Position, Url}; 37 pub fn href(url: &Url) -> &str { in href() 42 pub fn set_href(url: &mut Url, value: &str) -> Result<(), ParseError> { in set_href() argument 43 *url = Url::parse(value)?; in set_href() 48 pub fn origin(url: &Url) -> String { in origin() 54 pub fn protocol(url: &Url) -> &str { in protocol() 60 pub fn set_protocol(url: &mut Url, mut new_protocol: &str) -> Result<(), ()> { in set_protocol() argument 71 pub fn username(url: &Url) -> &str { in username() 77 pub fn set_username(url: &mut Url, new_username: &str) -> Result<(), ()> { in set_username() argument 83 pub fn password(url: &Url) -> &str { in password() [all …]
|
D | lib.rs | 166 pub struct Url { struct 193 base_url: Option<&'a Url>, argument 200 pub fn base_url(mut self, new: Option<&'a Url>) -> Self { in base_url() 240 pub fn parse(self, input: &str) -> Result<Url, crate::ParseError> { in parse() argument 252 impl Url { impl 275 pub fn parse(input: &str) -> Result<Url, crate::ParseError> { in parse() argument 276 Url::options().parse(input) in parse() 305 pub fn parse_with_params<I, K, V>(input: &str, iter: I) -> Result<Url, crate::ParseError> in parse_with_params() argument 312 let mut url = Url::options().parse(input); in parse_with_params() 356 pub fn join(&self, input: &str) -> Result<Url, crate::ParseError> { in join() argument [all …]
|
D | slicing.rs | 9 use crate::Url; 12 impl Index<RangeFull> for Url { implementation 19 impl Index<RangeFrom<Position>> for Url { implementation 26 impl Index<RangeTo<Position>> for Url { implementation 33 impl Index<Range<Position>> for Url { implementation 100 impl Url { impl
|
D | parser.rs | 14 use crate::Url; 335 pub base_url: Option<&'a Url>, 374 pub fn parse_url(mut self, input: &str) -> ParseResult<Url> { in parse_url() argument 425 fn parse_with_scheme(mut self, input: Input<'_>) -> ParseResult<Url> { in parse_with_scheme() argument 476 ) -> ParseResult<Url> { in parse_non_special() argument 512 base_file_url: Option<&Url>, in parse_file() argument 513 ) -> ParseResult<Url> { in parse_file() argument 550 return Ok(Url { in parse_file() 601 return Ok(Url { in parse_file() 624 Ok(Url { in parse_file() [all …]
|
D | origin.rs | 11 use crate::Url; 15 pub fn url_origin(url: &Url) -> Origin { in url_origin() 19 let result = Url::parse(url.path()); in url_origin()
|
D | path_segments.rs | 10 use crate::Url; 38 url: &'a mut Url, 45 pub fn new(url: &mut Url) -> PathSegmentsMut<'_> { in new()
|
/external/rust/crates/rusqlite/src/types/ |
D | url.rs | 4 use url::Url; 7 impl ToSql for Url { implementation 14 impl FromSql for Url { implementation 19 Url::parse(s).map_err(|e| FromSqlError::Other(Box::new(e))) in column_result() 29 use url::{ParseError, Url}; 38 fn get_url(db: &Connection, id: i64) -> Result<Url> { in get_url() argument 46 let url0 = Url::parse("http://www.example1.com").unwrap(); in test_sql_url() 47 let url1 = Url::parse("http://www.example1.com/").unwrap(); in test_sql_url() 64 let out_url2: Url = get_url(db, 2).unwrap(); in test_sql_url() 65 assert_eq!(out_url2, Url::parse(url2).unwrap()); in test_sql_url()
|
/external/autotest/server/site_tests/autoupdate_OmahaResponse/ |
D | control.url_switch.full | 7 PURPOSE = "Test update continues on the second Url when it fails the first." 14 This tests that we move to the second Url when we fail with the first Url.
|
/external/llvm-project/llvm/tools/dsymutil/ |
D | CFBundle.cpp | 89 CFBundle(CFURLRef Url) in CFBundle() argument 90 : CFReleaser<CFBundleRef>(Url ? ::CFBundleCreate(nullptr, Url) in CFBundle()
|
/external/python/cpython3/Lib/test/test_email/data/ |
D | msg_06.txt | 16 X-Url: http://barry.wooz.org 31 X-Url: http://barry.wooz.org
|
/external/python/cpython2/Lib/email/test/data/ |
D | msg_06.txt | 16 X-Url: http://barry.wooz.org 31 X-Url: http://barry.wooz.org
|
/external/google-fruit/extras/packaging/ |
D | libfruit.spec | 11 Url: https://github.com/google/fruit 37 Url: https://github.com/google/fruit
|
/external/skia/infra/bots/task_drivers/canary/ |
D | canary.go | 136 cl := roll.Url 147 rollStatus = fmt.Sprintf("Canary roll [ %s ] has status %s", roll.Url, roll.Status)
|
/external/one-true-awk/testdir/ |
D | funstack.awk | 485 return ((HTML && (Url != "")) ? ("<A HREF=\"" Url "\">") : "") 570 return ((HTML && (Url != "")) ? "</A>" : "")
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_certificates.cpp | 22 {XFA_Attribute::Url, XFA_AttributeType::CData, nullptr},
|
/external/libexif/ |
D | libexif.spec | 6 Url: http://sourceforge.net/projects/libexif/
|
D | libexif.spec.in | 6 Url: http://sourceforge.net/projects/libexif/
|
/external/autotest/client/site_tests/policy_CookiesBlockedForUrls/ |
D | control | 25 - Allows cookies on a test page with an Url that matches one or more of the
|
/external/libtextclassifier/native/annotator/ |
D | collections.h | 137 static const std::string& Url() { in Url() function
|
/external/rust/crates/quiche/examples/ |
D | client.rs | 52 let url = url::Url::parse(&args.next().unwrap()).unwrap(); in main()
|