Home
last modified time | relevance | path

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

/external/rust/crates/url/src/
Dparser.rs261 fn split_first(&self) -> (Option<char>, Self) { in split_first() method
517 let (first_char, input_after_first_char) = input.split_first(); in parse_file()
521 let (next_char, input_after_next_char) = input_after_first_char.split_first(); in parse_file()
727 let (first_char, input_after_first_char) = input.split_first(); in parse_relative()
814 let remaining = match input.split_first() { in parse_relative()
907 if let (Some(c), _) = remaining.split_first() { in parse_userinfo()
1118 while let (Some(c), remaining) = input.split_first() { in parse_port()
1146 let (maybe_c, remaining) = input.split_first(); in parse_path_start()
/external/rust/crates/rayon-core/src/thread_pool/
Dtest.rs275 if let Some((pool, tail)) = pools.split_first() { in nested_scopes()
311 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/form_urlencoded/src/
Dlib.rs131 if let Some((&first, tail)) = self.bytes.split_first() { in next()
/external/rust/crates/percent-encoding/
Dlib.rs250 if let Some((&first_byte, remaining)) = 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/proc-macro2/tests/
Dtest.rs555 if let Some((&(sline, scol, eline, ecol), rest)) = lines.split_first() { in check_spans_internal()
/external/rust/crates/combine/src/parser/
Dbyte.rs431 let (&prefix, suffix) = match needle.split_first() { in memslice()
/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/nom/src/
Dtraits.rs929 let (&substr_first, substr_rest) = match substr.split_first() { in find_substring()