Home
last modified time | relevance | path

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

/external/skia/bench/
DFontCacheBench.cpp79 unsigned hashMask) { in count_collisions() argument
85 int index = proc(array[i]) & hashMask; in count_collisions()
119 int hashMask = ((1 << hashBits) - 1); in onDraw() local
127 collisions += count_collisions(array, count, gRec[i].fHasher, hashMask); in onDraw()
/external/lzma/C/
DLzHash.h20 hashValue = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; }
26 hashValue = (temp ^ ((UInt32)cur[2] << 8) ^ (p->crc[cur[3]] << 5)) & p->hashMask; }
33 hashValue = (hash4Value ^ (p->crc[cur[4]] << 3)) & p->hashMask; \
DLzFindMt.c138 UInt32 *hash, UInt32 hashMask, UInt32 *heads, UInt32 numHeads, const UInt32 *crc) \
144 DEF_GetHeads2(2, (p[0] | ((UInt32)p[1] << 8)), hashMask = hashMask; crc = crc; )
145 DEF_GetHeads(3, (crc[p[0]] ^ p[1] ^ ((UInt32)p[2] << 8)) & hashMask)
146 DEF_GetHeads(4, (crc[p[0]] ^ p[1] ^ ((UInt32)p[2] << 8) ^ (crc[p[3]] << 5)) & hashMask)
147 DEF_GetHeads(4b, (crc[p[0]] ^ p[1] ^ ((UInt32)p[2] << 8) ^ ((UInt32)p[3] << 16)) & hashMask)
195 MatchFinder_Normalize3(subValue, mf->hash + mf->fixedHashSize, mf->hashMask + 1); in HashThreadFunc()
207 …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.h27 UInt32 hashMask; member
DLzFind.c217 p->hashMask = hs; in MatchFinder_Create()
/external/skia/src/core/
DSkTDynamicHash.h268 uint32_t hashMask() const { return fCapacity - 1; } in hashMask() function
271 return Hash(key) & this->hashMask(); in firstIndex()
277 return (index + round + 1) & this->hashMask(); in nextIndex()