Searched refs:be_u24 (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/nom/src/number/ |
D | streaming.rs | 78 pub fn be_u24<'a, E: ParseError<&'a[u8]>>(i: &'a[u8]) -> IResult<&'a[u8], u32, E> { in be_u24() function 233 map!(i, be_u24, |x| if x & 0x80_00_00 != 0 { in be_i24() 948 assert_parse!(be_u24(&[0x00, 0x00, 0x00]), Ok((&b""[..], 0))); in u24_tests() 949 assert_parse!(be_u24(&[0x00, 0xFF, 0xFF]), Ok((&b""[..], 65_535_u32))); in u24_tests() 950 assert_parse!(be_u24(&[0x12, 0x34, 0x56]), Ok((&b""[..], 1_193_046_u32))); in u24_tests()
|
D | complete.rs | 79 pub fn be_u24<'a, E: ParseError<&'a[u8]>>(i: &'a[u8]) -> IResult<&'a[u8], u32, E> { in be_u24() function 238 map!(i, be_u24, |x| if x & 0x80_00_00 != 0 { in be_i24() 939 assert_parse!(be_u24(&[0x00, 0x00, 0x00]), Ok((&b""[..], 0))); in u24_tests() 940 assert_parse!(be_u24(&[0x00, 0xFF, 0xFF]), Ok((&b""[..], 65_535_u32))); in u24_tests() 941 assert_parse!(be_u24(&[0x12, 0x34, 0x56]), Ok((&b""[..], 1_193_046_u32))); in u24_tests()
|
/external/rust/crates/nom/ |
D | CHANGELOG.md | 419 - @valarauca for adding `be_u24` 453 - `be_u24`: big endian 24 bit unsigned integer parsing
|