Lines Matching refs:tableLog

59 …* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace,…  in FSE_buildDTable_internal()  argument
67 U32 const tableSize = 1 << tableLog; in FSE_buildDTable_internal()
71 …if (FSE_BUILD_DTABLE_WKSP_SIZE(tableLog, maxSymbolValue) > wkspSize) return ERROR(maxSymbolValue_t… in FSE_buildDTable_internal()
73 if (tableLog > FSE_MAX_TABLELOG) return ERROR(tableLog_tooLarge); in FSE_buildDTable_internal()
77 DTableH.tableLog = (U16)tableLog; in FSE_buildDTable_internal()
79 { S16 const largeLimit= (S16)(1 << (tableLog-1)); in FSE_buildDTable_internal()
155 tableDecode[u].nbBits = (BYTE) (tableLog - ZSTD_highbit32(nextState) ); in FSE_buildDTable_internal()
162 …* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace,… in FSE_buildDTable_wksp() argument
164 …return FSE_buildDTable_internal(dt, normalizedCounter, maxSymbolValue, tableLog, workSpace, wkspSi… in FSE_buildDTable_wksp()
252 unsigned tableLog; in FSE_decompress_wksp_body() local
266 FSE_readNCount_bmi2(wksp->ncount, &maxSymbolValue, &tableLog, istart, cSrcSize, bmi2); in FSE_decompress_wksp_body()
268 if (tableLog > maxLog) return ERROR(tableLog_tooLarge); in FSE_decompress_wksp_body()
274 …if (FSE_DECOMPRESS_WKSP_SIZE(tableLog, maxSymbolValue) > wkspSize) return ERROR(tableLog_tooLarge); in FSE_decompress_wksp_body()
275 assert(sizeof(*wksp) + FSE_DTABLE_SIZE(tableLog) <= wkspSize); in FSE_decompress_wksp_body()
276 workSpace = (BYTE*)workSpace + sizeof(*wksp) + FSE_DTABLE_SIZE(tableLog); in FSE_decompress_wksp_body()
277 wkspSize -= sizeof(*wksp) + FSE_DTABLE_SIZE(tableLog); in FSE_decompress_wksp_body()
279 …CHECK_F( FSE_buildDTable_internal(dtable, wksp->ncount, maxSymbolValue, tableLog, workSpace, wkspS… in FSE_decompress_wksp_body()