Home
last modified time | relevance | path

Searched refs:take_while1 (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/combine/benches/
Dhttp.rs13 parser::range::{range, take_while1},
88 take_while1(is_horizontal_space), in message_header()
89 take_while1(|c| c != b'\r' && c != b'\n'), in message_header()
95 name: take_while1(is_token), in message_header()
108 let http_version = range(&b"HTTP/"[..]).with(take_while1(is_http_version)); in parse_http_request()
111 method: take_while1(is_token), in parse_http_request()
112 _: take_while1(is_space), in parse_http_request()
113 uri: take_while1(is_not_space), in parse_http_request()
114 _: take_while1(is_space), in parse_http_request()
/external/rust/crates/nom/src/
Dstr.rs178 fn take_while1() { in take_while1() function
179 use crate::bytes::streaming::take_while1; in take_while1()
182 take_while1(is_alphabetic)(i) in take_while1()
358 use crate::bytes::complete::take_while1; in take_while1_succeed()
375 take_while1(while1_s)(input) in take_while1_succeed()
450 use crate::bytes::complete::take_while1; in take_while1_fail()
457 take_while1(while1_s)(input) in take_while1_fail()
/external/rust/crates/combine/src/parser/
Drange.rs410 pub fn take_while1<Input, F>(f: F) -> TakeWhile1<Input, F> in take_while1() function
721 let result = take_while1(|c: char| c.is_digit(10)).parse("123abc"); in take_while1_test()
723 let result = take_while1(|c: char| c.is_digit(10)).parse("abc"); in take_while1_test()
/external/rust/crates/nom/src/bytes/
Dtests.rs372 fn take_while1() {
373 use crate::bytes::streaming::take_while1;
376 take_while1(is_alphabetic)(i)
Dstreaming.rs222 pub fn take_while1<F, Input, Error: ParseError<Input>>( in take_while1() function
Dcomplete.rs213 pub fn take_while1<F, Input, Error: ParseError<Input>>( in take_while1() function
/external/rust/crates/combine/tests/
Dasync.rs26 take_while1,
438 take_while1(move |c| { count.set(count.get() + 1); c != '\r' })
/external/crosvm/serde_keyvalue/src/
Dkey_values.rs16 use nom::bytes::complete::take_while1;
165 take_while1(|c: char| c != ',' && c != '"' && c != '\'' && c != '[' && c != ']'), in any_string()
/external/rust/crates/nom/
DCHANGELOG.md862 - `take_while1` returns `Incomplete` on empty input
1040 - `take_while!` and `take_while1!` will not perturb the behaviour of `recognize!` anymore
1116 - `take_while!`, `take_while1!`, `take_while_s!`, `take_while1_s!` wilreturn an error on empty input
1212 - implementation of `take_till!`, `take_while!` and `take_while1!`
/external/rust/crates/combine/
DCHANGELOG.md502 * Unroll take_while1 ([279a4526](https://github.com/Marwes/combine/commit/279a4526494e1cd7e90252c…
729 * Avoid creating an error when take_while1 parses no input ([9bad15c0](https://github.com/Marwes/…