/third_party/node/deps/brotli/c/enc/ |
H A D | ringbuffer.h | 23 /* A RingBuffer(window_bits, tail_bits) contains `1 << window_bits' bytes of 25 `position() % (1 << window_bits)'. 28 buffer_[i] == buffer_[i + (1 << window_bits)], if i < (1 << tail_bits), 30 buffer_[-1] == buffer_[(1 << window_bits) - 1] and 31 buffer_[-2] == buffer_[(1 << window_bits) - 2]. */ 33 /* Size of the ring-buffer is (1 << window_bits) + tail_size_. */ 58 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) in RingBufferSetup() [all...] |
/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | ringbuffer.h | 23 /* A RingBuffer(window_bits, tail_bits) contains `1 << window_bits' bytes of 25 `position() % (1 << window_bits)'. 28 buffer_[i] == buffer_[i + (1 << window_bits)], if i < (1 << tail_bits), 30 buffer_[-1] == buffer_[(1 << window_bits) - 1] and 31 buffer_[-2] == buffer_[(1 << window_bits) - 2]. */ 33 /* Size of the ring-buffer is (1 << window_bits) + tail_size_. */ 58 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) in RingBufferSetup() [all...] |
/third_party/node/src/ |
H A D | node_zlib.cc | 145 void Init(int level, int window_bits, int mem_level, int strategy, 595 uint32_t window_bits; in Init() local 596 if (!args[0]->Uint32Value(context).To(&window_bits)) return; in Init() 629 wrap->context()->Init(level, window_bits, mem_level, strategy, in Init() 960 int level, int window_bits, int mem_level, int strategy, in Init() 962 if (!((window_bits == 0) && in Init() 967 (window_bits >= Z_MIN_WINDOWBITS && window_bits <= Z_MAX_WINDOWBITS) && in Init() 983 window_bits_ = window_bits; in Init() 959 Init( int level, int window_bits, int mem_level, int strategy, std::vector<unsigned char>&& dictionary) Init() argument
|
/third_party/skia/third_party/externals/libpng/ |
H A D | pngwrite.c | 1194 * smaller value of window_bits if it can do so safely. 1197 png_set_compression_window_bits(png_structrp png_ptr, int window_bits) in png_set_compression_window_bits() argument 1202 /* Prior to 1.6.0 this would warn but then set the window_bits value. This in png_set_compression_window_bits() 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() 1277 * smaller value of window_bits if it can do so safely. 1280 png_set_text_compression_window_bits(png_structrp png_ptr, int window_bits) in png_set_text_compression_window_bits() argument [all...] |
H A D | pngrutil.c | 377 int window_bits = 0; in png_inflate_claim() local 383 window_bits = 15; in png_inflate_claim() 406 ret = inflateReset2(&png_ptr->zstream, window_bits); in png_inflate_claim() 415 ret = inflateInit2(&png_ptr->zstream, window_bits); in png_inflate_claim() 440 #ifdef window_bits in png_inflate_claim() 441 # undef window_bits in png_inflate_claim() macro 4694 * IDAT stream has a bogus deflate header window_bits value, but this should in png_read_start_row()
|
H A D | png.h | 1518 * smaller value of window_bits if it can do so safely. 1521 int window_bits)); 1539 * smaller value of window_bits if it can do so safely. 1542 (png_structrp png_ptr, int window_bits));
|
/third_party/node/deps/brotli/c/dec/ |
H A D | decode.c | 141 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...] |
H A D | state.h | 322 uint32_t window_bits; member
|
H A D | state.c | 72 s->window_bits = 0; in BrotliDecoderStateInit()
|
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
H A D | pngfix.c | 2035 int window_bits; /* 0 if no change */ member 2169 zlib_reset(struct zlib *zlib, int window_bits) in zlib_reset() argument 2170 /* Reinitializes a zlib with a different window_bits */ in zlib_reset() 2179 zlib->window_bits = window_bits; in zlib_reset() 2196 int window_bits, png_uint_32 offset) in zlib_init() 2215 zlib->window_bits = window_bits; in zlib_init() 2301 int new_bits = zlib->window_bits; in zlib_advance() 2307 * to see if it works, but the window_bits valu in zlib_advance() 2195 zlib_init(struct zlib *zlib, struct IDAT *idat, struct chunk *chunk, int window_bits, png_uint_32 offset) zlib_init() argument [all...] |
H A D | pngcp.c | 1912 SET(windowBits, window_bits);\
|
/third_party/skia/third_party/externals/brotli/c/dec/ |
H A D | decode.c | 141 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...] |
H A D | state.h | 322 uint32_t window_bits; member
|
H A D | state.c | 72 s->window_bits = 0; in BrotliDecoderStateInit()
|
/third_party/mbedtls/library/ |
H A D | bignum_core.c | 806 /* At any given time, window contains window_bits bits from E. in mbedtls_mpi_core_exp_mod() 807 * window_bits can go up to wsize. */ in mbedtls_mpi_core_exp_mod() 808 size_t window_bits = 0; in mbedtls_mpi_core_exp_mod() local 823 ++window_bits; in mbedtls_mpi_core_exp_mod() 829 if (window_bits == wsize || in mbedtls_mpi_core_exp_mod() 839 window_bits = 0; in mbedtls_mpi_core_exp_mod()
|
/third_party/nghttp2/src/ |
H A D | nghttp.h | 84 int window_bits; member
|
H A D | HttpServer.h | 73 int window_bits; member
|
H A D | h2load.h | 96 size_t window_bits; member
|
H A D | h2load_http2_session.cc | 223 iv[1].value = (1 << config->window_bits) - 1; in on_connect()
|
H A D | nghttpd.cc | 328 config.window_bits = n; in main()
|
H A D | nghttp.cc | 110 window_bits(-1), in Config() 927 if (config.window_bits != -1) { in populate_settings() 928 iv[1].value = (1 << config.window_bits) - 1; in populate_settings() 2917 config.window_bits = n; in main()
|
H A D | HttpServer.cc | 107 window_bits(-1), in Config() 866 if (config->window_bits != -1) { in connection_made() 868 entry[niv].value = (1 << config->window_bits) - 1; in connection_made()
|
H A D | h2load.cc | 112 window_bits(30), in Config() 2158 << config.window_bits << R"( in print_help() 2441 config.window_bits = n; in main()
|
H A D | h2load_quic.cc | 422 std::min((1 << 26) - 1, (1 << config->window_bits) - 1); in quic_init()
|
/third_party/astc-encoder/Source/ |
H A D | tinyexr.h | 1086 // window_bits must be MZ_DEFAULT_WINDOW_BITS (to wrap the deflate stream with 1090 int mz_deflateInit2(mz_streamp pStream, int level, int method, int window_bits, 1146 // window_bits must be MZ_DEFAULT_WINDOW_BITS (to parse zlib header/footer) or 1148 int mz_inflateInit2(mz_streamp pStream, int window_bits); 1907 // window_bits may be -15 (raw deflate) or 15 (zlib) 1910 mz_uint tdefl_create_comp_flags_from_zip_params(int level, int window_bits, 2040 int mz_deflateInit2(mz_streamp pStream, int level, int method, int window_bits, in mz_deflateInit2() argument 2045 tdefl_create_comp_flags_from_zip_params(level, window_bits, strategy); in mz_deflateInit2() 2049 ((window_bits != MZ_DEFAULT_WINDOW_BITS) && in mz_deflateInit2() 2050 (-window_bits ! in mz_deflateInit2() 2201 mz_inflateInit2(mz_streamp pStream, int window_bits) mz_inflateInit2() argument 4461 tdefl_create_comp_flags_from_zip_params(int level, int window_bits, int strategy) tdefl_create_comp_flags_from_zip_params() argument [all...] |