Lines Matching refs:wpos
1415 static void updateHashChain(Hash* hash, size_t wpos, int hashval) in updateHashChain() argument
1417 hash->val[wpos] = hashval; in updateHashChain()
1418 if(hash->head[hashval] != -1) hash->chain[wpos] = hash->head[hashval]; in updateHashChain()
1419 hash->head[hashval] = wpos; in updateHashChain()
1459 size_t wpos = pos & (windowsize - 1); /*position for in 'circular' hash buffers*/ in encodeLZ77() local
1463 updateHashChain(hash, wpos, hashval); in encodeLZ77()
1469 hash->zeros[wpos] = numzeros; in encodeLZ77()
1489 if(prevpos < wpos && hashpos > prevpos && hashpos <= wpos) break; in encodeLZ77()
1490 if(prevpos > wpos && (hashpos <= wpos || hashpos > prevpos)) break; in encodeLZ77()
1493 current_offset = hashpos <= wpos ? wpos - hashpos : wpos - hashpos + windowsize; in encodeLZ77()
1578 wpos = pos & (windowsize - 1); in encodeLZ77()
1580 updateHashChain(hash, wpos, hashval); in encodeLZ77()
1585 hash->zeros[wpos] = numzeros; in encodeLZ77()