Lines Matching refs:bound
34 let bound: usize = 1;
35 if input.input_len() < bound {
40 Ok((input.slice(bound..), res))
64 let bound: usize = 2;
65 if input.input_len() < bound {
66 Err(Err::Incomplete(Needed::new(bound - input.input_len())))
69 for byte in input.iter_elements().take(bound) {
73 Ok((input.slice(bound..), res))
97 let bound: usize = 3;
98 if input.input_len() < bound {
99 Err(Err::Incomplete(Needed::new(bound - input.input_len())))
102 for byte in input.iter_elements().take(bound) {
106 Ok((input.slice(bound..), res))
130 let bound: usize = 4;
131 if input.input_len() < bound {
132 Err(Err::Incomplete(Needed::new(bound - input.input_len())))
135 for byte in input.iter_elements().take(bound) {
139 Ok((input.slice(bound..), res))
163 let bound: usize = 8;
164 if input.input_len() < bound {
165 Err(Err::Incomplete(Needed::new(bound - input.input_len())))
168 for byte in input.iter_elements().take(bound) {
172 Ok((input.slice(bound..), res))
195 let bound: usize = 16;
196 if input.input_len() < bound {
197 Err(Err::Incomplete(Needed::new(bound - input.input_len())))
200 for byte in input.iter_elements().take(bound) {
204 Ok((input.slice(bound..), res))
355 let bound: usize = 1;
356 if input.input_len() < bound {
361 Ok((input.slice(bound..), res))
385 let bound: usize = 2;
386 if input.input_len() < bound {
387 Err(Err::Incomplete(Needed::new(bound - input.input_len())))
390 for (index, byte) in input.iter_indices().take(bound) {
394 Ok((input.slice(bound..), res))
418 let bound: usize = 3;
419 if input.input_len() < bound {
420 Err(Err::Incomplete(Needed::new(bound - input.input_len())))
423 for (index, byte) in input.iter_indices().take(bound) {
427 Ok((input.slice(bound..), res))
451 let bound: usize = 4;
452 if input.input_len() < bound {
453 Err(Err::Incomplete(Needed::new(bound - input.input_len())))
456 for (index, byte) in input.iter_indices().take(bound) {
460 Ok((input.slice(bound..), res))
484 let bound: usize = 8;
485 if input.input_len() < bound {
486 Err(Err::Incomplete(Needed::new(bound - input.input_len())))
489 for (index, byte) in input.iter_indices().take(bound) {
493 Ok((input.slice(bound..), res))
517 let bound: usize = 16;
518 if input.input_len() < bound {
519 Err(Err::Incomplete(Needed::new(bound - input.input_len())))
522 for (index, byte) in input.iter_indices().take(bound) {
526 Ok((input.slice(bound..), res))
695 let bound: usize = 1;
696 if input.input_len() < bound {
701 Ok((input.slice(bound..), res))