Searched defs:deflate (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/zip/lib/
H A Dzip_source_deflate.c2 zip_source_deflate.c -- deflate (de)compressoin routines
40 struct deflate { struct
52 static zip_int64_t compress_read(zip_source_t *, struct deflate *, void *, zip_uint64_t);
53 static zip_int64_t decompress_read(zip_source_t *, struct deflate *, void *, zip_uint64_t);
56 static void deflate_free(struct deflate *);
62 struct deflate *ctx;
70 if ((ctx=(struct deflate *)malloc(sizeof(*ctx))) == NULL) {
96 compress_read(zip_source_t *src, struct deflate *ctx, void *data, zip_uint64_t len)
117 ret = deflate(&ctx->zstr, ctx->eof ? Z_FINISH : 0);
196 decompress_read(zip_source_t *src, struct deflate *ct
[all...]

Completed in 3 milliseconds