Home | History | Annotate | Download | only in zlib-1.2.3

Lines Matching defs:hash_head

323     IPos hash_head = 0;
350 INSERT_STRING(s, n, hash_head);
352 if (hash_head) hash_head = 0; /* to make compiler happy */
1452 IPos hash_head = NIL; /* head of the hash chain */
1470 * dictionary, and set hash_head to the head of the hash chain:
1473 INSERT_STRING(s, s->strstart, hash_head);
1479 if (hash_head != NIL && s->strstart - hash_head <= MAX_DIST(s)) {
1486 (s->strategy == Z_RLE && s->strstart - hash_head == 1)) {
1487 s->match_length = longest_match_fast (s, hash_head);
1491 s->match_length = longest_match (s, hash_head);
1492 } else if (s->strategy == Z_RLE && s->strstart - hash_head == 1) {
1493 s->match_length = longest_match_fast (s, hash_head);
1515 INSERT_STRING(s, s->strstart, hash_head);
1558 IPos hash_head = NIL; /* head of hash chain */
1577 * dictionary, and set hash_head to the head of the hash chain:
1580 INSERT_STRING(s, s->strstart, hash_head);
1588 if (hash_head != NIL && s->prev_length < s->max_lazy_match &&
1589 s->strstart - hash_head <= MAX_DIST(s)) {
1595 s->match_length = longest_match (s, hash_head);
1596 } else if (s->strategy == Z_RLE && s->strstart - hash_head == 1) {
1597 s->match_length = longest_match_fast (s, hash_head);
1635 INSERT_STRING(s, s->strstart, hash_head);