/external/python/cpython3/Modules/clinic/ |
D | zlibmodule.c.h | 63 zlib_decompress_impl(PyObject *module, Py_buffer *data, int wbits, 73 int wbits = MAX_WBITS; in zlib_decompress() local 77 &data, &wbits, ssize_t_converter, &bufsize)) { in zlib_decompress() 80 return_value = zlib_decompress_impl(module, &data, wbits, bufsize); in zlib_decompress() 125 zlib_compressobj_impl(PyObject *module, int level, int method, int wbits, 136 int wbits = MAX_WBITS; in zlib_compressobj() local 142 &level, &method, &wbits, &memLevel, &strategy, &zdict)) { in zlib_compressobj() 145 return_value = zlib_compressobj_impl(module, level, method, wbits, memLevel, strategy, &zdict); in zlib_compressobj() 172 zlib_decompressobj_impl(PyObject *module, int wbits, PyObject *zdict); 180 int wbits = MAX_WBITS; in zlib_decompressobj() local [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_zlib.py | 173 wbits=zlib.MAX_WBITS, 250 wbits = -12 255 wbits=wbits, 259 do = zlib.decompressobj(wbits=wbits, zdict=b"") 272 wbits = -12 275 co = zlib.compressobj(level, method, wbits, memLevel, strategy) 278 dco = zlib.decompressobj(wbits) 601 co = zlib.compressobj(wbits=-zlib.MAX_WBITS, zdict=zdict) 603 dco = zlib.decompressobj(wbits=-zlib.MAX_WBITS, zdict=zdict) 776 co = zlib.compressobj(level=1, wbits=15) [all …]
|
/external/u-boot/fs/btrfs/ |
D | compression.c | 65 int wbits = MAX_WBITS, ret = -1; in decompress_zlib() local 84 wbits = -((cbuf[0] >> 4) + 8); in decompress_zlib() 89 if (Z_OK != inflateInit2(&stream, wbits)) in decompress_zlib()
|
/external/python/cpython3/Doc/library/ |
D | zlib.rst | 64 .. function:: compressobj(level=-1, method=DEFLATED, wbits=MAX_WBITS, memLevel=DEF_MEM_LEVEL, strat… 79 The *wbits* argument controls the size of the history buffer (or the 89 * −9 to −15: Uses the absolute value of *wbits* as the 135 .. function:: decompress(data, wbits=MAX_WBITS, bufsize=DEF_BUF_SIZE) 138 uncompressed data. The *wbits* parameter depends on 143 .. _decompress-wbits: 145 The *wbits* parameter controls the size of the history buffer 156 * −8 to −15: Uses the absolute value of *wbits* as the window size 169 value may result in an :exc:`error` exception. The default *wbits* value 179 *wbits* and *bufsize* can be used as keyword arguments. [all …]
|
/external/python/cpython2/Doc/library/ |
D | zlib.rst | 71 .. function:: compressobj([level[, method[, wbits[, memlevel[, strategy]]]]]) 84 The *wbits* argument controls the size of the history buffer (or the 94 * −9 to −15: Uses the absolute value of *wbits* as the 144 .. function:: decompress(string[, wbits[, bufsize]]) 147 uncompressed data. The *wbits* parameter depends on 152 .. _decompress-wbits: 154 The *wbits* parameter controls the size of the history buffer 165 * −8 to −15: Uses the absolute value of *wbits* as the window size 178 value may result in an :exc:`error` exception. The default *wbits* value 188 .. function:: decompressobj([wbits]) [all …]
|
/external/python/cpython3/Python/ |
D | ast_opt.c | 169 size_t wbits = _PyLong_NumBits(w); in safe_multiply() local 170 if (vbits == (size_t)-1 || wbits == (size_t)-1) { in safe_multiply() 173 if (vbits + wbits > MAX_INT_SIZE) { in safe_multiply() 215 size_t wbits = PyLong_AsSize_t(w); in safe_power() local 216 if (vbits == (size_t)-1 || wbits == (size_t)-1) { in safe_power() 219 if (vbits > MAX_INT_SIZE / wbits) { in safe_power() 232 size_t wbits = PyLong_AsSize_t(w); in safe_lshift() local 233 if (vbits == (size_t)-1 || wbits == (size_t)-1) { in safe_lshift() 236 if (wbits > MAX_INT_SIZE || vbits > MAX_INT_SIZE - wbits) { in safe_lshift()
|
/external/python/cpython2/Modules/zlib/ |
D | inflate.c | 184 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) { 191 state->wbits = (unsigned)windowBits; 409 ZALLOC(strm, 1U << state->wbits, 416 state->wsize = 1U << state->wbits; 665 if (state->wbits == 0) 666 state->wbits = 15; 692 if (state->wbits == 0) 693 state->wbits = len; 694 if (len > 15 || len > state->wbits) { 1482 ZALLOC(source, 1U << state->wbits, sizeof(unsigned char)); [all …]
|
D | inflate.h | 95 unsigned wbits; /* log base 2 of requested window size */ member
|
D | infback.c | 64 state->wbits = (uInt)windowBits;
|
/external/zlib/src/ |
D | inflate.c | 184 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) { 191 state->wbits = (unsigned)windowBits; 409 ZALLOC(strm, 1U << state->wbits, 416 state->wsize = 1U << state->wbits; 665 if (state->wbits == 0) 666 state->wbits = 15; 692 if (state->wbits == 0) 693 state->wbits = len; 694 if (len > 15 || len > state->wbits) { 1482 ZALLOC(source, 1U << state->wbits, sizeof(unsigned char)); [all …]
|
D | inflate.h | 95 unsigned wbits; /* log base 2 of requested window size */ member
|
D | infback.c | 64 state->wbits = (uInt)windowBits;
|
/external/freetype/src/gzip/ |
D | inflate.c | 47 uInt wbits; /* log2(window size) (8..15, defaults to 15) */ member 121 z->state->wbits = (uInt)w; in inflateInit2_() 169 if ((z->state->sub.method >> 4) + 8 > z->state->wbits) in inflate()
|
/external/python/cpython3/Modules/ |
D | zlibmodule.c | 322 zlib_decompress_impl(PyObject *module, Py_buffer *data, int wbits, in zlib_decompress_impl() argument 347 err = inflateInit2(&zst, wbits); in zlib_decompress_impl() 450 zlib_compressobj_impl(PyObject *module, int level, int method, int wbits, in zlib_compressobj_impl() argument 471 err = deflateInit2(&self->zst, level, method, wbits, memLevel, strategy); in zlib_compressobj_impl() 547 zlib_decompressobj_impl(PyObject *module, int wbits, PyObject *zdict) in zlib_decompressobj_impl() argument 571 err = inflateInit2(&self->zst, wbits); in zlib_decompressobj_impl() 575 if (self->zdict != NULL && wbits < 0) { in zlib_decompressobj_impl()
|
/external/python/cpython2/Modules/ |
D | zlibmodule.c | 385 int wbits=MAX_WBITS, memLevel=DEF_MEM_LEVEL, strategy=0, err; in PyZlib_compressobj() local 387 if (!PyArg_ParseTuple(args, "|iiiii:compressobj", &level, &method, &wbits, in PyZlib_compressobj() 398 err = deflateInit2(&self->zst, level, method, wbits, memLevel, strategy); in PyZlib_compressobj() 422 int wbits=DEF_WBITS, err; in PyZlib_decompressobj() local 424 if (!PyArg_ParseTuple(args, "|i:decompressobj", &wbits)) in PyZlib_decompressobj() 434 err = inflateInit2(&self->zst, wbits); in PyZlib_decompressobj()
|
/external/libaom/libaom/av1/common/ |
D | reconinter.h | 196 const int wbits = wedge_params_lookup[sb_type].bits; in get_interinter_wedge_bits() local 197 return (wbits > 0) ? wbits + 1 : 0; in get_interinter_wedge_bits()
|
D | reconinter.c | 494 const int wbits = wedge_params.bits; in init_wedge_signs() local 495 const int wtypes = 1 << wbits; in init_wedge_signs() 497 if (wbits) { in init_wedge_signs() 530 const int wbits = wedge_params->bits; in init_wedge_masks() local 531 const int wtypes = 1 << wbits; in init_wedge_masks() 533 if (wbits == 0) continue; in init_wedge_masks()
|
/external/u-boot/lib/zlib/ |
D | inflate.h | 88 unsigned wbits; /* log base 2 of requested window size */ member
|
D | inflate.c | 68 state->wbits = (unsigned)windowBits; in inflateInit2_() 110 ZALLOC(strm, 1U << state->wbits, in updatewindow() 117 state->wsize = 1U << state->wbits; in updatewindow() 394 if (len > state->wbits) { in inflate()
|
/external/python/cpython2/Lib/test/ |
D | test_zlib.py | 231 wbits = -12 234 co = zlib.compressobj(level, method, wbits, memlevel, strategy) 237 dco = zlib.decompressobj(wbits)
|
/external/python/cpython3/Lib/ |
D | gzip.py | 380 wbits=-zlib.MAX_WBITS)
|
/external/scapy/scapy/ |
D | fields.py | 1394 wbits= self.wordbytes * 8 1395 return ((pfxlen + (wbits - 1)) // wbits) * self.wordbytes
|