/external/chromium_org/net/websockets/ |
H A D | websocket_deflater.cc | 28 bool WebSocketDeflater::Initialize(int window_bits) { argument 32 DCHECK_LE(8, window_bits); 33 DCHECK_GE(15, window_bits); 38 -window_bits, // Negative value for raw deflate
|
H A D | websocket_deflater.h | 38 // |window_bits| must be between 8 and 15 (both inclusive). 39 bool Initialize(int window_bits);
|
H A D | websocket_inflater.cc | 47 bool WebSocketInflater::Initialize(int window_bits) { argument 48 DCHECK_LE(8, window_bits); 49 DCHECK_GE(15, window_bits); 52 int result = inflateInit2(stream_.get(), -window_bits);
|
H A D | websocket_inflater.h | 33 // |window_bits| must be between 8 and 15 (both inclusive). 36 bool Initialize(int window_bits);
|
H A D | websocket_deflate_stream_test.cc | 224 int window_bits) { 230 window_bits, 265 void SetUpWithWindowBits(int window_bits) { argument 266 Initialize(WebSocketDeflater::TAKE_OVER_CONTEXT, window_bits); 1328 // The same input with window_bits=10 returns smaller output. 223 Initialize(WebSocketDeflater::ContextTakeOverMode mode, int window_bits) argument
|
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
H A D | ringbuffer.h | 20 // A RingBuffer(window_bits, tail_bits) contains `1 << window_bits' bytes of 22 // `position() % (1 << window_bits)'. For convenience, the RingBuffer array 24 // buffer_[i] == buffer_[i + (1 << window_bits)] if i < (1 << tail_bits). 27 RingBuffer(int window_bits, int tail_bits) argument 28 : window_bits_(window_bits), tail_bits_(tail_bits), pos_(0) { 78 // Size of the ringbuffer is (1 << window_bits) + (1 << tail_bits).
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/ |
H A D | util.py | 228 def __init__(self, window_bits): 232 zlib.Z_DEFAULT_COMPRESSION, zlib.DEFLATED, -window_bits) 257 def __init__(self, window_bits): 259 self._window_bits = window_bits 327 def __init__(self, window_bits, no_context_takeover): 329 if window_bits is None: 330 window_bits = zlib.MAX_WBITS 331 self._window_bits = window_bits 362 def __init__(self, window_bits=zlib.MAX_WBITS): 363 self._inflater = _Inflater(window_bits) [all...] |
H A D | extensions.py | 182 window_bits = None 184 window_bits = self._request.get_parameter_value( 187 window_bits = _parse_window_bits(window_bits) 199 window_bits, no_context_takeover) 216 'request: window_bits=%s; no_context_takeover=%r, ' 219 window_bits,
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
H A D | util.py | 229 def __init__(self, window_bits): 233 zlib.Z_DEFAULT_COMPRESSION, zlib.DEFLATED, -window_bits) 314 def __init__(self, window_bits, no_context_takeover): 316 if window_bits is None: 317 window_bits = zlib.MAX_WBITS 318 self._window_bits = window_bits
|
H A D | extensions.py | 139 window_bits = self._request.get_parameter_value( 148 if window_bits is not None: 150 window_bits = int(window_bits) 153 if window_bits < 8 or window_bits > 15: 157 window_bits, no_context_takeover) 174 'request: window_bits=%s; no_context_takeover=%r, ' 177 window_bits,
|
/external/libpng/ |
H A D | pngwrite.c | 1395 * smaller value of window_bits if it can do so safely. 1398 png_set_compression_window_bits(png_structrp png_ptr, int window_bits) argument 1403 /* Prior to 1.6.0 this would warn but then set the window_bits value, this 1409 if (window_bits > 15) 1412 window_bits = 15; 1415 else if (window_bits < 8) 1418 window_bits = 8; 1421 png_ptr->zlib_window_bits = window_bits; 1477 * smaller value of window_bits if it can do so safely. 1480 png_set_text_compression_window_bits(png_structrp png_ptr, int window_bits) argument [all...] |
H A D | pngrutil.c | 398 int window_bits; local 402 window_bits = 15; 405 window_bits = 0; 407 # define window_bits 0 macro 424 ret = inflateReset2(&png_ptr->zstream, window_bits); 433 ret = inflateInit2(&png_ptr->zstream, window_bits); 449 # ifdef window_bits 450 # undef window_bits macro 4526 * IDAT stream has a bogus deflate header window_bits value, but this should
|
H A D | png.h | 1668 * smaller value of window_bits if it can do so safely. 1671 int window_bits)); 1689 * smaller value of window_bits if it can do so safely. 1692 (png_structrp png_ptr, int window_bits));
|
/external/libpng/contrib/tools/ |
H A D | pngfix.c | 2030 int window_bits; /* 0 if no change */ member in struct:zlib 2164 zlib_reset(struct zlib *zlib, int window_bits) argument 2165 /* Reinitializes a zlib with a different window_bits */ 2174 zlib->window_bits = window_bits; 2191 int window_bits, png_uint_32 offset) 2210 zlib->window_bits = window_bits; 2296 int new_bits = zlib->window_bits; 2304 zlib->window_bits 2190 zlib_init(struct zlib *zlib, struct IDAT *idat, struct chunk *chunk, int window_bits, png_uint_32 offset) argument [all...] |
/external/chromium_org/third_party/libpng/ |
H A D | pngwrite.c | 1452 png_set_compression_window_bits(png_structp png_ptr, int window_bits) argument 1456 if (window_bits > 15) 1458 else if (window_bits < 8) 1462 if (window_bits == 8) 1465 window_bits = 9; 1469 png_ptr->zlib_window_bits = window_bits;
|
H A D | png.h | 2017 PNGARG((png_structp png_ptr, int window_bits));
|
/external/qemu/distrib/libpng-1.2.46/ |
H A D | pngwrite.c | 1452 png_set_compression_window_bits(png_structp png_ptr, int window_bits) argument 1456 if (window_bits > 15) 1458 else if (window_bits < 8) 1462 if (window_bits == 8) 1465 window_bits = 9; 1469 png_ptr->zlib_window_bits = window_bits;
|
H A D | png.h | 2081 PNGARG((png_structp png_ptr, int window_bits));
|
/external/chromium_org/third_party/brotli/src/brotli/dec/ |
H A D | decode.c | 672 int window_bits = 0; local 702 window_bits = DecodeWindowBits(&br); 703 max_backward_distance = (1 << window_bits) - 16; 705 ringbuffer_size = 1 << window_bits;
|