Lines Matching refs:hash_next
667 const int *hash_next, int cur_pos) in find_longest_match() argument
675 pos = hash_next[cur_pos]; in find_longest_match()
685 pos = hash_next[pos]; in find_longest_match()
693 int *hash_table, *hash_next; in lz_compress() local
703 hash_next = malloc(sizeof(hash_next[0]) * src_len); in lz_compress()
705 hash_next[i] = -1; in lz_compress()
709 hash_next[i] = hash_table[h]; in lz_compress()
713 hash_next[i] = -1; in lz_compress()
728 len = find_longest_match(&dist, src, src_len, hash_next, i); in lz_compress()
731 len1 = find_longest_match(&dist1, src, src_len, hash_next, i + 1); in lz_compress()
754 free(hash_next); in lz_compress()