Home
last modified time | relevance | path

Searched refs:split_first (Results 1 – 18 of 18) sorted by relevance

/external/rust/crates/der/src/asn1/integer/
Dint.rs45 while let Some((byte, rest)) = bytes.split_first() { in strip_leading_ones()
Duint.rs65 while let Some((byte, rest)) = bytes.split_first() { in strip_leading_zeroes()
/external/rust/crates/url/src/
Dparser.rs249 fn split_first(&self) -> (Option<char>, Self) { in split_first() method
505 let (first_char, input_after_first_char) = input.split_first(); in parse_file()
509 let (next_char, input_after_next_char) = input_after_first_char.split_first(); in parse_file()
715 let (first_char, input_after_first_char) = input.split_first(); in parse_relative()
802 let remaining = match input.split_first() { in parse_relative()
895 if let (Some(c), _) = remaining.split_first() { in parse_userinfo()
1106 while let (Some(c), remaining) = input.split_first() { in parse_port()
1134 let (maybe_c, remaining) = input.split_first(); in parse_path_start()
/external/rust/crates/litrs/src/
Dparse.rs19 let (first, rest) = input.as_bytes().split_first().ok_or(perr(None, Empty))?; in parse()
/external/rust/crates/rayon-core/src/thread_pool/
Dtest.rs286 if let Some((pool, tail)) = pools.split_first() { in nested_scopes()
323 if let Some((pool, tail)) = pools.split_first() { in nested_fifo_scopes()
/external/rust/crates/cexpr/src/
Dexpr.rs408 match input.split_first() { in identifier()
432 match input.split_first() { in literal()
Dliteral.rs120 match i.split_first() {
/external/rust/crates/serde_test/src/
Dde.rs60 match self.tokens.split_first() { in next_token_opt()
70 match self.tokens.split_first() { in next_token()
Dser.rs21 if let Some((&first, rest)) = self.tokens.split_first() { in next_token()
/external/rust/crates/percent-encoding/src/
Dlib.rs257 if let Some((&first_byte, remaining)) = self.bytes.split_first() { in next()
/external/rust/crates/form_urlencoded/src/
Dlib.rs128 if let Some((&first, tail)) = self.bytes.split_first() { in next()
/external/rust/crates/num-bigint/src/biguint/
Diter.rs44 match self.data.split_first() { in next()
/external/rust/crates/combine/src/parser/
Dbyte.rs431 let (&prefix, suffix) = match needle.split_first() { in memslice()
/external/rust/crates/proc-macro2/tests/
Dtest.rs640 if let Some((&(sline, scol, eline, ecol), rest)) = lines.split_first() { in check_spans_internal()
/external/rust/crates/combine/src/stream/
Dmod.rs745 match self.split_first() { in uncons()
1063 match self.0.split_first() { in uncons()
/external/rust/crates/virtio-drivers/src/
Dqueue.rs626 let (first, rem) = slice.split_first()?; in take_first()
/external/rust/crates/protobuf-parse/src/pure/convert/
Doption_resolver.rs355 match option_name_rem.split_first() { in custom_option_ext_step()
/external/rust/crates/nom/src/
Dtraits.rs941 let (&substr_first, substr_rest) = match substr.split_first() { in find_substring()