Lines Matching refs:hash
136 // Rewind read_pos so that the match finder can hash
285 // Calculate the sizes of mf->hash and mf->son and check that
298 // be used as a hash mask.
342 // Deallocate the old hash array if it exists and has different size
345 lzma_free(mf->hash, allocator);
346 mf->hash = NULL;
384 // Allocate match finder's hash array.
394 if (mf->hash == NULL) {
395 mf->hash = lzma_alloc(alloc_count * sizeof(uint32_t),
397 if (mf->hash == NULL)
401 mf->son = mf->hash + mf->hash_size_sum;
404 // Initialize the hash table. Since EMPTY_HASH_VALUE is zero, we
408 mf->hash[i] = EMPTY_HASH_VALUE;
410 memzero(mf->hash, (size_t)(mf->hash_size_sum) * sizeof(uint32_t));
418 // of the mf->hash won't get actually allocated by the kernel, so
447 .hash = NULL,
468 lzma_free(coder->mf.hash, allocator);
524 next->coder->mf.hash = NULL;