Searched refs:be_u8 (Results 1 – 7 of 7) sorted by relevance
/external/rust/crates/nom/tests/ |
D | overflow.rs | 121 use nom::number::streaming::be_u8; in overflow_incomplete_length_count() 122 named!(multi<&[u8], Vec<&[u8]> >, length_count!( be_u8, length_data!(be_u64) ) ); in overflow_incomplete_length_count()
|
/external/rust/crates/nom/src/multi/ |
D | macros.rs | 539 use crate::number::streaming::{be_u16, be_u8}; 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()
|
/external/rust/crates/nom/src/combinator/ |
D | mod.rs | 731 use crate::number::complete::be_u8; 812 assert_parse!(flat_map(be_u8, take)(input), Ok((&[103, 104][..], &[100, 101, 102][..]))); in test_flat_map() 818 …assert_parse!(map_opt(be_u8, |u| if u < 20 {Some(u)} else {None})(input), Err(Err::Error((&[50][..… in test_map_opt() 819 assert_parse!(map_opt(be_u8, |u| if u > 20 {Some(u)} else {None})(input), Ok((&[][..], 50))); in test_map_opt()
|
/external/rust/crates/nom/src/sequence/ |
D | macros.rs | 819 use crate::number::streaming::be_u8; in do_parse_dependency() 823 length: be_u8 >> in do_parse_dependency()
|
/external/rust/crates/nom/src/number/ |
D | streaming.rs | 27 pub fn be_u8<'a, E: ParseError<&'a[u8]>>(i: &'a[u8]) -> IResult<&'a[u8], u8, E> { in be_u8() function 196 map!(i, be_u8, |x| x as i8) in be_i8()
|
D | complete.rs | 30 pub fn be_u8<'a, E: ParseError<&'a[u8]>>(i: &'a[u8]) -> IResult<&'a[u8], u8, E> { in be_u8() function 197 map!(i, be_u8, |x| x as i8) in be_i8()
|
/external/rust/crates/nom/ |
D | CHANGELOG.md | 1083 - big endian unsigned int and float parsers: be_u8, be_u16, be_u32, be_u64, be_f32, be_f64
|