Home | History | Annotate | Download | only in examples

Lines Matching defs:window

264     unsigned char *window;
281 window = malloc(DSIZE);
282 if (window == NULL) bye("out of memory", "");
305 /* set up output to next available section of sliding window */
307 strm->next_out = window + have;
316 /* update crc and sliding window pointer */
317 crc = crc32(crc, window + have, DSIZE - have - strm->avail_out);
361 /* if window wrapped, build dictionary from window by rotating */
363 rotate(window, DSIZE, have);
367 /* set up deflate stream with window, crc, total_in, and leftover bits */
370 deflateSetDictionary(strm, window, have);
381 free(window);