Searched refs:take_till (Results 1 - 7 of 7) sorted by relevance
/third_party/rust/crates/nom/benchmarks/benches/ |
H A D | ini_str.rs | 7 bytes::complete::{is_a, tag, take_till, take_while}, 35 let (i, val) = take_till(is_line_ending_or_comment)(i)?; in key_value()
|
/third_party/rust/crates/nom/src/bytes/ |
H A D | tests.rs | 418 fn take_till() { in take_till() functions 419 use crate::bytes::streaming::take_till; in take_till() 422 take_till(is_alphabetic)(i) in take_till() 480 use crate::bytes::streaming::take_till; in take_till_utf8() 483 take_till(|c| c == '點')(i) in take_till_utf8() 492 take_till(|c| c != '點')(i) in take_till_utf8()
|
H A D | streaming.rs | 332 /// use nom::bytes::streaming::take_till; 335 /// take_till(|c| c == ':')(s) 343 pub fn take_till<F, Input, Error: ParseError<Input>>( in take_till() functions
|
H A D | complete.rs | 319 /// use nom::bytes::complete::take_till; 322 /// take_till(|c| c == ':')(s) 330 pub fn take_till<F, Input, Error: ParseError<Input>>( in take_till() functions
|
/third_party/rust/crates/nom/tests/ |
H A D | issues.rs | 74 use nom::bytes::streaming::take_till; in take_till_issue() 77 take_till(|_| true)(i) in take_till_issue()
|
H A D | ini_str.rs | 2 bytes::complete::{is_a, tag, take_till, take_while}, 34 let (i, val) = take_till(is_line_ending_or_comment)(i)?; in key_value()
|
/third_party/rust/crates/nom/src/ |
H A D | str.rs | 6 bytes::complete::{is_a, is_not, tag, take, take_till, take_until}, 207 take_till(till_s)(input) in take_till_s_succeed() 213 "Parser `take_till` consumed leftover input." in take_till_s_succeed() 217 "Parser `take_till` doesn't return the string it consumed on success. \ in take_till_s_succeed() 224 "Parser `take_till` didn't succeed when it should have. \ in take_till_s_succeed()
|
Completed in 5 milliseconds