Searched refs:strm (Results 1 - 25 of 221) sorted by relevance

123456789

/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dinffast.h13 void inflate_fast OF((z_streamp strm, unsigned start));
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)
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 Dinflate.c33 * - 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 Dzlib.h222 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-10-stable/contrib/xz/src/liblzma/common/
H A Dcommon.c166 lzma_strm_init(lzma_stream *strm) argument
168 if (strm == NULL)
171 if (strm->internal == NULL) {
172 strm->internal = lzma_alloc(sizeof(lzma_internal),
173 strm->allocator);
174 if (strm->internal == NULL)
177 strm->internal->next = LZMA_NEXT_CODER_INIT;
180 memzero(strm->internal->supported_actions,
181 sizeof(strm->internal->supported_actions));
182 strm
353 lzma_end(lzma_stream *strm) argument
366 lzma_get_progress(lzma_stream *strm, uint64_t *progress_in, uint64_t *progress_out) argument
[all...]
H A Deasy_encoder.c17 lzma_easy_encoder(lzma_stream *strm, uint32_t preset, lzma_check check)
23 return lzma_stream_encoder(strm, opt_easy.filters, check);
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Core/
H A DUserID.cpp19 lldb_private::operator << (Stream& strm, const UserID& uid) argument
21 strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
22 return strm;
H A DHistory.cpp23 HistorySourceUInt::DumpHistoryEvent (Stream &strm, HistoryEvent event) argument
25 strm.Printf ("%s %" PRIu64, m_name.c_str(), (uint64_t)((uintptr_t)event));
H A DUserSettingsController.cpp54 Properties::DumpAllPropertyValues (const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask) argument
58 return properties_sp->DumpValue (exe_ctx, strm, dump_mask);
63 Stream &strm) const
65 strm.PutCString("Top level variables:\n\n");
69 return properties_sp->DumpAllDescriptions (interpreter, strm);
75 Properties::DumpPropertyValue (const ExecutionContext *exe_ctx, Stream &strm, const char *property_path, uint32_t dump_mask) argument
81 strm,
H A DEmulateInstruction.cpp212 StreamString strm(Stream::eBinary, GetAddressByteSize(), GetByteOrder());
213 strm.PutMaxHex64 (uval, uval_byte_size);
215 size_t bytes_written = m_write_mem_callback (this, m_baton, context, addr, strm.GetData(), uval_byte_size);
364 StreamFile strm (stdout, false);
365 strm.Printf (" Read from Memory (address = 0x%" PRIx64 ", length = %" PRIu64 ", context = ", addr, (uint64_t)length);
366 context.Dump (strm, instruction);
367 strm.EOL();
380 StreamFile strm (stdout, false);
381 strm.Printf (" Write to Memory (address = 0x%" PRIx64 ", length = %" PRIu64 ", context = ", addr, (uint64_t)length);
382 context.Dump (strm, instructio
421 Dump(Stream &strm, EmulateInstruction *instruction) const argument
[all...]
/freebsd-10-stable/contrib/zlib/
H A Dinffast.h11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
H A Dgzwrite.c24 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 Dinflate.c26 * - 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 Ddeflate.c76 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...]
/freebsd-10-stable/usr.bin/gzip/
H A Dunxz.c43 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 strm.avail_in += prelen;
60 *bytes_in = strm.avail_in;
62 if ((ret = lzma_stream_decoder(&strm, UINT64_MAX, flags)) != LZMA_OK)
65 strm.next_out = NULL;
66 strm.avail_out = 0;
67 if ((ret = lzma_code(&strm, LZMA_RU
[all...]
/freebsd-10-stable/contrib/zlib/test/
H A Dinfcover.c32 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-10-stable/contrib/llvm/tools/lldb/source/Interpreter/
H A DOptionValueString.cpp23 OptionValueString::DumpValue (const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask) argument
26 strm.Printf ("(%s)", GetTypeAsCString ());
30 strm.PutCString (" = ");
38 strm.Printf ("%s", expanded_escape_value.c_str());
40 strm.Printf ("\"%s\"", expanded_escape_value.c_str());
45 strm.Printf ("%s", m_current_value.c_str());
47 strm.Printf ("\"%s\"", m_current_value.c_str());
H A DOptionValueFormat.cpp26 OptionValueFormat::DumpValue (const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask) argument
29 strm.Printf ("(%s)", GetTypeAsCString ());
33 strm.PutCString (" = ");
34 strm.PutCString (FormatManager::GetFormatAsCString (m_current_value));
H A DOptionValueSInt64.cpp23 OptionValueSInt64::DumpValue (const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask) argument
25 //printf ("%p: DumpValue (exe_ctx=%p, strm, mask) m_current_value = %" PRIi64 "\n", this, exe_ctx, m_current_value);
27 strm.Printf ("(%s)", GetTypeAsCString ());
29 // DumpQualifiedName (strm);
33 strm.PutCString (" = ");
34 strm.Printf ("%" PRIi64, m_current_value);
/freebsd-10-stable/usr.bin/mkuzip/
H A Dmkuz_lzma.c46 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-10-stable/contrib/bzip2/
H A Dbzlib.c155 ( 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:__anon3
1264 bz_stream strm; local
1315 bz_stream strm; local
[all...]
/freebsd-10-stable/contrib/xz/src/xzdec/
H A Dxzdec.c145 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-10-stable/contrib/xz/src/xz/
H A Dcoder.c33 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-10-stable/sys/net/
H A Dzlib.h387 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-10-stable/contrib/llvm/tools/lldb/include/lldb/Core/
H A DModuleSpec.h311 Dump (Stream &strm) argument
316 strm.PutCString("file = '");
317 strm << m_file;
318 strm.PutCString("'");
324 strm.PutCString(", ");
325 strm.PutCString("platform_file = '");
326 strm << m_platform_file;
327 strm.PutCString("'");
333 strm.PutCString(", ");
334 strm
573 Dump(Stream &strm) argument
[all...]

Completed in 146 milliseconds

123456789