Home
last modified time | relevance | path

Searched refs:hashMask (Results 1 – 12 of 12) sorted by relevance

/external/skia/bench/
DFontCacheBench.cpp81 unsigned hashMask) { in count_collisions() argument
87 int index = proc(array[i]) & hashMask; in count_collisions()
121 int hashMask = ((1 << hashBits) - 1); in onDraw() local
129 collisions += count_collisions(array, count, gRec[i].fHasher, hashMask); in onDraw()
/external/skqp/bench/
DFontCacheBench.cpp81 unsigned hashMask) { in count_collisions() argument
87 int index = proc(array[i]) & hashMask; in count_collisions()
121 int hashMask = ((1 << hashBits) - 1); in onDraw() local
129 collisions += count_collisions(array, count, gRec[i].fHasher, hashMask); in onDraw()
/external/lzma/C/
DLzHash.h20 hv = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; }
27 hv = (temp ^ (p->crc[cur[3]] << 5)) & p->hashMask; }
36 hv = (temp ^ (p->crc[cur[4]] << 3)) & p->hashMask; }
DLzFindMt.c140 UInt32 *hash, UInt32 hashMask, UInt32 *heads, UInt32 numHeads, const UInt32 *crc) \
146 DEF_GetHeads2(2, (p[0] | ((UInt32)p[1] << 8)), UNUSED_VAR(hashMask); UNUSED_VAR(crc); )
147 DEF_GetHeads(3, (crc[p[0]] ^ p[1] ^ ((UInt32)p[2] << 8)) & hashMask)
148 DEF_GetHeads(4, (crc[p[0]] ^ p[1] ^ ((UInt32)p[2] << 8) ^ (crc[p[3]] << 5)) & hashMask)
149 DEF_GetHeads(4b, (crc[p[0]] ^ p[1] ^ ((UInt32)p[2] << 8) ^ ((UInt32)p[3] << 16)) & hashMask)
200 MatchFinder_Normalize3(subValue, mf->hash + mf->fixedHashSize, (size_t)mf->hashMask + 1); in HashThreadFunc()
212 …mt->GetHeadsFunc(mf->buffer, mf->pos, mf->hash + mf->fixedHashSize, mf->hashMask, heads + 2, num, … in HashThreadFunc()
DLzFindMt.h45 UInt32 *hash, UInt32 hashMask, UInt32 *heads, UInt32 numHeads, const UInt32 *crc);
DLzFind.h32 UInt32 hashMask; member
DLzFind.c232 p->hashMask = hs; in MatchFinder_Create()
315 size_t numItems = (size_t)p->hashMask + 1; in MatchFinder_Init_HighHash()
DLzmaEnc.c2599 (p->dictSize > kBigHashDicLimit && p->matchFinderBase.hashMask >= 0xFFFFFF) ? 1 : 0); in LzmaEnc_Alloc()
/external/brotli/research/
Dsieve.cc145 TextIdx hashMask = (1u << hashLen) - 1u; in sieve_generate() local
154 hash = (((hash << lShift) | (hash >> rShift)) & hashMask) ^ v; in sieve_generate()
160 hash = (((hash << lShift) | (hash >> rShift)) & hashMask) ^ v; in sieve_generate()
193 hash ^= ((v << lShiftX) | (v >> rShiftX)) & hashMask; in sieve_generate()
Ddurchschlag.cc283 TextIdx hashMask = (1u << hashLen) - 1u; in durchschlag_prepare() local
290 hash = (((hash << lShift) | (hash >> rShift)) & hashMask) ^ v; in durchschlag_prepare()
302 TextIdx bucket = (((hash << lShift) | (hash >> rShift)) & hashMask) ^ v; in durchschlag_prepare()
304 hash = bucket ^ (((v << lShiftX) | (v >> rShiftX)) & hashMask); in durchschlag_prepare()
/external/skqp/src/core/
DSkTDynamicHash.h277 uint32_t hashMask() const { return fCapacity - 1; } in hashMask() function
280 return Hash(key) & this->hashMask(); in firstIndex()
286 return (index + round + 1) & this->hashMask(); in nextIndex()
/external/skia/src/core/
DSkTDynamicHash.h277 uint32_t hashMask() const { return fCapacity - 1; } in hashMask() function
280 return Hash(key) & this->hashMask(); in firstIndex()
286 return (index + round + 1) & this->hashMask(); in nextIndex()