Lines Matching refs:deflate
41 struct deflate { struct
51 static zip_int64_t compress_read(struct zip_source *, struct deflate *, argument
53 static zip_int64_t decompress_read(struct zip_source *, struct deflate *,
59 static void deflate_free(struct deflate *);
67 struct deflate *ctx; in zip_source_deflate()
75 if ((ctx=(struct deflate *)malloc(sizeof(*ctx))) == NULL) { in zip_source_deflate()
103 compress_read(struct zip_source *src, struct deflate *ctx, in compress_read()
120 ret = deflate(&ctx->zstr, ctx->eof ? Z_FINISH : 0); in compress_read()
178 decompress_read(struct zip_source *src, struct deflate *ctx, in decompress_read()
251 struct deflate *ctx; in deflate_compress()
254 ctx = (struct deflate *)ud; in deflate_compress()
322 struct deflate *ctx; in deflate_decompress()
326 ctx = (struct deflate *)ud; in deflate_decompress()
390 deflate_free(struct deflate *ctx) in deflate_free()