Home | History | Annotate | Download | only in lodepng

Lines Matching refs:hashval

1415 static void updateHashChain(Hash* hash, size_t wpos, int hashval)
1417 hash->val[wpos] = hashval;
1418 if(hash->head[hashval] != -1) hash->chain[wpos] = hash->head[hashval];
1419 hash->head[hashval] = wpos;
1447 unsigned hashval;
1462 hashval = getHash(in, insize, pos);
1463 updateHashChain(hash, wpos, hashval);
1465 if(usezeros && hashval == 0)
1480 prevpos = hash->head[hashval];
1501 if(usezeros && hashval == 0 && hash->val[hashpos] == 0 /*hashval[hashpos] may be out of date*/)
1554 hash->head[hashval] = -1; /*the same hashchain update will be done, this ensures no wrong alteration*/
1579 hashval = getHash(in, insize, pos);
1580 updateHashChain(hash, wpos, hashval);
1581 if(usezeros && hashval == 0)