Lines Matching refs:Needed
3 use crate::internal::{Err, IResult, Needed};
324 fn slice_index(&self, count: usize) -> Result<usize, Needed>; in slice_index() argument
356 fn slice_index(&self, count: usize) -> Result<usize, Needed> { in slice_index() argument
360 Err(Needed::new(count - self.len())) in slice_index()
401 fn slice_index(&self, count: usize) -> Result<usize, Needed> { in slice_index() argument
412 Err(Needed::Unknown) in slice_index()
509 None => Err(Err::Incomplete(Needed::new(1))), in split_at_position()
524 None => Err(Err::Incomplete(Needed::new(1))), in split_at_position1()
571 None => Err(Err::Incomplete(Needed::new(1))), in split_at_position()
586 None => Err(Err::Incomplete(Needed::new(1))), in split_at_position1()
635 None => Err(Err::Incomplete(Needed::new(1))), in split_at_position()
651 None => Err(Err::Incomplete(Needed::new(1))), in split_at_position1()
1085 fn slice_index(&self, count: usize) -> Result<usize, Needed> {