Home
last modified time | relevance | path

Searched refs:length_value (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/nom/src/multi/
Dmacros.rs406 macro_rules! length_value( macro
408 length_value!($i, |i| $submac!(i, $($args)*), |i| $submac2!(i, $($args2)*))
412 length_value!($i, |i| $submac!(i, $($args)*), $g);
416 length_value!($i, $f, |i| $submac!(i, $($args)*));
858 named!(length_value_1<&[u8], u16 >, length_value!(be_u8, be_u16)); in length_value_test()
859 named!(length_value_2<&[u8], (u8, u8) >, length_value!(be_u8, tuple!(be_u8, be_u8))); in length_value_test()
Dmod.rs960 pub fn length_value<I, O, N, E, F, G>(f: F, g: G) -> impl Fn(I) -> IResult<I, O, E> in length_value() function
996 length_value(f, g)(i) in length_valuec()
/external/rust/crates/nom/src/sequence/
Dmacros.rs821 named!(length_value, in do_parse_dependency()
831 assert_eq!(length_value(&a[..]), Ok((&a[3..], &res_a[..]))); in do_parse_dependency()
833 assert_eq!(length_value(&b[..]), Err(Err::Incomplete(Needed::Size(5)))); in do_parse_dependency()
/external/rust/crates/nom/
DCHANGELOG.md560 - @vickenty for documentation fixes and his refactoring of `length_value!` and `length_bytes!`
593 - `length_value!` has been renamed to `length_count!`. The new `length_value!` selects a slice and …
1064 - `length_value!` macro: the first argument is a parser returning a `n` that can cast to usize, the…