Searched refs:hashval (Results 1 – 1 of 1) sorted by relevance
1573 static void updateHashChain(Hash* hash, size_t wpos, unsigned hashval, unsigned short numzeros) { in updateHashChain() argument1574 hash->val[wpos] = (int)hashval; in updateHashChain()1575 if(hash->head[hashval] != -1) hash->chain[wpos] = hash->head[hashval]; in updateHashChain()1576 hash->head[hashval] = (int)wpos; in updateHashChain()1608 unsigned hashval; in encodeLZ77() local1623 hashval = getHash(in, insize, pos); in encodeLZ77()1625 if(usezeros && hashval == 0) { in encodeLZ77()1632 updateHashChain(hash, wpos, hashval, numzeros); in encodeLZ77()1686 if(hash->val[hashpos] != (int)hashval) break; in encodeLZ77()1706 …hash->head[hashval] = -1; /*the same hashchain update will be done, this ensures no wrong alterati… in encodeLZ77()[all …]