Lines Matching refs:Needed
886 use $crate::{Err,Needed,IResult};
973 use crate::internal::{Err, IResult, Needed};
983 use $crate::{Err,Needed,IResult,error::ErrorKind};
992 Err(Err::Incomplete(Needed::Size($tag.input_len())))
1008 Err($crate::Err::Incomplete($crate::Needed::Size(cnt)))
1063 assert_eq!(opt_abcd(c), Err(Err::Incomplete(Needed::Size(4)))); in opt()
1081 assert_eq!(opt_res_abcd(c), Err(Err::Incomplete(Needed::Size(4)))); in opt_res()
1116 assert_eq!(f_true(&b"ab"[..]), Err(Err::Incomplete(Needed::Size(4)))); in cond()
1138 assert_eq!(f_true(&b"ab"[..]), Err(Err::Incomplete(Needed::Size(4)))); in cond_wrapping()
1151 assert_eq!(peek_tag(&b"ab"[..]), Err(Err::Incomplete(Needed::Size(4)))); in peek()
1165 assert_eq!(not_aaa(&b"aa"[..]), Err(Err::Incomplete(Needed::Size(3)))); in not()
1172 assert_eq!(test(&b"bcd"[..]), Err(Err::Incomplete(Needed::Size(5)))); in verify()