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

/external/lzma/C/
H A 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; \
H A DLzFindMt.h47 UInt32 *hash, UInt32 hashMask, UInt32 *heads, UInt32 numHeads, const UInt32 *crc);
H A DLzFind.h29 UInt32 hashMask; member in struct:_CMatchFinder
H A DLzFindMt.c136 UInt32 *hash, UInt32 hashMask, UInt32 *heads, UInt32 numHeads, const UInt32 *crc) \
142 DEF_GetHeads2(2, (p[0] | ((UInt32)p[1] << 8)), hashMask = hashMask; crc = crc; )
143 DEF_GetHeads(3, (crc[p[0]] ^ p[1] ^ ((UInt32)p[2] << 8)) & hashMask)
144 DEF_GetHeads(4, (crc[p[0]] ^ p[1] ^ ((UInt32)p[2] << 8) ^ (crc[p[3]] << 5)) & hashMask)
145 DEF_GetHeads(4b, (crc[p[0]] ^ p[1] ^ ((UInt32)p[2] << 8) ^ ((UInt32)p[3] << 16)) & hashMask)
146 /* DEF_GetHeads(5, (crc[p[0]] ^ p[1] ^ ((UInt32)p[2] << 8) ^ (crc[p[3]] << 5) ^ (crc[p[4]] << 3)) & hashMask) */
193 MatchFinder_Normalize3(subValue, mf->hash + mf->fixedHashSize, mf->hashMask + 1);
205 mt->GetHeadsFunc(mf->buffer, mf->pos, mf->hash + mf->fixedHashSize, mf->hashMask, heads + 2, num, mf->crc);
H A DLzFind.c215 p->hashMask = hs;
/external/skia/bench/
H A DFontCacheBench.cpp79 unsigned hashMask) {
85 int index = proc(array[i]) & hashMask;
119 int hashMask = ((1 << hashBits) - 1); variable
127 collisions += count_collisions(array, count, gRec[i].fHasher, hashMask);
78 count_collisions(const uint16_t array[], int count, HasherProc proc, unsigned hashMask) argument
/external/skia/src/core/
H A DSkTDynamicHash.h268 uint32_t hashMask() const { return fCapacity - 1; } function in class:SkTDynamicHash
271 return Hash(key) & this->hashMask();
277 return (index + round + 1) & this->hashMask();

Completed in 824 milliseconds