Lines Matching refs:discards
569 final byte[] discards = new byte[end];
586 discards[i] = 1;
588 discards[i] = 2;
590 return discards;
597 private void filterDiscards(final byte[] discards) {
602 /* Cancel provisional discards not in middle of run of discards. */
603 if (discards[i] == 2)
604 discards[i] = 0;
605 else if (discards[i] != 0)
616 if (discards[j] == 0)
618 if (discards[j] == 2)
622 /* Cancel provisional discards at end, and shrink the run. */
623 while (j > i && discards[j - 1] == 2) {
624 discards[--j] = 0; --provisional;
636 if (discards[--j] == 2)
637 discards[j] = 0;
656 if (discards[i + j] != 2)
662 discards[i + j] = 0;
670 if (j >= 8 && discards[i + j] == 1)
672 if (discards[i + j] == 2) {
673 consec = 0; discards[i + j] = 0;
675 else if (discards[i + j] == 0)
689 if (j >= 8 && discards[i - j] == 1)
691 if (discards[i - j] == 2) {
692 consec = 0; discards[i - j] = 0;
694 else if (discards[i - j] == 0)
707 @param discards flags lines to be discarded
709 private void discard(final byte[] discards) {
713 if (no_discards || discards[i] == 0)