Home
last modified time | relevance | path

Searched refs:AsciiSet (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/percent-encoding/
Dlib.rs58 pub struct AsciiSet { struct
68 impl AsciiSet { implementation
84 AsciiSet { mask } in add()
90 AsciiSet { mask } in remove()
99 pub const CONTROLS: &AsciiSet = &AsciiSet {
129 pub const NON_ALPHANUMERIC: &AsciiSet = &CONTROLS
216 pub fn percent_encode<'a>(input: &'a [u8], ascii_set: &'static AsciiSet) -> PercentEncode<'a> { in percent_encode()
235 pub fn utf8_percent_encode<'a>(input: &'a str, ascii_set: &'static AsciiSet) -> PercentEncode<'a> { in utf8_percent_encode()
243 ascii_set: &'static AsciiSet,
/external/rust/crates/url/src/
Dparser.rs16 use percent_encoding::{percent_encode, utf8_percent_encode, AsciiSet, CONTROLS};
19 const FRAGMENT: &AsciiSet = &CONTROLS.add(b' ').add(b'"').add(b'<').add(b'>').add(b'`');
22 const PATH: &AsciiSet = &FRAGMENT.add(b'#').add(b'?').add(b'{').add(b'}');
25 pub(crate) const USERINFO: &AsciiSet = &PATH
37 pub(crate) const PATH_SEGMENT: &AsciiSet = &PATH.add(b'/').add(b'%');
41 pub(crate) const SPECIAL_PATH_SEGMENT: &AsciiSet = &PATH_SEGMENT.add(b'\\');
44 const QUERY: &AsciiSet = &CONTROLS.add(b' ').add(b'"').add(b'#').add(b'<').add(b'>');
45 const SPECIAL_QUERY: &AsciiSet = &QUERY.add(b'\'');