| /external/rust/crates/url/src/ |
| D | quirks.rs | 1 // Copyright 2016 The rust-url developers. 3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or 4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license 5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your 9 //! Getters and setters for URL components implemented per https://url.spec.whatwg.org/#api 12 //! you probably want to use `Url` method instead. 15 use crate::{Host, ParseError, Position, Url}; 17 /// Internal components / offsets of a URL. 21 /// | | | | | | | `----- fragment_start 22 /// | | | | | | `--------- query_start [all …]
|
| D | host.rs | 1 // Copyright 2013-2016 The rust-url developers. 3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or 4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license 5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your 29 fn from(host: Host<String>) -> HostInternal { in from() 39 /// The host name of an URL. 43 /// A DNS domain name, as '.' dot-separated labels. 44 /// Non-ASCII labels are encoded in punycode per IDNA if this is the host of 45 /// a special URL, or percent encoded for non-special URLs. Hosts for 46 /// non-special URLs are also called opaque hosts. [all …]
|
| D | origin.rs | 1 // Copyright 2016 The rust-url developers. 3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or 4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license 5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your 11 use crate::Url; 14 pub fn url_origin(url: &Url) -> Origin { in url_origin() 15 let scheme = url.scheme(); in url_origin() 18 let result = Url::parse(url.path()); in url_origin() 20 Ok(ref url) => url_origin(url), in url_origin() 26 url.host().unwrap().to_owned(), in url_origin() [all …]
|
| D | parser.rs | 1 // Copyright 2013-2016 The rust-url developers. 3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or 4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license 5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your 14 use crate::Url; 18 /// https://url.spec.whatwg.org/#fragment-percent-encode-set 21 /// https://url.spec.whatwg.org/#path-percent-encode-set 24 /// https://url.spec.whatwg.org/#userinfo-percent-encode-set 43 // https://url.spec.whatwg.org/#query-state 64 fn fmt(&self, fmt: &mut Formatter<'_>) -> fmt::Result { [all …]
|
| /external/cldr/tools/scripts/tr-archive/ |
| D | package-lock.json | 2 "name": "tr-archive", 8 "name": "tr-archive", 10 "license": "Unicode-3.0", 12 "@not-dalia/gfm-toc": "github:not-dalia/gfm-toc", 13 "anchor-js": "^5.0.0", 17 "marked-alert": "^2.0.1" 20 "node_modules/@not-dalia/gfm-toc": { 22 …"resolved": "git+ssh://git@github.com/not-dalia/gfm-toc.git#68f2db628606366b51b51a071c8bb87f490575… 25 "escape-html": "^1.0.3", 30 "gfm-toc": "bin/gfm-toc" [all …]
|
| /external/rust/crates/idna/src/ |
| D | lib.rs | 1 // Copyright 2016 The rust-url developers. 3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or 4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license 5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your 10 //! [per the WHATWG URL Standard](https://url.spec.whatwg.org/#idna). 56 /// The [domain to ASCII](https://url.spec.whatwg.org/#concept-domain-to-ascii) algorithm. 59 /// normalizing characters (upper-case to lower-case and other kinds of equivalence) 63 pub fn domain_to_ascii(domain: &str) -> Result<String, uts46::Errors> { in domain_to_ascii() 67 /// The [domain to ASCII](https://url.spec.whatwg.org/#concept-domain-to-ascii) algorithm, 69 pub fn domain_to_ascii_strict(domain: &str) -> Result<String, uts46::Errors> { in domain_to_ascii_strict() [all …]
|
| /external/cronet/url/ |
| D | url_idna_icu.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 // ICU-based IDNA converter. 17 #include "url/url_canon_icu.h" 18 #include "url/url_canon_internal.h" // for _itoa_s 19 #include "url/url_features.h" 21 namespace url { namespace 32 // 1. Use the up-to-date Unicode data. 33 // 2. Define a case folding/mapping with the up-to-date Unicode data as 35 // 3. If `use_idna_non_transitional` is true, use non-transitional mechanism for 36 // 4 deviation characters (sharp-s, final sigma, ZWJ and ZWNJ) per [all …]
|
| D | url_canon_pathurl.cc | 2 // Use of this source code is governed by a BSD-style license that can be 6 // of a URL, these are URLs that have no authority section, only a path. For 9 #include "url/url_canon.h" 10 #include "url/url_canon_internal.h" 12 namespace url { namespace 17 // |new_component|. If |separator| is non-zero, it is pre-pended to |output| 27 output->push_back(separator); in DoCanonicalizePathComponent() 28 // Copy the path using path URL's more lax escaping rules (think for in DoCanonicalizePathComponent() 29 // javascript:). We convert to UTF-8 and escape characters from the in DoCanonicalizePathComponent() 30 // C0 control percent-encode set, but leave all other characters alone. in DoCanonicalizePathComponent() [all …]
|
| D | README.md | 1 # Chrome's URL library 12 components of the URL as best as it can deduce them, for a given type of URL. 14 have logic for determining the type of URL parsing to apply, that needs to 18 Mozilla, some of the parser files are in `url/third_party/mozilla/`. 21 `url/third_party/mozilla/url_parse.h`. 26 URL components or specific types of URLs into a standard form. For some 27 dangerous or invalid data, the canonicalizer will report that a URL is invalid, 29 can, for example, show the user an error that the URL is invalid). The 31 without changing the meaning of a URL. 39 `url/url_canon.h`. [all …]
|
| /external/openscreen/cast/cast_core/api/v2/ |
| D | url_rewrite.proto | 2 // Use of this source code is governed by a BSD-style license that can be 5 // **** DO NOT EDIT - this file was automatically generated. **** 37 // URL request rewrites to apply. 47 // Adds a set of headers to a URL request. 50 // Removes a header based on the presence of a pattern in the URL query. 53 // Substitutes a pattern in the URL query. 56 // Replaces a URL if the original URL ends with a pattern. 59 // Appends to the URL query. 70 // Adds `headers` to the URL request. If a header is already present in the 71 // original URL request, it will be overwritten. [all …]
|
| /external/curl/docs/ |
| D | URL-SYNTAX.md | 1 <!-- 4 SPDX-License-Identifier: curl 5 --> 7 # URL syntax and their use in curl 11 The official "URL syntax" is primarily defined in these two different 14 - [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) (although URL is called 16 - [The WHATWG URL Specification](https://url.spec.whatwg.org/) 21 The WHATWG URL spec was written later, is incompatible with the RFC 3986 and 26 URL parsers as implemented in browsers, libraries and tools usually opt to 28 interpretations and the moving nature of the WHATWG spec does however make it [all …]
|
| /external/cronet/net/url_request/ |
| D | redirect_util.cc | 2 // Use of this source code is governed by a BSD-style license that can be 14 #include "url/gurl.h" 15 #include "url/origin.h" 35 request_headers->RemoveHeader(key); in UpdateHttpRequest() 44 // See https://fetch.spec.whatwg.org/#origin-header in UpdateHttpRequest() 48 request_headers->RemoveHeader(HttpRequestHeaders::kOrigin); in UpdateHttpRequest() 52 request_headers->RemoveHeader(HttpRequestHeaders::kContentLength); in UpdateHttpRequest() 54 // These are "request-body-headers" and should be removed on redirects that in UpdateHttpRequest() 56 // https://fetch.spec.whatwg.org/ in UpdateHttpRequest() 57 request_headers->RemoveHeader(HttpRequestHeaders::kContentType); in UpdateHttpRequest() [all …]
|
| /external/cronet/url/third_party/mozilla/ |
| D | url_parse.h | 2 // Use of this source code is governed by a BSD-style license that can be 12 namespace url { 15 // (https://url.spec.whatwg.org/#is-special) and parsing URLs which are not 19 // - Special URLs: "https://host/path", "ftp://host/path" 20 // - Non Special URLs: "about:blank", "data:xxx", "git://host/path" 23 // Component ------------------------------------------------------------------ 25 // Represents a substring for URL parsing. 27 Component() : begin(0), len(-1) {} in Component() 47 len = -1; in reset() 55 int len; // Will be -1 if the component is unspecified. [all …]
|
| D | url_parse.cc | 2 * ------------------------------------- 37 #include "url/third_party/mozilla/url_parse.h" 44 #include "url/url_parse_internal.h" 45 #include "url/url_util.h" 46 #include "url/url_util_internal.h" 48 namespace url { namespace 111 hostname->reset(); in ParseServerInfo() 112 port_num->reset(); in ParseServerInfo() 116 // If the host starts with a left-bracket, assume the entire host is an in ParseServerInfo() 118 // This assumption will be overridden if we find a right-bracket. in ParseServerInfo() [all …]
|
| /external/brotli/fetch-spec/ |
| D | shared-brotli-fetch-spec.txt | 6 (https://fetch.spec.whatwg.org/). 14 with a URL of the dictionary. The browser downloads the dictionary from the URL and 17 mechanisms are used. A dictionary can be a pre-made static dictionary, but does not 22 at https://fetch.spec.whatwg.org/: 24 Additions to `4.5. HTTP-network-or-cache fetch` 28 If the recursive-sbr flag is enabled, `Accept-Encoding` may not contain `sbr` 29 [NOTE-BOX] When sbr can be used, it is possible to add a header Available-Dict 30 with the URL and hash code of a cached resource. The server may then use it as 33 Additions to `4.6. HTTP-network fetch` 38 `Content-Encoding` and response’s header list. [all …]
|
| /external/guava/android/guava/src/com/google/common/net/ |
| D | UrlEscapers.java | 7 * http://www.apache.org/licenses/LICENSE-2.0 39 static final String URL_FORM_PARAMETER_OTHER_SAFE_CHARS = "-_.*"; 42 "-._~" // Unreserved characters. 48 * href="https://goo.gl/MplK6I">URL form parameter names and values</a>. Escaping is performed 49 * with the UTF-8 character encoding. The caller is responsible for <a 51 * with a CR+LF pair</a> on any non-file inputs before escaping them with this escaper. 58 * <li>The special characters ".", "-", "*", and "_" remain the same. 60 * <li>All other characters are converted into one or more bytes using UTF-8 encoding and each 61 * byte is then represented by the 3-character string "%XY", where "XY" is the two-digit, 66 * href="https://goo.gl/utn6M">using the non-standard semicolon</a>, rather than the ampersand, as [all …]
|
| /external/guava/guava/src/com/google/common/net/ |
| D | UrlEscapers.java | 7 * http://www.apache.org/licenses/LICENSE-2.0 39 static final String URL_FORM_PARAMETER_OTHER_SAFE_CHARS = "-_.*"; 42 "-._~" // Unreserved characters. 48 * href="https://goo.gl/MplK6I">URL form parameter names and values</a>. Escaping is performed 49 * with the UTF-8 character encoding. The caller is responsible for <a 51 * with a CR+LF pair</a> on any non-file inputs before escaping them with this escaper. 58 * <li>The special characters ".", "-", "*", and "_" remain the same. 60 * <li>All other characters are converted into one or more bytes using UTF-8 encoding and each 61 * byte is then represented by the 3-character string "%XY", where "XY" is the two-digit, 66 * href="https://goo.gl/utn6M">using the non-standard semicolon</a>, rather than the ampersand, as [all …]
|
| /external/cronet/net/base/ |
| D | schemeful_site.h | 2 // Use of this source code is governed by a BSD-style license that can be 15 #include "url/origin.h" 44 // https://html.spec.whatwg.org/multipage/origin.html#obtain-a-site. 65 explicit SchemefulSite(const url::Origin& origin); 70 explicit SchemefulSite(const GURL& url); 83 // did not lie, merely that they are well-formed. 84 static bool FromWire(const url::Origin& site_as_origin, SchemefulSite* out); 86 // Creates a SchemefulSite iff the passed-in origin has a registerable domain. 88 const url::Origin&); 94 // https://fetch.spec.whatwg.org/#websocket-opening-handshake. [all …]
|
| D | data_url.cc | 2 // Use of this source code is governed by a BSD-style license that can be 22 #include "url/gurl.h" 27 // https://infra.spec.whatwg.org/#ascii-whitespace, which is referenced by 28 // https://infra.spec.whatwg.org/#forgiving-base64, does not include \v in the 34 // A data URL is ready for decode if it: 35 // - Doesn't need any extra padding. 36 // - Does not have any escaped characters. 37 // - Does not have any whitespace. 46 bool DataURL::Parse(const GURL& url, in Parse() argument 50 if (!url.is_valid() || !url.has_scheme()) in Parse() [all …]
|
| /external/rust/crates/percent-encoding/src/ |
| D | lib.rs | 1 // Copyright 2013-2016 The rust-url developers. 3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or 4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license 5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your 34 //! /// https://url.spec.whatwg.org/#fragment-percent-encode-set 58 /// This is similar to [percent-encode sets](https://url.spec.whatwg.org/#percent-encoded-bytes). 65 /// /// https://url.spec.whatwg.org/#fragment-percent-encode-set 79 /// Called with UTF-8 bytes rather than code points. 80 /// Not used for non-ASCII bytes. 81 const fn contains(&self, byte: u8) -> bool { in contains() [all …]
|
| /external/rust/crates/url/ |
| D | METADATA | 2 # Usage: tools/external_updater/updater.sh update rust/crates/url 5 name: "url" 6 description: "URL library for Rust, based on the WHATWG URL Standard" 8 url { 10 value: "https://crates.io/crates/url" 12 url { 14 value: "https://static.crates.io/crates/url/url-2.3.1.crate"
|
| D | README.md | 1 rust-url 4 …](https://github.com/serv… 5 …verage](https://codecov.io/gh/servo/rust-url/branch/master/graph/badge.svg)](https://codecov.io/gh… 6 …at](https://img.shields.io/badge/chat-%23rust--url:mozilla.org-%2346BC99?logo=Matrix)](https://mat… 7 [](LICENSE-MIT) 8 [](LICENSE-APACHE) 10 URL library for Rust, based on the [URL Standard](https://url.spec.whatwg.org/). 12 [Documentation](https://docs.rs/url/) 14 Please see [UPGRADING.md](https://github.com/servo/rust-url/blob/master/UPGRADING.md) if you are up…
|
| D | Cargo.toml.orig | 3 name = "url" 6 authors = ["The rust-url developers"] 8 description = "URL library for Rust, based on the WHATWG URL Standard" 9 documentation = "https://docs.rs/url" 10 repository = "https://github.com/servo/rust-url" 12 keywords = ["url", "parser"] 13 categories = ["parser-implementations", "web-programming", "encoding"] 14 license = "MIT OR Apache-2.0" 15 include = ["src/**/*", "LICENSE-*", "README.md", "tests/**"] 17 rust-version = "1.51" [all …]
|
| /external/jsoup/src/main/javadoc/ |
| D | overview.html | 7 <h1>jsoup: Java HTML parser that makes sense of real-world HTML soup.</h1> 9 <p><b>jsoup</b> is a Java library for working with real-world HTML. It provides a very convenient A… 12 <p>jsoup implements the <a href="https://html.spec.whatwg.org/multipage/">WHATWG HTML</a> specifica… 16 <li>parse HTML from a URL, file, or string 19 <li>clean user-submitted content against a safelist, to prevent XSS 24 to invalid tag-soup; jsoup will create a sensible parse tree.</p>
|
| /external/jsoup/ |
| D | README.md | 3 …ava library that makes it easy to work with real-world HTML and XML. It offers an easy-to-use API … 5 **jsoup** implements the [WHATWG HTML5](https://html.spec.whatwg.org/multipage/) specification, and… 7 * scrape and [parse](https://jsoup.org/cookbook/input/parse-document-from-string) HTML from a URL, … 8 * find and [extract data](https://jsoup.org/cookbook/extracting-data/selector-syntax), using DOM tr… 9 * manipulate the [HTML elements](https://jsoup.org/cookbook/modifying-data/set-html), attributes, a… 10 … [clean](https://jsoup.org/cookbook/cleaning-html/safelist-sanitizer) user-submitted content again… 13 …ties of HTML found in the wild; from pristine and validating, to invalid tag-soup; jsoup will crea… 20 …ki/Main_Page) homepage, parse it to a [DOM](https://developer.mozilla.org/en-US/docs/Web/API/Docum… 25 Elements newsHeadlines = doc.select("#mp-itn b a"); 31 [Online sample](https://try.jsoup.org/~LGB7rk_atM2roavV0d-czMt3J_g), [full source](https://github.c… [all …]
|