Lines Matching refs:IResult
5 use nom::{error::ErrorKind, Err, IResult, Needed};
13 pub fn take_char(input: &[u8]) -> IResult<&[u8], char> { in take_char()
28 IResult,
32 fn parse_ints(input: &[u8]) -> IResult<&[u8], Vec<i32>> { in parse_ints()
36 fn spaces_or_int(input: &[u8]) -> IResult<&[u8], i32> { in spaces_or_int()
69 let _: IResult<&[u8], &[u8], (&[u8], ErrorKind)> = length_data(be_u16)(b"012346"); in usize_length_bytes_issue()
76 fn nothing(i: &[u8]) -> IResult<&[u8], &[u8]> { in take_till_issue()
87 fn twolines(i: &str) -> IResult<&str, (&str, &str)> { in issue_655()
103 fn issue_717(i: &[u8]) -> IResult<&[u8], Vec<&[u8]>> { in issue_717()
114 use nom::{error::Error, number::streaming::be_f64, Err, IResult};
130 fn data(input: Input<'_>) -> IResult<Input<'_>, Data> { in data()
140 fn take(i: &[u8]) -> IResult<&[u8], &[u8]> { in issue_848_overflow_incomplete_bits_to_bytes()
144 fn parser(i: &[u8]) -> IResult<&[u8], &[u8]> { in issue_848_overflow_incomplete_bits_to_bytes()
163 ) -> IResult<&'a str, usize, E> { in issue_942()
186 let result: IResult<_, _, VerboseError<&str>> = pair(char('a'), char('b'))(input); in issue_1027_convert_error_panic_nonempty()
204 pub fn example(input: &[u8]) -> IResult<&[u8], (u8, u8)> { in issue_1231_bits_expect_fn_closure()