Lines Matching refs:Needed
6 internal::{Err, IResult, Needed},
64 assert_eq!(multi(f), Err(Err::Incomplete(Needed::new(1)))); in separated_list0_test()
65 assert_eq!(multi_longsep(g), Err(Err::Incomplete(Needed::new(1)))); in separated_list0_test()
66 assert_eq!(multi(h), Err(Err::Incomplete(Needed::new(1)))); in separated_list0_test()
99 assert_eq!(multi(f), Err(Err::Incomplete(Needed::new(1)))); in separated_list1_test()
100 assert_eq!(multi_longsep(g), Err(Err::Incomplete(Needed::new(1)))); in separated_list1_test()
101 assert_eq!(multi(h), Err(Err::Incomplete(Needed::new(1)))); in separated_list1_test()
120 assert_eq!(multi(&b"abcdab"[..]), Err(Err::Incomplete(Needed::new(2)))); in many0_test()
121 assert_eq!(multi(&b"abcd"[..]), Err(Err::Incomplete(Needed::new(4)))); in many0_test()
122 assert_eq!(multi(&b""[..]), Err(Err::Incomplete(Needed::new(4)))); in many0_test()
152 assert_eq!(multi(d), Err(Err::Incomplete(Needed::new(2)))); in many1_test()
228 assert_eq!(multi(e), Err(Err::Incomplete(Needed::new(2)))); in many_m_n_test()
243 assert_eq!(cnt_2(&b"ab"[..]), Err(Err::Incomplete(Needed::new(1)))); in count_test()
244 assert_eq!(cnt_2(&b"abcab"[..]), Err(Err::Incomplete(Needed::new(1)))); in count_test()
339 assert_eq!(cnt(&b"2ab"[..]), Err(Err::Incomplete(Needed::new(1)))); in length_count_test()
340 assert_eq!(cnt(&b"3abcab"[..]), Err(Err::Incomplete(Needed::new(1)))); in length_count_test()
361 assert_eq!(take(&b"3ab"[..]), Err(Err::Incomplete(Needed::new(1)))); in length_data_test()
427 assert_eq!(multi(&b"abcdab"[..]), Err(Err::Incomplete(Needed::new(2)))); in fold_many0_test()
428 assert_eq!(multi(&b"abcd"[..]), Err(Err::Incomplete(Needed::new(4)))); in fold_many0_test()
429 assert_eq!(multi(&b""[..]), Err(Err::Incomplete(Needed::new(4)))); in fold_many0_test()
463 assert_eq!(multi(d), Err(Err::Incomplete(Needed::new(2)))); in fold_many1_test()
493 assert_eq!(multi(e), Err(Err::Incomplete(Needed::new(2)))); in fold_many_m_n_test()