Lines Matching refs:numzeros
1573 static void updateHashChain(Hash* hash, size_t wpos, unsigned hashval, unsigned short numzeros) { in updateHashChain() argument
1578 hash->zeros[wpos] = numzeros; in updateHashChain()
1579 if(hash->headz[numzeros] != -1) hash->chainz[wpos] = hash->headz[numzeros]; in updateHashChain()
1580 hash->headz[numzeros] = (int)wpos; in updateHashChain()
1602 unsigned numzeros = 0; in encodeLZ77() local
1626 if(numzeros == 0) numzeros = countZeros(in, insize, pos); in encodeLZ77()
1627 else if(pos + numzeros > insize || in[pos + numzeros - 1] != 0) --numzeros; in encodeLZ77()
1629 numzeros = 0; in encodeLZ77()
1632 updateHashChain(hash, wpos, hashval, numzeros); in encodeLZ77()
1656 if(numzeros >= 3) { in encodeLZ77()
1658 if(skip > numzeros) skip = numzeros; in encodeLZ77()
1680 if(numzeros >= 3 && length > numzeros) { in encodeLZ77()
1682 if(hash->zeros[hashpos] != numzeros) break; in encodeLZ77()
1707 hash->headz[numzeros] = -1; /*idem*/ in encodeLZ77()
1728 if(numzeros == 0) numzeros = countZeros(in, insize, pos); in encodeLZ77()
1729 else if(pos + numzeros > insize || in[pos + numzeros - 1] != 0) --numzeros; in encodeLZ77()
1731 numzeros = 0; in encodeLZ77()
1733 updateHashChain(hash, wpos, hashval, numzeros); in encodeLZ77()