Searched refs:hash_bits (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/third_party/libwebp/utils/
H A Dcolor_cache.c22 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { argument
23 const int hash_size = 1 << hash_bits;
25 assert(hash_bits > 0);
29 cc->hash_shift_ = 32 - hash_bits;
H A Dcolor_cache.h27 int hash_shift_; // Hash shift: 32 - hash_bits.
57 // Initializes the color cache with 'hash_bits' bits for the keys.
59 int VP8LColorCacheInit(VP8LColorCache* const color_cache, int hash_bits);
/external/webp/src/utils/
H A Dcolor_cache.c22 int VP8LColorCacheInit(VP8LColorCache* const cc, int hash_bits) { argument
23 const int hash_size = 1 << hash_bits;
25 assert(hash_bits > 0);
29 cc->hash_shift_ = 32 - hash_bits;
H A Dcolor_cache.h27 int hash_shift_; // Hash shift: 32 - hash_bits.
57 // Initializes the color cache with 'hash_bits' bits for the keys.
59 int VP8LColorCacheInit(VP8LColorCache* const color_cache, int hash_bits);
/external/fio/t/
H A Dgenzipf.c35 static unsigned long hash_bits = 24; variable
58 struct flist_head *l = &hash[hash_long(val, hash_bits)];
73 struct flist_head *l = &hash[hash_long(val, hash_bits)];
195 hash_bits = 0;
198 hash_bits++;
200 hash_size = 1 << hash_bits;
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stackdepot.cc49 atomic_uint32_t hash_and_use_count; // hash_bits : 12; use_count : 20;
63 u32 hash_bits = local
65 if ((hash & kHashMask) != hash_bits || args.size != size) return false;
/external/chromium_org/third_party/zlib/
H A Ddeflate.h141 uInt hash_bits; /* log2(hash_size) */ member in struct:internal_state
150 * hash_shift * MIN_MATCH >= hash_bits
H A Ddeflate.c277 s->hash_bits = memLevel + 7;
278 s->hash_size = 1 << s->hash_bits;
280 s->hash_shift = ((s->hash_bits+MIN_MATCH-1)/MIN_MATCH);
541 if (s->w_bits != 15 || s->hash_bits != 8 + 7)
1173 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1367 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Ddeflate.h141 uInt hash_bits; /* log2(hash_size) */ member in struct:internal_state
148 * hash_shift * MIN_MATCH >= hash_bits
H A Dfx_zlib_deflate.c287 s->hash_bits = memLevel + 7;
288 s->hash_size = 1 << s->hash_bits;
290 s->hash_shift = ((s->hash_bits+MIN_MATCH-1)/MIN_MATCH);
614 if (s->w_bits != 15 || s->hash_bits != 8 + 7)
1181 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1308 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
/external/qemu/distrib/zlib-1.2.8/
H A Ddeflate.h141 uInt hash_bits; /* log2(hash_size) */ member in struct:internal_state
148 * hash_shift * MIN_MATCH >= hash_bits
H A Ddeflate.c288 s->hash_bits = memLevel + 7;
289 s->hash_size = 1 << s->hash_bits;
291 s->hash_shift = ((s->hash_bits+MIN_MATCH-1)/MIN_MATCH);
615 if (s->w_bits != 15 || s->hash_bits != 8 + 7)
1182 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1309 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
/external/zlib/src/
H A Ddeflate.h141 uInt hash_bits; /* log2(hash_size) */ member in struct:internal_state
148 * hash_shift * MIN_MATCH >= hash_bits
H A Ddeflate.c288 s->hash_bits = memLevel + 7;
289 s->hash_size = 1 << s->hash_bits;
291 s->hash_shift = ((s->hash_bits+MIN_MATCH-1)/MIN_MATCH);
615 if (s->w_bits != 15 || s->hash_bits != 8 + 7)
1182 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
1309 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");

Completed in 251 milliseconds