/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
fst.cpp | 52 bool FstHeader::Read(istream &strm, const string &source) { 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, &numarcs_) [all...] |
util.h | 34 inline istream &ReadType(istream &strm, T *t) { 35 return strm.read(reinterpret_cast<char *>(t), sizeof(T)); 39 inline istream &ReadType(istream &strm, string *s) { 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) { 56 return strm.write(reinterpret_cast<const char *>(&t), sizeof(T)); 60 inline ostream &WriteType(ostream &strm, const string s) { 62 strm.write(reinterpret_cast<const char *>(&ns), sizeof(ns)) [all...] |
symbol-table.cpp | 36 ifstream strm(filename.c_str()); 37 if (!strm) { 47 while (strm.getline(line, kLineLen)) { 102 SymbolTableImpl* SymbolTableImpl::Read(istream &strm, 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, &key) [all...] |
/external/lldb/source/Core/ |
UserID.cpp | 19 lldb_private::operator << (Stream& strm, const UserID& uid) 21 strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID()); 22 return strm;
|
History.cpp | 23 HistorySourceUInt::DumpHistoryEvent (Stream &strm, HistoryEvent event) 25 strm.Printf ("%s %" PRIu64, m_name.c_str(), (uint64_t)((uintptr_t)event));
|
/external/chromium_org/third_party/zlib/ |
inffast.h | 11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
|
gzread.c | 49 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 = &(state->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/ |
inffast.h | 11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
|
/external/qemu/distrib/zlib-1.2.8/ |
inffast.h | 11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
|
/external/zlib/src/ |
inffast.h | 11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
|
/external/zlib/src/examples/ |
zpipe.c | 40 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.next_out = out 96 z_stream strm; local [all...] |
zran.c | 150 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.avail_in == 0) 253 z_stream strm; local [all...] |
/external/openfst/src/script/ |
text-io.cc | 34 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/ |
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 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/ |
stlist.cc | 22 ifstream strm(filename.c_str()); 23 if (!strm) 27 ReadType(strm, &magic_number);
|
sttable.cc | 22 ifstream strm(filename.c_str()); 23 if (!strm) 27 ReadType(strm, &magic_number);
|
/external/zlib/src/contrib/infback9/ |
infback9.h | 23 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/ |
OptionValueString.cpp | 23 OptionValueString::DumpValue (const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask) 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/ |
fst.cc | 113 bool IsFstHeader(istream &strm, const string &source) { 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) { 130 if (rewind) pos = strm.tellg(); 132 ReadType(strm, &magic_number); 136 if (rewind) strm.seekg(pos); 140 ReadType(strm, &fsttype_); 141 ReadType(strm, &arctype_) [all...] |
/external/freetype/src/gzip/ |
zlib.h | 176 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->avail_out must be non-zero [all...] |
/cts/tests/tests/permission/src/android/permission/cts/ |
NoSdCardWritePermissionTest.java | 40 FileOutputStream strm = new FileOutputStream(fl); local 41 strm.write("Oops!".getBytes()); 42 strm.flush(); 43 strm.close();
|
/external/openfst/src/include/fst/ |
util.h | 64 inline istream &ReadType(istream &strm, T *t) { 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) { 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) { 105 ReadType(strm, &p->first) 265 ostringstream strm; local 317 ostream *strm = &cout; local [all...] |
tuple-weight.h | 38 istream &operator>>(istream &strm, TupleWeight<W, n> &w); 83 istream &Read(istream &strm) { 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, 140 c = strm.get(); 146 c = strm.get() [all...] |
pair-weight.h | 39 istream &operator>>(istream &strm, PairWeight<W1, W2> &w); 71 istream &Read(istream &strm) { 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.clear(std::ios::badbit) [all...] |
/external/bzip2/ |
bzlib.c | 149 ( 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->total_in_lo32 = 0 898 bz_stream strm; member in struct:__anon6368 1256 bz_stream strm; local 1307 bz_stream strm; local [all...] |