Home
last modified time | relevance | path

Searched refs:zstream (Results 1 – 25 of 25) sorted by relevance

/external/freetype/src/gzip/
Dftgzip.c182 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 …]
/external/mesa3d/src/intel/tools/
Daubinator_error_decode.c301 struct z_stream_s zstream; in zlib_inflate() local
305 memset(&zstream, 0, sizeof(zstream)); in zlib_inflate()
307 zstream.next_in = (unsigned char *)*ptr; in zlib_inflate()
308 zstream.avail_in = 4*len; in zlib_inflate()
310 if (inflateInit(&zstream) != Z_OK) in zlib_inflate()
314 zstream.next_out = out; in zlib_inflate()
315 zstream.avail_out = out_size; in zlib_inflate()
318 switch (inflate(&zstream, Z_SYNC_FLUSH)) { in zlib_inflate()
324 inflateEnd(&zstream); in zlib_inflate()
328 if (zstream.avail_out) in zlib_inflate()
[all …]
/external/python/cpython2/PC/bdist_wininst/
Dextract.c155 z_stream zstream; in extract_file() local
160 memset(&zstream, 0, sizeof(zstream)); in extract_file()
161 zstream.next_in = src; in extract_file()
162 zstream.avail_in = comp_size+1; in extract_file()
163 zstream.next_out = dst; in extract_file()
164 zstream.avail_out = uncomp_size; in extract_file()
170 if (Z_OK != (x = inflateInit2(&zstream, -15))) { in extract_file()
177 if (Z_STREAM_END != (x = inflate(&zstream, Z_FINISH))) { in extract_file()
184 if (Z_OK != (x = inflateEnd(&zstream))) { in extract_file()
/external/python/cpython3/PC/bdist_wininst/
Dextract.c154 z_stream zstream; in extract_file() local
159 memset(&zstream, 0, sizeof(zstream)); in extract_file()
160 zstream.next_in = src; in extract_file()
161 zstream.avail_in = comp_size+1; in extract_file()
162 zstream.next_out = dst; in extract_file()
163 zstream.avail_out = uncomp_size; in extract_file()
169 if (Z_OK != (x = inflateInit2(&zstream, -15))) { in extract_file()
176 if (Z_STREAM_END != (x = inflate(&zstream, Z_FINISH))) { in extract_file()
183 if (Z_OK != (x = inflateEnd(&zstream))) { in extract_file()
/external/libpng/
Dpngrutil.c399 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 …]
Dpngwutil.c317 png_ptr->zstream.msg = PNGZ_MSG_CAST("in use by IDAT"); in png_deflate_claim()
396 if (deflateEnd(&png_ptr->zstream) != Z_OK) in png_deflate_claim()
405 png_ptr->zstream.next_in = NULL; in png_deflate_claim()
406 png_ptr->zstream.avail_in = 0; in png_deflate_claim()
407 png_ptr->zstream.next_out = NULL; in png_deflate_claim()
408 png_ptr->zstream.avail_out = 0; in png_deflate_claim()
414 ret = deflateReset(&png_ptr->zstream); in png_deflate_claim()
418 ret = deflateInit2(&png_ptr->zstream, level, method, windowBits, in png_deflate_claim()
521 png_ptr->zstream.next_in = PNGZ_INPUT_CAST(comp->input); in png_text_compress()
522 png_ptr->zstream.avail_in = 0; /* Set below */ in png_text_compress()
[all …]
Dpngpread.c267 png_ptr->zstream.avail_out = in png_push_read_chunk()
270 png_ptr->zstream.next_out = png_ptr->row_buf; in png_push_read_chunk()
638 png_ptr->zstream.next_in = buffer; in png_process_IDAT_data()
640 png_ptr->zstream.avail_in = (uInt)buffer_length; in png_process_IDAT_data()
645 while (png_ptr->zstream.avail_in > 0 && in png_process_IDAT_data()
655 if (!(png_ptr->zstream.avail_out > 0)) in png_process_IDAT_data()
658 png_ptr->zstream.avail_out = (uInt)(PNG_ROWBYTES(png_ptr->pixel_depth, in png_process_IDAT_data()
661 png_ptr->zstream.next_out = png_ptr->row_buf; in png_process_IDAT_data()
700 if (png_ptr->zstream.next_out != png_ptr->row_buf) in png_process_IDAT_data()
721 if (png_ptr->zstream.avail_out == 0) in png_process_IDAT_data()
[all …]
Dpng.c327 create_struct.zstream.zalloc = png_zalloc;
328 create_struct.zstream.zfree = png_zfree;
329 create_struct.zstream.opaque = png_ptr;
986 return (inflateReset(&png_ptr->zstream));
1010 if (png_ptr->zstream.msg == NULL) switch (ret)
1014 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected zlib return code");
1019 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected end of LZ stream");
1026 png_ptr->zstream.msg = PNGZ_MSG_CAST("missing LZ dictionary");
1031 png_ptr->zstream.msg = PNGZ_MSG_CAST("zlib IO error");
1036 png_ptr->zstream.msg = PNGZ_MSG_CAST("bad parameters to zlib");
[all …]
Dpngstruct.h183 z_stream zstream; /* decompression structure */ member
Dpngpriv.h1389 # define PNG_INFLATE(pp, flush) inflate(&(pp)->zstream, flush)
Dpngwrite.c945 deflateEnd(&png_ptr->zstream); in png_write_destroy()
Dpngread.c979 inflateEnd(&png_ptr->zstream); in png_read_destroy()
DCHANGES1549 Set png_ptr->zstream.data_type to Z_BINARY, to avoid unnecessary detection
4045 code now claims and releases png_ptr->zstream, like the write code.
4046 The bug whereby the progressive reader failed to release the zstream
/external/pdfium/third_party/libpng16/
Dpngrutil.c398 png_ptr->zstream.next_in = NULL; in png_inflate_claim()
399 png_ptr->zstream.avail_in = 0; in png_inflate_claim()
400 png_ptr->zstream.next_out = NULL; in png_inflate_claim()
401 png_ptr->zstream.avail_out = 0; in png_inflate_claim()
406 ret = inflateReset(&png_ptr->zstream); in png_inflate_claim()
408 ret = inflateReset2(&png_ptr->zstream, window_bits); in png_inflate_claim()
415 ret = inflateInit(&png_ptr->zstream); in png_inflate_claim()
417 ret = inflateInit2(&png_ptr->zstream, window_bits); in png_inflate_claim()
448 if (png_ptr->zstream_start && png_ptr->zstream.avail_in > 0) in png_zlib_inflate()
450 if ((*png_ptr->zstream.next_in >> 4) > 7) in png_zlib_inflate()
[all …]
Dpngwutil.c317 png_ptr->zstream.msg = PNGZ_MSG_CAST("in use by IDAT"); in png_deflate_claim()
396 if (deflateEnd(&png_ptr->zstream) != Z_OK) in png_deflate_claim()
405 png_ptr->zstream.next_in = NULL; in png_deflate_claim()
406 png_ptr->zstream.avail_in = 0; in png_deflate_claim()
407 png_ptr->zstream.next_out = NULL; in png_deflate_claim()
408 png_ptr->zstream.avail_out = 0; in png_deflate_claim()
414 ret = deflateReset(&png_ptr->zstream); in png_deflate_claim()
418 ret = deflateInit2(&png_ptr->zstream, level, method, windowBits, in png_deflate_claim()
521 png_ptr->zstream.next_in = PNGZ_INPUT_CAST(comp->input); in png_text_compress()
522 png_ptr->zstream.avail_in = 0; /* Set below */ in png_text_compress()
[all …]
Dpngpread.c266 png_ptr->zstream.avail_out = in png_push_read_chunk()
269 png_ptr->zstream.next_out = png_ptr->row_buf; in png_push_read_chunk()
634 png_ptr->zstream.next_in = buffer; in png_process_IDAT_data()
636 png_ptr->zstream.avail_in = (uInt)buffer_length; in png_process_IDAT_data()
641 while (png_ptr->zstream.avail_in > 0 && in png_process_IDAT_data()
651 if (!(png_ptr->zstream.avail_out > 0)) in png_process_IDAT_data()
654 png_ptr->zstream.avail_out = (uInt)(PNG_ROWBYTES(png_ptr->pixel_depth, in png_process_IDAT_data()
657 png_ptr->zstream.next_out = png_ptr->row_buf; in png_process_IDAT_data()
691 if (png_ptr->zstream.next_out != png_ptr->row_buf) in png_process_IDAT_data()
712 if (png_ptr->zstream.avail_out == 0) in png_process_IDAT_data()
[all …]
Dpng.c307 create_struct.zstream.zalloc = png_zalloc;
308 create_struct.zstream.zfree = png_zfree;
309 create_struct.zstream.opaque = png_ptr;
945 return (inflateReset(&png_ptr->zstream));
969 if (png_ptr->zstream.msg == NULL) switch (ret)
973 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected zlib return code");
978 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected end of LZ stream");
985 png_ptr->zstream.msg = PNGZ_MSG_CAST("missing LZ dictionary");
990 png_ptr->zstream.msg = PNGZ_MSG_CAST("zlib IO error");
995 png_ptr->zstream.msg = PNGZ_MSG_CAST("bad parameters to zlib");
[all …]
Dpngstruct.h183 z_stream zstream; /* decompression structure */ member
Dpngpriv.h1272 # define PNG_INFLATE(pp, flush) inflate(&(pp)->zstream, flush)
Dpngwrite.c934 deflateEnd(&png_ptr->zstream); in png_write_destroy()
Dpngread.c968 inflateEnd(&png_ptr->zstream); in png_read_destroy()
/external/mesa3d/src/broadcom/cle/
Dv3d_decoder.c536 struct z_stream_s zstream; in zlib_inflate() local
539 memset(&zstream, 0, sizeof(zstream)); in zlib_inflate()
541 zstream.next_in = (unsigned char *)compressed_data; in zlib_inflate()
542 zstream.avail_in = compressed_len; in zlib_inflate()
544 if (inflateInit(&zstream) != Z_OK) in zlib_inflate()
548 zstream.next_out = out; in zlib_inflate()
549 zstream.avail_out = 4096; in zlib_inflate()
552 switch (inflate(&zstream, Z_SYNC_FLUSH)) { in zlib_inflate()
558 inflateEnd(&zstream); in zlib_inflate()
562 if (zstream.avail_out) in zlib_inflate()
[all …]
/external/mesa3d/src/intel/common/
Dgen_decoder.c476 struct z_stream_s zstream; in zlib_inflate() local
479 memset(&zstream, 0, sizeof(zstream)); in zlib_inflate()
481 zstream.next_in = (unsigned char *)compressed_data; in zlib_inflate()
482 zstream.avail_in = compressed_len; in zlib_inflate()
484 if (inflateInit(&zstream) != Z_OK) in zlib_inflate()
488 zstream.next_out = out; in zlib_inflate()
489 zstream.avail_out = 4096; in zlib_inflate()
492 switch (inflate(&zstream, Z_SYNC_FLUSH)) { in zlib_inflate()
498 inflateEnd(&zstream); in zlib_inflate()
502 if (zstream.avail_out) in zlib_inflate()
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dsext-i1.ll35 %struct.zstream = type { }
/external/llvm/test/CodeGen/X86/
Dsext-i1.ll35 %struct.zstream = type { }