Home
last modified time | relevance | path

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

/third_party/rust/crates/nom/src/number/
Dstreaming.rs261 pub fn be_i24<I, E: ParseError<I>>(input: I) -> IResult<I, i32, E> in be_i24() function
994 crate::number::Endianness::Big => be_i24, in i24()
997 crate::number::Endianness::Native => be_i24, in i24()
1671 assert_parse!(be_i24(&[0xFF, 0xFF, 0xFF][..]), Ok((&b""[..], -1_i32))); in i24_tests()
1672 assert_parse!(be_i24(&[0xFF, 0x00, 0x00][..]), Ok((&b""[..], -65_536_i32))); in i24_tests()
1674 be_i24(&[0xED, 0xCB, 0xAA][..]), in i24_tests()
1677 assert_parse!(be_i24(&[][..]), Err(Err::Incomplete(Needed::new(3)))); in i24_tests()
1678 assert_parse!(be_i24(&[0x00][..]), Err(Err::Incomplete(Needed::new(2)))); in i24_tests()
1680 be_i24(&[0x00, 0x00][..]), in i24_tests()
Dcomplete.rs273 pub fn be_i24<I, E: ParseError<I>>(input: I) -> IResult<I, i32, E> in be_i24() function
1020 crate::number::Endianness::Big => be_i24, in i24()
1023 crate::number::Endianness::Native => be_i24, in i24()
1697 assert_parse!(be_i24(&[0xFF, 0xFF, 0xFF][..]), Ok((&b""[..], -1_i32))); in be_i24_tests()
1698 assert_parse!(be_i24(&[0xFF, 0x00, 0x00][..]), Ok((&b""[..], -65_536_i32))); in be_i24_tests()
1700 be_i24(&[0xED, 0xCB, 0xAA][..]), in be_i24_tests()
/third_party/rust/crates/nom/doc/
Dchoosing_a_combinator.md66 …test/nom/number/complete/fn.be_i16.html), [`be_i24`](https://docs.rs/nom/latest/nom/number/complet…
/third_party/rust/crates/nom/
DCHANGELOG.md756 - @sdroege: implementing be_i24 and le_i24
779 - be_i24 and le_i24, parsing big endian and little endian signed 24 bit integers