Searched refs:hashMask (Results 1 – 12 of 12) sorted by relevance
/external/skia/bench/ |
D | FontCacheBench.cpp | 81 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/ |
D | FontCacheBench.cpp | 81 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/ |
D | LzHash.h | 20 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; }
|
D | LzFindMt.c | 140 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()
|
D | LzFindMt.h | 45 UInt32 *hash, UInt32 hashMask, UInt32 *heads, UInt32 numHeads, const UInt32 *crc);
|
D | LzFind.h | 32 UInt32 hashMask; member
|
D | LzFind.c | 232 p->hashMask = hs; in MatchFinder_Create() 315 size_t numItems = (size_t)p->hashMask + 1; in MatchFinder_Init_HighHash()
|
D | LzmaEnc.c | 2599 (p->dictSize > kBigHashDicLimit && p->matchFinderBase.hashMask >= 0xFFFFFF) ? 1 : 0); in LzmaEnc_Alloc()
|
/external/brotli/research/ |
D | sieve.cc | 145 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()
|
D | durchschlag.cc | 283 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/ |
D | SkTDynamicHash.h | 277 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/ |
D | SkTDynamicHash.h | 277 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()
|