Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/common/bzip2/
H A Dbzlib.c227 ( bz_stream* strm, in BZ_API()
237 if (strm == NULL || in BZ_API()
243 if (strm->bzalloc == NULL) strm->bzalloc = default_bzalloc; in BZ_API()
244 if (strm->bzfree == NULL) strm->bzfree = default_bzfree; in BZ_API()
248 s->strm = strm; in BZ_API()
281 strm->state = s; in BZ_API()
282 strm->total_in_lo32 = 0; in BZ_API()
283 strm->total_in_hi32 = 0; in BZ_API()
284 strm->total_out_lo32 = 0; in BZ_API()
285 strm->total_out_hi32 = 0; in BZ_API()
[all …]
H A DSolaris.README.txt180 +int BZ_API(BZ2_bzCompressReset) ( bz_stream *strm )
182 + EState* s = strm->state;
187 + s->strm = strm;
200 + strm->state = s;
201 + strm->total_in_lo32 = 0;
202 + strm->total_in_hi32 = 0;
203 + strm->total_out_lo32 = 0;
204 + strm->total_out_hi32 = 0;
210 +int BZ_API(BZ2_bzDecompressReset) ( bz_stream* strm )
212 + DState* s = strm->state;
[all …]
H A Dbzlib.h106 bz_stream* strm,
117 bz_stream* strm
121 bz_stream* strm,
126 bz_stream* strm
130 bz_stream *strm,
136 bz_stream* strm
140 bz_stream* strm
144 bz_stream *strm
H A Dbzlib_private.h107 #define BZALLOC(nnn) (strm->bzalloc)(strm->opaque,(nnn),1)
108 #define BZFREE(ppp) (strm->bzfree)(strm->opaque,(ppp))
204 bz_stream* strm; member
355 bz_stream* strm; member
H A Ddecompress.c54 if (s->strm->avail_in == 0) RETURN(BZ_OK); \
58 (*((UChar*)(s->strm->next_in)))); \
60 s->strm->next_in++; \
61 s->strm->avail_in--; \
62 s->strm->total_in_lo32++; \
63 if (s->strm->total_in_lo32 == 0) \
64 s->strm->total_in_hi32++; \
111 bz_stream* strm = s->strm; in BZ2_decompress() local
/titanic_41/usr/src/uts/common/zmod/
H A Ddeflate.c89 local void flush_pending OF((z_streamp strm));
90 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size));
210 int ZEXPORT deflateInit_(strm, level, version, stream_size) in deflateInit_() argument
211 z_streamp strm; in deflateInit_()
216 return deflateInit2_(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL,
222 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, in deflateInit2_() argument
224 z_streamp strm; in deflateInit2_()
246 if (strm == Z_NULL) return Z_STREAM_ERROR;
248 strm->msg = Z_NULL;
249 if (strm->zalloc == (alloc_func)0) {
[all …]
H A Dinflate.c103 local int updatewindow OF((z_streamp strm, unsigned out));
110 int ZEXPORT inflateReset(strm) in inflateReset() argument
111 z_streamp strm; in inflateReset()
115 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
116 state = (struct inflate_state FAR *)strm->state;
117 strm->total_in = strm->total_out = state->total = 0;
118 strm->msg = Z_NULL;
119 strm->adler = 1; /* to support ill-conceived Java test suite */
135 int ZEXPORT inflatePrime(strm, bits, value) in inflatePrime() argument
136 z_streamp strm; in inflatePrime()
[all …]
H A Dzlib.h244 ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush));
330 ZEXTERN int ZEXPORT deflateEnd OF((z_streamp strm));
365 ZEXTERN int ZEXPORT inflate OF((z_streamp strm, int flush));
464 ZEXTERN int ZEXPORT inflateEnd OF((z_streamp strm));
540 ZEXTERN int ZEXPORT deflateSetDictionary OF((z_streamp strm,
597 ZEXTERN int ZEXPORT deflateReset OF((z_streamp strm));
608 ZEXTERN int ZEXPORT deflateParams OF((z_streamp strm,
629 ZEXTERN int ZEXPORT deflateTune OF((z_streamp strm,
646 ZEXTERN uLong ZEXPORT deflateBound OF((z_streamp strm,
655 ZEXTERN int ZEXPORT deflatePrime OF((z_streamp strm,
[all …]
H A Dinffast.c69 void inflate_fast(strm, start) in inflate_fast() argument
70 z_streamp strm; in inflate_fast()
100 state = (struct inflate_state FAR *)strm->state;
101 in = strm->next_in - OFF;
102 last = in + (strm->avail_in - 5);
103 out = strm->next_out - OFF;
104 beg = out - (start - strm->avail_out);
105 end = out + (strm->avail_out - 257);
180 strm->msg = (char *)"invalid distance too far back";
192 strm->msg = (char *)"invalid distance too far back";
[all …]
H A Dzutil.h63 #define ERR_RETURN(strm,err) \ argument
64 return (strm->msg = (char*)ERR_MSG(err), (err))
269 #define ZALLOC(strm, items, size) \ argument
270 (*((strm)->zalloc))((strm)->opaque, (items), (size))
271 #define ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr)) argument
H A Dzlib_lint.c65 inflate(z_streamp strm, int flush) in inflate() argument
72 inflateInit2_(z_streamp strm, int window, const char *version, int size) in inflateInit2_() argument
79 inflateEnd(z_streamp strm) in inflateEnd() argument
86 inflateReset(z_streamp strm) in inflateReset() argument
H A Dinffast.h13 void inflate_fast OF((z_streamp strm, unsigned start));
H A Ddeflate.h95 z_streamp strm; /* pointer back to this zlib stream */ member
/titanic_41/usr/src/uts/common/io/ppp/spppcomp/
H A Ddeflate.c66 z_stream strm; member
220 state->strm.zalloc = (alloc_func)z_alloc; in z_comp_alloc()
221 state->strm.zfree = (free_func)z_free; in z_comp_alloc()
223 if (deflateInit2(&state->strm, Z_DEFAULT_COMPRESSION, in z_comp_alloc()
246 (void) deflateEnd(&state->strm); in z_comp_free()
278 (void) deflateReset(&state->strm); in z_comp_init()
293 (void) deflateReset(&state->strm); in z_comp_reset()
423 state->strm.next_out = wptr; in z_compress()
424 state->strm.avail_out = wspace - (PPP_HDRLEN + 2); in z_compress()
426 state->strm.next_out = NULL; in z_compress()
[all …]
H A Dzlib.h545 ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush));
629 ZEXTERN int ZEXPORT deflateEnd OF((z_streamp strm));
659 ZEXTERN int ZEXPORT inflate OF((z_streamp strm, int flush));
722 ZEXTERN int ZEXPORT inflateEnd OF((z_streamp strm));
801 ZEXTERN int ZEXPORT deflateSetDictionary OF((z_streamp strm,
858 ZEXTERN int ZEXPORT deflateReset OF((z_streamp strm));
870 ZEXTERN int ZEXPORT deflateParams OF((z_streamp strm, int level, int strategy));
890 ZEXTERN int ZEXPORT deflateOutputPending OF((z_streamp strm));
934 ZEXTERN int ZEXPORT inflateSetDictionary OF((z_streamp strm,
954 ZEXTERN int ZEXPORT inflateSync OF((z_streamp strm));
[all …]
H A Dzlib.c110 #define ERR_RETURN(strm, err) \ argument
111 return (strm->msg = ERR_MSG(err), (err))
268 #define ZALLOC(strm, items, size) \ argument
269 (*((strm)->zalloc))((strm)->opaque, (items), (size))
270 #define ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr)) argument
364 z_streamp strm; /* pointer back to this zlib stream */ member
719 local void flush_pending OF((z_streamp strm));
720 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size));
837 deflateInit_(strm, level, version, stream_size) in deflateInit_() argument
838 z_streamp strm; in deflateInit_()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Ddeflate.c56 z_stream strm; member
151 state->strm.next_out = NULL;
152 state->strm.zalloc = (alloc_func) z_alloc;
153 state->strm.zfree = (free_func) z_free;
154 if (inflateInit2(&state->strm, -w_size) != Z_OK) {
170 inflateEnd(&state->strm);
195 inflateReset(&state->strm);
207 inflateReset(&state->strm);
259 state->strm.next_in = rptr;
260 state->strm.avail_in = mi + inlen - rptr;
[all …]
H A Dzlib.h251 extern int deflateInit OF((z_stream *strm, int level));
270 extern int deflate OF((z_stream *strm, int flush));
347 extern int deflateEnd OF((z_stream *strm));
359 extern int inflateInit OF((z_stream *strm));
373 extern int inflate OF((z_stream *strm, int flush));
424 extern int inflateEnd OF((z_stream *strm));
441 extern int deflateInit2 OF((z_stream *strm,
524 extern int deflateReset OF((z_stream *strm));
535 extern int inflateInit2 OF((z_stream *strm,
568 extern int inflateSync OF((z_stream *strm));
[all …]
H A Dzlib.c54 #define ERR_RETURN(strm,err) return (strm->msg=z_errmsg[1-err], err) argument
126 #define ZALLOC(strm, items, size) \ argument
127 (*((strm)->zalloc))((strm)->opaque, (items), (size))
128 #define ZFREE(strm, addr, size) \ argument
129 (*((strm)->zfree))((strm)->opaque, (voidpf)(addr), (size))
217 z_stream *strm; /* pointer back to this zlib stream */ member
536 local void flush_pending OF((z_stream *strm));
537 local int read_buf OF((z_stream *strm, charf *buf, unsigned size));
579 int deflateInit (strm, level) in deflateInit() argument
580 z_stream *strm; in deflateInit()
[all …]
/titanic_41/usr/src/lib/libgen/common/
H A Dcopylist.c48 FILE *strm; in common_copylist() local
64 if ((strm = fopen(filenm, "rF")) == NULL) { in common_copylist()
67 for (p = ptr; p < ptr + size && (c = getc(strm)) != EOF; p++) { in common_copylist()
73 (void) fclose(strm); in common_copylist()
/titanic_41/usr/src/cmd/svc/svccfg/
H A Dsvccfg_main.c100 FILE *strm = interactive ? stdout : stderr; in vmessage() local
111 if (vfprintf(strm, fmt, va) < 0 && interactive) in vmessage()
116 (void) fprintf(strm, ": %s.\n", strerror(errno)); in vmessage()
/titanic_41/usr/src/cmd/savecore/
H A Dsavecore.c703 bz_stream strm; member
986 if (s->strm.avail_out == 0) { in bz2decompress()
987 s->strm.next_out = buf; in bz2decompress()
988 s->strm.avail_out = size; in bz2decompress()
990 while (s->strm.avail_in > 0) { in bz2decompress()
991 rc = BZ2_bzDecompress(&s->strm); in bz2decompress()
993 rc = BZ2_bzDecompressReset(&s->strm); in bz2decompress()
1001 if (s->strm.avail_out == 0) in bz2decompress()
1004 return (s->strm.avail_out == 0); in bz2decompress()
1021 rc = BZ2_bzDecompressInit(&s->strm, 0, 0); in bz2block()
[all …]
/titanic_41/usr/src/lib/libshell/common/include/
H A Dfault.h90 Sfio_t *strm; member
/titanic_41/usr/src/uts/common/io/usb/clients/video/usbvc/
H A Dusbvc.c1845 usbvc_stream_if_t *strm; in usbvc_free_stream_descr() local
1854 strm = list_head(&usbvcp->usbvc_stream_list); in usbvc_free_stream_descr()
1855 if (strm != NULL) { in usbvc_free_stream_descr()
1858 list_remove(&(usbvcp->usbvc_stream_list), strm); in usbvc_free_stream_descr()
1865 in_hdr = strm->input_header; in usbvc_free_stream_descr()
1866 out_hdr = strm->output_header; in usbvc_free_stream_descr()
1887 if (strm->format_group) { in usbvc_free_stream_descr()
1892 fmtgrp = &strm->format_group[i]; in usbvc_free_stream_descr()
1913 kmem_free(strm->format_group, in usbvc_free_stream_descr()
1920 kmem_free(strm, sizeof (usbvc_stream_if_t)); in usbvc_free_stream_descr()
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dsubshell.c176 if(pp && pp->olist && pp->olist->strm == sfstdout) in sh_subtmpfile()
177 pp->olist->strm = 0; in sh_subtmpfile()

12