/system/core/libzipfile/ |
zipfile.c | 81 z_stream zstream; local 86 memset(&zstream, 0, sizeof(zstream)); 87 zstream.zalloc = Z_NULL; 88 zstream.zfree = Z_NULL; 89 zstream.opaque = Z_NULL; 90 zstream.next_in = (void*)in; 91 zstream.avail_in = clen; 92 zstream.next_out = (Bytef*) out; 93 zstream.avail_out = unlen [all...] |
/frameworks/native/libs/utils/ |
ZipUtils.cpp | 49 z_stream zstream; local 64 memset(&zstream, 0, sizeof(zstream)); 65 zstream.zalloc = Z_NULL; 66 zstream.zfree = Z_NULL; 67 zstream.opaque = Z_NULL; 68 zstream.next_in = NULL; 69 zstream.avail_in = 0; 70 zstream.next_out = (Bytef*) buf; 71 zstream.avail_out = uncompressedLen 162 z_stream zstream; local [all...] |
ZipFileRO.cpp | 783 z_stream zstream; local 789 memset(&zstream, 0, sizeof(zstream)); 790 zstream.zalloc = Z_NULL; 791 zstream.zfree = Z_NULL; 792 zstream.opaque = Z_NULL; 793 zstream.next_in = (Bytef*)inBuf; 794 zstream.avail_in = compLen; 795 zstream.next_out = (Bytef*) outBuf; 796 zstream.avail_out = uncompLen 850 z_stream zstream; local [all...] |
/external/qemu/block/ |
cloop.c | 37 z_stream zstream; member in struct:BDRVCloopState 90 if(inflateInit(&s->zstream) != Z_OK) 115 s->zstream.next_in = s->compressed_block; 116 s->zstream.avail_in = bytes; 117 s->zstream.next_out = s->uncompressed_block; 118 s->zstream.avail_out = s->block_size; 119 ret = inflateReset(&s->zstream); 122 ret = inflate(&s->zstream, Z_FINISH); 123 if(ret != Z_STREAM_END || s->zstream.total_out != s->block_size) 154 inflateEnd(&s->zstream); [all...] |
dmg.c | 48 z_stream zstream; member in struct:BDRVDMGState 175 if(inflateInit(&s->zstream) != Z_OK) 241 s->zstream.next_in = s->compressed_chunk; 242 s->zstream.avail_in = s->lengths[chunk]; 243 s->zstream.next_out = s->uncompressed_chunk; 244 s->zstream.avail_out = 512*s->sectorcounts[chunk]; 245 ret = inflateReset(&s->zstream); 248 ret = inflate(&s->zstream, Z_FINISH); 249 if(ret != Z_STREAM_END || s->zstream.total_out != 512*s->sectorcounts[chunk]) 295 inflateEnd(&s->zstream); [all...] |
/dalvik/libdex/ |
ZipArchive.cpp | 593 z_stream zstream; local 602 memset(&zstream, 0, sizeof(zstream)); 603 zstream.zalloc = Z_NULL; 604 zstream.zfree = Z_NULL; 605 zstream.opaque = Z_NULL; 606 zstream.next_in = NULL; 607 zstream.avail_in = 0; 608 zstream.next_out = (Bytef*) writeBuf; 609 zstream.avail_out = kBufSize [all...] |
/external/zlib/src/contrib/iostream2/ |
zstream_test.cpp | 1 #include "zstream.h"
|
/external/qemu/distrib/libpng-1.2.19/ |
pngpread.c | 302 png_ptr->zstream.avail_out = (uInt)png_ptr->irowbytes; 303 png_ptr->zstream.next_out = png_ptr->row_buf; 759 png_ptr->zstream.next_in = buffer; 760 png_ptr->zstream.avail_in = (uInt)buffer_length; 763 ret = inflate(&png_ptr->zstream, Z_PARTIAL_FLUSH); 768 if (png_ptr->zstream.avail_in) 770 if (!(png_ptr->zstream.avail_out)) 784 if (!(png_ptr->zstream.avail_out)) 793 if (png_ptr->zstream.avail_in) 799 png_ptr->zstream.avail_out = (uInt)png_ptr->irowbytes [all...] |
pngread.c | 142 png_ptr->zstream.zalloc = png_zalloc; 143 png_ptr->zstream.zfree = png_zfree; 144 png_ptr->zstream.opaque = (voidpf)png_ptr; 146 switch (inflateInit(&png_ptr->zstream)) 155 png_ptr->zstream.next_out = png_ptr->zbuf; 156 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size; 296 png_ptr->zstream.zalloc = png_zalloc; 297 png_ptr->zstream.zfree = png_zfree; 298 png_ptr->zstream.opaque = (voidpf)png_ptr; 300 switch (inflateInit(&png_ptr->zstream)) [all...] |
pngwutil.c | 208 png_ptr->zstream.avail_in = (uInt)text_len; 209 png_ptr->zstream.next_in = (Bytef *)text; 210 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size; 211 png_ptr->zstream.next_out = (Bytef *)png_ptr->zbuf; 217 ret = deflate(&png_ptr->zstream, Z_NO_FLUSH); 221 if (png_ptr->zstream.msg != NULL) 222 png_error(png_ptr, png_ptr->zstream.msg); 227 if (!(png_ptr->zstream.avail_out)) 262 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size; 263 png_ptr->zstream.next_out = png_ptr->zbuf [all...] |
pngrutil.c | 195 png_ptr->zstream.next_in = (png_bytep)(chunkdata + prefix_size); 196 png_ptr->zstream.avail_in = (uInt)(chunklength - prefix_size); 197 png_ptr->zstream.next_out = png_ptr->zbuf; 198 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size; 203 while (png_ptr->zstream.avail_in) 205 ret = inflate(&png_ptr->zstream, Z_PARTIAL_FLUSH); 208 if (png_ptr->zstream.msg != NULL) 209 png_warning(png_ptr, png_ptr->zstream.msg); 212 inflateReset(&png_ptr->zstream); 213 png_ptr->zstream.avail_in = 0 [all...] |
pngwrite.c | 961 ret = deflate(&png_ptr->zstream, Z_SYNC_FLUSH); 967 if (png_ptr->zstream.msg != NULL) 968 png_error(png_ptr, png_ptr->zstream.msg); 973 if (!(png_ptr->zstream.avail_out)) 978 png_ptr->zstream.next_out = png_ptr->zbuf; 979 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size; 985 if (png_ptr->zbuf_size != png_ptr->zstream.avail_out) 989 png_ptr->zbuf_size - png_ptr->zstream.avail_out); 990 png_ptr->zstream.next_out = png_ptr->zbuf; 991 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size [all...] |
/external/libpng/ |
pngread.c | 160 png_ptr->zstream.zalloc = png_zalloc; 161 png_ptr->zstream.zfree = png_zfree; 162 png_ptr->zstream.opaque = (voidpf)png_ptr; 164 switch (inflateInit(&png_ptr->zstream)) 176 png_ptr->zstream.next_out = png_ptr->zbuf; 177 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size; 326 png_ptr->zstream.zalloc = png_zalloc; 329 png_ptr->zstream.zalloc = png_zalloc; 330 png_ptr->zstream.zfree = png_zfree; 331 png_ptr->zstream.opaque = (voidpf)png_ptr [all...] |
pngpread.c | 334 png_ptr->zstream.avail_out = 337 png_ptr->zstream.next_out = png_ptr->row_buf; 843 png_ptr->zstream.next_in = buffer; 844 png_ptr->zstream.avail_in = (uInt)buffer_length; 849 while (png_ptr->zstream.avail_in > 0 && 859 if (!(png_ptr->zstream.avail_out > 0)) 861 png_ptr->zstream.avail_out = 864 png_ptr->zstream.next_out = png_ptr->row_buf; 874 ret = inflate(&png_ptr->zstream, Z_SYNC_FLUSH); 896 if (png_ptr->zstream.next_out != png_ptr->row_buf [all...] |
pngwutil.c | 222 png_ptr->zstream.avail_in = (uInt)text_len; 223 png_ptr->zstream.next_in = (Bytef *)text; 224 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size; 225 png_ptr->zstream.next_out = (Bytef *)png_ptr->zbuf; 231 ret = deflate(&png_ptr->zstream, Z_NO_FLUSH); 235 if (png_ptr->zstream.msg != NULL) 236 png_error(png_ptr, png_ptr->zstream.msg); 241 if (!(png_ptr->zstream.avail_out)) 277 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size; 278 png_ptr->zstream.next_out = png_ptr->zbuf [all...] |
pngrutil.c | 244 png_ptr->zstream.next_in = (png_bytep)data; /* const_cast: VALID */ 245 png_ptr->zstream.avail_in = size; 254 png_ptr->zstream.next_out = png_ptr->zbuf; 255 png_ptr->zstream.avail_out = png_ptr->zbuf_size; 257 ret = inflate(&png_ptr->zstream, Z_NO_FLUSH); 258 avail = png_ptr->zbuf_size - png_ptr->zstream.avail_out; 277 /* Termination conditions - always reset the zstream, it 280 png_ptr->zstream.avail_in = 0; 281 inflateReset(&png_ptr->zstream); 292 if (png_ptr->zstream.msg != 0 [all...] |
pngwrite.c | 1001 ret = deflate(&png_ptr->zstream, Z_SYNC_FLUSH); 1007 if (png_ptr->zstream.msg != NULL) 1008 png_error(png_ptr, png_ptr->zstream.msg); 1013 if (!(png_ptr->zstream.avail_out)) 1018 png_ptr->zstream.next_out = png_ptr->zbuf; 1019 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size; [all...] |
/build/tools/zipalign/ |
ZipFile.cpp | 750 z_stream zstream; local 768 memset(&zstream, 0, sizeof(zstream)); 769 zstream.zalloc = Z_NULL; 770 zstream.zfree = Z_NULL; 771 zstream.opaque = Z_NULL; 772 zstream.next_in = NULL; 773 zstream.avail_in = 0; 774 zstream.next_out = outBuf; 775 zstream.avail_out = kBufSize [all...] |
/frameworks/base/tools/aapt/ |
ZipFile.cpp | 750 z_stream zstream; local 768 memset(&zstream, 0, sizeof(zstream)); 769 zstream.zalloc = Z_NULL; 770 zstream.zfree = Z_NULL; 771 zstream.opaque = Z_NULL; 772 zstream.next_in = NULL; 773 zstream.avail_in = 0; 774 zstream.next_out = outBuf; 775 zstream.avail_out = kBufSize [all...] |
/external/dropbear/ |
packet.c | 368 z_streamp zstream; local 370 zstream = ses.keys->recv_zstream; 373 zstream->avail_in = len; 374 zstream->next_in = buf_getptr(buf, len); 379 zstream->avail_out = ret->size - ret->pos; 380 zstream->next_out = buf_getwriteptr(ret, zstream->avail_out); 382 result = inflate(zstream, Z_SYNC_FLUSH); 384 buf_setlen(ret, ret->size - zstream->avail_out); 391 if (zstream->avail_in == 0 & [all...] |
/bootable/recovery/minzip/ |
Zip.c | 563 z_stream zstream; local 572 memset(&zstream, 0, sizeof(zstream)); 573 zstream.zalloc = Z_NULL; 574 zstream.zfree = Z_NULL; 575 zstream.opaque = Z_NULL; 576 zstream.next_in = NULL; 577 zstream.avail_in = 0; 578 zstream.next_out = (Bytef*) procBuf; 579 zstream.avail_out = sizeof(procBuf) [all...] |
/external/bzip2/ |
bzip2.c | 329 void compressStream ( FILE *stream, FILE *zStream ) 339 SET_BINARY_MODE(zStream); 342 if (ferror(zStream)) goto errhandler_io; 344 bzf = BZ2_bzWriteOpen ( &bzerr, zStream, 365 if (ferror(zStream)) goto errhandler_io; 366 ret = fflush ( zStream ); 368 if (zStream != stdout) { 369 Int32 fd = fileno ( zStream ); 372 ret = fclose ( zStream ); 433 Bool uncompressStream ( FILE *zStream, FILE *stream [all...] |
/external/llvm/test/CodeGen/X86/ |
sext-i1.ll | 35 %struct.zstream = type { }
|
/external/qemu/ |
vnc-android.c | 566 z_streamp zstream = &vs->zlib_stream[stream_id]; local 577 if (zstream->opaque != vs) { 581 VNC_DEBUG("VNC: opaque = %p | vs = %p\n", zstream->opaque, vs); 582 zstream->zalloc = Z_NULL; 583 zstream->zfree = Z_NULL; 585 err = deflateInit2(zstream, vs->tight_compression, Z_DEFLATED, MAX_WBITS, 593 zstream->opaque = vs; 602 zstream->next_in = vs->zlib.buffer; 603 zstream->avail_in = vs->zlib.offset; 604 zstream->next_out = vs->output.buffer + vs->output.offset [all...] |
vnc.c | 560 z_streamp zstream = &vs->zlib_stream[stream_id]; local 571 if (zstream->opaque != vs) { 575 VNC_DEBUG("VNC: opaque = %p | vs = %p\n", zstream->opaque, vs); 576 zstream->zalloc = Z_NULL; 577 zstream->zfree = Z_NULL; 579 err = deflateInit2(zstream, vs->tight_compression, Z_DEFLATED, MAX_WBITS, 587 zstream->opaque = vs; 596 zstream->next_in = vs->zlib.buffer; 597 zstream->avail_in = vs->zlib.offset; 598 zstream->next_out = vs->output.buffer + vs->output.offset [all...] |