Lines Matching refs:to

7  * This function provides functionality similar to the explode() function of
17 * which decompresses to "AIAIAIAIAIAIA" (without the quotes).
40 void *inhow; /* opaque information passed to infun() */
51 void *outhow; /* opaque information passed to outfun() */
53 int first; /* true to check distances (for first 4K) */
63 * - Bits are stored in bytes from the least significant bit to the most
65 * buffer, using shift right, and new bytes are appended to the top of the
84 /* drop need bits and update buffer, always zero to seven bits left */
112 * - The codes as stored in the compressed data are bit-reversed relative to
114 * bits are pulled from the compressed data one at a time and used to
115 * build the code value reversed from what is in the stream in order to
120 * moving up a length, a one bit is appended to the code. For a complete
122 * this ordering, the bits pulled during decoding are inverted to apply the
133 int left; /* bits left in next or left to process */
175 * Huffman code for n symbols, construct the tables required to decode those
182 * possible for decode() using that table to return an error--any stream of
183 * enough bits will resolve to a symbol. If the return value is positive, then
184 * it is possible for decode() using that table to return an error for received
252 * coded distance to represent a string that occurs earlier in the
263 * - Literal bytes are simply written to the output. A length/distance pair is
264 * an instruction to copy previously uncompressed bytes to the output. The
286 unsigned char *from, *to; /* copy pointers */
343 to = s->out + s->next;
344 from = to - dist;
355 *to++ = *from++;
397 /* return if bits() or decode() tries to read past available input */
410 /* Example of how to use blast() */
429 /* Decompress a PKWare Compression Library stream from stdin to stdout */
434 /* decompress to stdout */