Lines Matching refs:cur
15 #define HASH2_CALC hashValue = cur[0] | ((UInt32)cur[1] << 8);
18 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
20 hashValue = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; }
23 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
25 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); \
26 hashValue = (temp ^ ((UInt32)cur[2] << 8) ^ (p->crc[cur[3]] << 5)) & p->hashMask; }
29 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
31 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); \
32 hash4Value = (temp ^ ((UInt32)cur[2] << 8) ^ (p->crc[cur[3]] << 5)); \
33 hashValue = (hash4Value ^ (p->crc[cur[4]] << 3)) & p->hashMask; \
37 #define HASH_ZIP_CALC hashValue = ((cur[2] | ((UInt32)cur[0] << 8)) ^ p->crc[cur[1]]) & 0xFFFF;
41 hash2Value = (p->crc[cur[0]] ^ cur[1]) & (kHash2Size - 1);
44 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
46 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); }
49 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
51 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); \
52 hash4Value = (temp ^ ((UInt32)cur[2] << 8) ^ (p->crc[cur[3]] << 5)) & (kHash4Size - 1); }