Home
last modified time | relevance | path

Searched refs:window_bits (Results 1 – 25 of 42) sorted by relevance

12

/third_party/boost/boost/iostreams/filter/
Dzlib.hpp120 : level(level_), method(method_), window_bits(window_bits_), in zlib_params()
126 int window_bits; member
246 zlib_decompressor_impl(int window_bits = zlib::default_window_bits);
297 basic_zlib_decompressor( int window_bits = zlib::default_window_bits,
376 zlib_decompressor_impl<Alloc>::zlib_decompressor_impl(int window_bits) in zlib_decompressor_impl() argument
379 p.window_bits = window_bits; in zlib_decompressor_impl()
414 (int window_bits, std::streamsize buffer_size) in basic_zlib_decompressor() argument
415 : base_type(buffer_size, window_bits) { } in basic_zlib_decompressor()
Dgzip.hpp143 int window_bits = gzip::default_window_bits, in gzip_params()
149 : zlib_params(level, method, window_bits, mem_level, strategy), in gzip_params()
413 basic_gzip_decompressor( int window_bits = gzip::default_window_bits,
563 static gzip_params make_params(int window_bits);
734 (int window_bits, std::streamsize buffer_size) in basic_gzip_decompressor() argument
735 : base_type(make_params(window_bits), buffer_size), in basic_gzip_decompressor()
740 gzip_params basic_gzip_decompressor<Alloc>::make_params(int window_bits) in make_params() argument
743 p.window_bits = window_bits; in make_params()
/third_party/boost/libs/iostreams/src/
Dzlib.cpp171 int window_bits = p.noheader? -p.window_bits : p.window_bits; in do_init() local
177 window_bits, in do_init()
180 inflateInit2(s, window_bits) in do_init()
/third_party/flutter/skia/third_party/externals/wuffs/test/c/mimiclib/
Ddeflate-gzip-zlib.c156 int window_bits = 0; in mimic_deflate_gzip_zlib_decode() local
159 window_bits = -15; in mimic_deflate_gzip_zlib_decode()
162 window_bits = +15 | 16; in mimic_deflate_gzip_zlib_decode()
165 window_bits = +15; in mimic_deflate_gzip_zlib_decode()
172 int ii2_err = inflateInit2(&z, window_bits); in mimic_deflate_gzip_zlib_decode()
/third_party/skia/third_party/externals/brotli/c/enc/
Dringbuffer.h58 int window_bits = ComputeRbBits(params); in RingBufferSetup() local
60 *(uint32_t*)&rb->size_ = 1u << window_bits; in RingBufferSetup()
61 *(uint32_t*)&rb->mask_ = (1u << window_bits) - 1; in RingBufferSetup()
/third_party/node/deps/brotli/c/enc/
Dringbuffer.h58 int window_bits = ComputeRbBits(params); in RingBufferSetup() local
60 *(uint32_t*)&rb->size_ = 1u << window_bits; in RingBufferSetup()
61 *(uint32_t*)&rb->mask_ = (1u << window_bits) - 1; in RingBufferSetup()
/third_party/libpng/
Dpngwrite.c1197 png_set_compression_window_bits(png_structrp png_ptr, int window_bits) in png_set_compression_window_bits() argument
1208 if (window_bits > 15) in png_set_compression_window_bits()
1211 window_bits = 15; in png_set_compression_window_bits()
1214 else if (window_bits < 8) in png_set_compression_window_bits()
1217 window_bits = 8; in png_set_compression_window_bits()
1220 png_ptr->zlib_window_bits = window_bits; in png_set_compression_window_bits()
1280 png_set_text_compression_window_bits(png_structrp png_ptr, int window_bits) in png_set_text_compression_window_bits() argument
1285 if (window_bits > 15) in png_set_text_compression_window_bits()
1288 window_bits = 15; in png_set_text_compression_window_bits()
1291 else if (window_bits < 8) in png_set_text_compression_window_bits()
[all …]
/third_party/skia/third_party/externals/libpng/
Dpngwrite.c1197 png_set_compression_window_bits(png_structrp png_ptr, int window_bits) in png_set_compression_window_bits() argument
1208 if (window_bits > 15) in png_set_compression_window_bits()
1211 window_bits = 15; in png_set_compression_window_bits()
1214 else if (window_bits < 8) in png_set_compression_window_bits()
1217 window_bits = 8; in png_set_compression_window_bits()
1220 png_ptr->zlib_window_bits = window_bits; in png_set_compression_window_bits()
1280 png_set_text_compression_window_bits(png_structrp png_ptr, int window_bits) in png_set_text_compression_window_bits() argument
1285 if (window_bits > 15) in png_set_text_compression_window_bits()
1288 window_bits = 15; in png_set_text_compression_window_bits()
1291 else if (window_bits < 8) in png_set_text_compression_window_bits()
[all …]
/third_party/flutter/skia/third_party/externals/libpng/
Dpngwrite.c1197 png_set_compression_window_bits(png_structrp png_ptr, int window_bits) in png_set_compression_window_bits() argument
1208 if (window_bits > 15) in png_set_compression_window_bits()
1211 window_bits = 15; in png_set_compression_window_bits()
1214 else if (window_bits < 8) in png_set_compression_window_bits()
1217 window_bits = 8; in png_set_compression_window_bits()
1220 png_ptr->zlib_window_bits = window_bits; in png_set_compression_window_bits()
1280 png_set_text_compression_window_bits(png_structrp png_ptr, int window_bits) in png_set_text_compression_window_bits() argument
1285 if (window_bits > 15) in png_set_text_compression_window_bits()
1288 window_bits = 15; in png_set_text_compression_window_bits()
1291 else if (window_bits < 8) in png_set_text_compression_window_bits()
[all …]
Dpngrutil.c378 int window_bits = 0; in png_inflate_claim() local
384 window_bits = 15; in png_inflate_claim()
407 ret = inflateReset2(&png_ptr->zstream, window_bits); in png_inflate_claim()
416 ret = inflateInit2(&png_ptr->zstream, window_bits); in png_inflate_claim()
441 #ifdef window_bits in png_inflate_claim()
442 # undef window_bits in png_inflate_claim()
/third_party/node/src/
Dnode_zlib.cc144 void Init(int level, int window_bits, int mem_level, int strategy,
588 uint32_t window_bits; in Init() local
589 if (!args[0]->Uint32Value(context).To(&window_bits)) return; in Init()
623 wrap->context()->Init(level, window_bits, mem_level, strategy, in Init()
953 int level, int window_bits, int mem_level, int strategy, in Init() argument
955 if (!((window_bits == 0) && in Init()
960 (window_bits >= Z_MIN_WINDOWBITS && window_bits <= Z_MAX_WINDOWBITS) && in Init()
976 window_bits_ = window_bits; in Init()
/third_party/node/deps/brotli/c/dec/
Ddecode.c141 s->window_bits = 16; in DecodeWindowBits()
146 s->window_bits = 17 + n; in DecodeWindowBits()
163 s->window_bits = 8 + n; in DecodeWindowBits()
166 s->window_bits = 17; in DecodeWindowBits()
1296 if (s->ringbuffer_size == (1 << s->window_bits) || force) { in WriteRingBuffer()
1303 if (s->ringbuffer_size == (1 << s->window_bits) && in WriteRingBuffer()
1378 if (s->pos < 1 << s->window_bits) { in CopyUncompressedBlockToOutput()
1395 if (s->ringbuffer_size == 1 << s->window_bits) { in CopyUncompressedBlockToOutput()
1414 int window_size = 1 << s->window_bits; in BrotliCalculateRingBufferSize()
2187 if (!BrotliSafeReadBits(br, 6, &s->window_bits)) { in BrotliDecoderDecompressStream()
[all …]
Dstate.h322 uint32_t window_bits; member
Dstate.c72 s->window_bits = 0; in BrotliDecoderStateInit()
/third_party/flutter/skia/third_party/externals/libpng/contrib/tools/
Dpngfix.c2035 int window_bits; /* 0 if no change */ member
2169 zlib_reset(struct zlib *zlib, int window_bits) in zlib_reset() argument
2179 zlib->window_bits = window_bits; in zlib_reset()
2196 int window_bits, png_uint_32 offset) in zlib_init() argument
2215 zlib->window_bits = window_bits; in zlib_init()
2301 int new_bits = zlib->window_bits; in zlib_advance()
2311 zlib->window_bits = ((file_bits > 15) ? 15 : file_bits); in zlib_advance()
2334 if (zlib->file_bits == zlib->window_bits) in zlib_advance()
2454 if (endrc == ZLIB_STREAM_END && zlib->window_bits < zlib->ok_bits) in zlib_advance()
2465 if (zlib->window_bits != zlib->file_bits || zlib->cksum) in zlib_advance()
[all …]
/third_party/skia/third_party/externals/libpng/contrib/tools/
Dpngfix.c2035 int window_bits; /* 0 if no change */ member
2169 zlib_reset(struct zlib *zlib, int window_bits) in zlib_reset() argument
2179 zlib->window_bits = window_bits; in zlib_reset()
2196 int window_bits, png_uint_32 offset) in zlib_init() argument
2215 zlib->window_bits = window_bits; in zlib_init()
2301 int new_bits = zlib->window_bits; in zlib_advance()
2311 zlib->window_bits = ((file_bits > 15) ? 15 : file_bits); in zlib_advance()
2334 if (zlib->file_bits == zlib->window_bits) in zlib_advance()
2454 if (endrc == ZLIB_STREAM_END && zlib->window_bits < zlib->ok_bits) in zlib_advance()
2465 if (zlib->window_bits != zlib->file_bits || zlib->cksum) in zlib_advance()
[all …]
/third_party/skia/third_party/externals/brotli/c/dec/
Ddecode.c141 s->window_bits = 16; in DecodeWindowBits()
146 s->window_bits = 17 + n; in DecodeWindowBits()
163 s->window_bits = 8 + n; in DecodeWindowBits()
166 s->window_bits = 17; in DecodeWindowBits()
1296 if (s->ringbuffer_size == (1 << s->window_bits) || force) { in WriteRingBuffer()
1303 if (s->ringbuffer_size == (1 << s->window_bits) && in WriteRingBuffer()
1378 if (s->pos < 1 << s->window_bits) { in CopyUncompressedBlockToOutput()
1395 if (s->ringbuffer_size == 1 << s->window_bits) { in CopyUncompressedBlockToOutput()
1414 int window_size = 1 << s->window_bits; in BrotliCalculateRingBufferSize()
2187 if (!BrotliSafeReadBits(br, 6, &s->window_bits)) { in BrotliDecoderDecompressStream()
[all …]
Dstate.h322 uint32_t window_bits; member
Dstate.c72 s->window_bits = 0; in BrotliDecoderStateInit()
/third_party/libpng/contrib/tools/
Dpngfix.c2035 int window_bits; /* 0 if no change */ member
2169 zlib_reset(struct zlib *zlib, int window_bits) in zlib_reset() argument
2179 zlib->window_bits = window_bits; in zlib_reset()
2196 int window_bits, png_uint_32 offset) in zlib_init() argument
2215 zlib->window_bits = window_bits; in zlib_init()
2301 int new_bits = zlib->window_bits; in zlib_advance()
2311 zlib->window_bits = ((file_bits > 15) ? 15 : file_bits); in zlib_advance()
2334 if (zlib->file_bits == zlib->window_bits) in zlib_advance()
2454 if (endrc == ZLIB_STREAM_END && zlib->window_bits < zlib->ok_bits) in zlib_advance()
2465 if (zlib->window_bits != zlib->file_bits || zlib->cksum) in zlib_advance()
[all …]
/third_party/nghttp2/src/
DHttpServer.h73 int window_bits; member
Dnghttp.h84 int window_bits; member
Dh2load.h83 size_t window_bits; member
Dnghttpd.cc320 config.window_bits = n; in main()
Dh2load_http2_session.cc243 iv[1].value = (1 << config->window_bits) - 1; in on_connect()

12