| /f-stack/freebsd/contrib/zstd/zlibWrapper/ |
| H A D | zstd_zlibwrapper.c | 117 strm->zfree(strm->opaque, address); in ZWRAP_freeFunction() 186 if (strm->zalloc && strm->zfree) { in ZWRAP_createCCtx() 224 if (strm) strm->state = NULL; in ZWRAPC_finishWithError() 359 … (int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out); in z_deflate() 432 (int)strm->total_in, (int)strm->avail_out, (int)strm->total_out); in z_deflate() 531 if (strm->zalloc && strm->zfree) { in ZWRAP_createDCtx() 725 …(int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out, … in z_inflate() 733 … (int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out); in z_inflate() 756 …(int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out, … in z_inflate() 899 … (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out); in z_inflate() [all …]
|
| H A D | gzwrite.c | 26 z_streamp strm = &(state.state->strm); local 84 z_streamp strm = &(state.state->strm); local 93 put = strm->avail_in > max ? max : strm->avail_in; 156 z_streamp strm = &(state.state->strm); local 317 z_streamp strm; local 323 strm = &(state.state->strm); 391 z_streamp strm; in gzvprintf() local 397 strm = &(state.state->strm); in gzvprintf() 487 strm = &(state.state->strm); 513 next = (char *)(strm->next_in + strm->avail_in); [all …]
|
| H A D | gzread.c | 71 z_streamp strm = &(state.state->strm); local 105 z_streamp strm = &(state.state->strm); local 151 ((strm->next_in[0] == 31 && strm->next_in[1] == 139) /* gz header */ 153 inflateReset(strm); 162 strm->avail_in = 0; 172 if (strm->avail_in) { 173 memcpy(state.state->x.next, strm->next_in, strm->avail_in); 192 z_streamp strm = &(state.state->strm); local 195 had = strm->avail_out; 218 strm->msg == NULL ? "compressed data error" : strm->msg); [all …]
|
| H A D | zstd_zlibwrapper.h | 52 int ZWRAP_setPledgedSrcSize(z_streamp strm, unsigned long long pledgedSrcSize); 57 int ZWRAP_deflateReset_keepDict(z_streamp strm); 76 int ZWRAP_isUsingZSTDdecompression(z_streamp strm); 81 int ZWRAP_inflateReset_keepDict(z_streamp strm);
|
| H A D | gzguts.h | 207 z_stream strm; /* stream structure in-place (not a pointer) */ member
|
| /f-stack/freebsd/contrib/zlib/test/ |
| H A D | infcover.c | 293 mem_setup(&strm); in inf() 353 z_stream strm; in cover_support() local 355 mem_setup(&strm); in cover_support() 373 mem_setup(&strm); in cover_support() 413 mem_setup(&strm); in cover_wrap() 473 z_stream strm; in cover_back() local 484 mem_setup(&strm); in cover_back() 493 ret = inflateBack(&strm, pull, Z_NULL, push, &strm); in cover_back() 496 ret = inflateBack(&strm, pull, &strm, push, Z_NULL); in cover_back() 513 z_stream strm; in try() local [all …]
|
| H A D | minigzip.c | 175 z_stream strm; member 225 gz->write ? deflateEnd(&(gz->strm)) : inflateEnd(&(gz->strm)); 241 z_stream *strm; local 246 strm = &(gz->strm); 248 strm->avail_in = len; 268 z_stream *strm; local 274 strm = &(gz->strm); 300 z_stream *strm; local 305 strm = &(gz->strm); 315 deflateEnd(strm); [all …]
|
| /f-stack/dpdk/drivers/compress/zlib/ |
| H A D | zlib_pmd.c | 36 if (unlikely(!strm)) { in process_zlib_deflate() 59 if ((op->src.length - strm->total_in) <= strm->avail_in) { in process_zlib_deflate() 60 strm->avail_in = (op->src.length - strm->total_in); in process_zlib_deflate() 78 COMPUTE_BUF(mbuf_dst, strm->next_out, strm->avail_out)); in process_zlib_deflate() 89 } while (COMPUTE_BUF(mbuf_src, strm->next_in, strm->avail_in)); in process_zlib_deflate() 105 deflateReset(strm); in process_zlib_deflate() 115 if (unlikely(!strm)) { in process_zlib_inflate() 165 COMPUTE_BUF(mbuf_dst, strm->next_out, strm->avail_out)); in process_zlib_inflate() 175 } while (COMPUTE_BUF(mbuf_src, strm->next_in, strm->avail_in)); in process_zlib_inflate() 191 inflateReset(strm); in process_zlib_inflate() [all …]
|
| H A D | zlib_pmd_private.h | 45 typedef void (*comp_func_t)(struct rte_comp_op *op, z_stream *strm); 47 typedef int (*comp_free_t)(z_stream *strm); 51 z_stream strm; member
|
| /f-stack/freebsd/contrib/zlib/ |
| H A D | inflate.c | 106 z_streamp strm; in inflateStateCheck() 113 if (state == Z_NULL || state->strm != strm || 120 z_streamp strm; in inflateResetKeep() 126 strm->total_in = strm->total_out = state->total = 0; 145 z_streamp strm; in inflateReset() 158 z_streamp strm; in inflateReset2() 228 state->strm = strm; 1257 if (updatewindow(strm, strm->next_out, out - strm->avail_out)) { 1285 ZFREE(strm, strm->state); 1436 in = strm->total_in; out = strm->total_out; [all …]
|
| H A D | gzwrite.c | 24 z_streamp strm = &(state->strm); local 82 z_streamp strm = &(state->strm); local 91 put = strm->avail_in > max ? max : strm->avail_in; 154 z_streamp strm = &(state->strm); local 314 z_streamp strm; local 320 strm = &(state->strm); 388 z_streamp strm; in gzvprintf() local 394 strm = &(state->strm); in gzvprintf() 484 strm = &(state->strm); 510 next = (char *)(strm->next_in + strm->avail_in); [all …]
|
| H A D | deflate.c | 310 s->strm = strm; 479 strm->total_in = strm->total_out = 0; 741 if (len > strm->avail_out) len = strm->avail_out; 1089 TRY_FREE(strm, strm->state->pending_buf); 1090 TRY_FREE(strm, strm->state->head); 1091 TRY_FREE(strm, strm->state->prev); 1092 TRY_FREE(strm, strm->state->window); 1094 ZFREE(strm, strm->state); 1181 strm->adler = adler32(strm->adler, buf, len); 1185 strm->adler = crc32(strm->adler, buf, len); [all …]
|
| H A D | gzread.c | 63 z_streamp strm = &(state->strm); local 97 z_streamp strm = &(state->strm); local 143 strm->next_in[0] == 31 && strm->next_in[1] == 139) { 144 inflateReset(strm); 153 strm->avail_in = 0; 163 if (strm->avail_in) { 164 memcpy(state->x.next, strm->next_in, strm->avail_in); 183 z_streamp strm = &(state->strm); local 186 had = strm->avail_out; 209 strm->msg == NULL ? "compressed data error" : strm->msg); [all …]
|
| H A D | infback.c | 29 z_streamp strm; in inflateBackInit_() 56 strm->zfree = zcfree; 251 z_streamp strm; in inflateBack() 273 if (strm == Z_NULL || strm->state == Z_NULL) 278 strm->msg = Z_NULL; 282 next = strm->next_in; 626 strm->next_in = next; 632 z_streamp strm; in inflateBackEnd() 634 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0) 636 ZFREE(strm, strm->state); [all …]
|
| H A D | zlib.h | 363 ZEXTERN int ZEXPORT deflateEnd OF((z_streamp strm)); 520 ZEXTERN int ZEXPORT inflateEnd OF((z_streamp strm)); 744 ZEXTERN int ZEXPORT deflateTune OF((z_streamp strm, 791 ZEXTERN int ZEXPORT deflatePrime OF((z_streamp strm, 1097 ZEXTERN int ZEXPORT inflateBack OF((z_streamp strm, 1783 # define z_deflateInit(strm, level) \ argument 1785 # define z_inflateInit(strm) \ argument 1790 # define z_inflateInit2(strm, windowBits) \ argument 1797 # define deflateInit(strm, level) \ argument 1799 # define inflateInit(strm) \ argument [all …]
|
| H A D | inffast.c | 50 void ZLIB_INTERNAL inflate_fast(strm, start) in inflate_fast() argument 51 z_streamp strm; in inflate_fast() 82 in = strm->next_in; 83 last = in + (strm->avail_in - 5); 84 out = strm->next_out; 85 beg = out - (start - strm->avail_out); 86 end = out + (strm->avail_out - 257); 174 strm->msg = 299 strm->next_in = in; 300 strm->next_out = out; [all …]
|
| H A D | zutil.h | 57 #define ERR_RETURN(strm,err) \ argument 58 return (strm->msg = ERR_MSG(err), (err)) 265 #define ZALLOC(strm, items, size) \ argument 266 (*((strm)->zalloc))((strm)->opaque, (items), (size)) 267 #define ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr)) argument
|
| H A D | inffast.h | 11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
|
| H A D | inflate.h | 83 z_streamp strm; /* pointer back to this zlib stream */ member
|
| H A D | gzlib.c | 90 state->strm.avail_in = 0; /* no input data yet */ 411 state->strm.avail_in = 0; 503 offset -= state->strm.avail_in; /* don't count buffered input */
|
| H A D | gzguts.h | 200 z_stream strm; /* stream structure in-place (not a pointer) */ member
|
| /f-stack/freebsd/contrib/zstd/zlibWrapper/examples/ |
| H A D | minigzip.c | 180 z_stream strm; member 230 gz->write ? deflateEnd(&(gz->strm)) : inflateEnd(&(gz->strm)); 246 z_stream *strm; local 251 strm = &(gz->strm); 253 strm->avail_in = len; 273 z_stream *strm; local 279 strm = &(gz->strm); 305 z_stream *strm; local 310 strm = &(gz->strm); 320 deflateEnd(strm); [all …]
|
| /f-stack/freebsd/contrib/zstd/programs/ |
| H A D | fileio.c | 1026 z_stream strm; in FIO_compressGzFrame() local 1042 strm.next_in = 0; in FIO_compressGzFrame() 1043 strm.avail_in = 0; in FIO_compressGzFrame() 1129 strm.next_in = 0; in FIO_compressLzmaFrame() 1166 lzma_end(&strm); in FIO_compressLzmaFrame() 2178 z_stream strm; in FIO_decompressGzFrame() local 2186 strm.next_in = 0; in FIO_decompressGzFrame() 2226 memmove(ress->srcBuffer, strm.next_in, strm.avail_in); in FIO_decompressGzFrame() 2252 strm.next_in = 0; in FIO_decompressLzmaFrame() 2302 memmove(ress->srcBuffer, strm.next_in, strm.avail_in); in FIO_decompressLzmaFrame() [all …]
|
| /f-stack/freebsd/netinet/ |
| H A D | sctp_indata.c | 66 struct sctp_stream_in *strm, 341 q = &strm->uno_inqueue; in sctp_place_control_in_stream() 355 q = &strm->inqueue; in sctp_place_control_in_stream() 507 struct sctp_stream_in *strm; in sctp_queue_data_to_stream() local 561 strm->last_mid_delivered++; in sctp_queue_data_to_stream() 900 strm->pd_api_started = 1; in sctp_handle_old_unordered_data() 1080 if (strm->pd_api_started) { in sctp_deliver_reasm_check() 1120 strm->pd_api_started = 1; in sctp_deliver_reasm_check() 1134 if (strm->pd_api_started) { in sctp_deliver_reasm_check() 1178 strm->pd_api_started = 0; in sctp_deliver_reasm_check() [all …]
|
| /f-stack/dpdk/drivers/compress/octeontx/ |
| H A D | otx_zip_pmd.c | 438 struct zip_stream *strm = NULL; in zip_pmd_stream_create() local 440 strm = rte_malloc(NULL, in zip_pmd_stream_create() 443 if (strm == NULL) in zip_pmd_stream_create() 446 ret = zip_set_stream_parameters(dev, xform, strm); in zip_pmd_stream_create() 449 rte_free(strm); in zip_pmd_stream_create() 452 *stream = strm; in zip_pmd_stream_create()
|