Searched refs:splitn (Results 1 – 12 of 12) sorted by relevance
/external/rust/crates/regex/tests/ |
D | api.rs | 228 splitn!(splitn_below_limit, r"-", r"a", 2, &[t!("a")]); 229 splitn!(splitn_at_limit, r"-", r"a-b", 2, &[t!("a"), t!("b")]); 230 splitn!(splitn_above_limit, r"-", r"a-b-c", 2, &[t!("a"), t!("b-c")]); 231 splitn!(splitn_zero_limit, r"-", r"a-b", 0, empty_vec!()); 232 splitn!(splitn_trailing_blank, r"-", r"a-", 2, &[t!("a"), t!("")]); 233 splitn!(splitn_trailing_separator, r"-", r"a--", 2, &[t!("a"), t!("-")]); 234 splitn!(splitn_empty, r"-", r"", 1, &[t!("")]);
|
D | macros.rs | 151 macro_rules! splitn { macro 156 let splitted: Vec<_> = re.splitn(t!($text), $limit).collect();
|
/external/rust/crates/gdbstub/src/protocol/commands/ |
D | _QEnvironmentHexEncoded.rs | 16 let mut keyval = keyval.splitn(2, |b| *b == b'='); in from_packet()
|
/external/rust/crates/form_urlencoded/src/ |
D | lib.rs | 48 let mut split2 = self.input.splitn(2, |&b| b == b'&'); in next() 54 let mut split2 = sequence.splitn(2, |&b| b == b'='); in next()
|
/external/crosvm/src/ |
D | main.rs | 481 .map(|frag| frag.splitn(2, '=')) in parse_serial_options() 691 let parts: Vec<&str> = s.splitn(2, '@').collect(); in parse_direct_io_options() 988 let mut o = opt.splitn(2, '='); in set_argument() 1187 let mut kv = c.splitn(2, '='); in set_argument() 1313 let mut o = opt.splitn(2, '='); in set_argument() 1444 let trimmed_line = line.splitn(2, '#').next().unwrap().trim(); in set_argument() 1463 let trimmed_line = line.splitn(2, '#').next().unwrap().trim(); in set_argument()
|
D | argument.rs | 246 let mut iter = param.splitn(2, '='); in parse_arguments()
|
/external/rust/crates/ring/src/ |
D | test.rs | 447 let parts: Vec<&str> = line.splitn(2, " = ").collect(); in parse_test_case()
|
/external/rust/crates/grpcio-sys/ |
D | build.rs | 73 let mut splits = s.splitn(2, '='); in clean_up_stale_cache()
|
/external/rust/crates/regex/src/ |
D | re_unicode.rs | 395 pub fn splitn<'r, 't>( in splitn() method
|
D | re_bytes.rs | 341 pub fn splitn<'r, 't>( in splitn() method
|
/external/rust/crates/clap/src/app/ |
D | parser.rs | 1731 let p: Vec<_> = arg.splitn(2, c).collect(); in parse_short_arg()
|
/external/rust/crates/regex/ |
D | CHANGELOG.md | 188 Corrects `/-/.splitn("a", 2)` to return `["a"]` instead of `["a", ""]`.
|