• Home
  • Raw
  • Download

Lines Matching refs:n

143     ush n;              /* literal, length base, or distance base */  member
234 #define NEEDBITS(n) {while(k<(n)){b|=((ulg)NEXTBYTE())<<k;k+=8;}} argument
235 #define DUMPBITS(n) {b>>=(n);k-=(n);} argument
324 unsigned n, /* number of codes (assumed <= N_MAX) */ in huft_build() argument
375 p = b; i = n; in huft_build()
377 Tracecv(*p, (stderr, (n-i >= ' ' && n-i <= '~' ? "%c %d\n" : "0x%x %d\n"), in huft_build()
378 n-i, *p)); in huft_build()
382 if (c[0] == n) /* null input--all zero length codes */ in huft_build()
438 } while (++i < n); in huft_build()
439 n = x[g]; /* set n to length of v */ in huft_build()
519 if (p >= v + n) in huft_build()
524 r.v.n = (ush)(*p); /* simple code is just the value */ in huft_build()
530 r.v.n = d[*p++ - s]; in huft_build()
599 unsigned n, d; /* length and index for copy */ in inflate_codes() local
629 slide[w++] = (uch)t->v.n; in inflate_codes()
645 n = t->v.n + ((unsigned)b & mask_bits[e]); in inflate_codes()
660 d = w - t->v.n - ((unsigned)b & mask_bits[e]); in inflate_codes()
662 Tracevv((stderr,"\\[%d,%d]", w-d, n)); in inflate_codes()
666 n -= (e = (e = WSIZE - ((d &= WSIZE-1) > w ? d : w)) > n ? n : e); in inflate_codes()
685 } while (n); in inflate_codes()
707 unsigned n; /* number of bytes in block */ in inflate_stored() local
721 n = k & 7; in inflate_stored()
722 DUMPBITS(n); in inflate_stored()
727 n = ((unsigned)b & 0xffff); in inflate_stored()
730 if (n != (unsigned)((~b) & 0xffff)) in inflate_stored()
736 while (n--) in inflate_stored()
836 unsigned n; /* number of lengths to get */ in inflate_dynamic() local
912 n = nl + nd; in inflate_dynamic()
915 while ((unsigned)i < n) in inflate_dynamic()
920 j = td->v.n; in inflate_dynamic()
928 if ((unsigned)i + j > n) { in inflate_dynamic()
940 if ((unsigned)i + j > n) { in inflate_dynamic()
953 if ((unsigned)i + j > n) { in inflate_dynamic()