/external/libpng/contrib/pngminim/encoder/ |
dummy_inflate.c | 3 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/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...] |
const-fst.h | 68 static ConstFstImpl<A> *Read(istream &strm, const FstReadOptions &opts); 70 bool Write(ostream &strm, const FstWriteOptions &opts) const; 161 ConstFstImpl<A> *ConstFstImpl<A>::Read(istream &strm, 165 if (!impl->ReadHeaderAndSymbols(strm, opts, kMinFileVersion, &hdr)) 174 for (int i = 0; i < kFileAlign && strm.tellg() % kFileAlign; ++i) 175 strm.read(&c, 1); 178 strm.read(reinterpret_cast<char *>(impl->states_), b); 179 if (!strm) { 185 for (int i = 0; i < kFileAlign && strm.tellg() % kFileAlign; ++i) 186 strm.read(&c, 1) [all...] |
/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...] |
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...] |
sparse-tuple-weight.h | 54 istream &operator>>(istream &strm, SparseTupleWeight<W, K> &w); 111 istream &Read(istream &strm) { 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, const SparseTupleWeight<W, K> &w) [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...] |
/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/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/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...] |
symbol-table.cc | 42 SymbolTableImpl* SymbolTableImpl::ReadText(istream &strm, 49 while (strm.getline(line, kLineLen)) { 160 SymbolTableImpl* SymbolTableImpl::Read(istream &strm, 163 ReadType(strm, &magic_number); 164 if (!strm) { 169 ReadType(strm, &name); 171 ReadType(strm, &impl->available_key_); 173 ReadType(strm, &size); 174 if (!strm) { 184 ReadType(strm, &symbol) [all...] |
/external/zlib/src/ |
gzwrite.c | 19 z_streamp strm = &(state->strm); local 39 strm->zalloc = Z_NULL; 40 strm->zfree = Z_NULL; 41 strm->opaque = Z_NULL; 42 ret = deflateInit2(strm, state->level, Z_DEFLATED, 57 strm->avail_out = state->size; 58 strm->next_out = state->out; 59 state->x.next = strm->next_out; 76 z_streamp strm = &(state->strm) local 139 z_streamp strm = &(state->strm); local 172 z_streamp strm; local 252 z_streamp strm; local 314 z_streamp strm; local 395 z_streamp strm; local 503 z_streamp strm; local [all...] |
/external/chromium_org/third_party/zlib/ |
gzwrite.c | 19 z_streamp strm = &(state->strm); local 34 strm->zalloc = Z_NULL; 35 strm->zfree = Z_NULL; 36 strm->opaque = Z_NULL; 37 ret = deflateInit2(strm, state->level, Z_DEFLATED, 49 strm->avail_out = state->size; 50 strm->next_out = state->out; 51 state->next = strm->next_out; 65 z_streamp strm = &(state->strm) local 117 z_streamp strm = &(state->strm); local 151 z_streamp strm; local 227 z_streamp strm; local 285 z_streamp strm; local 361 z_streamp strm; local 464 z_streamp strm; local [all...] |
/external/zlib/src/contrib/ada/ |
zlib-thin.adb | 21 function Avail_In (Strm : in Z_Stream) return UInt is 23 return Strm.Avail_In; 30 function Avail_Out (Strm : in Z_Stream) return UInt is 32 return Strm.Avail_Out; 40 (strm : Z_Streamp; 49 (strm, 63 function Inflate_Init (strm : Z_Streamp; windowBits : Int) return Int is 65 return inflateInit2 (strm, windowBits, ZLIB_VERSION, Z_Stream_Size); 72 function Last_Error_Message (Strm : in Z_Stream) return String is 75 if Strm.msg = Null_Ptr the [all...] |
/system/extras/tests/bionic/libc/other/ |
test_zlib.c | 49 z_stream strm; local 54 strm.zalloc = Z_NULL; 55 strm.zfree = Z_NULL; 56 strm.opaque = Z_NULL; 57 ret = deflateInit(&strm, level); 63 strm.avail_in = fread(in, 1, CHUNK, source); 65 (void)deflateEnd(&strm); 69 strm.next_in = in; 74 strm.avail_out = CHUNK; 75 strm.next_out = out 97 z_stream strm; local [all...] |
/external/zlib/src/contrib/delphi/ |
ZLib.pas | 55 constructor Create(Strm: TStream); 241 function deflateInit_(var strm: TZStreamRec; level: Integer; version: PChar; 243 function deflate(var strm: TZStreamRec; flush: Integer): Integer; external; 244 function deflateEnd(var strm: TZStreamRec): Integer; external; 247 function inflateInit_(var strm: TZStreamRec; version: PChar; 249 function inflate(var strm: TZStreamRec; flush: Integer): Integer; external; 250 function inflateEnd(var strm: TZStreamRec): Integer; external; 251 function inflateReset(var strm: TZStreamRec): Integer; external; 289 strm: TZStreamRec; 292 FillChar(strm, sizeof(strm), 0) [all...] |
/external/zlib/src/contrib/pascal/ |
zlibpas.pas | 106 function deflateInit(var strm: z_stream; level: Integer): Integer; 107 function deflate(var strm: z_stream; flush: Integer): Integer; 108 function deflateEnd(var strm: z_stream): Integer; 109 function inflateInit(var strm: z_stream): Integer; 110 function inflate(var strm: z_stream; flush: Integer): Integer; 111 function inflateEnd(var strm: z_stream): Integer; 114 function deflateInit2(var strm: z_stream; level, method, windowBits, 116 function deflateSetDictionary(var strm: z_stream; const dictionary: PChar; 119 function deflateReset(var strm: z_stream): Integer; 120 function deflateParams(var strm: z_stream; level, strategy: Integer): Integer [all...] |
/external/zlib/src/contrib/masmx64/ |
inffas8664.c | 54 strm->avail_in >= 6
55 strm->avail_out >= 258
56 start >= strm->avail_out
70 Therefore if strm->avail_in >= 6, then there is enough input to avoid
75 requires strm->avail_out >= 258 for each loop to avoid checking for
86 /* 16 8 */ unsigned char FAR *in; /* esi rsi local strm->next_in */
88 /* 32 16 */ unsigned char FAR *out; /* edi rdi local strm->next_out */
92 /* 64 32 */ code const FAR *lcode; /* ebp rbp local strm->lencode */
93 /* 72 36 */ code const FAR *dcode; /* r11 local strm->distcode */
94 /* 80 40 */ size_t /*unsigned long */hold; /* edx rdx local strm->hold */ [all...] |
/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/qemu/distrib/zlib-1.2.3/ |
inflate.c | 26 * - 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 inflateReset(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->total_in = strm->total_out = state->total = 0 [all...] |
/external/openfst/src/extensions/far/ |
stlist.cc | 22 ifstream strm(filename.c_str()); 23 if (!strm) 27 ReadType(strm, &magic_number);
|