Lines Matching refs:num_bits
3548 int num_bits;
3568 STBI_ASSERT(z->code_buffer < (1U << z->num_bits));
3569 z->code_buffer |= (unsigned int) stbi__zget8(z) << z->num_bits;
3570 z->num_bits += 8;
3571 } while (z->num_bits <= 24);
3577 if (z->num_bits < n) stbi__fill_bits(z);
3580 z->num_bits -= n;
3598 a->num_bits -= s;
3605 if (a->num_bits < 16) stbi__fill_bits(a);
3610 a->num_bits -= s;
3740 if (a->num_bits & 7)
3741 stbi__zreceive(a, a->num_bits & 7); // discard
3744 while (a->num_bits > 0) {
3747 a->num_bits -= 8;
3749 STBI_ASSERT(a->num_bits == 0);
3796 a->num_bits = 0;