Home
last modified time | relevance | path

Searched refs:tableSize (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/lib/zstd/
Dfse_compress.c94 U32 const tableSize = 1 << tableLog; in FSE_buildCTable_wksp() local
95 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp()
98 void *const FSCT = ((U32 *)ptr) + 1 /* header */ + (tableLog ? tableSize >> 1 : 1); in FSE_buildCTable_wksp()
100 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildCTable_wksp()
101 U32 highThreshold = tableSize - 1; in FSE_buildCTable_wksp()
136 cumul[maxSymbolValue + 1] = tableSize + 1; in FSE_buildCTable_wksp()
160 for (u = 0; u < tableSize; u++) { in FSE_buildCTable_wksp()
162 …tableU16[cumul[s]++] = (U16)(tableSize + u); /* TableU16 : sorted by symbol order; gives next stat… in FSE_buildCTable_wksp()
210 const int tableSize = 1 << tableLog; in FSE_writeNCount_generic() local
225 remaining = tableSize + 1; /* +1 for extra accuracy */ in FSE_writeNCount_generic()
[all …]
Dfse_decompress.c102 U32 const tableSize = 1 << tableLog; in FSE_buildDTable_wksp() local
103 U32 highThreshold = tableSize - 1; in FSE_buildDTable_wksp()
137 U32 const tableMask = tableSize - 1; in FSE_buildDTable_wksp()
138 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildDTable_wksp()
156 for (u = 0; u < tableSize; u++) { in FSE_buildDTable_wksp()
160 tableDecode[u].newState = (U16)((nextState << tableDecode[u].nbBits) - tableSize); in FSE_buildDTable_wksp()
193 const unsigned tableSize = 1 << nbBits; in FSE_buildDTable_raw() local
194 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw()
Dfse.h573 #define FSE_TABLESTEP(tableSize) ((tableSize >> 1) + (tableSize >> 3) + 3) argument
/Linux-v5.4/arch/arc/kernel/
Dunwind.c261 unsigned long tableSize = table->size, hdrSize; in init_unwind_hdr() local
281 if (tableSize & (sizeof(*fde) - 1)) in init_unwind_hdr()
285 tableSize > sizeof(*fde) && tableSize - sizeof(*fde) >= *fde; in init_unwind_hdr()
286 tableSize -= sizeof(*fde) + *fde, fde += 1 + *fde / sizeof(*fde)) { in init_unwind_hdr()
311 if (tableSize || !n) in init_unwind_hdr()
332 for (fde = table->address, tableSize = table->size, n = 0; in init_unwind_hdr()
333 tableSize; in init_unwind_hdr()
334 tableSize -= sizeof(*fde) + *fde, fde += 1 + *fde / sizeof(*fde)) { in init_unwind_hdr()
936 unsigned long tableSize; in arc_unwind() local
942 tableSize = sizeof(unsigned long); in arc_unwind()
[all …]