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

1 2 3 4 5 6 7 8 910

  /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/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/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/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 = &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 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...]
  /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/
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...]
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:__anon4000
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 701 milliseconds

1 2 3 4 5 6 7 8 910