| /openbmc/u-boot/lib/bzip2/ |
| H A D | bzlib.c | 200 ( bz_stream* strm, in BZ_API() 210 if (strm == NULL || in BZ_API() 216 if (strm->bzalloc == NULL) strm->bzalloc = default_bzalloc; in BZ_API() 217 if (strm->bzfree == NULL) strm->bzfree = default_bzfree; in BZ_API() 221 s->strm = strm; in BZ_API() 254 strm->state = s; in BZ_API() 255 strm->total_in_lo32 = 0; in BZ_API() 256 strm->total_in_hi32 = 0; in BZ_API() 257 strm->total_out_lo32 = 0; in BZ_API() 258 strm->total_out_hi32 = 0; in BZ_API() [all …]
|
| H A D | bzlib_private.h | 139 #define BZALLOC(nnn) (strm->bzalloc)(strm->opaque,(nnn),1) 140 #define BZFREE(ppp) (strm->bzfree)(strm->opaque,(ppp)) 231 bz_stream* strm; member 378 bz_stream* strm; member
|
| H A D | bzlib_decompress.c | 97 if (s->strm->avail_in == 0) RETURN(BZ_OK); \ 101 (*((UChar*)(s->strm->next_in)))); \ 103 s->strm->next_in++; \ 104 s->strm->avail_in--; \ 105 s->strm->total_in_lo32++; \ 106 if (s->strm->total_in_lo32 == 0) \ 107 s->strm->total_in_hi32++; \ 154 bz_stream* strm = s->strm; in BZ2_decompress() local
|
| /openbmc/u-boot/lib/zlib/ |
| H A D | deflate.c | 86 local void flush_pending OF((z_streamp strm)); 87 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size)); 198 int ZEXPORT deflateInit_(strm, level, version, stream_size) in deflateInit_() argument 199 z_streamp strm; in deflateInit_() 204 return deflateInit2_(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, 210 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, in deflateInit2_() argument 212 z_streamp strm; in deflateInit2_() 234 if (strm == Z_NULL) return Z_STREAM_ERROR; 236 strm->msg = Z_NULL; 237 if (strm->zalloc == (alloc_func)0) { [all …]
|
| H A D | inflate.c | 6 local int updatewindow OF((z_streamp strm, unsigned out)); 8 int ZEXPORT inflateReset(z_streamp strm) in inflateReset() argument 12 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateReset() 13 state = (struct inflate_state FAR *)strm->state; in inflateReset() 14 strm->total_in = strm->total_out = state->total = 0; in inflateReset() 15 strm->msg = Z_NULL; in inflateReset() 16 strm->adler = 1; /* to support ill-conceived Java test suite */ in inflateReset() 33 int ZEXPORT inflateInit2_(z_streamp strm, int windowBits, const char *version, in inflateInit2_() argument 41 if (strm == Z_NULL) return Z_STREAM_ERROR; in inflateInit2_() 42 strm->msg = Z_NULL; /* in case we return an error */ in inflateInit2_() [all …]
|
| H A D | inffast.c | 69 void inflate_fast(z_streamp strm, unsigned start) in inflate_fast() argument 99 state = (struct inflate_state FAR *)strm->state; in inflate_fast() 100 in = strm->next_in - OFF; in inflate_fast() 101 last = in + (strm->avail_in - 5); in inflate_fast() 102 if (in > last && strm->avail_in > 5) { in inflate_fast() 107 strm->avail_in = 0xffffffff - (uintptr_t)in; in inflate_fast() 108 last = in + (strm->avail_in - 5); in inflate_fast() 110 out = strm->next_out - OFF; in inflate_fast() 111 beg = out - (start - strm->avail_out); in inflate_fast() 112 end = out + (strm->avail_out - 257); in inflate_fast() [all …]
|
| H A D | zutil.h | 58 #define ERR_RETURN(strm,err) \ argument 59 return (strm->msg = (char*)ERR_MSG(err), (err)) 121 #define ZALLOC(strm, items, size) \ argument 122 (*((strm)->zalloc))((strm)->opaque, (items), (size)) 123 #define ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr), 0) argument
|
| H A D | inffast.h | 11 void inflate_fast OF((z_streamp strm, unsigned start));
|
| H A D | deflate.h | 95 z_streamp strm; /* pointer back to this zlib stream */ member
|
| H A D | trees.c | 938 if (s->strm->data_type == Z_UNKNOWN) 939 s->strm->data_type = detect_data_type(s);
|
| /openbmc/entity-manager/src/fru_device/ |
| H A D | gzip_utils.cpp | 21 z_stream strm{ in gzipInflate() local 24 strm.next_in = (Bytef*)compressedBytes.data(); in gzipInflate() 25 strm.avail_in = static_cast<uInt>(compressedBytes.size()); in gzipInflate() 26 strm.total_out = 0; in gzipInflate() 28 if (inflateInit2(&strm, (16 + MAX_WBITS)) != Z_OK) in gzipInflate() 33 while (strm.avail_in > 0) in gzipInflate() 37 strm.next_out = in gzipInflate() 39 strm.avail_out = chunkSize; in gzipInflate() 42 int err = inflate(&strm, Z_SYNC_FLUSH); in gzipInflate() 53 if (inflateEnd(&strm) != Z_OK) in gzipInflate() [all …]
|
| /openbmc/qemu/block/ |
| H A D | qcow2-threads.c | 97 z_stream strm; in qcow2_zlib_compress() local 100 memset(&strm, 0, sizeof(strm)); in qcow2_zlib_compress() 101 ret = deflateInit2(&strm, Z_DEFAULT_COMPRESSION, Z_DEFLATED, in qcow2_zlib_compress() 111 strm.avail_in = src_size; in qcow2_zlib_compress() 112 strm.next_in = (void *) src; in qcow2_zlib_compress() 113 strm.avail_out = dest_size; in qcow2_zlib_compress() 114 strm.next_out = dest; in qcow2_zlib_compress() 116 ret = deflate(&strm, Z_FINISH); in qcow2_zlib_compress() 118 ret = dest_size - strm.avail_out; in qcow2_zlib_compress() 123 deflateEnd(&strm); in qcow2_zlib_compress() [all …]
|
| H A D | qcow.c | 571 z_stream strm1, *strm = &strm1; in decompress_buffer() local 574 memset(strm, 0, sizeof(*strm)); in decompress_buffer() 576 strm->next_in = (uint8_t *)buf; in decompress_buffer() 577 strm->avail_in = buf_size; in decompress_buffer() 578 strm->next_out = out_buf; in decompress_buffer() 579 strm->avail_out = out_buf_size; in decompress_buffer() 581 ret = inflateInit2(strm, -12); in decompress_buffer() 584 ret = inflate(strm, Z_FINISH); in decompress_buffer() 585 out_len = strm->next_out - out_buf; in decompress_buffer() 588 inflateEnd(strm); in decompress_buffer() [all …]
|
| /openbmc/u-boot/include/u-boot/ |
| H A D | zlib.h | 518 ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush)); 519 ZEXTERN int ZEXPORT deflateInit_ OF((z_streamp strm, int level, 521 ZEXTERN int ZEXPORT deflateEnd OF((z_streamp strm)); 522 ZEXTERN int ZEXPORT deflateInit2_ OF((z_streamp strm, int level, int method, 526 ZEXTERN int ZEXPORT deflateReset OF((z_streamp strm)); 527 ZEXTERN int ZEXPORT deflateSetDictionary OF((z_streamp strm, 530 ZEXTERN int ZEXPORT deflateSetHeader OF((z_streamp strm, 532 ZEXTERN int ZEXPORT deflatePrime OF((z_streamp strm, 535 ZEXTERN int ZEXPORT deflateParams OF((z_streamp strm, 538 ZEXTERN int ZEXPORT deflateTune OF((z_streamp strm, [all …]
|
| /openbmc/u-boot/include/ |
| H A D | bzlib.h | 148 bz_stream* strm, 155 bz_stream* strm, 160 bz_stream* strm 164 bz_stream *strm, 170 bz_stream* strm 174 bz_stream *strm
|
| /openbmc/openbmc/poky/meta/recipes-extended/ghostscript/ghostscript/ |
| H A D | 0001-Bug-708160-Fix-compatibility-with-C23-compilers.patch | 59 @@ -646,7 +646,7 @@ int gp_fseek_impl(FILE *strm, gs_offset_t offset, int origin);
|
| /openbmc/qemu/pc-bios/dtb/ |
| H A D | petalogix-ml605.dts | 195 xlnx,sg-include-stscntrl-strm = < 0x01 >;
|