Home
last modified time | relevance | path

Searched refs:dtable (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.c919 FSE_dtable dtable; in fse_decode_hufweights() local
929 FSE_free_dtable(&dtable); in fse_decode_hufweights()
2002 free(dtable->symbols); in HUF_free_dtable()
2003 free(dtable->num_bits); in HUF_free_dtable()
2123 if (!dtable->symbols || !dtable->num_bits || !dtable->new_state_base) { in FSE_init_dtable()
2302 if (!dtable->symbols || !dtable->num_bits || !dtable->new_state_base) { in FSE_init_dtable_rle()
2308 dtable->symbols[0] = symb; in FSE_init_dtable_rle()
2309 dtable->num_bits[0] = 0; in FSE_init_dtable_rle()
2311 dtable->accuracy_log = 0; in FSE_init_dtable_rle()
2315 free(dtable->symbols); in FSE_free_dtable()
[all …]
/f-stack/freebsd/contrib/zstd/lib/common/
H A Dfse_decompress.c324 FSE_DTable* const dtable = (FSE_DTable*)workSpace; in FSE_decompress_wksp_body() local
335 workSpace = dtable + FSE_DTABLE_SIZE_U32(tableLog); in FSE_decompress_wksp_body()
338 …CHECK_F( FSE_buildDTable_internal(dtable, counting, maxSymbolValue, tableLog, workSpace, wkspSize)… in FSE_decompress_wksp_body()
341 const void* ptr = dtable; in FSE_decompress_wksp_body()
346 …if (fastMode) return FSE_decompress_usingDTable_generic(dst, dstCapacity, ip, cSrcSize, dtable, 1); in FSE_decompress_wksp_body()
347 return FSE_decompress_usingDTable_generic(dst, dstCapacity, ip, cSrcSize, dtable, 0); in FSE_decompress_wksp_body()