Lines Matching refs:cStream
53 cStream.zalloc = Z_NULL;
54 cStream.zfree = Z_NULL;
55 cStream.opaque = Z_NULL;
56 if (deflateInit2(&cStream, Z_DEFAULT_COMPRESSION, Z_DEFLATED, MAX_WBITS + 16, 8, Z_DEFAULT_STRATEGY) != Z_OK) {
59 uint32_t zdlen = deflateBound(&cStream, inBuffer.offset);
78 cStream.avail_in = read - src_pos;
86 cStream.avail_in = toRead;
89 cStream.next_in = reinterpret_cast<Bytef*>(buffIn);
93 cStream.avail_out = CHUNK;
94 cStream.next_out = reinterpret_cast<Bytef*>(buffOut);
95 if (deflate(&cStream, flush) == Z_STREAM_ERROR) {
98 unsigned have = CHUNK - cStream.avail_out;
106 } while (cStream.avail_out == 0);
109 (void)deflateEnd(&cStream);