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

12345

/external/qemu/distrib/zlib-1.2.3/
H A Dinffast.h11 void inflate_fast OF((z_streamp strm, unsigned start));
H A Ddeflate.c84 local void flush_pending OF((z_streamp strm));
85 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size));
204 int ZEXPORT deflateInit_(strm, level, version, stream_size)
205 z_streamp strm;
210 return deflateInit2_(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL,
212 /* To do: ignore strm->next_in if we use it as window */
216 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
218 z_streamp strm;
240 if (strm == Z_NULL) return Z_STREAM_ERROR;
242 strm
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dfst.cpp52 bool FstHeader::Read(istream &strm, const string &source) { argument
54 ReadType(strm, &magic_number);
60 ReadType(strm, &fsttype_);
61 ReadType(strm, &arctype_);
62 ReadType(strm, &version_);
63 ReadType(strm, &flags_);
64 ReadType(strm, &properties_);
65 ReadType(strm, &start_);
66 ReadType(strm, &numstates_);
67 ReadType(strm,
74 Write(ostream &strm, const string &source) const argument
[all...]
H A Dutil.h34 inline istream &ReadType(istream &strm, T *t) { argument
35 return strm.read(reinterpret_cast<char *>(t), sizeof(T));
39 inline istream &ReadType(istream &strm, string *s) { argument
42 strm.read(reinterpret_cast<char *>(&ns), sizeof(ns));
45 strm.read(&c, 1);
48 return strm;
55 inline ostream &WriteType(ostream &strm, const T t) { argument
56 return strm.write(reinterpret_cast<const char *>(&t), sizeof(T));
60 inline ostream &WriteType(ostream &strm, const string s) { argument
62 strm
[all...]
H A Dsymbol-table.cpp36 ifstream strm(filename.c_str());
37 if (!strm) {
47 while (strm.getline(line, kLineLen)) {
102 SymbolTableImpl* SymbolTableImpl::Read(istream &strm, argument
105 ReadType(strm, &magic_number);
111 ReadType(strm, &name);
113 ReadType(strm, &impl->available_key_);
115 ReadType(strm, &size);
119 ReadType(strm, &symbol);
120 ReadType(strm,
[all...]
/external/libpng/contrib/pngminim/encoder/
H A Ddummy_inflate.c3 int ZEXPORT inflate(strm, flush)
4 z_streamp strm;
8 int ZEXPORT inflateReset(strm)
9 z_streamp strm;
12 int ZEXPORT inflateEnd(strm)
13 z_streamp strm;
16 int ZEXPORT inflateInit_(strm, version, stream_size)
17 z_streamp strm;
22 int ZEXPORT inflateInit2_(strm, windowBits, version, stream_size)
23 z_streamp strm;
[all...]
/external/zlib/src/
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, unsigned out));
103 int ZEXPORT inflateResetKeep(strm)
104 z_streamp strm;
108 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
109 state = (struct inflate_state FAR *)strm->state;
110 strm
[all...]
H A Dgzread.c48 If strm->avail_in != 0, then the current data is moved to the beginning of
55 z_streamp strm = &(state->strm); local
60 if (strm->avail_in) { /* copy what's there to the start */
61 unsigned char *p = state->in, *q = strm->next_in;
62 unsigned n = strm->avail_in;
67 if (gz_load(state, state->in + strm->avail_in,
68 state->size - strm->avail_in, &got) == -1)
70 strm->avail_in += got;
71 strm
88 z_streamp strm = &(state->strm); local
176 z_streamp strm = &(state->strm); local
228 z_streamp strm = &(state->strm); local
294 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...]
/external/zlib/src/examples/
H A Dzpipe.c40 z_stream strm; local
45 strm.zalloc = Z_NULL;
46 strm.zfree = Z_NULL;
47 strm.opaque = Z_NULL;
48 ret = deflateInit(&strm, level);
54 strm.avail_in = fread(in, 1, CHUNK, source);
56 (void)deflateEnd(&strm);
60 strm.next_in = in;
65 strm.avail_out = CHUNK;
66 strm
96 z_stream strm; local
[all...]
H A Dzran.c145 z_stream strm; local
150 strm.zalloc = Z_NULL;
151 strm.zfree = Z_NULL;
152 strm.opaque = Z_NULL;
153 strm.avail_in = 0;
154 strm.next_in = Z_NULL;
155 ret = inflateInit2(&strm, 47); /* automatic zlib or gzip decoding */
164 strm.avail_out = 0;
167 strm.avail_in = fread(input, 1, CHUNK, in);
172 if (strm
248 z_stream strm; local
[all...]
H A Dgzappend.c253 /* decompress gzip file "name", return strm with a deflate stream ready to
257 local int gzscan(char *name, z_stream *strm, int level) argument
281 strm->zalloc = Z_NULL;
282 strm->zfree = Z_NULL;
283 strm->opaque = Z_NULL;
284 ret = inflateInit2(strm, -15);
291 strm->avail_in = gz.left;
292 strm->next_in = gz.next;
297 if (strm->avail_in == 0) {
299 strm
386 gztack(char *name, int gd, z_stream *strm, int last) argument
467 z_stream strm; local
[all...]
/external/kernel-headers/original/linux/
H A Dzlib.h190 extern int deflateInit (z_streamp strm, int level);
212 extern int zlib_deflate (z_streamp strm, int flush);
273 deflate() sets strm->adler to the adler32 checksum of all input read
290 extern int zlib_deflateEnd (z_streamp strm);
312 extern int zlib_inflateInit (z_streamp strm);
332 extern int zlib_inflate (z_streamp strm, int flush);
371 Also to assist in this, on return inflate() will set strm->data_type to the
372 number of unused bits in the last byte taken from strm->next_in, plus 64
377 uncompressed data from that block has been written to strm->next_out. The
400 below), inflate sets strm
[all...]
/external/openfst/src/script/
H A Dtext-io.cc34 ifstream strm(filename.c_str());
35 if (!strm) {
45 while (strm.getline(line, kLineLen)) {
70 ostream *strm = &std::cout; local
72 strm = new ofstream(filename.c_str());
73 if (!*strm) {
75 delete strm;
80 strm->precision(9);
82 *strm << s << "\t" << potential[s] << "\n";
84 if (!*strm)
[all...]
/external/zlib/src/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...]
/external/openfst/src/extensions/far/
H A Dstlist.cc22 ifstream strm(filename.c_str());
23 if (!strm)
27 ReadType(strm, &magic_number);
H A Dsttable.cc22 ifstream strm(filename.c_str());
23 if (!strm)
27 ReadType(strm, &magic_number);
/external/zlib/src/contrib/infback9/
H A Dinfback9.h23 ZEXTERN int ZEXPORT inflateBack9 OF((z_stream FAR *strm,
26 ZEXTERN int ZEXPORT inflateBack9End OF((z_stream FAR *strm));
27 ZEXTERN int ZEXPORT inflateBack9Init_ OF((z_stream FAR *strm,
31 #define inflateBack9Init(strm, window) \
32 inflateBack9Init_((strm), (window), \
/external/openfst/src/lib/
H A Dfst.cc110 bool IsFstHeader(istream &strm, const string &source) { argument
111 int64 pos = strm.tellg();
114 ReadType(strm, &magic_number);
119 strm.seekg(pos);
125 bool FstHeader::Read(istream &strm, const string &source, bool rewind) { argument
127 if (rewind) pos = strm.tellg();
129 ReadType(strm, &magic_number);
133 if (rewind) strm.seekg(pos);
137 ReadType(strm, &fsttype_);
138 ReadType(strm,
154 Write(ostream &strm, const string &source) const argument
[all...]
/external/openfst/src/include/fst/
H A Dtuple-weight.h38 istream &operator>>(istream &strm, TupleWeight<W, n> &w);
83 istream &Read(istream &strm) { argument
85 values_[i].Read(strm);
86 return strm;
89 ostream &Write(ostream &strm) const {
91 values_[i].Write(strm);
92 return strm;
135 inline static istream &ReadNoParen(istream &strm, argument
140 c = strm.get();
146 c = strm
171 ReadWithParen(istream &strm, TupleWeight<W, n> &w, char separator, char open_paren, char close_paren) argument
275 operator <<(ostream &strm, const TupleWeight<W, n> &w) argument
306 operator >>(istream &strm, TupleWeight<W, n> &w) argument
[all...]
H A Dutil.h63 inline istream &ReadType(istream &strm, T *t) { argument
64 return t->Read(strm);
69 inline istream &ReadType(istream &strm, T *t) { \
70 return strm.read(reinterpret_cast<char *>(t), sizeof(T)); \
89 inline istream &ReadType(istream &strm, string *s) { argument
92 strm.read(reinterpret_cast<char *>(&ns), sizeof(ns));
95 strm.read(&c, 1);
98 return strm;
103 inline istream &ReadType(istream &strm, pair<S, T> *p) { argument
104 ReadType(strm,
110 ReadType(istream &strm, pair<const S, T> *p) argument
169 WriteType(ostream &strm, const T t) argument
196 WriteType(ostream &strm, const string &s) argument
204 WriteType(ostream &strm, const pair<S, T> &p) argument
264 ostringstream strm; local
315 ostream *strm = &std::cout; local
[all...]
H A Dpair-weight.h39 istream &operator>>(istream &strm, PairWeight<W1, W2> &w);
71 istream &Read(istream &strm) { argument
72 value1_.Read(strm);
73 return value2_.Read(strm);
76 ostream &Write(ostream &strm) const {
77 value1_.Write(strm);
78 return value2_.Write(strm);
116 istream &strm, PairWeight<W1, W2>& w, char separator) {
119 c = strm.get();
125 strm
115 ReadNoParen( istream &strm, PairWeight<W1, W2>& w, char separator) argument
144 ReadWithParen( istream &strm, PairWeight<W1, W2>& w, char separator, char open_paren, char close_paren) argument
234 operator <<(ostream &strm, const PairWeight<W1, W2> &w) argument
256 operator >>(istream &strm, PairWeight<W1, W2> &w) argument
[all...]
H A Dsparse-tuple-weight.h54 istream &operator>>(istream &strm, SparseTupleWeight<W, K> &w);
111 istream &Read(istream &strm) { argument
112 ReadType(strm, &default_);
113 ReadType(strm, &first_);
114 return ReadType(strm, &rest_);
117 ostream &Write(ostream &strm) const {
118 WriteType(strm, default_);
119 WriteType(strm, first_);
120 return WriteType(strm, rest_);
332 inline ostream &operator<<(ostream &strm, cons argument
373 operator >>(istream &strm, SparseTupleWeight<W, K> &w) argument
397 ReadNoParen( istream &strm, SparseTupleWeight<W, K> &w, char separator) argument
491 ReadWithParen( istream &strm, SparseTupleWeight<W, K> &w, char separator, char open_paren, char close_paren) argument
[all...]
/external/bzip2/
H A Dbzlib.c149 ( bz_stream* strm,
159 if (strm == NULL ||
165 if (strm->bzalloc == NULL) strm->bzalloc = default_bzalloc;
166 if (strm->bzfree == NULL) strm->bzfree = default_bzfree;
170 s->strm = strm;
203 strm->state = s;
204 strm
148 BZ2_bzCompressInit( bz_stream* strm, int blockSize100k, int verbosity, int workFactor ) argument
407 BZ2_bzCompress( bz_stream *strm, int action ) argument
492 BZ2_bzDecompressInit( bz_stream* strm, int verbosity, int small ) argument
898 bz_stream strm; member in struct:__anon1461
1256 bz_stream strm; local
1307 bz_stream strm; local
[all...]

Completed in 881 milliseconds

12345