Lines Matching full:decode
44 /* input limit error return state for bits() and decode() */
95 * seen in the function decode() below.
103 * Decode a code from the stream s using huffman table h. Return the symbol or
123 local int decode(struct state *s, struct huffman *h)
173 * Huffman code for n symbols, construct the tables required to decode those
180 * possible for decode() using that table to return an error--any stream of
182 * it is possible for decode() using that table to return an error for received
211 return 0; /* complete, but decode() will fail */
239 * Decode PKWare Compression Library stream.
323 /* decode literals and length/distance pairs */
327 symbol = decode(s, &lencode);
333 dist = decode(s, &distcode) << symbol;
364 symbol = lit ? decode(s, &litcode) : bits(s, 8);
395 /* return if bits() or decode() tries to read past available input */