/frameworks/base/libs/androidfw/ |
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 | 847 z_stream zstream; local 853 memset(&zstream, 0, sizeof(zstream)); 854 zstream.zalloc = Z_NULL; 855 zstream.zfree = Z_NULL; 856 zstream.opaque = Z_NULL; 857 zstream.next_in = (Bytef*)inBuf; 858 zstream.avail_in = compLen; 859 zstream.next_out = (Bytef*) outBuf; 860 zstream.avail_out = uncompLen 914 z_stream zstream; local [all...] |
/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...] |
/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 | 674 z_stream zstream; local 683 memset(&zstream, 0, sizeof(zstream)); 684 zstream.zalloc = Z_NULL; 685 zstream.zfree = Z_NULL; 686 zstream.opaque = Z_NULL; 687 zstream.next_in = NULL; 688 zstream.avail_in = 0; 689 zstream.next_out = (Bytef*) writeBuf; 690 zstream.avail_out = kBufSize [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...] |
/art/runtime/ |
zip_archive.cc | 148 class ZStream { 150 ZStream(byte* write_buf, size_t write_buf_size) { 167 ~ZStream() { 184 UniquePtr<ZStream> zstream(new ZStream(write_buf.get(), kBufSize)); 188 int zerr = inflateInit2(&zstream->Get(), -MAX_WBITS); 201 if (zstream->Get().avail_in == 0) { 210 zstream->Get().next_in = read_buf.get(); 211 zstream->Get().avail_in = bytes_to_read [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/chromium_org/third_party/libpng/ |
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...] |
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; 322 png_ptr->zstream.zalloc = png_zalloc; 325 png_ptr->zstream.zalloc = png_zalloc; 326 png_ptr->zstream.zfree = png_zfree; 327 png_ptr->zstream.opaque = (voidpf)png_ptr [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 | 227 png_ptr->zstream.next_in = (png_bytep)data; /* const_cast: VALID */ 228 png_ptr->zstream.avail_in = size; 237 png_ptr->zstream.next_out = png_ptr->zbuf; 238 png_ptr->zstream.avail_out = png_ptr->zbuf_size; 240 ret = inflate(&png_ptr->zstream, Z_NO_FLUSH); 241 avail = png_ptr->zbuf_size - png_ptr->zstream.avail_out; 260 /* Termination conditions - always reset the zstream, it 263 png_ptr->zstream.avail_in = 0; 264 inflateReset(&png_ptr->zstream); 275 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...] |
/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/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...] |
/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...] |