Home | History | Annotate | Download | only in androidfw

Lines Matching defs:zstream

59     z_stream zstream;
71 memset(&zstream, 0, sizeof(zstream));
72 zstream.zalloc = Z_NULL;
73 zstream.zfree = Z_NULL;
74 zstream.opaque = Z_NULL;
75 zstream.next_in = NULL;
76 zstream.avail_in = 0;
77 zstream.next_out = (Bytef*) buf;
78 zstream.avail_out = uncompressedLen;
79 zstream.data_type = Z_UNKNOWN;
85 zerr = inflateInit2(&zstream, -MAX_WBITS);
103 if (zstream.avail_in == 0) {
119 zstream.next_in = nextBuffer;
120 zstream.avail_in = nextSize;
124 zerr = inflate(&zstream, Z_NO_FLUSH);
135 if ((long) zstream.total_out != uncompressedLen) {
137 zstream.total_out, uncompressedLen);
145 inflateEnd(&zstream); /* free up any allocated structures */