HomeSort by relevance Sort by last modified time
    Searched refs:strm (Results 1 - 25 of 206) sorted by null

1 2 3 4 5 6 7 8 9

  /external/qemu/distrib/zlib-1.2.3/
inffast.h 11 void inflate_fast OF((z_streamp strm, unsigned start));
  /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/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/zlib/src/
inffast.h 11 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
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 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->total_in = strm->total_out = state->total = 0
    [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 145 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.avail_in == 0)
248 z_stream strm; local
    [all...]
gzappend.c 253 /* decompress gzip file "name", return strm with a deflate stream ready to
257 local int gzscan(char *name, z_stream *strm, int level)
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->avail_in = gz.left
467 z_stream strm; local
    [all...]
  /external/kernel-headers/original/linux/
zlib.h 190 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->adler to the adler32 checksum of the dictionar
    [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 = &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/
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/openfst/src/lib/
fst.cc 110 bool IsFstHeader(istream &strm, const string &source) {
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) {
127 if (rewind) pos = strm.tellg();
129 ReadType(strm, &magic_number);
133 if (rewind) strm.seekg(pos);
137 ReadType(strm, &fsttype_);
138 ReadType(strm, &arctype_)
    [all...]
  /bootable/recovery/applypatch/
imgpatch.c 140 z_stream strm; local
141 strm.zalloc = Z_NULL;
142 strm.zfree = Z_NULL;
143 strm.opaque = Z_NULL;
144 strm.avail_in = src_len;
145 strm.next_in = (unsigned char*)(old_data + src_start);
146 strm.avail_out = expanded_len;
147 strm.next_out = expanded_source;
150 ret = inflateInit2(&strm, -15);
158 ret = inflate(&strm, Z_SYNC_FLUSH)
    [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/
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...]
util.h 63 inline istream &ReadType(istream &strm, T *t) {
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) {
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) {
104 ReadType(strm, &p->first)
264 ostringstream strm; local
315 ostream *strm = &std::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...]
  /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:__anon3017
1256 bz_stream strm; local
1307 bz_stream strm; local
    [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...]

Completed in 744 milliseconds

1 2 3 4 5 6 7 8 9