| /openbsd-src/regress/lib/libz/ |
| H A D | infcover.c | 158 local void mem_setup(z_stream *strm) in mem_setup() argument 170 strm->opaque = zone; in mem_setup() 171 strm->zalloc = mem_alloc; in mem_setup() 172 strm->zfree = mem_free; in mem_setup() 176 local void mem_limit(z_stream *strm, size_t limit) in mem_limit() argument 178 struct mem_zone *zone = strm->opaque; in mem_limit() 184 local void mem_used(z_stream *strm, char *prefix) in mem_used() argument 186 struct mem_zone *zone = strm->opaque; in mem_used() 192 local void mem_high(z_stream *strm, char *prefix) in mem_high() argument 194 struct mem_zone *zone = strm->opaque; in mem_high() [all …]
|
| H A D | minigzip.c | 167 z_stream strm; member 178 gz->strm.zalloc = myalloc; in gz_open() 179 gz->strm.zfree = myfree; in gz_open() 180 gz->strm.opaque = Z_NULL; in gz_open() 182 ret = deflateInit2(&(gz->strm), -1, 8, 15 + 16, 8, 0); in gz_open() 184 gz->strm.next_in = 0; in gz_open() 185 gz->strm.avail_in = Z_NULL; in gz_open() 186 ret = inflateInit2(&(gz->strm), 15 + 16); in gz_open() 195 gz->write ? deflateEnd(&(gz->strm)) : inflateEnd(&(gz->strm)); in gz_open() 213 z_stream *strm; in gzwrite() local [all …]
|
| /openbsd-src/usr.sbin/smtpd/ |
| H A D | compress_gzip.c | 45 z_stream *strm; in compress_gzip_chunk() local 48 if ((strm = calloc(1, sizeof *strm)) == NULL) in compress_gzip_chunk() 51 strm->zalloc = Z_NULL; in compress_gzip_chunk() 52 strm->zfree = Z_NULL; in compress_gzip_chunk() 53 strm->opaque = Z_NULL; in compress_gzip_chunk() 54 if (deflateInit2(strm, Z_DEFAULT_COMPRESSION, Z_DEFLATED, in compress_gzip_chunk() 58 strm->avail_in = ibsz; in compress_gzip_chunk() 59 strm->next_in = (unsigned char *)ib; in compress_gzip_chunk() 60 strm->avail_out = obsz; in compress_gzip_chunk() 61 strm->next_out = (unsigned char *)ob; in compress_gzip_chunk() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Compress-Raw-Bzip2/bzip2-src/ |
| H A D | bzlib.c | 153 ( bz_stream* strm, in BZ_API() 163 if (strm == NULL || in BZ_API() 169 if (strm->bzalloc == NULL) strm->bzalloc = default_bzalloc; in BZ_API() 170 if (strm->bzfree == NULL) strm->bzfree = default_bzfree; in BZ_API() 174 s->strm = strm; in BZ_API() 207 strm->state = s; in BZ_API() 208 strm in BZ_API() 365 handle_compress(bz_stream * strm) handle_compress() argument 905 bz_stream strm; global() member 1263 bz_stream strm; BZ_API() local 1314 bz_stream strm; BZ_API() local [all...] |
| H A D | bzip2.patch | 45 if (strm->bzalloc == NULL) strm->bzalloc = default_bzalloc; 46 if (strm->bzfree == NULL) strm->bzfree = default_bzfree; 51 s->strm = strm; 66 @@ -362,7 +362,7 @@ Bool handle_compress ( bz_stream* strm ) 70 - EState* s = strm->state; 71 + EState* s = (EState*) strm->state; 75 @@ -409,7 +409,7 @@ int BZ_API(BZ2_bzCompress) ( bz_stream *strm, int action ) 78 if (strm == NULL) return BZ_PARAM_ERROR; 79 - s = strm->state; 80 + s = (EState*) strm->state; [all …]
|
| /openbsd-src/lib/libz/ |
| H A D | gzwrite.c | 13 z_streamp strm = &(state->strm); in gz_init() local 33 strm->zalloc = Z_NULL; in gz_init() 34 strm->zfree = Z_NULL; in gz_init() 35 strm->opaque = Z_NULL; in gz_init() 36 ret = deflateInit2(strm, state->level, Z_DEFLATED, in gz_init() 44 strm->next_in = NULL; in gz_init() 52 strm->avail_out = state->size; in gz_init() 53 strm->next_out = state->out; in gz_init() 54 state->x.next = strm->next_out; in gz_init() 68 z_streamp strm = &(state->strm); in gz_comp() local [all …]
|
| H A D | inflate.c | 26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset) 59 * input in strm. 94 local int inflateStateCheck(z_streamp strm) { in inflateStateCheck() argument 96 if (strm == Z_NULL || in inflateStateCheck() 97 strm->zalloc == (alloc_func)0 || strm->zfree == (free_func)0) in inflateStateCheck() 99 state = (struct inflate_state FAR *)strm->state; in inflateStateCheck() 100 if (state == Z_NULL || state->strm != strm || in inflateStateCheck() 106 inflateResetKeep(z_streamp strm) inflateResetKeep() argument 130 inflateReset(z_streamp strm) inflateReset() argument 141 inflateReset2(z_streamp strm,int windowBits) inflateReset2() argument 178 inflateInit2_(z_streamp strm,int windowBits,const char * version,int stream_size) inflateInit2_() argument 218 inflateInit_(z_streamp strm,const char * version,int stream_size) inflateInit_() argument 223 inflatePrime(z_streamp strm,int bits,int value) inflatePrime() argument 368 updatewindow(z_streamp strm,const Bytef * end,unsigned copy) updatewindow() argument 590 inflate(z_streamp strm,int flush) inflate() argument 1353 inflateEnd(z_streamp strm) inflateEnd() argument 1365 inflateGetDictionary(z_streamp strm,Bytef * dictionary,uInt * dictLength) inflateGetDictionary() argument 1385 inflateSetDictionary(z_streamp strm,const Bytef * dictionary,uInt dictLength) inflateSetDictionary() argument 1417 inflateGetHeader(z_streamp strm,gz_headerp head) inflateGetHeader() argument 1462 inflateSync(z_streamp strm) inflateSync() argument 1518 inflateSyncPoint(z_streamp strm) inflateSyncPoint() argument 1570 inflateUndermine(z_streamp strm,int subvert) inflateUndermine() argument 1585 inflateValidate(z_streamp strm,int check) inflateValidate() argument 1597 inflateMark(z_streamp strm) inflateMark() argument 1608 inflateCodesUsed(z_streamp strm) inflateCodesUsed() argument [all...] |
| H A D | deflate.c | 211 * allocating a large strm->next_in buffer and copying from it. 214 local unsigned read_buf(z_streamp strm, Bytef *buf, unsigned size) { in read_buf() argument 215 unsigned len = strm->avail_in; in read_buf() 220 strm->avail_in -= len; in read_buf() 222 zmemcpy(buf, strm->next_in, len); in read_buf() 223 if (strm->state->wrap == 1) { in read_buf() 224 strm->adler = adler32(strm->adler, buf, len); in read_buf() 227 else if (strm->state->wrap == 2) { in read_buf() 228 strm in read_buf() 367 deflateInit_(z_streamp strm,int level,const char * version,int stream_size) deflateInit_() argument 375 deflateInit2_(z_streamp strm,int level,int method,int windowBits,int memLevel,int strategy,const char * version,int stream_size) deflateInit2_() argument 525 deflateStateCheck(z_streamp strm) deflateStateCheck() argument 546 deflateSetDictionary(z_streamp strm,const Bytef * dictionary,uInt dictLength) deflateSetDictionary() argument 612 deflateGetDictionary(z_streamp strm,Bytef * dictionary,uInt * dictLength) deflateGetDictionary() argument 631 deflateResetKeep(z_streamp strm) deflateResetKeep() argument 691 deflateReset(z_streamp strm) deflateReset() argument 701 deflateSetHeader(z_streamp strm,gz_headerp head) deflateSetHeader() argument 709 deflatePending(z_streamp strm,unsigned * pending,int * bits) deflatePending() argument 719 deflatePrime(z_streamp strm,int bits,int value) deflatePrime() argument 748 deflateParams(z_streamp strm,int level,int strategy) deflateParams() argument 793 deflateTune(z_streamp strm,int good_length,int max_lazy,int nice_length,int max_chain) deflateTune() argument 830 deflateBound(z_streamp strm,uLong sourceLen) deflateBound() argument 911 flush_pending(z_streamp strm) flush_pending() argument 942 deflate(z_streamp strm,int flush) deflate() argument 1254 deflateEnd(z_streamp strm) deflateEnd() argument [all...] |
| H A D | infback.c | 25 int ZEXPORT inflateBackInit_(z_streamp strm, int windowBits, in inflateBackInit_() argument 33 if (strm == Z_NULL || window == Z_NULL || in inflateBackInit_() 36 strm->msg = Z_NULL; /* in case we return an error */ in inflateBackInit_() 37 if (strm->zalloc == (alloc_func)0) { in inflateBackInit_() 41 strm->zalloc = zcalloc; in inflateBackInit_() 42 strm->opaque = (voidpf)0; in inflateBackInit_() 45 if (strm->zfree == (free_func)0) in inflateBackInit_() 49 strm->zfree = zcfree; in inflateBackInit_() 51 state = (struct inflate_state FAR *)ZALLOC(strm, 1, in inflateBackInit_() 55 strm->state = (struct internal_state FAR *)state; in inflateBackInit_() [all …]
|
| H A D | gzread.c | 45 z_streamp strm = &(state->strm); in gz_avail() local 50 if (strm->avail_in) { /* copy what's there to the start */ in gz_avail() 52 unsigned const char *q = strm->next_in; in gz_avail() 53 unsigned n = strm->avail_in; in gz_avail() 58 if (gz_load(state, state->in + strm->avail_in, in gz_avail() 59 state->size - strm->avail_in, &got) == -1) in gz_avail() 61 strm->avail_in += got; in gz_avail() 62 strm->next_in = state->in; in gz_avail() 77 z_streamp strm = &(state->strm); in gz_look() local 93 state->strm.zalloc = Z_NULL; in gz_look() [all …]
|
| H A D | zlib.h | 228 ZEXTERN int ZEXPORT deflateInit(z_streamp strm, int level); 250 ZEXTERN int ZEXPORT deflate(z_streamp strm, int flush); 341 deflate() sets strm->adler to the Adler-32 checksum of all input read 343 strm->adler will be the CRC-32 checksum of the input read so far. (See 346 deflate() may update strm->data_type if it can make a good guess about 363 ZEXTERN int ZEXPORT deflateEnd(z_streamp strm); 378 ZEXTERN int ZEXPORT inflateInit(z_streamp strm); 401 ZEXTERN int ZEXPORT inflate(z_streamp strm, int flush); 443 To assist in this, on return inflate() always sets strm->data_type to the 444 number of unused bits in the last byte taken from strm 1802 z_deflateInit(strm,level) global() argument 1804 z_inflateInit(strm) global() argument 1806 z_deflateInit2(strm,level,method,windowBits,memLevel,strategy) global() argument 1809 z_inflateInit2(strm,windowBits) global() argument 1812 z_inflateBackInit(strm,windowBits,window) global() argument 1816 deflateInit(strm,level) global() argument 1818 inflateInit(strm) global() argument 1820 deflateInit2(strm,level,method,windowBits,memLevel,strategy) global() argument 1823 inflateInit2(strm,windowBits) global() argument 1826 inflateBackInit(strm,windowBits,window) global() argument [all...] |
| H A D | inffast.c | 50 void ZLIB_INTERNAL inflate_fast(z_streamp strm, unsigned start) { in inflate_fast() argument 78 state = (struct inflate_state FAR *)strm->state; in inflate_fast() 79 in = strm->next_in; in inflate_fast() 80 last = in + (strm->avail_in - 5); in inflate_fast() 81 out = strm->next_out; in inflate_fast() 82 beg = out - (start - strm->avail_out); in inflate_fast() 83 end = out + (strm->avail_out - 257); in inflate_fast() 158 strm->msg = (z_const char *)"invalid distance too far back"; in inflate_fast() 172 strm->msg = (z_const char *)"error"; in inflate_fast() 174 strm->msg = in inflate_fast() [all …]
|
| /openbsd-src/sys/lib/libz/ |
| H A D | inflate.c | 26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset) 59 * input in strm. 94 local int inflateStateCheck(z_streamp strm) { in inflateStateCheck() argument 96 if (strm == Z_NULL || in inflateStateCheck() 97 strm->zalloc == (alloc_func)0 || strm->zfree == (free_func)0) in inflateStateCheck() 99 state = (struct inflate_state FAR *)strm->state; in inflateStateCheck() 100 if (state == Z_NULL || state->strm != strm || in inflateStateCheck() 106 inflateResetKeep(z_streamp strm) inflateResetKeep() argument 130 inflateReset(z_streamp strm) inflateReset() argument 141 inflateReset2(z_streamp strm,int windowBits) inflateReset2() argument 178 inflateInit2_(z_streamp strm,int windowBits,const char * version,int stream_size) inflateInit2_() argument 218 inflateInit_(z_streamp strm,const char * version,int stream_size) inflateInit_() argument 223 inflatePrime(z_streamp strm,int bits,int value) inflatePrime() argument 368 updatewindow(z_streamp strm,const Bytef * end,unsigned copy) updatewindow() argument 590 inflate(z_streamp strm,int flush) inflate() argument 1352 inflateEnd(z_streamp strm) inflateEnd() argument 1364 inflateGetDictionary(z_streamp strm,Bytef * dictionary,uInt * dictLength) inflateGetDictionary() argument 1384 inflateSetDictionary(z_streamp strm,const Bytef * dictionary,uInt dictLength) inflateSetDictionary() argument 1416 inflateGetHeader(z_streamp strm,gz_headerp head) inflateGetHeader() argument 1461 inflateSync(z_streamp strm) inflateSync() argument 1517 inflateSyncPoint(z_streamp strm) inflateSyncPoint() argument 1569 inflateUndermine(z_streamp strm,int subvert) inflateUndermine() argument 1584 inflateValidate(z_streamp strm,int check) inflateValidate() argument 1596 inflateMark(z_streamp strm) inflateMark() argument 1607 inflateCodesUsed(z_streamp strm) inflateCodesUsed() argument [all...] |
| H A D | deflate.c | 211 * allocating a large strm->next_in buffer and copying from it. 214 local unsigned read_buf(z_streamp strm, Bytef *buf, unsigned size) { in read_buf() argument 215 unsigned len = strm->avail_in; in read_buf() 220 strm->avail_in -= len; in read_buf() 222 zmemcpy(buf, strm->next_in, len); in read_buf() 223 if (strm->state->wrap == 1) { in read_buf() 224 strm->adler = adler32(strm->adler, buf, len); in read_buf() 227 else if (strm->state->wrap == 2) { in read_buf() 228 strm in read_buf() 367 deflateInit_(z_streamp strm,int level,const char * version,int stream_size) deflateInit_() argument 375 deflateInit2_(z_streamp strm,int level,int method,int windowBits,int memLevel,int strategy,const char * version,int stream_size) deflateInit2_() argument 525 deflateStateCheck(z_streamp strm) deflateStateCheck() argument 546 deflateSetDictionary(z_streamp strm,const Bytef * dictionary,uInt dictLength) deflateSetDictionary() argument 612 deflateGetDictionary(z_streamp strm,Bytef * dictionary,uInt * dictLength) deflateGetDictionary() argument 631 deflateResetKeep(z_streamp strm) deflateResetKeep() argument 691 deflateReset(z_streamp strm) deflateReset() argument 701 deflateSetHeader(z_streamp strm,gz_headerp head) deflateSetHeader() argument 709 deflatePending(z_streamp strm,unsigned * pending,int * bits) deflatePending() argument 719 deflatePrime(z_streamp strm,int bits,int value) deflatePrime() argument 748 deflateParams(z_streamp strm,int level,int strategy) deflateParams() argument 793 deflateTune(z_streamp strm,int good_length,int max_lazy,int nice_length,int max_chain) deflateTune() argument 830 deflateBound(z_streamp strm,uLong sourceLen) deflateBound() argument 911 flush_pending(z_streamp strm) flush_pending() argument 942 deflate(z_streamp strm,int flush) deflate() argument 1254 deflateEnd(z_streamp strm) deflateEnd() argument [all...] |
| H A D | infback.c | 25 int ZEXPORT inflateBackInit_(z_streamp strm, int windowBits, in inflateBackInit_() argument 33 if (strm == Z_NULL || window == Z_NULL || in inflateBackInit_() 36 strm->msg = Z_NULL; /* in case we return an error */ in inflateBackInit_() 37 if (strm->zalloc == (alloc_func)0) { in inflateBackInit_() 41 strm->zalloc = zcalloc; in inflateBackInit_() 42 strm->opaque = (voidpf)0; in inflateBackInit_() 45 if (strm->zfree == (free_func)0) in inflateBackInit_() 49 strm->zfree = zcfree; in inflateBackInit_() 51 state = (struct inflate_state FAR *)ZALLOC(strm, 1, in inflateBackInit_() 55 strm->state = (struct internal_state FAR *)state; in inflateBackInit_() [all …]
|
| H A D | zlib.h | 228 ZEXTERN int ZEXPORT deflateInit(z_streamp strm, int level); 250 ZEXTERN int ZEXPORT deflate(z_streamp strm, int flush); 341 deflate() sets strm->adler to the Adler-32 checksum of all input read 343 strm->adler will be the CRC-32 checksum of the input read so far. (See 346 deflate() may update strm->data_type if it can make a good guess about 363 ZEXTERN int ZEXPORT deflateEnd(z_streamp strm); 378 ZEXTERN int ZEXPORT inflateInit(z_streamp strm); 401 ZEXTERN int ZEXPORT inflate(z_streamp strm, int flush); 443 To assist in this, on return inflate() always sets strm->data_type to the 444 number of unused bits in the last byte taken from strm 1802 z_deflateInit(strm,level) global() argument 1804 z_inflateInit(strm) global() argument 1806 z_deflateInit2(strm,level,method,windowBits,memLevel,strategy) global() argument 1809 z_inflateInit2(strm,windowBits) global() argument 1812 z_inflateBackInit(strm,windowBits,window) global() argument 1816 deflateInit(strm,level) global() argument 1818 inflateInit(strm) global() argument 1820 deflateInit2(strm,level,method,windowBits,memLevel,strategy) global() argument 1823 inflateInit2(strm,windowBits) global() argument 1826 inflateBackInit(strm,windowBits,window) global() argument [all...] |
| H A D | inffast.c | 50 void ZLIB_INTERNAL inflate_fast(z_streamp strm, unsigned start) { in inflate_fast() argument 78 state = (struct inflate_state FAR *)strm->state; in inflate_fast() 79 in = strm->next_in; in inflate_fast() 80 last = in + (strm->avail_in - 5); in inflate_fast() 81 out = strm->next_out; in inflate_fast() 82 beg = out - (start - strm->avail_out); in inflate_fast() 83 end = out + (strm->avail_out - 257); in inflate_fast() 158 strm->msg = (z_const char *)"invalid distance too far back"; in inflate_fast() 172 strm->msg = (z_const char *)"error"; in inflate_fast() 174 strm->msg = in inflate_fast() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/ |
| H A D | inflate.c | 26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset) 59 * input in strm. 94 local int inflateStateCheck(z_streamp strm) { 96 if (strm == Z_NULL || 97 strm->zalloc == (alloc_func)0 || strm->zfree == (free_func)0) 99 state = (struct inflate_state FAR *)strm->state; 100 if (state == Z_NULL || state->strm != strm || 106 inflateStateCheck(z_streamp strm) inflateStateCheck() argument 120 inflateResetKeep(z_streamp strm) inflateResetKeep() argument 146 inflateReset(z_streamp strm) inflateReset() argument 159 inflateReset2(z_streamp strm,int windowBits) inflateReset2() argument 199 inflateInit2_(z_streamp strm,int windowBits,const char * version,int stream_size) inflateInit2_() argument 243 inflateInit_(z_streamp strm,const char * version,int stream_size) inflateInit_() argument 251 inflatePrime(z_streamp strm,int bits,int value) inflatePrime() argument 400 updatewindow(z_streamp strm,const Bytef * end,unsigned copy) updatewindow() argument 626 inflate(z_streamp strm,int flush) inflate() argument 1305 inflateEnd(z_streamp strm) inflateEnd() argument 1319 inflateGetDictionary(z_streamp strm,Bytef * dictionary,uInt * dictLength) inflateGetDictionary() argument 1342 inflateSetDictionary(z_streamp strm,const Bytef * dictionary,uInt dictLength) inflateSetDictionary() argument 1377 inflateGetHeader(z_streamp strm,gz_headerp head) inflateGetHeader() argument 1428 inflateSync(z_streamp strm) inflateSync() argument 1486 inflateSyncPoint(z_streamp strm) inflateSyncPoint() argument 1543 inflateUndermine(z_streamp strm,int subvert) inflateUndermine() argument 1561 inflateValidate(z_streamp strm,int check) inflateValidate() argument 1576 inflateMark(z_streamp strm) inflateMark() argument 1589 inflateCodesUsed(z_streamp strm) inflateCodesUsed() argument [all...] |
| H A D | deflate.c | 215 * allocating a large strm->next_in buffer and copying from it. in slide_hash() 218 local unsigned read_buf(z_streamp strm, Bytef *buf, unsigned size) { in slide_hash() 219 unsigned len = strm->avail_in; in slide_hash() 224 strm->avail_in -= len; 226 zmemcpy(buf, strm->next_in, len); in deflateInit_() argument 227 if (strm->state->wrap == 1) { in deflateInit_() 228 strm->adler = adler32(strm->adler, buf, len); in deflateInit_() 231 else if (strm->state->wrap == 2) { in deflateInit_() 232 strm in deflateInit_() 238 deflateInit2_(z_streamp strm,int level,int method,int windowBits,int memLevel,int strategy,const char * version,int stream_size) deflateInit2_() argument 389 deflateStateCheck(z_streamp strm) deflateStateCheck() argument 412 deflateSetDictionary(z_streamp strm,const Bytef * dictionary,uInt dictLength) deflateSetDictionary() argument 481 deflateGetDictionary(z_streamp strm,Bytef * dictionary,uInt * dictLength) deflateGetDictionary() argument 503 deflateResetKeep(z_streamp strm) deflateResetKeep() argument 541 deflateReset(z_streamp strm) deflateReset() argument 553 deflateSetHeader(z_streamp strm,gz_headerp head) deflateSetHeader() argument 564 deflatePending(z_streamp strm,unsigned * pending,int * bits) deflatePending() argument 578 deflatePrime(z_streamp strm,int bits,int value) deflatePrime() argument 605 deflateParams(z_streamp strm,int level,int strategy) deflateParams() argument 654 deflateTune(z_streamp strm,int good_length,int max_lazy,int nice_length,int max_chain) deflateTune() argument 696 deflateBound(z_streamp strm,uLong sourceLen) deflateBound() argument 782 flush_pending(z_streamp strm) flush_pending() argument 815 deflate(z_streamp strm,int flush) deflate() argument 1130 deflateEnd(z_streamp strm) deflateEnd() argument 1215 read_buf(z_streamp strm,Bytef * buf,unsigned size) read_buf() argument [all...] |
| H A D | infback.c | 19 strm provides memory allocation functions in zalloc and zfree, or 25 int ZEXPORT inflateBackInit_(z_streamp strm, int windowBits, 33 if (strm == Z_NULL || window == Z_NULL || in inflateBackInit_() 36 strm->msg = Z_NULL; /* in case we return an error */ in inflateBackInit_() 37 if (strm->zalloc == (alloc_func)0) { in inflateBackInit_() 41 strm->zalloc = zcalloc; in inflateBackInit_() 42 strm->opaque = (voidpf)0; in inflateBackInit_() 45 if (strm->zfree == (free_func)0) in inflateBackInit_() 49 strm->zfree = zcfree; in inflateBackInit_() 51 state = (struct inflate_state FAR *)ZALLOC(strm, in inflateBackInit_() 29 inflateBackInit_(z_streamp strm,int windowBits,unsigned char FAR * window,const char * version,int stream_size) inflateBackInit_() argument 252 inflateBack(z_streamp strm,in_func in,void FAR * in_desc,out_func out,void FAR * out_desc) inflateBack() argument 636 inflateBackEnd(z_streamp strm) inflateBackEnd() argument [all...] |
| H A D | zlib.h | 228 ZEXTERN int ZEXPORT deflateInit(z_streamp strm, int level); 250 ZEXTERN int ZEXPORT deflate(z_streamp strm, int flush); 341 deflate() sets strm->adler to the Adler-32 checksum of all input read 343 strm->adler will be the CRC-32 checksum of the input read so far. (See 346 deflate() may update strm->data_type if it can make a good guess about 363 ZEXTERN int ZEXPORT deflateEnd(z_streamp strm); 378 ZEXTERN int ZEXPORT inflateInit(z_streamp strm); 401 ZEXTERN int ZEXPORT inflate(z_streamp strm, int flush); 443 To assist in this, on return inflate() always sets strm->data_type to the 444 number of unused bits in the last byte taken from strm 1796 Perl_crz_deflateInit(strm,level) global() argument 1798 Perl_crz_inflateInit(strm) global() argument 1800 Perl_crz_deflateInit2(strm,level,method,windowBits,memLevel,strategy) global() argument 1803 Perl_crz_inflateInit2(strm,windowBits) global() argument 1806 Perl_crz_inflateBackInit(strm,windowBits,window) global() argument 1810 deflateInit(strm,level) global() argument 1812 inflateInit(strm) global() argument 1814 deflateInit2(strm,level,method,windowBits,memLevel,strategy) global() argument 1817 inflateInit2(strm,windowBits) global() argument 1820 inflateBackInit(strm,windowBits,window) global() argument [all...] |
| /openbsd-src/sys/net/ |
| H A D | ppp-deflate.c | 62 z_stream strm; member 164 state->strm.next_in = NULL; in z_comp_alloc() 165 state->strm.zalloc = zcalloc; in z_comp_alloc() 166 state->strm.zfree = zcfree; in z_comp_alloc() 167 if (deflateInit2(&state->strm, Z_DEFAULT_COMPRESSION, DEFLATE_METHOD_VAL, in z_comp_alloc() 183 deflateEnd(&state->strm); in z_comp_free() 206 deflateReset(&state->strm); in z_comp_init() 217 deflateReset(&state->strm); in z_comp_reset() 268 state->strm.next_out = wptr; in z_compress() 269 state->strm.avail_out = wspace - (PPP_HDRLEN + 2); in z_compress() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Core/ |
| H A D | EmulateInstruction.cpp | 204 StreamString strm(Stream::eBinary, GetAddressByteSize(), GetByteOrder()); in WriteMemoryUnsigned() local 205 strm.PutMaxHex64(uval, uval_byte_size); in WriteMemoryUnsigned() 208 this, m_baton, context, addr, strm.GetString().data(), uval_byte_size); in WriteMemoryUnsigned() 319 StreamFile strm(stdout, false); in ReadMemoryDefault() local 320 strm.Printf(" Read from Memory (address = 0x%" PRIx64 ", length = %" PRIu64 in ReadMemoryDefault() 323 context.Dump(strm, instruction); in ReadMemoryDefault() 324 strm.EOL(); in ReadMemoryDefault() 334 StreamFile strm(stdout, false); in WriteMemoryDefault() local 335 strm.Printf(" Write to Memory (address = 0x%" PRIx64 ", length = %" PRIu64 in WriteMemoryDefault() 338 context.Dump(strm, instruction); in WriteMemoryDefault() [all …]
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Core/ |
| H A D | ModuleSpec.h | 162 void Dump(Stream &strm) const { in Dump() argument 165 strm.PutCString("file = '"); in Dump() 166 strm << m_file; in Dump() 167 strm.PutCString("'"); in Dump() 172 strm.PutCString(", "); in Dump() 173 strm.PutCString("platform_file = '"); in Dump() 174 strm << m_platform_file; in Dump() 175 strm.PutCString("'"); in Dump() 180 strm.PutCString(", "); in Dump() 181 strm.PutCString("symbol_file = '"); in Dump() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Interpreter/ |
| H A D | Property.cpp | 236 bool Property::DumpQualifiedName(Stream &strm) const { in DumpQualifiedName() 238 if (m_value_sp->DumpQualifiedName(strm)) in DumpQualifiedName() 239 strm.PutChar('.'); in DumpQualifiedName() 240 strm << m_name; in DumpQualifiedName() 246 void Property::Dump(const ExecutionContext *exe_ctx, Stream &strm, in Dump() argument 253 strm << "settings set -f "; in Dump() 256 DumpQualifiedName(strm); in Dump() 258 strm.PutChar(' '); in Dump() 264 strm << "-- " << desc; in Dump() 268 strm.EOL(); in Dump() [all …]
|