Home
last modified time | relevance | path

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

/external/rust/crates/nom/src/number/
Dstreaming.rs254 pub fn be_i32<'a, E: ParseError<&'a[u8]>>(i: &'a[u8]) -> IResult<&'a[u8], i32, E> { in be_i32() function
962 assert_parse!(be_i32(&[0x00, 0x00, 0x00, 0x00]), Ok((&b""[..], 0))); in i32_tests()
964 be_i32(&[0x7f, 0xff, 0xff, 0xff]), in i32_tests()
967 assert_parse!(be_i32(&[0xff, 0xff, 0xff, 0xff]), Ok((&b""[..], -1))); in i32_tests()
969 be_i32(&[0x80, 0x00, 0x00, 0x00]), in i32_tests()
Dcomplete.rs261 pub fn be_i32<'a, E: ParseError<&'a[u8]>>(i: &'a[u8]) -> IResult<&'a[u8], i32, E> { in be_i32() function
953 assert_parse!(be_i32(&[0x00, 0x00, 0x00, 0x00]), Ok((&b""[..], 0))); in i32_tests()
955 be_i32(&[0x7f, 0xff, 0xff, 0xff]), in i32_tests()
958 assert_parse!(be_i32(&[0xff, 0xff, 0xff, 0xff]), Ok((&b""[..], -1))); in i32_tests()
960 be_i32(&[0x80, 0x00, 0x00, 0x00]), in i32_tests()
Dmacros.rs140 …( {if $crate::number::Endianness::Big == $e { $crate::number::streaming::be_i32($i) } else { $crat…
/external/rust/crates/nom/
DCHANGELOG.md984 - `be_i8`, `be_i16`, `be_i32`, `be_i64`: big endian signed integer parsers