Home | History | Annotate | Download | only in adaptation

Lines Matching defs:zs

75   z_stream zs;
76 zs.zalloc = Z_NULL;
77 zs.zfree = Z_NULL;
78 zs.opaque = Z_NULL;
80 if (deflateInit(&zs, Z_DEFAULT_COMPRESSION) != Z_OK) return false;
89 zs.avail_in =
91 zs.next_in = block_src;
94 zs.avail_out = BLOCK_SIZE;
95 zs.next_out = block_dst;
97 int err = deflate(&zs, (i == num_blocks - 1) ? Z_FINISH : Z_NO_FLUSH);
103 const size_t length = BLOCK_SIZE - zs.avail_out;
105 } while (zs.avail_out == 0);
108 deflateEnd(&zs);