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

1234567891011>>

/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,
76 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/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));
/external/chromium_org/third_party/zlib/
H A Dinffast.h11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
H A Dgzread.c49 gz_avail() assumes that strm->avail_in == 0. */
53 z_streamp strm = &(state->strm); local
59 (unsigned *)&(strm->avail_in)) == -1)
61 strm->next_in = state->in;
67 #define NEXT() ((strm->avail_in == 0 && gz_avail(state) == -1) ? -1 : \
68 (strm->avail_in == 0 ? -1 : \
69 (strm->avail_in--, *(strm->next_in)++)))
79 z_streamp strm local
107 z_streamp strm = &(state->strm); local
239 z_streamp strm = &(state->strm); local
307 z_streamp strm = &(state->strm); local
369 z_streamp strm; local
[all...]
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dinffast.h11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
/external/qemu/distrib/zlib-1.2.8/
H A Dinffast.h11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
/external/zlib/src/
H A Dinffast.h11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
/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.c150 z_stream strm; local
155 strm.zalloc = Z_NULL;
156 strm.zfree = Z_NULL;
157 strm.opaque = Z_NULL;
158 strm.avail_in = 0;
159 strm.next_in = Z_NULL;
160 ret = inflateInit2(&strm, 47); /* automatic zlib or gzip decoding */
169 strm.avail_out = 0;
172 strm.avail_in = fread(input, 1, CHUNK, in);
177 if (strm
253 z_stream strm; local
[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 = &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/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());
/external/openfst/src/lib/
H A Dfst.cc113 bool IsFstHeader(istream &strm, const string &source) { argument
114 int64 pos = strm.tellg();
117 ReadType(strm, &magic_number);
122 strm.seekg(pos);
128 bool FstHeader::Read(istream &strm, const string &source, bool rewind) { argument
130 if (rewind) pos = strm.tellg();
132 ReadType(strm, &magic_number);
136 if (rewind) strm.seekg(pos);
140 ReadType(strm, &fsttype_);
141 ReadType(strm,
157 Write(ostream &strm, const string &source) const argument
[all...]
/external/freetype/src/gzip/
H A Dzlib.h176 ZEXTERN(int) deflateInit OF((z_streamp strm, int level));
258 deflate() sets strm->adler to the adler32 checksum of all input read
289 ZEXTERN(int) inflateInit OF((z_streamp strm));
309 ZEXTERN(int) inflate OF((z_streamp strm, int flush));
356 below), inflate sets strm-adler to the adler32 checksum of the
358 it sets strm->adler to the adler32 checksum of all output produced
378 ZEXTERN(int) inflateEnd OF((z_streamp strm));
396 ZEXTERN(int) deflateInit2 OF((z_streamp strm,
459 Upon return of this function, strm->adler is set to the Adler32 value
509 be compressed and flushed. In particular, strm
[all...]
/external/openfst/src/include/fst/
H A Dutil.h64 inline istream &ReadType(istream &strm, T *t) { argument
65 return t->Read(strm);
70 inline istream &ReadType(istream &strm, T *t) { \
71 return strm.read(reinterpret_cast<char *>(t), sizeof(T)); \
90 inline istream &ReadType(istream &strm, string *s) { argument
93 strm.read(reinterpret_cast<char *>(&ns), sizeof(ns));
96 strm.read(&c, 1);
99 return strm;
104 inline istream &ReadType(istream &strm, pair<S, T> *p) { argument
105 ReadType(strm,
111 ReadType(istream &strm, pair<const S, T> *p) argument
170 WriteType(ostream &strm, const T t) argument
197 WriteType(ostream &strm, const string &s) argument
205 WriteType(ostream &strm, const pair<S, T> &p) argument
265 ostringstream strm; local
317 ostream *strm = &cout; local
[all...]
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 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:__anon1743
1256 bz_stream strm; local
1307 bz_stream strm; local
[all...]

Completed in 400 milliseconds

1234567891011>>