Lines Matching defs:be_i128
323 /// use nom::number::streaming::be_i128;
325 /// let parser = be_i128::<_, (_, ErrorKind)>;
331 pub fn be_i128<I, E: ParseError<I>>(input: I) -> IResult<I, i128, E>
1091 /// let be_i128 = |s| {
1095 /// assert_eq!(be_i128(&b"\x00\x01\x02\x03\x04\x05\x06\x07\x00\x01\x02\x03\x04\x05\x06\x07abcefg"[..]), Ok((&b"abcefg"[..], 0x00010203040506070001020304050607)));
1096 /// assert_eq!(be_i128(&b"\x01"[..]), Err(Err::Incomplete(Needed::new(15))));
1111 crate::number::Endianness::Big => be_i128,
1114 crate::number::Endianness::Native => be_i128,
1758 be_i128(
1767 be_i128(
1779 be_i128(
1788 be_i128(
1799 assert_parse!(be_i128(&[][..]), Err(Err::Incomplete(Needed::new(16))));
1800 assert_parse!(be_i128(&[0x00][..]), Err(Err::Incomplete(Needed::new(15))));
1802 be_i128(&[0x00, 0x00][..]),
1806 be_i128(&[0x00, 0x00, 0x00][..]),
1810 be_i128(&[0x00, 0x00, 0x00, 0x00][..]),
1814 be_i128(&[0x00, 0x00, 0x00, 0x00, 0x00][..]),
1818 be_i128(&[0x00, 0x00, 0x00, 0x00, 0x00, 0x00][..]),
1822 be_i128(&[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00][..]),
1826 be_i128(&[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00][..]),
1830 be_i128(&[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00][..]),
1834 be_i128(&[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00][..]),
1838 be_i128(&[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00][..]),
1842 be_i128(&[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00][..]),
1846 be_i128(&[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00][..]),
1850 be_i128(
1856 be_i128(