Lines Matching defs:bits
50 state->bits < 8
60 - The maximum input bits used by a length/distance pair is 15 bits for the
61 length code, 5 bits for the length extra, 15 bits for the distance code,
62 and 13 bits for the distance extra. This totals 48 bits, or six bytes.
90 /* 88 44 */ unsigned bits; /* ebx rbx local strm->bits */
119 ar.bits = state->bits;
130 ar.hold += (unsigned long)*ar.in++ << ar.bits;
131 ar.bits += 8;
147 " movl 88(%%rsp), %%ebx\n" /* ebx = bits */
165 " movb %%bl, %%cl\n" /* cl = bits, needs it for shifting */
166 " addb $32, %%bl\n" /* bits += 32 */
168 " orq %%rax, %%rdx\n" /* hold |= *((uint *)in)++ << bits */
181 " ja .L_get_length_code\n" /* if (32 < bits) */
184 " movb %%bl, %%cl\n" /* cl = bits, needs it for shifting */
185 " addb $32, %%bl\n" /* bits += 32 */
187 " orq %%rax, %%rdx\n" /* hold |= *((uint *)in)++ << bits */
193 " movb %%ah, %%cl\n" /* cl = this.bits */
194 " subb %%ah, %%bl\n" /* bits -= this.bits */
195 " shrq %%cl, %%rdx\n" /* hold >>= this.bits */
209 " movb %%ah, %%cl\n" /* cl = this.bits */
210 " subb %%ah, %%bl\n" /* bits -= this.bits */
211 " shrq %%cl, %%rdx\n" /* hold >>= this.bits */
244 " ja .L_get_distance_code\n" /* if (32 < bits) */
247 " movb %%bl, %%cl\n" /* cl = bits, needs it for shifting */
248 " addb $32, %%bl\n" /* bits += 32 */
250 " orq %%rax, %%rdx\n" /* hold |= *((uint *)in)++ << bits */
260 " subb %%ah, %%bl\n" /* bits -= this.bits */
261 " shrq %%cl, %%rdx\n" /* hold >>= this.bits */
457 /* put in, out, bits, and hold back into ar and pop esp */
460 " movl %%ebx, 88(%%rsp)\n" /* bits */
479 " movl 44(%%esp), %%ebx\n" /* ebx = bits */
494 " ja .L_get_length_code\n" /* if (15 < bits) */
498 " movb %%bl, %%cl\n" /* cl = bits, needs it for shifting */
499 " addb $16, %%bl\n" /* bits += 16 */
501 " orl %%eax, %%edx\n" /* hold |= *((ushort *)in)++ << bits */
509 " movb %%ah, %%cl\n" /* cl = this.bits */
510 " subb %%ah, %%bl\n" /* bits -= this.bits */
511 " shrl %%cl, %%edx\n" /* hold >>= this.bits */
532 " jae .L_add_bits_to_len\n" /* if (op <= bits) */
537 " movb %%bl, %%cl\n" /* cl = bits, needs it for shifting */
538 " addb $16, %%bl\n" /* bits += 16 */
540 " orl %%eax, %%edx\n" /* hold |= *((ushort *)in)++ << bits */
555 " ja .L_get_distance_code\n" /* if (15 < bits) */
559 " movb %%bl, %%cl\n" /* cl = bits, needs it for shifting */
560 " addb $16, %%bl\n" /* bits += 16 */
562 " orl %%eax, %%edx\n" /* hold |= *((ushort *)in)++ << bits */
574 " subb %%ah, %%bl\n" /* bits -= this.bits */
575 " shrl %%cl, %%edx\n" /* hold >>= this.bits */
583 " jae .L_add_bits_to_dist\n" /* if (op <= bits) 97.6% */
588 " movb %%bl, %%cl\n" /* cl = bits, needs it for shifting */
589 " addb $16, %%bl\n" /* bits += 16 */
591 " orl %%eax, %%edx\n" /* hold |= *((ushort *)in)++ << bits */
786 /* put in, out, bits, and hold back into ar and pop esp */
789 " movl %%ebx, 44(%%esp)\n" /* save bits */
806 mov ebx, [esp+44] /* ebx = bits */
821 ja L_get_length_code /* if (15 < bits) */
825 mov cl, bl /* cl = bits, needs it for shifting */
826 add bl, 16 /* bits += 16 */
828 or edx, eax /* hold |= *((ushort *)in)++ << bits */
836 mov cl, ah /* cl = this.bits */
837 sub bl, ah /* bits -= this.bits */
838 shr edx, cl /* hold >>= this.bits */
859 jae L_add_bits_to_len /* if (op <= bits) */
864 mov cl, bl /* cl = bits, needs it for shifting */
865 add bl, 16 /* bits += 16 */
867 or edx, eax /* hold |= *((ushort *)in)++ << bits */
882 ja L_get_distance_code /* if (15 < bits) */
886 mov cl, bl /* cl = bits, needs it for shifting */
887 add bl, 16 /* bits += 16 */
889 or edx, eax /* hold |= *((ushort *)in)++ << bits */
901 sub bl, ah /* bits -= this.bits */
902 shr edx, cl /* hold >>= this.bits */
910 jae L_add_bits_to_dist /* if (op <= bits) 97.6% */
915 mov cl, bl /* cl = bits, needs it for shifting */
916 add bl, 16 /* bits += 16 */
918 or edx, eax /* hold |= *((ushort *)in)++ << bits */
1113 /* put in, out, bits, and hold back into ar and pop esp */
1116 mov [esp+44], ebx /* save bits */
1138 /* return unused bytes (on entry, bits < 8, so in won't go too far back) */
1139 ar.len = ar.bits >> 3;
1141 ar.bits -= ar.len << 3;
1142 ar.hold &= (1U << ar.bits) - 1;
1154 state->bits = ar.bits;