Lines Matching defs:value
145 int ret; // the return value from zlib, or Z_ERRNO
250 // Append the low bits bits of value to in[] at bit position *have, updating
251 // *have. value must be zero above its low bits bits. bits must be positive.
255 static inline void append_bits(unsigned value, int bits,
257 in += *have >> 3; // where the first bits from value will go
261 *in |= value << k; // write value above the low k bits
263 *in = value;
266 value >>= k; // drop the bits appended
269 *++in = value;
274 // low bits bits of value, in order to bring the sequence to a byte boundary.
276 // a negative value of bits is not supported. bits must be in 0..16. If the
278 // value from inflate() is returned.
279 static int inflatePreface(z_stream *strm, int bits, int value)
286 value &= (2 << (bits - 1)) - 1;
296 // length, and that ends with the low bits bits of value.
301 // when bits bits from value are appended, we are at an even number of
311 // Append the bits bits from value, which takes us to a byte boundary.
312 append_bits(value, bits, in, &have);
317 // input from value after the empty deflate blocks (which themselves
320 // be ingested in order to get ten bits, which is the most that value can