Home
last modified time | relevance | path

Searched refs:w_size (Results 1 – 23 of 23) sorted by relevance

/external/zlib/contrib/optimizations/
Dslide_hash_neon.h13 const ush w_size) in neon_slide_hash_update() argument
25 const uint16x8_t v = vdupq_n_u16(w_size); in neon_slide_hash_update()
45 const unsigned short w_size, in neon_slide_hash() argument
59 neon_slide_hash_update(head, hash_size, w_size); in neon_slide_hash()
61 neon_slide_hash_update(prev, w_size, w_size); in neon_slide_hash()
/external/zlib/patches/
D0003-uninitializedjump.patch6 s->w_size + window_padding,
8 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
12 + zmemzero(s->prev, s->w_size * sizeof(Pos));
D0007-zero-init-deflate-window.patch30 s->w_size + window_padding,
34 + zmemzero(s->window, (s->w_size + window_padding) * (2 * sizeof(Byte)));
35 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
D0001-simd.patch650 s->w_size = 1 << s->w_bits;
651 s->w_mask = s->w_size - 1;
664 - s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
666 + s->w_size + window_padding,
668 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
841 uInt w_size; /* LZ77 window size (32K by default) */
895 + const __m128i xmm_wsize = _mm_set1_epi16(s->w_size);
900 + uInt wsize = s->w_size;
/external/rust/crates/libz-sys/src/zlib-ng/
Ddeflate.c197 unsigned int wsize = s->w_size; in slide_hash_c()
320 s->w_size = 1 << s->w_bits; in PREFIX()
321 s->w_mask = s->w_size - 1; in PREFIX()
327 …s->window = (unsigned char *) ZALLOC_WINDOW(strm, s->w_size + window_padding, 2*sizeof(unsigned ch… in PREFIX()
328 s->prev = (Pos *) ZALLOC(strm, s->w_size, sizeof(Pos)); in PREFIX()
329 memset(s->prev, 0, s->w_size * sizeof(Pos)); in PREFIX()
443 if (dictLength >= s->w_size) { in PREFIX()
450 dictionary += dictLength - s->w_size; /* use the tail */ in PREFIX()
451 dictLength = s->w_size; in PREFIX()
490 if (len > s->w_size) in PREFIX()
[all …]
Ddeflate.h127 unsigned int w_size; /* LZ77 window size (32K by default) */ member
370 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
/external/zlib/
Ddeflate.c194 return neon_slide_hash(s->head, s->prev, s->w_size, s->hash_size);
198 uInt wsize = s->w_size;
309 s->w_size = 1 << s->w_bits;
310 s->w_mask = s->w_size - 1;
322 s->w_size + window_padding,
326 zmemzero(s->window, (s->w_size + window_padding) * (2 * sizeof(Byte)));
327 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
331 zmemzero(s->prev, s->w_size * sizeof(Pos));
450 if (dictLength >= s->w_size) {
457 dictionary += dictLength - s->w_size; /* use the tail */
[all …]
Dfill_window_sse.c36 const __m128i xmm_wsize = _mm_set1_epi16(s->w_size); in fill_window_sse()
41 uInt wsize = s->w_size; in fill_window_sse()
Ddeflate.h115 uInt w_size; /* LZ77 window size (32K by default) */ member
284 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
/external/python/cpython2/Modules/zlib/
Ddeflate.c206 uInt wsize = s->w_size;
313 s->w_size = 1 << s->w_bits;
314 s->w_mask = s->w_size - 1;
321 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
322 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
400 if (dictLength >= s->w_size) {
407 dictionary += dictLength - s->w_size; /* use the tail */
408 dictLength = s->w_size;
457 if (len > s->w_size)
458 len = s->w_size;
[all …]
Ddeflate.h115 uInt w_size; /* LZ77 window size (32K by default) */ member
289 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
/external/rust/crates/libz-sys/src/zlib/
Ddeflate.c206 uInt wsize = s->w_size;
313 s->w_size = 1 << s->w_bits;
314 s->w_mask = s->w_size - 1;
321 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
322 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
400 if (dictLength >= s->w_size) {
407 dictionary += dictLength - s->w_size; /* use the tail */
408 dictLength = s->w_size;
457 if (len > s->w_size)
458 len = s->w_size;
[all …]
Ddeflate.h115 uInt w_size; /* LZ77 window size (32K by default) */ member
289 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
/external/rust/crates/libz-sys/src/zlib-ng/arch/power/
Dslide_hash_power8.c29 vw[0] = (Pos) s->w_size; in slide_hash_power8_loop()
55 n = s->w_size; in slide_hash_power8()
/external/libwebsockets/win32port/zlib/
Ddeflate.c273 s->w_size = 1 << s->w_bits;
274 s->w_mask = s->w_size - 1;
281 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
282 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
331 if (length > s->w_size) {
332 length = s->w_size;
968 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
969 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
980 zmemcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte));
981 zmemcpy(ds->prev, ss->prev, ds->w_size * sizeof(Pos));
[all …]
Ddeflate.h109 uInt w_size; /* LZ77 window size (32K by default) */ member
283 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
/external/rust/crates/libz-sys/src/zlib-ng/arch/x86/
Dslide_sse.c19 uint16_t wsize = (uint16_t)s->w_size; in slide_hash_sse2()
Dslide_avx.c20 uint16_t wsize = (uint16_t)s->w_size; in slide_hash_avx2()
/external/rust/crates/libz-sys/src/zlib-ng/arch/arm/
Dslide_neon.c47 unsigned int wsize = s->w_size; in slide_hash_neon()
/external/XNNPACK/bench/
Dqs8-gemm.cc64 const size_t w_size = kc_stride * nc_stride * sizeof(int8_t) + nc_stride * sizeof(int32_t); in GEMMBenchmark() local
67 …benchmark::utils::DivideRoundUp<size_t>(benchmark::utils::GetMaxCacheSize(), w_size + c_elements *… in GEMMBenchmark()
69 std::vector<char, AlignedAllocator<char, 32>> w(w_size * num_buffers); in GEMMBenchmark()
96 w.data() + w_size * buffer_index + n * (kc_stride * sizeof(int8_t) + sizeof(int32_t)), in GEMMBenchmark()
145 const size_t w_size = kc_stride * nc_stride * sizeof(int16_t) + nc_stride * sizeof(int32_t); in GEMMBenchmark() local
148 …benchmark::utils::DivideRoundUp<size_t>(benchmark::utils::GetMaxCacheSize(), w_size + c_elements *… in GEMMBenchmark()
150 std::vector<char, AlignedAllocator<char, 32>> w(w_size * num_buffers); in GEMMBenchmark()
177 w.data() + w_size * buffer_index + n * (kc_stride * sizeof(int16_t) + sizeof(int32_t)), in GEMMBenchmark()
/external/llvm/test/CodeGen/X86/
Dzlib-longest-match.ll42 %w_size = getelementptr inbounds %struct.internal_state, %struct.internal_state* %s, i64 0, i32 11
43 %5 = load i32, i32* %w_size, align 4
/external/llvm-project/llvm/test/CodeGen/X86/
Dzlib-longest-match.ll42 %w_size = getelementptr inbounds %struct.internal_state, %struct.internal_state* %s, i64 0, i32 11
43 %5 = load i32, i32* %w_size, align 4
/external/rust/crates/libz-sys/src/zlib-ng/test/abi/
Dzlib-v1.2.11-x86_64-linux-gnu.abi252 …<var-decl name='w_size' type-id='type-id-14' visibility='default' filepath='src.d/deflate.h' line=…