Searched defs:strm (Results 1 - 25 of 62) sorted by relevance

123

/external/libmicrohttpd/src/microspdy/
H A Dcompression.c215 SPDYF_zlib_deflate_init(z_stream *strm) argument
219 strm->zalloc = Z_NULL;
220 strm->zfree = Z_NULL;
221 strm->opaque = Z_NULL;
224 ret = deflateInit(strm, Z_DEFAULT_COMPRESSION);
230 ret = deflateSetDictionary(strm,
236 deflateEnd(strm);
244 SPDYF_zlib_deflate_end(z_stream *strm) argument
246 deflateEnd(strm);
250 SPDYF_zlib_deflate(z_stream *strm, argument
320 SPDYF_zlib_inflate_init(z_stream *strm) argument
343 SPDYF_zlib_inflate_end(z_stream *strm) argument
350 SPDYF_zlib_inflate(z_stream *strm, const void *src, size_t src_size, void **dest, size_t *dest_size) argument
[all...]
/external/llvm/lib/Support/
H A DDebug.cpp126 circular_raw_ostream strm; member in struct:dbgstream
129 strm(errs(), "*** Debug Log Output ***\n",
140 return thestrm.strm;
/external/squashfs-tools/squashfs-tools/
H A Dlzma_wrapper.c32 static int lzma_compress(void *strm, void *dest, void *src, int size, int block_size, argument
H A Dlz4_wrapper.c223 static int lz4_compress(void *strm, void *dest, void *src, int size, argument
H A Dlzma_xz_wrapper.c43 lzma_stream strm = LZMA_STREAM_INIT; local
49 res = lzma_alone_encoder(&strm, &opt);
51 lzma_end(&strm);
55 strm.next_out = dest;
56 strm.avail_out = block_size;
57 strm.next_in = src;
58 strm.avail_in = size;
60 res = lzma_code(&strm, LZMA_FINISH);
61 lzma_end(&strm);
80 return (int) strm
102 lzma_stream strm = LZMA_STREAM_INIT; local
[all...]
H A Dcompressor.h55 static inline int compressor_compress(struct compressor *comp, void *strm, argument
58 return comp->compress(strm, dest, src, size, block_size, error);
H A Dgzip_wrapper.c338 static int gzip_init(void **strm, int block_size, int datablock) argument
384 *strm = stream;
396 static int gzip_compress(void *strm, void *d, void *s, int size, int block_size, argument
400 struct gzip_stream *stream = strm;
H A Dlzo_wrapper.c316 static int squashfs_lzo_init(void **strm, int block_size, int datablock) argument
320 stream = *strm = malloc(sizeof(struct lzo_stream));
340 static int lzo_compress(void *strm, void *dest, void *src, int size, argument
345 struct lzo_stream *stream = strm;
/external/zlib/src/examples/
H A Dzpipe.c40 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
96 z_stream strm; local
[all...]
H A Dgzjoin.c254 local void zpull(z_streamp strm, bin *in) argument
260 strm->avail_in = in->left;
261 strm->next_in = in->next;
289 z_stream strm; /* zlib inflate stream */ local
300 strm.zalloc = Z_NULL;
301 strm.zfree = Z_NULL;
302 strm.opaque = Z_NULL;
303 strm.avail_in = 0;
304 strm.next_in = Z_NULL;
305 ret = inflateInit2(&strm,
[all...]
H A Dzran.c150 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
253 z_stream strm; local
[all...]
/external/opencv3/3rdparty/zlib/
H A Dgzwrite.c19 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 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...]
H A Dgzread.c48 If strm->avail_in != 0, then the current data is moved to the beginning of
55 z_streamp strm = &(state->strm); local
60 if (strm->avail_in) { /* copy what's there to the start */
62 unsigned const char *q = strm->next_in;
63 unsigned n = strm->avail_in;
68 if (gz_load(state, state->in + strm->avail_in,
69 state->size - strm->avail_in, &got) == -1)
71 strm->avail_in += got;
72 strm
89 z_streamp strm = &(state->strm); local
177 z_streamp strm = &(state->strm); local
229 z_streamp strm = &(state->strm); local
295 z_streamp strm; local
[all...]
H A Dgzguts.h191 z_stream strm; /* stream structure in-place (not a pointer) */ member in struct:__anon15043
/external/pdfium/third_party/zlib_v128/
H A Dinffast.c43 strm->avail_in >= 6
44 strm->avail_out >= 258
45 start >= strm->avail_out
59 Therefore if strm->avail_in >= 6, then there is enough input to avoid
64 requires strm->avail_out >= 258 for each loop to avoid checking for
68 z_streamp strm,
69 unsigned start) /* inflate()'s starting value for strm->avail_out */
72 z_const unsigned char FAR *in; /* local strm->next_in */
74 unsigned char FAR *out; /* local strm->next_out */
75 unsigned char FAR *beg; /* inflate()'s initial strm
67 inflate_fast( z_streamp strm, unsigned start) argument
[all...]
H A Dgzread.c48 If strm->avail_in != 0, then the current data is moved to the beginning of
55 z_streamp strm = &(state->strm); local
60 if (strm->avail_in) { /* copy what's there to the start */
62 unsigned const char *q = strm->next_in;
63 unsigned n = strm->avail_in;
68 if (gz_load(state, state->in + strm->avail_in,
69 state->size - strm->avail_in, &got) == -1)
71 strm->avail_in += got;
72 strm
89 z_streamp strm = &(state->strm); local
177 z_streamp strm = &(state->strm); local
229 z_streamp strm = &(state->strm); local
295 z_streamp strm; local
[all...]
/external/zlib/src/
H A Dgzwrite.c19 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 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...]
H A Dgzread.c48 If strm->avail_in != 0, then the current data is moved to the beginning of
55 z_streamp strm = &(state->strm); local
60 if (strm->avail_in) { /* copy what's there to the start */
62 unsigned const char *q = strm->next_in;
63 unsigned n = strm->avail_in;
68 if (gz_load(state, state->in + strm->avail_in,
69 state->size - strm->avail_in, &got) == -1)
71 strm->avail_in += got;
72 strm
89 z_streamp strm = &(state->strm); local
177 z_streamp strm = &(state->strm); local
229 z_streamp strm = &(state->strm); local
295 z_streamp strm; local
[all...]
/external/deqp/modules/gles2/stress/
H A Des2sVertexArrayTests.cpp43 std::stringstream strm; local
44 strm << t;
45 return strm.str();
/external/libxml2/os400/
H A Dwrappers.c143 _lx_inflateInit2_(z_streamp strm, int windowBits, argument
150 r = inflateInit2_(strm, windowBits,
157 _lx_deflateInit2_(z_streamp strm, int level, int method, int windowBits, argument
164 r = deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
/external/bzip2/
H A Ddecompress.c54 if (s->strm->avail_in == 0) RETURN(BZ_OK); \
58 (*((UChar*)(s->strm->next_in)))); \
60 s->strm->next_in++; \
61 s->strm->avail_in--; \
62 s->strm->total_in_lo32++; \
63 if (s->strm->total_in_lo32 == 0) \
64 s->strm->total_in_hi32++; \
111 bz_stream* strm = s->strm; local
/external/deqp/modules/gles3/stress/
H A Des3sVertexArrayTests.cpp69 std::stringstream strm; local
70 strm << t;
71 return strm.str();
/external/opencv/otherlibs/highgui/
H A Dgrfmt_pxm.cpp83 static int ReadNumber( RLByteStream& strm, int maxdigits ) argument
89 code = strm.GetByte();
99 code = strm.GetByte();
104 code = strm.GetByte();
107 code = strm.GetByte();
116 code = strm.GetByte();
/external/opencv3/modules/imgcodecs/src/
H A Dgrfmt_bmp.cpp507 WLByteStream strm; local
511 if( !strm.open( *m_buf ) )
514 else if( !strm.open( m_filename ))
527 strm.putBytes( fmtSignBmp, (int)strlen(fmtSignBmp) );
530 strm.putDWord( fileSize ); // file size
531 strm.putDWord( 0 );
532 strm.putDWord( headerSize );
535 strm.putDWord( bitmapHeaderSize );
536 strm.putDWord( width );
537 strm
[all...]
H A Dgrfmt_pxm.cpp52 static int ReadNumber( RLByteStream& strm, int maxdigits ) argument
58 code = strm.getByte();
68 code = strm.getByte();
73 code = strm.getByte();
76 code = strm.getByte();
85 code = strm.getByte();
384 WLByteStream strm; local
388 if( !strm.open(*m_buf) )
395 else if( !strm.open(m_filename) )
417 strm
[all...]

Completed in 1930 milliseconds

123