• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/zlib-1.2.3/contrib/blast/

Lines Matching refs:to

7  * This function provides functionality similar to the explode() function of
17 * which decompresses to "AIAIAIAIAIAIA" (without the quotes).
38 void *inhow; /* opaque information passed to infun() */
49 void *outhow; /* opaque information passed to outfun() */
51 int first; /* true to check distances (for first 4K) */
61 * - Bits are stored in bytes from the least significant bit to the most
63 * buffer, using shift right, and new bytes are appended to the top of the
82 /* drop need bits and update buffer, always zero to seven bits left */
110 * - The codes as stored in the compressed data are bit-reversed relative to
112 * bits are pulled from the compressed data one at a time and used to
113 * build the code value reversed from what is in the stream in order to
118 * moving up a length, a one bit is appended to the code. For a complete
120 * this ordering, the bits pulled during decoding are inverted to apply the
131 int left; /* bits left in next or left to process */
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
181 * enough bits will resolve to a symbol. If the return value is positive, then
182 * it is possible for decode() using that table to return an error for received
250 * coded distance to represent a string that occurs earlier in the
261 * - Literal bytes are simply written to the output. A length/distance pair is
262 * an instruction to copy previously uncompressed bytes to the output. The
284 unsigned char *from, *to; /* copy pointers */
341 to = s->out + s->next;
342 from = to - dist;
353 *to++ = *from++;
395 /* return if bits() or decode() tries to read past available input */
408 /* Example of how to use blast() */
427 /* Decompress a PKWare Compression Library stream from stdin to stdout */
432 /* decompress to stdout */