OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:windowBits
(Results
1 - 6
of
6
) sorted by null
/libcore/luni/src/main/native/
java_util_zip_Deflater.cpp
50
* See zlib.h for documentation of the deflateInit2
windowBits
and memLevel parameters.
53
* (1 << (
windowBits
+2)) + (1 << (memLevel+9))
54
* that is: 128K for
windowBits
=15 + 128K for memLevel = 8 (default values)
57
int
windowBits
= noHeader ? -DEF_WBITS : DEF_WBITS;
59
int err = deflateInit2(&jstream->stream, level, Z_DEFLATED,
windowBits
, memLevel, strategy);
/bootable/recovery/applypatch/
imgpatch.c
121
int
windowBits
= Read4(deflate_header+48);
208
ret = deflateInit2(&strm, level, method,
windowBits
, memLevel, strategy);
imgdiff.c
80
*
windowBits
(4)
94
*
windowBits
(4)
157
int level, method,
windowBits
, memLevel, strategy;
534
chunk->level, chunk->method, chunk->
windowBits
,
545
ret = deflateInit2(&strm, chunk->level, chunk->method, chunk->
windowBits
,
570
* we started with. Sets the level, method,
windowBits
, memLevel, and
586
chunk->
windowBits
= -15; // 32kb window; negative to indicate a raw stream.
[
all
...]
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
WebSocketDeflateFramer.cpp
85
int
windowBits
= 15;
88
windowBits
= parameter->value.toInt();
89
if (
windowBits
< 8 ||
windowBits
> 15) {
112
m_framer->enableDeflate(
windowBits
, mode);
162
void WebSocketDeflateFramer::enableDeflate(int
windowBits
, WebSocketDeflater::ContextTakeOverMode mode)
164
m_deflater = WebSocketDeflater::create(
windowBits
, mode);
WebSocketPerMessageDeflate.cpp
87
int
windowBits
= 15;
108
windowBits
= clientMaxWindowBits->value.toIntStrict(&ok);
109
if (!ok ||
windowBits
< 8 ||
windowBits
> 15 || clientMaxWindowBits->value[0] == '+' || clientMaxWindowBits->value[0] == '0') {
141
m_compress.enable(
windowBits
, mode);
158
void WebSocketPerMessageDeflate::enable(int
windowBits
, WebSocketDeflater::ContextTakeOverMode mode)
160
m_deflater = WebSocketDeflater::create(
windowBits
, mode);
/external/libpng/
pngwutil.c
245
* deflate header) to correct the
windowBits
value to match the actual data
256
if (data_size <= 16384) /* else
windowBits
must be 15 */
330
int
windowBits
= png_ptr->zlib_window_bits;
352
windowBits
= png_ptr->zlib_text_window_bits;
365
/* Adjust '
windowBits
' down if larger than 'data_size'; to stop this
369
* next
windowBits
size we need to fix up the value later. (Because even
379
unsigned int half_window_size = 1U << (
windowBits
-1);
384
--
windowBits
;
392
png_ptr->zlib_set_window_bits !=
windowBits
||
418
ret = deflateInit2(&png_ptr->zstream, level, method,
windowBits
,
[
all
...]
Completed in 1010 milliseconds