Searched refs:hashval (Results 1 – 1 of 1) sorted by relevance
1662 static void updateHashChain(Hash * hash, size_t wpos, unsigned hashval, unsigned short numzeros) in updateHashChain() argument1664 hash->val[wpos] = (int)hashval; in updateHashChain()1665 if(hash->head[hashval] != -1) hash->chain[wpos] = hash->head[hashval]; in updateHashChain()1666 hash->head[hashval] = (int)wpos; in updateHashChain()1699 unsigned hashval; in encodeLZ77() local1714 hashval = getHash(in, insize, pos); in encodeLZ77()1716 if(usezeros && hashval == 0) { in encodeLZ77()1724 updateHashChain(hash, wpos, hashval, numzeros); in encodeLZ77()1779 if(hash->val[hashpos] != (int)hashval) break; in encodeLZ77()1800 …hash->head[hashval] = -1; /*the same hashchain update will be done, this ensures no wrong alterati… in encodeLZ77()[all …]