Searched refs:strm (Results 1 – 6 of 6) sorted by relevance
/lib/zlib_inflate/ |
D | infutil.c | 13 struct z_stream_s *strm; in zlib_inflate_blob() local 17 strm = kmalloc(sizeof(*strm), GFP_KERNEL); in zlib_inflate_blob() 18 if (strm == NULL) in zlib_inflate_blob() 20 strm->workspace = kmalloc(zlib_inflate_workspacesize(), GFP_KERNEL); in zlib_inflate_blob() 21 if (strm->workspace == NULL) in zlib_inflate_blob() 27 strm->next_in = zbuf; in zlib_inflate_blob() 28 strm->avail_in = len; in zlib_inflate_blob() 29 strm->next_out = gunzip_buf; in zlib_inflate_blob() 30 strm->avail_out = sz; in zlib_inflate_blob() 32 rc = zlib_inflateInit2(strm, -MAX_WBITS); in zlib_inflate_blob() [all …]
|
D | inflate.c | 23 int zlib_inflateReset(z_streamp strm) in zlib_inflateReset() argument 27 if (strm == NULL || strm->state == NULL) return Z_STREAM_ERROR; in zlib_inflateReset() 28 state = (struct inflate_state *)strm->state; in zlib_inflateReset() 29 strm->total_in = strm->total_out = state->total = 0; in zlib_inflateReset() 30 strm->msg = NULL; in zlib_inflateReset() 31 strm->adler = 1; /* to support ill-conceived Java test suite */ in zlib_inflateReset() 49 int zlib_inflatePrime(z_streamp strm, int bits, int value) 53 if (strm == NULL || strm->state == NULL) return Z_STREAM_ERROR; 54 state = (struct inflate_state *)strm->state; 63 int zlib_inflateInit2(z_streamp strm, int windowBits) in zlib_inflateInit2() argument [all …]
|
D | inffast.c | 69 void inflate_fast(z_streamp strm, unsigned start) in inflate_fast() argument 98 state = (struct inflate_state *)strm->state; in inflate_fast() 99 in = strm->next_in - OFF; in inflate_fast() 100 last = in + (strm->avail_in - 5); in inflate_fast() 101 out = strm->next_out - OFF; in inflate_fast() 102 beg = out - (start - strm->avail_out); in inflate_fast() 103 end = out + (strm->avail_out - 257); in inflate_fast() 174 strm->msg = (char *)"invalid distance too far back"; in inflate_fast() 185 strm->msg = (char *)"invalid distance too far back"; in inflate_fast() 261 strm->msg = (char *)"invalid distance code"; in inflate_fast() [all …]
|
D | inffast.h | 11 void inflate_fast (z_streamp strm, unsigned start);
|
/lib/zlib_deflate/ |
D | deflate.c | 75 static void flush_pending (z_streamp strm); 76 static int read_buf (z_streamp strm, Byte *buf, unsigned size); 168 z_streamp strm, in zlib_deflateInit2() argument 185 if (strm == NULL) return Z_STREAM_ERROR; in zlib_deflateInit2() 187 strm->msg = NULL; in zlib_deflateInit2() 191 mem = (deflate_workspace *) strm->workspace; in zlib_deflateInit2() 203 strm->state = (struct internal_state *)s; in zlib_deflateInit2() 204 s->strm = strm; in zlib_deflateInit2() 233 return zlib_deflateReset(strm); in zlib_deflateInit2() 239 z_streamp strm, [all …]
|
D | defutil.h | 72 z_streamp strm; /* pointer back to this zlib stream */ member
|