Home | History | Annotate | Download | only in adaptation

Lines Matching defs:zs

80   z_stream zs;
81 zs.zalloc = Z_NULL;
82 zs.zfree = Z_NULL;
83 zs.opaque = Z_NULL;
85 if (deflateInit(&zs, Z_DEFAULT_COMPRESSION) != Z_OK) return false;
94 zs.avail_in =
96 zs.next_in = block_src;
99 zs.avail_out = BLOCK_SIZE;
100 zs.next_out = block_dst;
102 int err = deflate(&zs, (i == num_blocks - 1) ? Z_FINISH : Z_NO_FLUSH);
108 const size_t length = BLOCK_SIZE - zs.avail_out;
110 } while (zs.avail_out == 0);
113 deflateEnd(&zs);