Searched refs:split_first (Results 1 – 18 of 18) sorted by relevance
/external/rust/crates/der/src/asn1/integer/ |
D | int.rs | 45 while let Some((byte, rest)) = bytes.split_first() { in strip_leading_ones()
|
D | uint.rs | 65 while let Some((byte, rest)) = bytes.split_first() { in strip_leading_zeroes()
|
/external/rust/crates/url/src/ |
D | parser.rs | 249 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/ |
D | parse.rs | 19 let (first, rest) = input.as_bytes().split_first().ok_or(perr(None, Empty))?; in parse()
|
/external/rust/crates/rayon-core/src/thread_pool/ |
D | test.rs | 286 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/ |
D | expr.rs | 408 match input.split_first() { in identifier() 432 match input.split_first() { in literal()
|
D | literal.rs | 120 match i.split_first() {
|
/external/rust/crates/serde_test/src/ |
D | de.rs | 60 match self.tokens.split_first() { in next_token_opt() 70 match self.tokens.split_first() { in next_token()
|
D | ser.rs | 21 if let Some((&first, rest)) = self.tokens.split_first() { in next_token()
|
/external/rust/crates/percent-encoding/src/ |
D | lib.rs | 257 if let Some((&first_byte, remaining)) = self.bytes.split_first() { in next()
|
/external/rust/crates/form_urlencoded/src/ |
D | lib.rs | 128 if let Some((&first, tail)) = self.bytes.split_first() { in next()
|
/external/rust/crates/num-bigint/src/biguint/ |
D | iter.rs | 44 match self.data.split_first() { in next()
|
/external/rust/crates/combine/src/parser/ |
D | byte.rs | 431 let (&prefix, suffix) = match needle.split_first() { in memslice()
|
/external/rust/crates/proc-macro2/tests/ |
D | test.rs | 640 if let Some((&(sline, scol, eline, ecol), rest)) = lines.split_first() { in check_spans_internal()
|
/external/rust/crates/combine/src/stream/ |
D | mod.rs | 745 match self.split_first() { in uncons() 1063 match self.0.split_first() { in uncons()
|
/external/rust/crates/virtio-drivers/src/ |
D | queue.rs | 626 let (first, rem) = slice.split_first()?; in take_first()
|
/external/rust/crates/protobuf-parse/src/pure/convert/ |
D | option_resolver.rs | 355 match option_name_rem.split_first() { in custom_option_ext_step()
|
/external/rust/crates/nom/src/ |
D | traits.rs | 941 let (&substr_first, substr_rest) = match substr.split_first() { in find_substring()
|