Home
last modified time | relevance | path

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

12

/external/freetype/src/gzip/
Dftgzip.c181 z_stream zstream; /* zlib input stream */ member
283 z_stream* zstream = &zip->zstream; in ft_gzip_file_init() local
307 zstream->zalloc = (alloc_func)ft_gzip_alloc; in ft_gzip_file_init()
308 zstream->zfree = (free_func) ft_gzip_free; in ft_gzip_file_init()
309 zstream->opaque = stream->memory; in ft_gzip_file_init()
311 zstream->avail_in = 0; in ft_gzip_file_init()
312 zstream->next_in = zip->buffer; in ft_gzip_file_init()
314 if ( inflateInit2( zstream, -MAX_WBITS ) != Z_OK || in ft_gzip_file_init()
315 !zstream->next_in ) in ft_gzip_file_init()
326 z_stream* zstream = &zip->zstream; in ft_gzip_file_done() local
[all …]
/external/mesa3d/src/intel/tools/
Derror2aub.c47 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 …]
Daubinator_error_decode.c302 struct z_stream_s zstream; in zlib_inflate() local
306 memset(&zstream, 0, sizeof(zstream)); in zlib_inflate()
308 zstream.next_in = (unsigned char *)*ptr; in zlib_inflate()
309 zstream.avail_in = 4*len; in zlib_inflate()
311 if (inflateInit(&zstream) != Z_OK) in zlib_inflate()
315 zstream.next_out = out; in zlib_inflate()
316 zstream.avail_out = out_size; in zlib_inflate()
319 switch (inflate(&zstream, Z_SYNC_FLUSH)) { in zlib_inflate()
325 inflateEnd(&zstream); in zlib_inflate()
329 if (zstream.avail_out) in zlib_inflate()
[all …]
/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/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/igt-gpu-tools/tools/
Dintel_error_decode.c484 struct z_stream_s zstream; in zlib_inflate() local
487 memset(&zstream, 0, sizeof(zstream)); in zlib_inflate()
489 zstream.next_in = (unsigned char *)*ptr; in zlib_inflate()
490 zstream.avail_in = 4*len; in zlib_inflate()
492 if (inflateInit(&zstream) != Z_OK) in zlib_inflate()
496 zstream.next_out = out; in zlib_inflate()
497 zstream.avail_out = 128*4096; in zlib_inflate()
500 switch (inflate(&zstream, Z_SYNC_FLUSH)) { in zlib_inflate()
506 inflateEnd(&zstream); in zlib_inflate()
510 if (zstream.avail_out) in zlib_inflate()
[all …]
/external/igt-gpu-tools/tests/i915/
Dgem_exec_capture.c326 struct z_stream_s zstream; in zlib_inflate() local
329 memset(&zstream, 0, sizeof(zstream)); in zlib_inflate()
331 zstream.next_in = (unsigned char *)*ptr; in zlib_inflate()
332 zstream.avail_in = 4*len; in zlib_inflate()
334 if (inflateInit(&zstream) != Z_OK) in zlib_inflate()
338 zstream.next_out = out; in zlib_inflate()
339 zstream.avail_out = 128*4096; in zlib_inflate()
342 switch (inflate(&zstream, Z_SYNC_FLUSH)) { in zlib_inflate()
348 inflateEnd(&zstream); in zlib_inflate()
352 if (zstream.avail_out) in zlib_inflate()
[all …]
/external/protobuf/src/google/protobuf/util/
Ddelimited_message_util_test.cc62 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()
/external/pdfium/third_party/libpng16/
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.c316 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 …]
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;
980 return (inflateReset(&png_ptr->zstream));
1004 if (png_ptr->zstream.msg == NULL) switch (ret)
1008 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected zlib return code");
1013 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected end of LZ stream");
1020 png_ptr->zstream.msg = PNGZ_MSG_CAST("missing LZ dictionary");
1025 png_ptr->zstream.msg = PNGZ_MSG_CAST("zlib IO error");
1030 png_ptr->zstream.msg = PNGZ_MSG_CAST("bad parameters to zlib");
[all …]
Dpngstruct.h183 z_stream zstream; /* decompression structure */ member
Dpngpriv.h1398 # define PNG_INFLATE(pp, flush) inflate(&(pp)->zstream, flush)
/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.c316 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 …]
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;
980 return (inflateReset(&png_ptr->zstream));
1004 if (png_ptr->zstream.msg == NULL) switch (ret)
1008 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected zlib return code");
1013 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected end of LZ stream");
1020 png_ptr->zstream.msg = PNGZ_MSG_CAST("missing LZ dictionary");
1025 png_ptr->zstream.msg = PNGZ_MSG_CAST("zlib IO error");
1030 png_ptr->zstream.msg = PNGZ_MSG_CAST("bad parameters to zlib");
[all …]
Dpngstruct.h183 z_stream zstream; /* decompression structure */ member
Dpngpriv.h1398 # define PNG_INFLATE(pp, flush) inflate(&(pp)->zstream, flush)
/external/mesa3d/src/broadcom/cle/
Dv3d_decoder.c604 struct z_stream_s zstream; in zlib_inflate() local
607 memset(&zstream, 0, sizeof(zstream)); in zlib_inflate()
609 zstream.next_in = (unsigned char *)compressed_data; in zlib_inflate()
610 zstream.avail_in = compressed_len; in zlib_inflate()
612 if (inflateInit(&zstream) != Z_OK) in zlib_inflate()
616 zstream.next_out = out; in zlib_inflate()
617 zstream.avail_out = 4096; in zlib_inflate()
620 switch (inflate(&zstream, Z_SYNC_FLUSH)) { in zlib_inflate()
626 inflateEnd(&zstream); in zlib_inflate()
630 if (zstream.avail_out) in zlib_inflate()
[all …]
/external/mesa3d/src/intel/common/
Dgen_decoder.c524 struct z_stream_s zstream; in zlib_inflate() local
527 memset(&zstream, 0, sizeof(zstream)); in zlib_inflate()
529 zstream.next_in = (unsigned char *)compressed_data; in zlib_inflate()
530 zstream.avail_in = compressed_len; in zlib_inflate()
532 if (inflateInit(&zstream) != Z_OK) in zlib_inflate()
536 zstream.next_out = out; in zlib_inflate()
537 zstream.avail_out = 4096; in zlib_inflate()
540 switch (inflate(&zstream, Z_SYNC_FLUSH)) { in zlib_inflate()
546 inflateEnd(&zstream); in zlib_inflate()
550 if (zstream.avail_out) in zlib_inflate()
[all …]
/external/zstd/build/meson/tests/
Dmeson.build185 test('test-zstream-1',
189 test('test-zstream-2',
193 test('test-zstream-3',
/external/llvm/test/CodeGen/X86/
Dsext-i1.ll35 %struct.zstream = type { }
/external/zstd/tests/
DMakefile304 fuzztest: test-fuzzer test-zstream test-decodecorpus
307 test: test-zstd test-fullbench test-fuzzer test-zstream test-invalidDictionaries test-legacy test-d…
355 test-zstream: zstreamtest

12