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

123456789

/freebsd-10.2-release/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.2-release/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,
/freebsd-10.2-release/contrib/xz/src/liblzma/common/
H A Dcommon.c145 lzma_strm_init(lzma_stream *strm) argument
147 if (strm == NULL)
150 if (strm->internal == NULL) {
151 strm->internal = lzma_alloc(sizeof(lzma_internal),
152 strm->allocator);
153 if (strm->internal == NULL)
156 strm->internal->next = LZMA_NEXT_CODER_INIT;
159 strm->internal->supported_actions[LZMA_RUN] = false;
160 strm->internal->supported_actions[LZMA_SYNC_FLUSH] = false;
161 strm
314 lzma_end(lzma_stream *strm) argument
[all...]
H A Deasy_encoder.c18 lzma_easy_encoder(lzma_stream *strm, uint32_t preset, lzma_check check)
24 return lzma_stream_encoder(strm, opt_easy.filters, check);
/freebsd-10.2-release/lib/libz/
H A Dinffast.h11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
H A Dinflate.c26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset)
59 * input in strm.
96 local int updatewindow OF((z_streamp strm, const unsigned char FAR *end,
104 int ZEXPORT inflateResetKeep(strm)
105 z_streamp strm;
109 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
110 state = (struct inflate_state FAR *)strm->state;
111 strm
[all...]
H A Dgzread.c51 If strm->avail_in != 0, then the current data is moved to the beginning of
58 z_streamp strm = &(state->strm); local
63 if (strm->avail_in) { /* copy what's there to the start */
65 unsigned const char *q = strm->next_in;
66 unsigned n = strm->avail_in;
71 if (gz_load(state, state->in + strm->avail_in,
72 state->size - strm->avail_in, &got) == -1)
74 strm->avail_in += got;
75 strm
92 z_streamp strm = &(state->strm); local
180 z_streamp strm = &(state->strm); local
232 z_streamp strm = &(state->strm); local
298 z_streamp strm; local
[all...]
H A Ddeflate.c86 local void flush_pending OF((z_streamp strm));
87 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size));
201 int ZEXPORT deflateInit_(strm, level, version, stream_size)
202 z_streamp strm;
207 return deflateInit2_(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL,
209 /* To do: ignore strm->next_in if we use it as window */
213 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
215 z_streamp strm;
237 if (strm == Z_NULL) return Z_STREAM_ERROR;
239 strm
[all...]
H A Dgzwrite.c22 z_streamp strm = &(state->strm); local
42 strm->zalloc = Z_NULL;
43 strm->zfree = Z_NULL;
44 strm->opaque = Z_NULL;
45 ret = deflateInit2(strm, state->level, Z_DEFLATED,
60 strm->avail_out = state->size;
61 strm->next_out = state->out;
62 state->x.next = strm->next_out;
79 z_streamp strm local
142 z_streamp strm = &(state->strm); local
175 z_streamp strm; local
255 z_streamp strm; local
317 z_streamp strm; local
398 z_streamp strm; local
506 z_streamp strm; local
[all...]
H A Dzlib.h224 ZEXTERN int ZEXPORT deflateInit OF((z_streamp strm, int level));
246 ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush));
334 deflate() sets strm->adler to the adler32 checksum of all input read
337 deflate() may update strm->data_type if it can make a good guess about
353 ZEXTERN int ZEXPORT deflateEnd OF((z_streamp strm));
368 ZEXTERN int ZEXPORT inflateInit OF((z_streamp strm));
392 ZEXTERN int ZEXPORT inflate OF((z_streamp strm, int flush));
431 Also to assist in this, on return inflate() will set strm->data_type to the
432 number of unused bits in the last byte taken from strm->next_in, plus 64 if
437 data from that block has been written to strm
[all...]
/freebsd-10.2-release/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.2-release/lib/libz/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.2-release/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.2-release/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:__anon848
1264 bz_stream strm; local
1315 bz_stream strm; local
[all...]
/freebsd-10.2-release/contrib/xz/src/xz/
H A Dcoder.c30 static lzma_stream strm = LZMA_STREAM_INIT; variable
296 return strm.avail_in >= sizeof(magic)
306 if (strm.avail_in < 13)
367 ret = lzma_stream_encoder(&strm, filters, check);
371 ret = lzma_alone_encoder(&strm, filters[0].options);
375 ret = lzma_raw_encoder(&strm, filters);
424 ret = lzma_stream_decoder(&strm,
430 ret = lzma_alone_decoder(&strm,
438 ret = lzma_raw_decoder(&strm, filters);
447 strm
[all...]
/freebsd-10.2-release/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.2-release/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.2-release/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 138 milliseconds

123456789