/third_party/ffmpeg/tools/ |
D | cws2fws.c | 32 z_stream zstream; in main() local 81 zstream.zalloc = NULL; in main() 82 zstream.zfree = NULL; in main() 83 zstream.opaque = NULL; in main() 84 if (inflateInit(&zstream) != Z_OK) { in main() 94 inflateEnd(&zstream); in main() 100 last_out = zstream.total_out; in main() 102 zstream.next_in = &buf_in[0]; in main() 103 zstream.avail_in = len; in main() 104 zstream.next_out = &buf_out[0]; in main() [all …]
|
/third_party/freetype/src/gzip/ |
D | ftgzip.c | 197 z_stream zstream; /* zlib input stream */ member 299 z_stream* zstream = &zip->zstream; in ft_gzip_file_init() local 323 zstream->zalloc = ft_gzip_alloc; in ft_gzip_file_init() 324 zstream->zfree = ft_gzip_free; in ft_gzip_file_init() 325 zstream->opaque = stream->memory; in ft_gzip_file_init() 327 zstream->avail_in = 0; in ft_gzip_file_init() 328 zstream->next_in = zip->buffer; in ft_gzip_file_init() 330 if ( inflateInit2( zstream, -MAX_WBITS ) != Z_OK || in ft_gzip_file_init() 331 !zstream->next_in ) in ft_gzip_file_init() 342 z_stream* zstream = &zip->zstream; in ft_gzip_file_done() local [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/gzip/ |
D | ftgzip.c | 182 z_stream zstream; /* zlib input stream */ member 284 z_stream* zstream = &zip->zstream; in ft_gzip_file_init() local 308 zstream->zalloc = (alloc_func)ft_gzip_alloc; in ft_gzip_file_init() 309 zstream->zfree = (free_func) ft_gzip_free; in ft_gzip_file_init() 310 zstream->opaque = stream->memory; in ft_gzip_file_init() 312 zstream->avail_in = 0; in ft_gzip_file_init() 313 zstream->next_in = zip->buffer; in ft_gzip_file_init() 315 if ( inflateInit2( zstream, -MAX_WBITS ) != Z_OK || in ft_gzip_file_init() 316 !zstream->next_in ) in ft_gzip_file_init() 327 z_stream* zstream = &zip->zstream; in ft_gzip_file_done() local [all …]
|
/third_party/skia/third_party/externals/freetype/src/gzip/ |
D | ftgzip.c | 186 z_stream zstream; /* zlib input stream */ member 288 z_stream* zstream = &zip->zstream; in ft_gzip_file_init() local 312 zstream->zalloc = ft_gzip_alloc; in ft_gzip_file_init() 313 zstream->zfree = ft_gzip_free; in ft_gzip_file_init() 314 zstream->opaque = stream->memory; in ft_gzip_file_init() 316 zstream->avail_in = 0; in ft_gzip_file_init() 317 zstream->next_in = zip->buffer; in ft_gzip_file_init() 319 if ( inflateInit2( zstream, -MAX_WBITS ) != Z_OK || in ft_gzip_file_init() 320 !zstream->next_in ) in ft_gzip_file_init() 331 z_stream* zstream = &zip->zstream; in ft_gzip_file_done() local [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | zerocodec.c | 27 z_stream zstream; member 36 z_stream *zstream = &zc->zstream; in zerocodec_decode_frame() local 56 zret = inflateReset(zstream); in zerocodec_decode_frame() 65 zstream->next_in = avpkt->data; in zerocodec_decode_frame() 66 zstream->avail_in = avpkt->size; in zerocodec_decode_frame() 76 zstream->next_out = dst; in zerocodec_decode_frame() 77 zstream->avail_out = avctx->width << 1; in zerocodec_decode_frame() 79 zret = inflate(zstream, Z_SYNC_FLUSH); in zerocodec_decode_frame() 109 inflateEnd(&zc->zstream); in zerocodec_decode_close() 117 z_stream *zstream = &zc->zstream; in zerocodec_decode_init() local [all …]
|
D | lclenc.c | 62 z_stream zstream; member 71 int max_size = deflateBound(&c->zstream, avctx->width * avctx->height * 3); in encode_frame() 81 zret = deflateReset(&c->zstream); in encode_frame() 86 c->zstream.next_out = pkt->data; in encode_frame() 87 c->zstream.avail_out = pkt->size; in encode_frame() 90 c->zstream.next_in = p->data[0]+p->linesize[0]*i; in encode_frame() 91 c->zstream.avail_in = avctx->width*3; in encode_frame() 92 zret = deflate(&c->zstream, Z_NO_FLUSH); in encode_frame() 98 zret = deflate(&c->zstream, Z_FINISH); in encode_frame() 104 pkt->size = c->zstream.total_out; in encode_frame() [all …]
|
D | wcmv.c | 37 z_stream zstream; member 52 ret = inflateReset(&s->zstream); in decode_frame() 81 s->zstream.next_in = avpkt->data + skip; in decode_frame() 82 s->zstream.avail_in = size; in decode_frame() 83 s->zstream.next_out = s->block_data; in decode_frame() 84 s->zstream.avail_out = sizeof(s->block_data); in decode_frame() 86 zret = inflate(&s->zstream, Z_FINISH); in decode_frame() 93 ret = inflateReset(&s->zstream); in decode_frame() 122 s->zstream.next_in = avpkt->data + skip; in decode_frame() 123 s->zstream.avail_in = avpkt->size - skip; in decode_frame() [all …]
|
D | flashsv.c | 58 z_stream zstream; member 107 inflateEnd(&s->zstream); in flashsv_decode_end() 123 s->zstream.zalloc = Z_NULL; in flashsv_decode_init() 124 s->zstream.zfree = Z_NULL; in flashsv_decode_init() 125 s->zstream.opaque = Z_NULL; in flashsv_decode_init() 126 zret = inflateInit(&s->zstream); in flashsv_decode_init() 153 s->zstream.next_in = src; in flashsv2_prime() 154 s->zstream.avail_in = size; in flashsv2_prime() 155 s->zstream.next_out = s->tmpblock; in flashsv2_prime() 156 s->zstream.avail_out = s->block_size * 3; in flashsv2_prime() [all …]
|
D | tscc.c | 59 z_stream zstream; member 86 ret = inflateReset(&c->zstream); in decode_frame() 91 c->zstream.next_in = buf; in decode_frame() 92 c->zstream.avail_in = buf_size; in decode_frame() 93 c->zstream.next_out = c->decomp_buf; in decode_frame() 94 c->zstream.avail_out = c->decomp_size; in decode_frame() 95 ret = inflate(&c->zstream, Z_FINISH); in decode_frame() 111 c->decomp_size - c->zstream.avail_out); in decode_frame() 139 memset(&c->zstream, 0, sizeof(z_stream)); in decode_init() 162 c->zstream.zalloc = Z_NULL; in decode_init() [all …]
|
D | lscrdec.c | 55 z_stream zstream; member 77 s->zstream.avail_in = FFMIN(length, bytestream2_get_bytes_left(&s->gb)); in decode_idat() 78 s->zstream.next_in = s->gb.buffer; in decode_idat() 86 while (s->zstream.avail_in > 0) { in decode_idat() 87 ret = inflate(&s->zstream, Z_PARTIAL_FLUSH); in decode_idat() 92 if (s->zstream.avail_out == 0) { in decode_idat() 96 s->zstream.avail_out = s->crow_size; in decode_idat() 97 s->zstream.next_out = s->crow_buf; in decode_idat() 99 if (ret == Z_STREAM_END && s->zstream.avail_in > 0) { in decode_idat() 101 "%d undecompressed bytes left in buffer\n", s->zstream.avail_in); in decode_idat() [all …]
|
D | mwsc.c | 36 z_stream zstream; member 101 ret = inflateReset(&s->zstream); in decode_frame() 106 s->zstream.next_in = buf; in decode_frame() 107 s->zstream.avail_in = buf_size; in decode_frame() 108 s->zstream.next_out = s->decomp_buf; in decode_frame() 109 s->zstream.avail_out = s->decomp_size; in decode_frame() 110 ret = inflate(&s->zstream, Z_FINISH); in decode_frame() 119 bytestream2_init(&gb, s->decomp_buf, s->zstream.total_out); in decode_frame() 152 s->zstream.zalloc = Z_NULL; in decode_init() 153 s->zstream.zfree = Z_NULL; in decode_init() [all …]
|
D | mscc.c | 39 z_stream zstream; member 168 ret = inflateReset(&s->zstream); in decode_frame() 173 s->zstream.next_in = buf; in decode_frame() 174 s->zstream.avail_in = buf_size; in decode_frame() 175 s->zstream.next_out = s->decomp_buf; in decode_frame() 176 s->zstream.avail_out = s->decomp_size; in decode_frame() 177 ret = inflate(&s->zstream, Z_FINISH); in decode_frame() 183 bytestream2_init(&gb, s->decomp_buf, s->zstream.total_out); in decode_frame() 229 s->zstream.zalloc = Z_NULL; in decode_init() 230 s->zstream.zfree = Z_NULL; in decode_init() [all …]
|
D | zmbvenc.c | 76 z_stream zstream; member 269 deflateReset(&c->zstream); in encode_frame() 271 c->zstream.next_in = c->work_buf; in encode_frame() 272 c->zstream.avail_in = work_size; in encode_frame() 273 c->zstream.total_in = 0; in encode_frame() 275 c->zstream.next_out = c->comp_buf; in encode_frame() 276 c->zstream.avail_out = c->comp_size; in encode_frame() 277 c->zstream.total_out = 0; in encode_frame() 278 if(deflate(&c->zstream, Z_SYNC_FLUSH) != Z_OK){ in encode_frame() 283 pkt_size = c->zstream.total_out + 1 + 6*keyframe; in encode_frame() [all …]
|
D | mvha.c | 46 z_stream zstream; member 171 ret = inflateReset(&s->zstream); in decode_frame() 177 s->zstream.next_in = avpkt->data + 8; in decode_frame() 178 s->zstream.avail_in = avpkt->size - 8; in decode_frame() 182 … s->zstream.next_out = frame->data[p] + (avctx->height - y - 1) * frame->linesize[p]; in decode_frame() 183 s->zstream.avail_out = avctx->width >> (p > 0); in decode_frame() 185 ret = inflate(&s->zstream, Z_SYNC_FLUSH); in decode_frame() 286 s->zstream.zalloc = Z_NULL; in decode_init() 287 s->zstream.zfree = Z_NULL; in decode_init() 288 s->zstream.opaque = Z_NULL; in decode_init() [all …]
|
D | rasc.c | 62 z_stream zstream; member 181 zret = inflateReset(&s->zstream); in decode_zlib() 191 s->zstream.next_in = avpkt->data + bytestream2_tell(gb); in decode_zlib() 192 s->zstream.avail_in = FFMIN(size, bytestream2_get_bytes_left(gb)); in decode_zlib() 194 s->zstream.next_out = s->delta; in decode_zlib() 195 s->zstream.avail_out = s->delta_size; in decode_zlib() 197 zret = inflate(&s->zstream, Z_FINISH); in decode_zlib() 492 zret = inflateReset(&s->zstream); in decode_kfrm() 498 s->zstream.next_in = avpkt->data + bytestream2_tell(gb); in decode_kfrm() 499 s->zstream.avail_in = bytestream2_get_bytes_left(gb); in decode_kfrm() [all …]
|
D | lcldec.c | 67 z_stream zstream; member 134 int zret = inflateReset(&c->zstream); in zlib_decomp() 139 c->zstream.next_in = src; in zlib_decomp() 140 c->zstream.avail_in = src_len; in zlib_decomp() 141 c->zstream.next_out = c->decomp_buf + offset; in zlib_decomp() 142 c->zstream.avail_out = c->decomp_size - offset; in zlib_decomp() 143 zret = inflate(&c->zstream, Z_FINISH); in zlib_decomp() 148 if (expected != (unsigned int)c->zstream.total_out) { in zlib_decomp() 150 expected, c->zstream.total_out); in zlib_decomp() 153 return c->zstream.total_out; in zlib_decomp() [all …]
|
D | zmbv.c | 73 z_stream zstream; member 495 zret = inflateReset(&c->zstream); in decode_frame() 538 c->zstream.total_in = c->zstream.total_out = 0; in decode_frame() 539 c->zstream.next_in = buf; in decode_frame() 540 c->zstream.avail_in = len; in decode_frame() 541 c->zstream.next_out = c->decomp_buf; in decode_frame() 542 c->zstream.avail_out = c->decomp_size; in decode_frame() 543 zret = inflate(&c->zstream, Z_SYNC_FLUSH); in decode_frame() 548 c->decomp_len = c->zstream.total_out; in decode_frame() 615 memset(&c->zstream, 0, sizeof(z_stream)); in decode_init() [all …]
|
/third_party/mesa3d/src/intel/tools/ |
D | error2aub.c | 47 struct z_stream_s zstream; in zlib_inflate() local 51 memset(&zstream, 0, sizeof(zstream)); in zlib_inflate() 53 zstream.next_in = (unsigned char *)*ptr; in zlib_inflate() 54 zstream.avail_in = 4*len; in zlib_inflate() 56 if (inflateInit(&zstream) != Z_OK) in zlib_inflate() 60 zstream.next_out = out; in zlib_inflate() 61 zstream.avail_out = out_size; in zlib_inflate() 64 switch (inflate(&zstream, Z_SYNC_FLUSH)) { in zlib_inflate() 70 inflateEnd(&zstream); in zlib_inflate() 74 if (zstream.avail_out) in zlib_inflate() [all …]
|
D | aubinator_error_decode.c | 298 struct z_stream_s zstream; in zlib_inflate() local 302 memset(&zstream, 0, sizeof(zstream)); in zlib_inflate() 304 zstream.next_in = (unsigned char *)*ptr; in zlib_inflate() 305 zstream.avail_in = 4*len; in zlib_inflate() 307 if (inflateInit(&zstream) != Z_OK) in zlib_inflate() 311 zstream.next_out = out; in zlib_inflate() 312 zstream.avail_out = out_size; in zlib_inflate() 315 switch (inflate(&zstream, Z_SYNC_FLUSH)) { in zlib_inflate() 321 inflateEnd(&zstream); in zlib_inflate() 325 if (zstream.avail_out) in zlib_inflate() [all …]
|
/third_party/skia/third_party/externals/libpng/ |
D | pngrutil.c | 399 png_ptr->zstream.next_in = NULL; in png_inflate_claim() 400 png_ptr->zstream.avail_in = 0; in png_inflate_claim() 401 png_ptr->zstream.next_out = NULL; in png_inflate_claim() 402 png_ptr->zstream.avail_out = 0; in png_inflate_claim() 407 ret = inflateReset2(&png_ptr->zstream, window_bits); in png_inflate_claim() 409 ret = inflateReset(&png_ptr->zstream); in png_inflate_claim() 416 ret = inflateInit2(&png_ptr->zstream, window_bits); in png_inflate_claim() 418 ret = inflateInit(&png_ptr->zstream); in png_inflate_claim() 429 ret = inflateValidate(&png_ptr->zstream, 0); in png_inflate_claim() 456 if (png_ptr->zstream_start && png_ptr->zstream.avail_in > 0) in png_zlib_inflate() [all …]
|
D | pngwutil.c | 316 png_ptr->zstream.msg = PNGZ_MSG_CAST("in use by IDAT"); in png_deflate_claim() 395 if (deflateEnd(&png_ptr->zstream) != Z_OK) in png_deflate_claim() 404 png_ptr->zstream.next_in = NULL; in png_deflate_claim() 405 png_ptr->zstream.avail_in = 0; in png_deflate_claim() 406 png_ptr->zstream.next_out = NULL; in png_deflate_claim() 407 png_ptr->zstream.avail_out = 0; in png_deflate_claim() 413 ret = deflateReset(&png_ptr->zstream); in png_deflate_claim() 417 ret = deflateInit2(&png_ptr->zstream, level, method, windowBits, in png_deflate_claim() 520 png_ptr->zstream.next_in = PNGZ_INPUT_CAST(comp->input); in png_text_compress() 521 png_ptr->zstream.avail_in = 0; /* Set below */ in png_text_compress() [all …]
|
/third_party/flutter/skia/third_party/externals/libpng/ |
D | pngrutil.c | 399 png_ptr->zstream.next_in = NULL; in png_inflate_claim() 400 png_ptr->zstream.avail_in = 0; in png_inflate_claim() 401 png_ptr->zstream.next_out = NULL; in png_inflate_claim() 402 png_ptr->zstream.avail_out = 0; in png_inflate_claim() 407 ret = inflateReset2(&png_ptr->zstream, window_bits); in png_inflate_claim() 409 ret = inflateReset(&png_ptr->zstream); in png_inflate_claim() 416 ret = inflateInit2(&png_ptr->zstream, window_bits); in png_inflate_claim() 418 ret = inflateInit(&png_ptr->zstream); in png_inflate_claim() 429 ret = inflateValidate(&png_ptr->zstream, 0); in png_inflate_claim() 456 if (png_ptr->zstream_start && png_ptr->zstream.avail_in > 0) in png_zlib_inflate() [all …]
|
D | pngwutil.c | 316 png_ptr->zstream.msg = PNGZ_MSG_CAST("in use by IDAT"); in png_deflate_claim() 395 if (deflateEnd(&png_ptr->zstream) != Z_OK) in png_deflate_claim() 404 png_ptr->zstream.next_in = NULL; in png_deflate_claim() 405 png_ptr->zstream.avail_in = 0; in png_deflate_claim() 406 png_ptr->zstream.next_out = NULL; in png_deflate_claim() 407 png_ptr->zstream.avail_out = 0; in png_deflate_claim() 413 ret = deflateReset(&png_ptr->zstream); in png_deflate_claim() 417 ret = deflateInit2(&png_ptr->zstream, level, method, windowBits, in png_deflate_claim() 520 png_ptr->zstream.next_in = PNGZ_INPUT_CAST(comp->input); in png_text_compress() 521 png_ptr->zstream.avail_in = 0; /* Set below */ in png_text_compress() [all …]
|
/third_party/protobuf/src/google/protobuf/util/ |
D | delimited_message_util_test.cc | 62 io::IstreamInputStream zstream(&stream); in TEST() local 67 &zstream, &clean_eof)); in TEST() 74 &zstream, &clean_eof)); in TEST() 80 &zstream, &clean_eof)); in TEST()
|
/third_party/mesa3d/src/broadcom/cle/ |
D | v3d_decoder.c | 570 struct z_stream_s zstream; in zlib_inflate() local 573 memset(&zstream, 0, sizeof(zstream)); in zlib_inflate() 575 zstream.next_in = (unsigned char *)compressed_data; in zlib_inflate() 576 zstream.avail_in = compressed_len; in zlib_inflate() 578 if (inflateInit(&zstream) != Z_OK) in zlib_inflate() 582 zstream.next_out = out; in zlib_inflate() 583 zstream.avail_out = 4096; in zlib_inflate() 586 switch (inflate(&zstream, Z_SYNC_FLUSH)) { in zlib_inflate() 592 inflateEnd(&zstream); in zlib_inflate() 596 if (zstream.avail_out) in zlib_inflate() [all …]
|