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()
177 decompress_read(struct zip_source *src, struct deflate *ctx, in decompress_read()
249 struct deflate *ctx; in deflate_compress()
252 ctx = (struct deflate *)ud; in deflate_compress()
320 struct deflate *ctx; in deflate_decompress()
324 ctx = (struct deflate *)ud; in deflate_decompress()
388 deflate_free(struct deflate *ctx) in deflate_free()