/external/qemu/distrib/zlib-1.2.3/ |
inffast.h | 11 void inflate_fast OF((z_streamp strm, unsigned start));
|
deflate.c | 84 local void flush_pending OF((z_streamp strm)); 85 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size)); 204 int ZEXPORT deflateInit_(strm, level, version, stream_size) 205 z_streamp strm; 210 return deflateInit2_(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, 212 /* To do: ignore strm->next_in if we use it as window */ 216 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, 218 z_streamp strm; 240 if (strm == Z_NULL) return Z_STREAM_ERROR; 242 strm->msg = Z_NULL [all...] |
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/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/ |
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...] |
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...] |
deflate.c | 86 local void flush_pending OF((z_streamp strm)); 87 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size)); 198 int ZEXPORT deflateInit_(strm, level, version, stream_size) 199 z_streamp strm; 204 return deflateInit2_(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, 206 /* To do: ignore strm->next_in if we use it as window */ 210 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, 212 z_streamp strm; 234 if (strm == Z_NULL) return Z_STREAM_ERROR; 236 strm->msg = Z_NULL [all...] |
/external/zlib/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...] |
gzjoin.c | 253 local void zpull(z_streamp strm, bin *in) 259 strm->avail_in = in->left; 260 strm->next_in = in->next; 288 z_stream strm; /* zlib inflate stream */ local 299 strm.zalloc = Z_NULL; 300 strm.zfree = Z_NULL; 301 strm.opaque = Z_NULL; 302 strm.avail_in = 0; 303 strm.next_in = Z_NULL; 304 ret = inflateInit2(&strm, -15) [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/zlib/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/webp/src/dec/ |
alpha.c | 40 z_stream strm; local 42 memset(&strm, 0, sizeof(strm)); 43 if (inflateInit(&strm) != Z_OK) { 46 strm.avail_in = data_size; 47 strm.next_in = (unsigned char*)data; 49 strm.avail_out = output_size; 50 strm.next_out = output; 51 ret = inflate(&strm, Z_NO_FLUSH); 55 } while (strm.avail_out == 0) [all...] |
/bootable/recovery/applypatch/ |
imgpatch.c | 133 z_stream strm; local 134 strm.zalloc = Z_NULL; 135 strm.zfree = Z_NULL; 136 strm.opaque = Z_NULL; 137 strm.avail_in = src_len; 138 strm.next_in = (unsigned char*)(old_data + src_start); 139 strm.avail_out = expanded_len; 140 strm.next_out = expanded_source; 143 ret = inflateInit2(&strm, -15); 151 ret = inflate(&strm, Z_SYNC_FLUSH) [all...] |
/external/webp/src/enc/ |
alpha.c | 34 z_stream strm; local 39 memset(&strm, 0, sizeof(strm)); 40 if (deflateInit(&strm, algo ? Z_BEST_SPEED : Z_BEST_COMPRESSION) != Z_OK) { 43 strm.next_in = (unsigned char*)data; 44 strm.avail_in = data_size; 48 strm.next_out = chunk; 49 strm.avail_out = CHUNK_SIZE; 50 ret = deflate(&strm, Z_FINISH); 54 size_out = CHUNK_SIZE - strm.avail_out [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/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:__anon2134 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...] |
/development/ndk/platforms/android-3/include/ |
zlib.h | 220 ZEXTERN int ZEXPORT deflateInit OF((z_streamp strm, int level)); 242 ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush)); 309 deflate() sets strm->adler to the adler32 checksum of all input read 312 deflate() may update strm->data_type if it can make a good guess about 328 ZEXTERN int ZEXPORT deflateEnd OF((z_streamp strm)); 343 ZEXTERN int ZEXPORT inflateInit OF((z_streamp strm)); 363 ZEXTERN int ZEXPORT inflate OF((z_streamp strm, int flush)); 402 Also to assist in this, on return inflate() will set strm->data_type to the 403 number of unused bits in the last byte taken from strm->next_in, plus 64 408 uncompressed data from that block has been written to strm->next_out. Th [all...] |
/external/chromium/sdch/open-vcdiff/src/ |
zlib.h | 220 ZEXTERN int ZEXPORT deflateInit OF((z_streamp strm, int level)); 242 ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush)); 309 deflate() sets strm->adler to the adler32 checksum of all input read 312 deflate() may update strm->data_type if it can make a good guess about 328 ZEXTERN int ZEXPORT deflateEnd OF((z_streamp strm)); 343 ZEXTERN int ZEXPORT inflateInit OF((z_streamp strm)); 363 ZEXTERN int ZEXPORT inflate OF((z_streamp strm, int flush)); 402 Also to assist in this, on return inflate() will set strm->data_type to the 403 number of unused bits in the last byte taken from strm->next_in, plus 64 408 uncompressed data from that block has been written to strm->next_out. Th [all...] |