• Home
  • Raw
  • Download

Lines Matching refs:left

46     unsigned left;              /* available input at in */  member
79 if (s->left == 0) { in bits()
80 s->left = s->infun(s->inhow, &(s->in)); in bits()
81 if (s->left == 0) longjmp(s->env, 1); /* out of input */ in bits()
84 s->left--; in bits()
137 int left; /* bits left in next or left to process */ in decode() local
141 left = s->bitcnt; in decode()
146 while (left--) { in decode()
161 left = (MAXBITS+1) - len; in decode()
162 if (left == 0) break; in decode()
163 if (s->left == 0) { in decode()
164 s->left = s->infun(s->inhow, &(s->in)); in decode()
165 if (s->left == 0) longjmp(s->env, 1); /* out of input */ in decode()
168 s->left--; in decode()
169 if (left > 8) left = 8; in decode()
195 int left; /* number of possible codes left of current length */ in construct() local
203 left = (len >> 4) + 1; in construct()
207 } while (--left); in construct()
220 left = 1; /* one possible code of zero length */ in construct()
222 left <<= 1; /* one more bit, double codes left */ in construct()
223 left -= h->count[len]; /* deduct count from possible codes */ in construct()
224 if (left < 0) return left; /* over-subscribed--return negative */ in construct()
241 return left; in construct()
384 unsigned *left, unsigned char **in) in blast() argument
392 if (left != NULL && *left) { in blast()
393 s.left = *left; in blast()
397 s.left = 0; in blast()
414 if (left != NULL) in blast()
415 *left = s.left; in blast()
417 *in = s.left ? s.in : NULL; in blast()
449 unsigned left; in main() local
452 left = 0; in main()
453 ret = blast(inf, stdin, outf, stdout, &left, NULL); in main()
459 left++; in main()
460 if (left) in main()
461 fprintf(stderr, "blast warning: %u unused bytes of input\n", left); in main()