Lines Matching defs:RAW
11 1.3 18 Feb 2023 Permit raw deflate streams as well as zlib and gzip
20 // for random access of a compressed file. A file containing a raw deflate
32 // input raw deflate stream a block at a time, and at the end of each block
127 #define RAW -15
139 int mode = 0; // mode: RAW, ZLIB, or GZIP (0 => not set yet)
157 // At the start of the input -- determine the type. Assume raw
160 // after a stored block are always zeros, so a raw stream won't
162 mode = strm.avail_in == 0 ? RAW : // empty -- will fail
165 /* else */ RAW;
179 if (mode == RAW && index == NULL)
180 // We skip the inflate() call at the start of raw deflate data in
360 ret = inflateInit2(&strm, RAW);
426 // gzip header and resume the raw inflate there.
443 inflateReset2(&strm, RAW);
469 fprintf(stderr, "usage: zran file.raw [offset]\n");