Lines Matching refs:DecoderResult

30                  -> (DecoderResult, usize, usize) {
50 return (DecoderResult::InputEmpty, $src_consumed, $dest.written());
55 return (DecoderResult::OutputFull,
146 -> (DecoderResult, usize, usize) {
159 return (DecoderResult::Malformed(1, 0),
163 … return (DecoderResult::InputEmpty, src_consumed_prolog, dest_prolog.written());
168 return (DecoderResult::OutputFull,
200 return (DecoderResult::Malformed(1, 0),
205 return (DecoderResult::InputEmpty,
219 return (DecoderResult::InputEmpty,
226 return (DecoderResult::OutputFull,
248 return (DecoderResult::InputEmpty,
255 return (DecoderResult::OutputFull,
369 -> (DecoderResult, usize, usize) {
376 return (DecoderResult::OutputFull, 0, 0);
392 return (DecoderResult::Malformed(count as u8, 0),
397 return (DecoderResult::InputEmpty, src_consumed, dest.written());
402 return (DecoderResult::OutputFull,
480 return (DecoderResult::Malformed(1, 0),
485 return (DecoderResult::InputEmpty,
512 return (DecoderResult::Malformed(2, 0),
519 return (DecoderResult::InputEmpty,
535 return (DecoderResult::Malformed(3, 0),
540 return (DecoderResult::InputEmpty,
561 return (DecoderResult::InputEmpty,
568 return (DecoderResult::OutputFull,
694 -> (DecoderResult, usize, usize) {
704 return (DecoderResult::Malformed(count as u8, 0),
709 return (DecoderResult::InputEmpty, src_consumed, dest.written());
714 return (DecoderResult::OutputFull,
775 return (DecoderResult::Malformed(1, 0),
781 return (DecoderResult::InputEmpty,
797 return (DecoderResult::Malformed(1, 0),
802 return (DecoderResult::InputEmpty,
817 return (DecoderResult::Malformed(2, 0),
822 return (DecoderResult::InputEmpty,
840 return (DecoderResult::Malformed(1, 0),
845 return (DecoderResult::InputEmpty,
858 return (DecoderResult::Malformed(1, 0),
865 return (DecoderResult::InputEmpty,
872 return (DecoderResult::OutputFull,
1297 -> (DecoderResult, usize, usize) {
1309 return (DecoderResult::InputEmpty, 0, 0);
1336 return (DecoderResult::InputEmpty, 0, 0);
1353 return (DecoderResult::InputEmpty, 0, 0);
1370 return (DecoderResult::InputEmpty, 0, 0);
1393 return (DecoderResult::InputEmpty, offset, 0);
1414 return (DecoderResult::InputEmpty, offset, 0);
1442 return (DecoderResult::InputEmpty, offset, 0);
1471 return (DecoderResult::InputEmpty, offset, 0);
1510 -> (DecoderResult, usize, usize) {
1520 DecoderResult::InputEmpty => {
1527 DecoderResult::Malformed(_, _) => {
1530 DecoderResult::OutputFull => {
1546 -> (DecoderResult, usize, usize) {
1555 DecoderResult::InputEmpty => {
1562 DecoderResult::Malformed(_, _) => {
1570 DecoderResult::OutputFull => {
1599 -> (DecoderResult, usize, usize) {
1611 -> (DecoderResult, usize, usize) {
1616 if let DecoderResult::InputEmpty = result {