Searched refs:zlib_stream (Results 1 – 7 of 7) sorted by relevance
/external/chromium/net/base/ |
D | gzip_filter_unittest.cc | 119 z_stream zlib_stream; in CompressAll() local 120 memset(&zlib_stream, 0, sizeof(zlib_stream)); in CompressAll() 125 code = deflateInit2(&zlib_stream, Z_DEFAULT_COMPRESSION, Z_DEFLATED, in CompressAll() 130 code = deflateInit(&zlib_stream, Z_DEFAULT_COMPRESSION); in CompressAll() 137 zlib_stream.next_in = bit_cast<Bytef*>(source); in CompressAll() 138 zlib_stream.avail_in = source_size; in CompressAll() 139 zlib_stream.next_out = bit_cast<Bytef*>(dest); in CompressAll() 140 zlib_stream.avail_out = *dest_len; in CompressAll() 144 if (zlib_stream.avail_out < sizeof(kGZipHeader)) in CompressAll() 146 memcpy(zlib_stream.next_out, kGZipHeader, sizeof(kGZipHeader)); in CompressAll() [all …]
|
D | sdch_filter_unittest.cc | 765 z_stream zlib_stream; in gzip_compress() local 766 memset(&zlib_stream, 0, sizeof(zlib_stream)); in gzip_compress() 770 code = deflateInit2(&zlib_stream, Z_DEFAULT_COMPRESSION, Z_DEFLATED, in gzip_compress() 778 zlib_stream.next_in = bit_cast<Bytef*>(input.data()); in gzip_compress() 779 zlib_stream.avail_in = input.size(); in gzip_compress() 782 size_t gzip_compressed_length = zlib_stream.avail_in + 100; in gzip_compress() 784 zlib_stream.next_out = bit_cast<Bytef*>(gzip_compressed.get()); in gzip_compress() 785 zlib_stream.avail_out = gzip_compressed_length; in gzip_compress() 802 CHECK_GT(zlib_stream.avail_out, sizeof(kGZipHeader)); in gzip_compress() 803 memcpy(zlib_stream.next_out, kGZipHeader, sizeof(kGZipHeader)); in gzip_compress() [all …]
|
/external/chromium_org/net/base/ |
D | gzip_filter_unittest.cc | 109 z_stream zlib_stream; in CompressAll() local 110 memset(&zlib_stream, 0, sizeof(zlib_stream)); in CompressAll() 115 code = deflateInit2(&zlib_stream, Z_DEFAULT_COMPRESSION, Z_DEFLATED, in CompressAll() 120 code = deflateInit(&zlib_stream, Z_DEFAULT_COMPRESSION); in CompressAll() 127 zlib_stream.next_in = bit_cast<Bytef*>(source); in CompressAll() 128 zlib_stream.avail_in = source_size; in CompressAll() 129 zlib_stream.next_out = bit_cast<Bytef*>(dest); in CompressAll() 130 zlib_stream.avail_out = *dest_len; in CompressAll() 134 if (zlib_stream.avail_out < sizeof(kGZipHeader)) in CompressAll() 136 memcpy(zlib_stream.next_out, kGZipHeader, sizeof(kGZipHeader)); in CompressAll() [all …]
|
D | sdch_filter_unittest.cc | 759 z_stream zlib_stream; in gzip_compress() local 760 memset(&zlib_stream, 0, sizeof(zlib_stream)); in gzip_compress() 764 code = deflateInit2(&zlib_stream, Z_DEFAULT_COMPRESSION, Z_DEFLATED, in gzip_compress() 772 zlib_stream.next_in = bit_cast<Bytef*>(input.data()); in gzip_compress() 773 zlib_stream.avail_in = input.size(); in gzip_compress() 776 size_t gzip_compressed_length = zlib_stream.avail_in + 100; in gzip_compress() 778 zlib_stream.next_out = bit_cast<Bytef*>(gzip_compressed.get()); in gzip_compress() 779 zlib_stream.avail_out = gzip_compressed_length; in gzip_compress() 796 CHECK_GT(zlib_stream.avail_out, sizeof(kGZipHeader)); in gzip_compress() 797 memcpy(zlib_stream.next_out, kGZipHeader, sizeof(kGZipHeader)); in gzip_compress() [all …]
|
/external/qemu/ |
D | vnc.h | 162 z_stream zlib_stream[4]; member
|
D | vnc-android.c | 551 for (i=0; i<(sizeof(vs->zlib_stream) / sizeof(z_stream)); i++) in vnc_zlib_init() 552 vs->zlib_stream[i].opaque = NULL; in vnc_zlib_init() 566 z_streamp zstream = &vs->zlib_stream[stream_id]; in vnc_zlib_stop()
|
D | vnc.c | 545 for (i=0; i<(sizeof(vs->zlib_stream) / sizeof(z_stream)); i++) in vnc_zlib_init() 546 vs->zlib_stream[i].opaque = NULL; in vnc_zlib_init() 560 z_streamp zstream = &vs->zlib_stream[stream_id]; in vnc_zlib_stop()
|