Home
last modified time | relevance | path

Searched refs:be_u16 (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/nom/tests/
Dmp4.rs9 number::streaming::{be_u16, be_u32, be_u64, be_f32}
105 volume: be_u16 >> // actually a 2 bytes decimal
157 volume: be_u16 >> // actually a 2 bytes decimal
Dissues.rs107 use nom::number::streaming::be_u16; in usize_length_bytes_issue()
108 let _: IResult<&[u8], &[u8], (&[u8], ErrorKind)> = length_data!(b"012346", be_u16); in usize_length_bytes_issue()
/external/rust/crates/nom/src/number/
Dmacros.rs24 …( {if $crate::number::Endianness::Big == $e { $crate::number::streaming::be_u16($i) } else { $crat…
Dstreaming.rs52 pub fn be_u16<'a, E: ParseError<&'a[u8]>>(i: &'a[u8]) -> IResult<&'a[u8], u16, E> { in be_u16() function
214 map!(i, be_u16, |x| x as i16) in be_i16()
Dcomplete.rs54 pub fn be_u16<'a, E: ParseError<&'a[u8]>>(i: &'a[u8]) -> IResult<&'a[u8], u16, E> { in be_u16() function
217 map!(i, be_u16, |x| x as i16) in be_i16()
/external/rust/crates/nom/src/sequence/
Dmacros.rs477 use crate::number::streaming::be_u16;
770 tuple!( be_u16 , take!(3), tag!("fg") ) ); in tuple_test()
/external/rust/crates/nom/src/multi/
Dmacros.rs539 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()
/external/rust/crates/nom/
DCHANGELOG.md1083 - big endian unsigned int and float parsers: be_u8, be_u16, be_u32, be_u64, be_f32, be_f64