Home
last modified time | relevance | path

Searched refs:be_i8 (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/nom/src/number/
Dstreaming.rs195 pub fn be_i8<'a, E: ParseError<&'a[u8]>>(i: &'a[u8]) -> IResult<&'a[u8], i8, E> { in be_i8() function
932 assert_parse!(be_i8(&[0x00]), Ok((&b""[..], 0))); in i8_tests()
933 assert_parse!(be_i8(&[0x7f]), Ok((&b""[..], 127))); in i8_tests()
934 assert_parse!(be_i8(&[0xff]), Ok((&b""[..], -1))); in i8_tests()
935 assert_parse!(be_i8(&[0x80]), Ok((&b""[..], -128))); in i8_tests()
Dcomplete.rs196 pub fn be_i8<'a, E: ParseError<&'a[u8]>>(i: &'a[u8]) -> IResult<&'a[u8], i8, E> { in be_i8() function
923 assert_parse!(be_i8(&[0x00]), Ok((&b""[..], 0))); in i8_tests()
924 assert_parse!(be_i8(&[0x7f]), Ok((&b""[..], 127))); in i8_tests()
925 assert_parse!(be_i8(&[0xff]), Ok((&b""[..], -1))); in i8_tests()
926 assert_parse!(be_i8(&[0x80]), Ok((&b""[..], -128))); in i8_tests()
/external/rust/crates/nom/
DCHANGELOG.md984 - `be_i8`, `be_i16`, `be_i32`, `be_i64`: big endian signed integer parsers