Lines Matching refs:rep0
181 /// If 1, it's a repeated match. The distance is one of rep0 .. rep3.
184 /// If 0, distance of a repeated match is rep0.
228 uint32_t rep0; ///< Distance of the latest match
323 uint32_t rep0 = coder->rep0;
401 len = (uint32_t)(dict_get(&dict, rep0)) << 1;
509 rep1 = rep0;
540 rep0 = symbol;
546 rep0 = 2 + (symbol & 1);
552 rep0 <<= limit;
553 assert(rep0 <= 96);
560 assert((int32_t)(rep0 - symbol - 1)
562 assert((int32_t)(rep0 - symbol - 1)
564 probs = coder->pos_special + rep0
572 rep0 += 1U << offset,
580 rep0 += 1U,
586 rep0 += 1U << offset,
592 rep0 += 1U << offset,
598 rep0 += 1U << offset,
610 rep0 += 1U << offset,
625 rc_direct(rep0, SEQ_DIRECT);
630 rep0 <<= ALIGN_BITS;
638 rep0 += 1U << offset,
644 rep0 += 1, SEQ_ALIGN0);
647 rep0 += 2, SEQ_ALIGN1);
650 rep0 += 4, SEQ_ALIGN2);
656 rep0 += 8, SEQ_ALIGN3);
659 if (rep0 == UINT32_MAX) {
681 if (unlikely(!dict_is_distance_valid(&dict, rep0))) {
693 // available as rep0, rep1, rep2 and rep3. We will
706 // The distance is rep0.
718 &dict, rep0)))) {
727 // distance of rep0.
737 // is stored to rep0 and rep1, rep2 and rep3
743 rep1 = rep0;
744 rep0 = distance;
756 rep1 = rep0;
757 rep0 = distance;
766 rep1 = rep0;
767 rep0 = distance;
789 // Repeat len bytes from distance of rep0.
790 if (unlikely(dict_repeat(&dict, rep0, &len))) {
809 coder->rep0 = rep0;
878 coder->rep0 = 0;