HomeSort by: relevance | last modified time | path
    Searched defs:strm (Results 1 - 22 of 22) sorted by relevancy

  /src/common/dist/zlib/examples/
zpipe.c 40 z_stream strm; local in function:def
45 strm.zalloc = Z_NULL;
46 strm.zfree = Z_NULL;
47 strm.opaque = Z_NULL;
48 ret = deflateInit(&strm, level);
54 strm.avail_in = fread(in, 1, CHUNK, source);
56 (void)deflateEnd(&strm);
60 strm.next_in = in;
65 strm.avail_out = CHUNK;
66 strm.next_out = out
96 z_stream strm; local in function:inf
    [all...]
gzjoin.c 254 local void zpull(z_streamp strm, bin *in)
260 strm->avail_in = in->left;
261 strm->next_in = in->next;
289 z_stream strm; /* zlib inflate stream */ local in function:gzcopy
300 strm.zalloc = Z_NULL;
301 strm.zfree = Z_NULL;
302 strm.opaque = Z_NULL;
303 strm.avail_in = 0;
304 strm.next_in = Z_NULL;
305 ret = inflateInit2(&strm, -15)
    [all...]
gznorm.c 60 inflateEnd(&strm); \
88 z_stream strm; local in function:gzip_normalize
89 strm.zalloc = Z_NULL;
90 strm.zfree = Z_NULL;
91 strm.opaque = Z_NULL;
92 strm.avail_in = 0;
93 strm.next_in = Z_NULL;
94 if (inflateInit2(&strm, 15 + 16) != Z_OK)
128 strm.avail_in = fread(dat, 1, CHUNK, in);
129 if (strm.avail_in == 0
    [all...]
gun.c 193 of buffered input at next. strm is used for passing error information back
197 file, read error, or write error (a write error indicated by strm->next_in
201 int outfile, z_stream *strm)
230 strm->msg = (char *)"unknown lzw flags set";
235 strm->msg = (char *)"lzw bits out of range";
255 strm->msg = (char *)"invalid lzw code";
282 strm->next_in = outbuf; /* signal write error */
322 strm->msg = (char *)"invalid lzw code";
354 strm->next_in = outbuf; /* signal write error */
371 /* Decompress a gzip file from infile to outfile. strm is assumed to have bee
636 z_stream strm; local in function:main
    [all...]
gzappend.c 255 /* decompress gzip file "name", return strm with a deflate stream ready to
259 local int gzscan(char *name, z_stream *strm, int level)
283 strm->zalloc = Z_NULL;
284 strm->zfree = Z_NULL;
285 strm->opaque = Z_NULL;
286 ret = inflateInit2(strm, -15);
293 strm->avail_in = gz.left;
294 strm->next_in = gz.next;
299 if (strm->avail_in == 0) {
301 strm->avail_in = gz.left
469 z_stream strm; local in function:main
    [all...]
zran.c 134 z_stream strm = {0}; // inflate engine (gets fired up later) local in function:deflate_index_build
147 if (strm.avail_in == 0) {
148 strm.avail_in = fread(buf, 1, sizeof(buf), in);
149 totin += strm.avail_in;
150 strm.next_in = buf;
151 if (strm.avail_in < sizeof(buf) && ferror(in)) {
162 mode = strm.avail_in == 0 ? RAW : // empty -- will fail
163 (strm.next_in[0] & 0xf) == 8 ? ZLIB :
164 strm.next_in[0] == 0x1f ? GZIP :
166 ret = inflateInit2(&strm, mode)
359 z_stream strm = {0}; local in function:deflate_index_extract
    [all...]
gzlog.c 614 z_stream strm; local in function:log_compress
620 strm.zalloc = Z_NULL;
621 strm.zfree = Z_NULL;
622 strm.opaque = Z_NULL;
623 if (deflateInit2(&strm, Z_DEFAULT_COMPRESSION, Z_DEFLATED, -15, 8,
634 deflateEnd(&strm);
638 deflateSetDictionary(&strm, buf, (uint)dict);
647 deflateEnd(&strm);
650 deflatePrime(&strm, (8 - log->back) & 7, *buf);
653 strm.next_in = data
    [all...]
  /src/common/dist/zlib/
gzwrite.c 13 z_streamp strm = &(state->strm); local in function:gz_init
33 strm->zalloc = Z_NULL;
34 strm->zfree = Z_NULL;
35 strm->opaque = Z_NULL;
36 ret = deflateInit2(strm, state->level, Z_DEFLATED,
44 strm->next_in = NULL;
52 strm->avail_out = state->size;
53 strm->next_out = state->out;
54 state->x.next = strm->next_out
70 z_streamp strm = &(state->strm); local in function:gz_comp
148 z_streamp strm = &(state->strm); local in function:gz_zero
293 z_streamp strm; local in function:gzputc
366 z_streamp strm; local in function:gzvprintf
452 z_streamp strm; local in function:gzprintf
561 z_streamp strm; local in function:gzsetparams
    [all...]
gzread.c 40 If strm->avail_in != 0, then the current data is moved to the beginning of
45 z_streamp strm = &(state->strm); local in function:gz_avail
50 if (strm->avail_in) { /* copy what's there to the start */
52 unsigned const char *q = strm->next_in;
53 unsigned n = strm->avail_in;
58 if (gz_load(state, state->in + strm->avail_in,
59 state->size - strm->avail_in, &got) == -1)
61 strm->avail_in += got;
62 strm->next_in = state->in
77 z_streamp strm = &(state->strm); local in function:gz_look
159 z_streamp strm = &(state->strm); local in function:gz_decomp
209 z_streamp strm = &(state->strm); local in function:gz_fetch
    [all...]
gzguts.h 201 z_stream strm; /* stream structure in-place (not a pointer) */ member in struct:__anone1a3ef820108
inflate.h 83 z_streamp strm; /* pointer back to this zlib stream */ member in struct:inflate_state
deflate.h 107 z_streamp strm; /* pointer back to this zlib stream */ member in struct:internal_state
  /src/usr.bin/gzip/
unxz.c 43 lzma_stream strm = LZMA_STREAM_INIT; local in function:unxz
54 strm.next_in = ibuf;
56 strm.avail_in = read(i, ibuf + prelen, sizeof(ibuf) - prelen);
57 if (strm.avail_in == (size_t)-1)
59 infile_newdata(strm.avail_in);
60 strm.avail_in += prelen;
61 *bytes_in = strm.avail_in;
63 if ((ret = lzma_stream_decoder(&strm, UINT64_MAX, flags)) != LZMA_OK)
66 strm.next_out = NULL;
67 strm.avail_out = 0
277 lzma_stream strm = LZMA_STREAM_INIT; local in function:parse_indexes
    [all...]
  /src/sys/net/
ppp-deflate.c 70 z_stream strm; member in struct:deflate_state
171 state->strm.next_in = NULL;
172 state->strm.zalloc = zalloc;
173 state->strm.zfree = zfree;
174 if (deflateInit2(&state->strm, Z_DEFAULT_COMPRESSION, DEFLATE_METHOD_VAL,
190 deflateEnd(&state->strm);
213 deflateReset(&state->strm);
224 deflateReset(&state->strm);
275 state->strm.next_out = wptr;
276 state->strm.avail_out = wspace - (PPP_HDRLEN + 2)
    [all...]
zlib.c 12 * - allow strm->next_out to be NULL, meaning discard the output
107 #define ERR_RETURN(strm,err) \
108 return (strm->msg = ERR_MSG(err), (err))
277 #define ZALLOC(strm, items, size) \
278 (*((strm)->zalloc))((strm)->opaque, (items), (size))
279 #define ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr))
369 z_streamp strm; /* pointer back to this zlib stream * member in struct:deflate_state
    [all...]
  /src/common/dist/zlib/test/
infcover.c 32 z_stream strm;
33 mem_setup(&strm) initializes the memory tracking and sets the
34 zalloc, zfree, and opaque members of strm to use
35 memory tracking for all zlib operations on strm
36 mem_limit(&strm, limit) sets a limit on the total bytes requested -- a
41 mem_used(&strm, "msg") prints to stderr "msg" and the total bytes used
42 mem_high(&strm, "msg") prints to stderr "msg" and the high water mark
43 mem_done(&strm, "msg") ends memory tracking, releases all allocations
50 strm members to Z_NULL to use the default memory
52 using strm
290 z_stream strm, copy; local in function:inf
353 z_stream strm; local in function:cover_support
391 z_stream strm, copy; local in function:cover_wrap
474 z_stream strm; local in function:cover_back
514 z_stream strm; local in function:try
    [all...]
minigzip.c 167 z_stream strm; member in struct:gzFile_s
178 gz->strm.zalloc = myalloc;
179 gz->strm.zfree = myfree;
180 gz->strm.opaque = Z_NULL;
182 ret = deflateInit2(&(gz->strm), -1, 8, 15 + 16, 8, 0);
184 gz->strm.next_in = 0;
185 gz->strm.avail_in = Z_NULL;
186 ret = inflateInit2(&(gz->strm), 15 + 16);
195 gz->write ? deflateEnd(&(gz->strm)) : inflateEnd(&(gz->strm));
213 z_stream *strm; local in function:gzwrite
234 z_stream *strm; local in function:gzread
262 z_stream *strm; local in function:gzclose
    [all...]
  /src/sys/netinet6/
sctp6_usrreq.c 351 struct sctp_stream_out *strm; local in function:sctp6_notify_mbuf
381 TAILQ_FOREACH(strm, &stcb->asoc.out_wheel, next_spoke) {
382 TAILQ_FOREACH(chk, &strm->outqueue, sctp_next) {
  /src/sys/netinet/
sctp_indata.c 739 struct sctp_stream_in *strm; local in function:sctp_service_reassembly
741 strm = &asoc->strmin[stream_no];
742 nxt_todel = strm->last_sequence_delivered + 1;
743 chk = TAILQ_FIRST(&strm->inqueue);
750 TAILQ_REMOVE(&strm->inqueue,
755 strm->last_sequence_delivered++;
770 strm->last_sequence_delivered + 1;
804 struct sctp_stream_in *strm; local in function:sctp_queue_data_to_stream
818 strm = &asoc->strmin[chk->rec.data.stream_number];
819 nxt_todel = strm->last_sequence_delivered + 1
4420 struct sctp_stream_in *strm; local in function:sctp_handle_forward_tsn
    [all...]
sctp_usrreq.c 183 struct sctp_stream_out *strm,
232 TAILQ_INSERT_AFTER(&strm->outqueue, chk, new_chk, sctp_next);
293 struct sctp_stream_out *strm; local in function:sctp_notify_mbuf
326 TAILQ_FOREACH(strm, &stcb->asoc.out_wheel, next_spoke) {
327 chk = TAILQ_FIRST(&strm->outqueue);
331 sctp_split_chunks(&stcb->asoc, strm, chk);
sctputil.c 1598 struct sctp_stream_out *strm; local in function:sctp_mtu_size_reset
1608 TAILQ_FOREACH(strm, &asoc->out_wheel, next_spoke) {
1609 TAILQ_FOREACH(chk, &strm->outqueue, sctp_next) {
  /src/lib/libnvmm/
libnvmm_x86.c 1026 struct x86_store *strm; member in struct:x86_instr
2046 if (instr->strm->disp.type == DISP_1) {
2048 } else if (instr->strm->disp.type == DISP_2) {
2050 } else if (instr->strm->disp.type == DISP_4) {
2064 instr->strm->disp.data = data;
2096 instr->strm->type = STORE_DUALREG;
2097 instr->strm->u.dualreg.reg1 = reg1;
2098 instr->strm->u.dualreg.reg2 = reg2;
2100 if (instr->strm->disp.type == DISP_NONE) {
2102 } else if (instr->strm->disp.type == DISP_0)
2305 struct x86_store *strg, *strm; local in function:node_regmodrm
    [all...]

Completed in 74 milliseconds