/freebsd-current/sys/contrib/zlib/ |
H A D | inffast.h | 11 void ZLIB_INTERNAL inflate_fast(z_streamp strm, unsigned start);
|
H A D | gzwrite.c | 14 z_streamp strm = &(state->strm); local 34 strm->zalloc = Z_NULL; 35 strm->zfree = Z_NULL; 36 strm->opaque = Z_NULL; 37 ret = deflateInit2(strm, state->level, Z_DEFLATED, 45 strm->next_in = NULL; 53 strm->avail_out = state->size; 54 strm->next_out = state->out; 55 state->x.next = strm 69 z_streamp strm = &(state->strm); local 147 z_streamp strm = &(state->strm); local 292 z_streamp strm; local 365 z_streamp strm; local 451 z_streamp strm; local 560 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. 94 local int inflateStateCheck(z_streamp strm) { argument 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 inflateResetKeep(z_streamp strm) argument 130 inflateReset(z_streamp strm) argument 141 inflateReset2(z_streamp strm, int windowBits) argument 178 inflateInit2_(z_streamp strm, int windowBits, const char *version, int stream_size) argument 218 inflateInit_(z_streamp strm, const char *version, int stream_size) argument 223 inflatePrime(z_streamp strm, int bits, int value) argument 368 updatewindow(z_streamp strm, const Bytef *end, unsigned copy) argument 590 inflate(z_streamp strm, int flush) argument [all...] |
/freebsd-current/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-current/contrib/xz/src/liblzma/common/ |
H A D | common.c | 172 lzma_strm_init(lzma_stream *strm) argument 174 if (strm == NULL) 177 if (strm->internal == NULL) { 178 strm->internal = lzma_alloc(sizeof(lzma_internal), 179 strm->allocator); 180 if (strm->internal == NULL) 183 strm->internal->next = LZMA_NEXT_CODER_INIT; 186 memzero(strm->internal->supported_actions, 187 sizeof(strm->internal->supported_actions)); 188 strm 375 lzma_end(lzma_stream *strm) argument 391 void, lzma_get_progress_522)(lzma_stream *strm, variable 396 void, lzma_get_progress_52)(lzma_stream *strm, variable 402 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-current/sys/contrib/zstd/zlibWrapper/ |
H A D | zstd_zlibwrapper.c | 108 z_streamp strm = (z_streamp) opaque; local 109 void* address = strm->zalloc(strm->opaque, 1, (uInt)size); 116 z_streamp strm = (z_streamp) opaque; local 117 strm->zfree(strm->opaque, address); 159 unsigned long long totalInBytes; /* we need it as strm->total_in can be reset by user */ 181 static ZWRAP_CCtx* ZWRAP_createCCtx(z_streamp strm) argument 186 if (strm->zalloc && strm 229 ZWRAPC_finishWithError(ZWRAP_CCtx* zwc, z_streamp strm, int error) argument 238 ZWRAPC_finishWithErrorMsg(z_streamp strm, char* message) argument 248 ZWRAP_setPledgedSrcSize(z_streamp strm, unsigned long long pledgedSrcSize) argument 263 z_deflateInit_(z_streamp strm, int level, const char *version, int stream_size) argument 290 z_deflateInit2_(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size) argument 302 ZWRAP_deflateReset_keepDict(z_streamp strm) argument 322 z_deflateReset(z_streamp strm) argument 337 z_deflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength) argument 362 z_deflate(z_streamp strm, int flush) argument 468 z_deflateEnd(z_streamp strm) argument 486 z_deflateBound(z_streamp strm, uLong sourceLen) argument 496 z_deflateParams(z_streamp strm, int level, int strategy) argument 541 ZWRAP_createDCtx(z_streamp strm) argument 572 ZWRAP_isUsingZSTDdecompression(z_streamp strm) argument 579 ZWRAPD_finishWithError(ZWRAP_DCtx* zwd, z_streamp strm, int error) argument 587 ZWRAPD_finishWithErrorMsg(z_streamp strm, char* message) argument 597 z_inflateInit_(z_streamp strm, const char* version, int stream_size) argument 626 z_inflateInit2_(z_streamp strm, int windowBits, const char *version, int stream_size) argument 644 ZWRAP_inflateReset_keepDict(z_streamp strm) argument 663 z_inflateReset(z_streamp strm) argument 681 z_inflateReset2(z_streamp strm, int windowBits) argument 699 z_inflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength) argument 733 z_inflate(z_streamp strm, int flush) argument 929 z_inflateEnd(z_streamp strm) argument 946 z_inflateSync(z_streamp strm) argument 967 z_deflateTune(z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain) argument 980 z_deflatePending(z_streamp strm, unsigned *pending, int *bits) argument 991 z_deflatePrime(z_streamp strm, int bits, int value) argument 1001 z_deflateSetHeader(z_streamp strm, gz_headerp head) argument 1014 z_inflateGetDictionary(z_streamp strm, Bytef *dictionary, uInt *dictLength) argument 1035 z_inflateMark(z_streamp strm) argument 1044 z_inflatePrime(z_streamp strm, int bits, int value) argument 1054 z_inflateGetHeader(z_streamp strm, gz_headerp head) argument 1063 z_inflateBackInit_(z_streamp strm, int windowBits, unsigned char FAR *window, const char *version, int stream_size) argument 1074 z_inflateBack(z_streamp strm, in_func in, void FAR *in_desc, out_func out, void FAR *out_desc) argument 1084 z_inflateBackEnd(z_streamp strm) argument [all...] |
H A D | zstd_zlibwrapper.h | 50 There will be no change in case of deflateInit() or deflateReset() immediately followed by deflate(strm, Z_FINISH) 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 | gzwrite.c | 26 z_streamp strm = &(state.state->strm); local 46 strm->zalloc = Z_NULL; 47 strm->zfree = Z_NULL; 48 strm->opaque = Z_NULL; 49 ret = deflateInit2(strm, state.state->level, Z_DEFLATED, 57 strm->next_in = NULL; 65 strm->avail_out = state.state->size; 66 strm->next_out = state.state->out; 67 state.state->x.next = strm 84 z_streamp strm = &(state.state->strm); local 156 z_streamp strm = &(state.state->strm); local 317 z_streamp strm; local 391 z_streamp strm; local 481 z_streamp strm; local 597 z_streamp strm; local [all...] |
H A D | gzread.c | 64 If strm->avail_in != 0, then the current data is moved to the beginning of 71 z_streamp strm = &(state.state->strm); local 76 if (strm->avail_in) { /* copy what's there to the start */ 78 unsigned const char *q = strm->next_in; 79 unsigned n = strm->avail_in; 84 if (gz_load(state, state.state->in + strm->avail_in, 85 state.state->size - strm->avail_in, &got) == -1) 87 strm->avail_in += got; 88 strm 105 z_streamp strm = &(state.state->strm); local 192 z_streamp strm = &(state.state->strm); local 244 z_streamp strm = &(state.state->strm); local [all...] |
/freebsd-current/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 474 z_stream strm; local 514 z_stream strm; local [all...] |
H A D | 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 234 z_stream *strm; local 262 z_stream *strm; local [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Core/ |
H A D | DumpRegisterInfo.cpp | 19 void lldb_private::DumpRegisterInfo(Stream &strm, RegisterContext &ctx, argument 64 DoDumpRegisterInfo(strm, info.name, info.alt_name, info.byte_size, 70 static void DumpList(Stream &strm, const char *title, argument 76 strm.EOL(); 77 strm << title; 81 strm << ", "; 83 emitter(strm, elem); 88 Stream &strm, const char *name, const char *alt_name, uint32_t byte_size, 93 strm << " Name: " << name; 95 strm << " (" << alt_nam 87 DoDumpRegisterInfo( Stream &strm, const char *name, const char *alt_name, uint32_t byte_size, const std::vector<const char *> &invalidates, const std::vector<const char *> &read_from, const std::vector<SetInfo> &in_sets, const RegisterFlags *flags_type, uint32_t terminal_width) argument [all...] |
H A D | EmulateInstruction.cpp | 204 StreamString strm(Stream::eBinary, GetAddressByteSize(), GetByteOrder()); 205 strm.PutMaxHex64(uval, uval_byte_size); 208 this, m_baton, context, addr, strm.GetString().data(), uval_byte_size); 319 StreamFile strm(stdout, false); 320 strm.Printf(" Read from Memory (address = 0x%" PRIx64 ", length = %" PRIu64 323 context.Dump(strm, instruction); 324 strm.EOL(); 334 StreamFile strm(stdout, false); 335 strm.Printf(" Write to Memory (address = 0x%" PRIx64 ", length = %" PRIu64 338 context.Dump(strm, instructio 373 Dump(Stream &strm, EmulateInstruction *instruction) const argument [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Interpreter/ |
H A D | OptionValueString.cpp | 18 void OptionValueString::DumpValue(const ExecutionContext *exe_ctx, Stream &strm, argument 21 strm.Printf("(%s)", GetTypeAsCString()); 24 strm.PutCString(" = "); 31 strm.Printf("%s", expanded_escape_value.c_str()); 33 strm.Printf("\"%s\"", expanded_escape_value.c_str()); 36 strm.Printf("%s", m_current_value.c_str()); 38 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 | OptionValueRegex.cpp | 16 void OptionValueRegex::DumpValue(const ExecutionContext *exe_ctx, Stream &strm, argument 19 strm.Printf("(%s)", GetTypeAsCString()); 22 strm.PutCString(" = "); 25 strm.Printf("%s", regex_text.str().c_str());
|
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-current/usr.bin/gzip/ |
H A D | unxz.c | 43 lzma_stream strm = LZMA_STREAM_INIT; local 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 275 lzma_stream strm = LZMA_STREAM_INIT; local [all...] |
/freebsd-current/usr.bin/mkuzip/ |
H A D | mkuz_lzma.c | 41 lzma_stream strm; member in struct:mkuz_lzma 65 ulp->strm = (lzma_stream)LZMA_STREAM_INIT; 84 ret = lzma_stream_encoder(&ulp->strm, ulp->filters, LZMA_CHECK_CRC32); 92 ulp->strm.next_in = iblk->data; 93 ulp->strm.avail_in = iblk->info.len; 94 ulp->strm.next_out = oblk->data; 95 ulp->strm.avail_out = oblk->alen; 97 ret = lzma_code(&ulp->strm, LZMA_FINISH); 101 "out=%zd)", ret, (iblk->info.len - ulp->strm.avail_in), 102 (oblk->alen - ulp->strm [all...] |
/freebsd-current/contrib/bzip2/ |
H A D | bzlib.c | 152 ( bz_stream* strm, 162 if (strm == NULL || 168 if (strm->bzalloc == NULL) strm->bzalloc = default_bzalloc; 169 if (strm->bzfree == NULL) strm->bzfree = default_bzfree; 173 s->strm = strm; 206 strm->state = s; 207 strm 151 BZ2_bzCompressInit( bz_stream* strm, int blockSize100k, int verbosity, int workFactor ) argument 410 BZ2_bzCompress( bz_stream *strm, int action ) argument 496 BZ2_bzDecompressInit( bz_stream* strm, int verbosity, int small ) argument 903 bz_stream strm; member in struct:__anon2 1261 bz_stream strm; local 1312 bz_stream strm; local [all...] |
/freebsd-current/contrib/xz/src/xzdec/ |
H A D | xzdec.c | 148 uncompress(lzma_stream *strm, FILE *file, const char *filename) argument 154 ret = lzma_alone_decoder(strm, UINT64_MAX); 156 ret = lzma_stream_decoder(strm, UINT64_MAX, LZMA_CONCATENATED); 170 strm->avail_in = 0; 171 strm->next_out = out_buf; 172 strm->avail_out = BUFSIZ; 177 if (strm->avail_in == 0) { 178 strm->next_in = in_buf; 179 strm->avail_in = fread(in_buf, 1, BUFSIZ, file); 198 ret = lzma_code(strm, actio 288 lzma_stream strm = LZMA_STREAM_INIT; local [all...] |
/freebsd-current/sys/contrib/zstd/zlibWrapper/examples/ |
H A D | minigzip.c | 180 z_stream strm; member in struct:gzFile_s 213 gz->strm.zalloc = myalloc; 214 gz->strm.zfree = myfree; 215 gz->strm.opaque = Z_NULL; 217 ret = deflateInit2(&(gz->strm), -1, 8, 15 + 16, 8, 0); 219 gz->strm.next_in = 0; 220 gz->strm.avail_in = Z_NULL; 221 ret = inflateInit2(&(gz->strm), 15 + 16); 230 gz->write ? deflateEnd(&(gz->strm)) : inflateEnd(&(gz->strm)); 246 z_stream *strm; local 273 z_stream *strm; local 305 z_stream *strm; local [all...] |
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | ModuleSpec.h | 162 void Dump(Stream &strm) const { 165 strm.PutCString("file = '"); 166 strm << m_file; 167 strm.PutCString("'"); 172 strm.PutCString(", "); 173 strm.PutCString("platform_file = '"); 174 strm << m_platform_file; 175 strm.PutCString("'"); 180 strm.PutCString(", "); 181 strm 380 Dump(Stream &strm) argument [all...] |
/freebsd-current/contrib/xz/src/xz/ |
H A D | coder.c | 33 static lzma_stream strm = LZMA_STREAM_INIT; variable 433 return strm.avail_in >= sizeof(magic) 443 if (strm.avail_in < 13) 492 return strm.avail_in >= sizeof(magic) 527 &strm, &mt_options); 531 &strm, filters, check); 535 ret = lzma_alone_encoder(&strm, filters[0].options); 547 ret = lzma_raw_encoder(&strm, filters); 617 strm.total_in = 0; 618 strm [all...] |