/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | inffast.h | 13 void inflate_fast OF((z_streamp strm, unsigned start));
|
H A D | deflate.c | 89 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) 211 z_streamp strm; 216 return deflateInit2_(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, 218 /* To do: ignore strm->next_in if we use it as window */ 222 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, 224 z_streamp strm; 246 if (strm == Z_NULL) return Z_STREAM_ERROR; 248 strm [all...] |
H A D | inflate.c | 33 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset) 66 * input in strm. 103 local int updatewindow OF((z_streamp strm, unsigned out)); 110 int ZEXPORT inflateReset(strm) 111 z_streamp strm; 115 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; 116 state = (struct inflate_state FAR *)strm->state; 117 strm [all...] |
H A D | zlib.h | 222 ZEXTERN int ZEXPORT deflateInit OF((z_streamp strm, int level)); 244 ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush)); 311 deflate() sets strm->adler to the adler32 checksum of all input read 314 deflate() may update strm->data_type if it can make a good guess about 330 ZEXTERN int ZEXPORT deflateEnd OF((z_streamp strm)); 345 ZEXTERN int ZEXPORT inflateInit OF((z_streamp strm)); 365 ZEXTERN int ZEXPORT inflate OF((z_streamp strm, int flush)); 404 Also to assist in this, on return inflate() will set strm->data_type to the 405 number of unused bits in the last byte taken from strm->next_in, plus 64 410 uncompressed data from that block has been written to strm [all...] |
/freebsd-11-stable/contrib/xz/src/liblzma/common/ |
H A D | common.c | 170 lzma_strm_init(lzma_stream *strm) argument 172 if (strm == NULL) 175 if (strm->internal == NULL) { 176 strm->internal = lzma_alloc(sizeof(lzma_internal), 177 strm->allocator); 178 if (strm->internal == NULL) 181 strm->internal->next = LZMA_NEXT_CODER_INIT; 184 memzero(strm->internal->supported_actions, 185 sizeof(strm->internal->supported_actions)); 186 strm 357 lzma_end(lzma_stream *strm) argument 370 lzma_get_progress(lzma_stream *strm, uint64_t *progress_in, uint64_t *progress_out) argument [all...] |
H A D | easy_encoder.c | 17 lzma_easy_encoder(lzma_stream *strm, uint32_t preset, lzma_check check) 23 return lzma_stream_encoder(strm, opt_easy.filters, check);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/ |
H A D | UserID.cpp | 17 Stream &lldb_private::operator<<(Stream &strm, const UserID &uid) { argument 18 strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID()); 19 return strm;
|
/freebsd-11-stable/sys/contrib/zlib/ |
H A D | inffast.h | 11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
|
H A D | gzwrite.c | 24 z_streamp strm = &(state->strm); local 44 strm->zalloc = Z_NULL; 45 strm->zfree = Z_NULL; 46 strm->opaque = Z_NULL; 47 ret = deflateInit2(strm, state->level, Z_DEFLATED, 55 strm->next_in = NULL; 63 strm->avail_out = state->size; 64 strm->next_out = state->out; 65 state->x.next = strm 82 z_streamp strm = &(state->strm); local 154 z_streamp strm = &(state->strm); local 314 z_streamp strm; local 388 z_streamp strm; local 478 z_streamp strm; local 594 z_streamp strm; local [all...] |
H A D | inflate.c | 26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset) 59 * input in strm. 95 local int inflateStateCheck OF((z_streamp strm)); 97 local int updatewindow OF((z_streamp strm, const unsigned char FAR *end, 105 local int inflateStateCheck(strm) 106 z_streamp strm; 109 if (strm == Z_NULL || 110 strm->zalloc == (alloc_func)0 || strm [all...] |
H A D | deflate.c | 76 local int deflateStateCheck OF((z_streamp strm)); 88 local void flush_pending OF((z_streamp strm)); 89 local unsigned read_buf OF((z_streamp strm, Bytef *buf, unsigned size)); 228 int ZEXPORT deflateInit_(strm, level, version, stream_size) 229 z_streamp strm; 234 return deflateInit2_(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, 236 /* To do: ignore strm->next_in if we use it as window */ 240 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, 242 z_streamp strm; 264 if (strm [all...] |
H A D | gzread.c | 56 If strm->avail_in != 0, then the current data is moved to the beginning of 63 z_streamp strm = &(state->strm); local 68 if (strm->avail_in) { /* copy what's there to the start */ 70 unsigned const char *q = strm->next_in; 71 unsigned n = strm->avail_in; 76 if (gz_load(state, state->in + strm->avail_in, 77 state->size - strm->avail_in, &got) == -1) 79 strm->avail_in += got; 80 strm 97 z_streamp strm = &(state->strm); local 183 z_streamp strm = &(state->strm); local 235 z_streamp strm = &(state->strm); local [all...] |
H A D | infback.c | 22 strm provides memory allocation functions in zalloc and zfree, or 28 int ZEXPORT inflateBackInit_(strm, windowBits, window, version, stream_size) 29 z_streamp strm; 40 if (strm == Z_NULL || window == Z_NULL || 43 strm->msg = Z_NULL; /* in case we return an error */ 44 if (strm->zalloc == (alloc_func)0) { 48 strm->zalloc = zcalloc; 49 strm->opaque = (voidpf)0; 52 if (strm->zfree == (free_func)0) 56 strm [all...] |
H A D | zlib.h | 228 ZEXTERN int ZEXPORT deflateInit OF((z_streamp strm, int level)); 250 ZEXTERN int ZEXPORT deflate OF((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 OF((z_streamp strm)); 378 ZEXTERN int ZEXPORT inflateInit OF((z_streamp strm)); 400 ZEXTERN int ZEXPORT inflate OF((z_streamp strm, int flush)); 442 To assist in this, on return inflate() always sets strm->data_type to the 443 number of unused bits in the last byte taken from strm [all...] |
/freebsd-11-stable/sys/contrib/zlib/test/ |
H A D | 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 158 mem_setup(z_stream *strm) argument 176 mem_limit(z_stream *strm, size_t limit) argument 184 mem_used(z_stream *strm, char *prefix) argument 192 mem_high(z_stream *strm, char *prefix) argument 200 mem_done(z_stream *strm, char *prefix) argument 290 z_stream strm, copy; local 353 z_stream strm; local 391 z_stream strm, copy; local 473 z_stream strm; local 513 z_stream strm; local [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Interpreter/ |
H A D | OptionValueString.cpp | 19 void OptionValueString::DumpValue(const ExecutionContext *exe_ctx, Stream &strm, argument 22 strm.Printf("(%s)", GetTypeAsCString()); 25 strm.PutCString(" = "); 32 strm.Printf("%s", expanded_escape_value.c_str()); 34 strm.Printf("\"%s\"", expanded_escape_value.c_str()); 37 strm.Printf("%s", m_current_value.c_str()); 39 strm.Printf("\"%s\"", m_current_value.c_str());
|
H A D | OptionValueChar.cpp | 19 void OptionValueChar::DumpValue(const ExecutionContext *exe_ctx, Stream &strm, argument 22 strm.Printf("(%s)", GetTypeAsCString()); 26 strm.PutCString(" = "); 28 strm.PutChar(m_current_value); 30 strm.PutCString("(null)");
|
H A D | OptionValueFormat.cpp | 18 void OptionValueFormat::DumpValue(const ExecutionContext *exe_ctx, Stream &strm, argument 21 strm.Printf("(%s)", GetTypeAsCString()); 24 strm.PutCString(" = "); 25 strm.PutCString(FormatManager::GetFormatAsCString(m_current_value));
|
/freebsd-11-stable/usr.bin/gzip/ |
H A D | unxz.c | 45 lzma_stream strm = LZMA_STREAM_INIT; local 56 strm.next_in = ibuf; 58 strm.avail_in = read(i, ibuf + prelen, sizeof(ibuf) - prelen); 59 if (strm.avail_in == (size_t)-1) 61 infile_newdata(strm.avail_in); 62 strm.avail_in += prelen; 63 *bytes_in = strm.avail_in; 65 if ((ret = lzma_stream_decoder(&strm, UINT64_MAX, flags)) != LZMA_OK) 68 strm.next_out = NULL; 69 strm 278 lzma_stream strm = LZMA_STREAM_INIT; local [all...] |
/freebsd-11-stable/usr.bin/mkuzip/ |
H A D | mkuz_lzma.c | 46 lzma_stream strm; member in struct:mkuz_lzma 69 ulp->strm = lzma_stream_init; 93 ret = lzma_stream_encoder(&ulp->strm, ulp->filters, LZMA_CHECK_CRC32); 101 ulp->strm.next_in = iblk->data; 102 ulp->strm.avail_in = ulp->blksz; 103 ulp->strm.next_out = rval->data; 104 ulp->strm.avail_out = rval->alen; 106 ret = lzma_code(&ulp->strm, LZMA_FINISH); 111 "out=%zd)", ret, (ulp->blksz - ulp->strm.avail_in), 112 (ulp->blksz * 2 - ulp->strm [all...] |
/freebsd-11-stable/contrib/bzip2/ |
H A D | bzlib.c | 155 ( bz_stream* strm, 165 if (strm == NULL || 171 if (strm->bzalloc == NULL) strm->bzalloc = default_bzalloc; 172 if (strm->bzfree == NULL) strm->bzfree = default_bzfree; 176 s->strm = strm; 209 strm->state = s; 210 strm 154 BZ2_bzCompressInit( bz_stream* strm, int blockSize100k, int verbosity, int workFactor ) argument 413 BZ2_bzCompress( bz_stream *strm, int action ) argument 499 BZ2_bzDecompressInit( bz_stream* strm, int verbosity, int small ) argument 906 bz_stream strm; member in struct:__anon16 1264 bz_stream strm; local 1315 bz_stream strm; local [all...] |
/freebsd-11-stable/contrib/xz/src/xzdec/ |
H A D | xzdec.c | 145 uncompress(lzma_stream *strm, FILE *file, const char *filename) argument 151 ret = lzma_alone_decoder(strm, UINT64_MAX); 153 ret = lzma_stream_decoder(strm, UINT64_MAX, LZMA_CONCATENATED); 167 strm->avail_in = 0; 168 strm->next_out = out_buf; 169 strm->avail_out = BUFSIZ; 174 if (strm->avail_in == 0) { 175 strm->next_in = in_buf; 176 strm->avail_in = fread(in_buf, 1, BUFSIZ, file); 195 ret = lzma_code(strm, actio 285 lzma_stream strm = LZMA_STREAM_INIT; local [all...] |
/freebsd-11-stable/contrib/xz/src/xz/ |
H A D | coder.c | 33 static lzma_stream strm = LZMA_STREAM_INIT; variable 375 return strm.avail_in >= sizeof(magic) 385 if (strm.avail_in < 13) 451 &strm, &mt_options); 455 &strm, filters, check); 459 ret = lzma_alone_encoder(&strm, filters[0].options); 463 ret = lzma_raw_encoder(&strm, filters); 523 ret = lzma_stream_decoder(&strm, 529 ret = lzma_alone_decoder(&strm, 537 ret = lzma_raw_decoder(&strm, filter [all...] |
/freebsd-11-stable/sys/sys/ |
H A D | zlib.h | 387 extern int EXPORT deflateInit OF((z_streamp strm, int level)); 409 extern int EXPORT deflate OF((z_streamp strm, int flush)); 484 extern int EXPORT deflateEnd OF((z_streamp strm)); 499 extern int EXPORT inflateInit OF((z_streamp strm)); 517 extern int EXPORT inflate OF((z_streamp strm, int flush)); 570 In the Z_NEED_DICT case, strm->adler is set to the Adler32 value of the 575 extern int EXPORT inflateEnd OF((z_streamp strm)); 593 extern int EXPORT deflateInit2 OF((z_streamp strm, 651 extern int EXPORT deflateSetDictionary OF((z_streamp strm, 667 Upon return of this function, strm [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Core/ |
H A D | EmulateInstruction.cpp | 195 StreamString strm(Stream::eBinary, GetAddressByteSize(), GetByteOrder()); 196 strm.PutMaxHex64(uval, uval_byte_size); 199 this, m_baton, context, addr, strm.GetString().data(), uval_byte_size); 310 StreamFile strm(stdout, false); 311 strm.Printf(" Read from Memory (address = 0x%" PRIx64 ", length = %" PRIu64 314 context.Dump(strm, instruction); 315 strm.EOL(); 325 StreamFile strm(stdout, false); 326 strm.Printf(" Write to Memory (address = 0x%" PRIx64 ", length = %" PRIu64 329 context.Dump(strm, instructio 364 Dump(Stream &strm, EmulateInstruction *instruction) const argument [all...] |