Lines Matching refs:tableSize
2020 { U32 const tableSize = 1 << tableLog; in FSE_bitCost() local
2021 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize); in FSE_bitCost()
2024 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold); in FSE_bitCost()
2148 #define FSE_TABLESTEP(tableSize) ((tableSize>>1) + (tableSize>>3) + 3) argument
2829 U32 const tableSize = 1 << tableLog; in FSE_buildDTable() local
2830 U32 highThreshold = tableSize-1; in FSE_buildDTable()
2854 { U32 const tableMask = tableSize-1; in FSE_buildDTable()
2855 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildDTable()
2869 for (u=0; u<tableSize; u++) { in FSE_buildDTable()
2873 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in FSE_buildDTable()
2909 const unsigned tableSize = 1 << nbBits; in FSE_buildDTable_raw() local
2910 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw()
7547 U32 const tableSize = 1 << tableLog; in FSE_buildCTable_wksp() local
7548 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp()
7551 void* const FSCT = ((U32*)ptr) + 1 /* header */ + (tableLog ? tableSize>>1 : 1) ; in FSE_buildCTable_wksp()
7553 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildCTable_wksp()
7557 U32 highThreshold = tableSize-1; in FSE_buildCTable_wksp()
7569 …memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just to kee… in FSE_buildCTable_wksp()
7582 cumul[maxSymbolValue+1] = tableSize+1; in FSE_buildCTable_wksp()
7602 { U32 u; for (u=0; u<tableSize; u++) { in FSE_buildCTable_wksp()
7604 …tableU16[cumul[s]++] = (U16) (tableSize+u); /* TableU16 : sorted by symbol order; gives next sta… in FSE_buildCTable_wksp()
7678 const int tableSize = 1 << tableLog; in FSE_writeNCount_generic() local
7692 remaining = tableSize+1; /* +1 for extra accuracy */ in FSE_writeNCount_generic()
7693 threshold = tableSize; in FSE_writeNCount_generic()
7977 const unsigned tableSize = 1 << nbBits; in FSE_buildCTable_raw() local
7978 const unsigned tableMask = tableSize - 1; in FSE_buildCTable_raw()
7982 …void* const FSCT = ((U32*)ptr) + 1 /* header */ + (tableSize>>1); /* assumption : tableLog >= 1 … in FSE_buildCTable_raw()
7994 for (s=0; s<tableSize; s++) in FSE_buildCTable_raw()
7995 tableU16[s] = (U16)(tableSize + s); in FSE_buildCTable_raw()
26768 U32 const tableSize = 1 << tableLog; in ZSTD_buildFSETable() local
26769 U32 highThreshold = tableSize-1; in ZSTD_buildFSETable()
26794 { U32 const tableMask = tableSize-1; in ZSTD_buildFSETable()
26795 U32 const step = FSE_TABLESTEP(tableSize); in ZSTD_buildFSETable()
26809 for (u=0; u<tableSize; u++) { in ZSTD_buildFSETable()
26813 tableDecode[u].nextState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in ZSTD_buildFSETable()