Home
last modified time | relevance | path

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

/linux-6.15/lib/zstd/common/
H A Dfse_decompress.c67 U32 const tableSize = 1 << tableLog; in FSE_buildDTable_internal() local
68 U32 highThreshold = tableSize-1; in FSE_buildDTable_internal()
93 if (highThreshold == tableSize - 1) { in FSE_buildDTable_internal()
94 size_t const tableMask = tableSize-1; in FSE_buildDTable_internal()
95 size_t const step = FSE_TABLESTEP(tableSize); in FSE_buildDTable_internal()
125 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */ in FSE_buildDTable_internal()
126 for (s = 0; s < (size_t)tableSize; s += unroll) { in FSE_buildDTable_internal()
137 U32 const tableMask = tableSize-1; in FSE_buildDTable_internal()
138 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildDTable_internal()
152 for (u=0; u<tableSize; u++) { in FSE_buildDTable_internal()
[all …]
H A Dfse.h493 { U32 const tableSize = 1 << tableLog; in FSE_bitCost() local
494 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize); in FSE_bitCost()
497 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold); in FSE_bitCost()
624 #define FSE_TABLESTEP(tableSize) (((tableSize)>>1) + ((tableSize)>>3) + 3) argument
/linux-6.15/lib/zstd/compress/
H A Dfse_compress.c73 U32 const tableSize = 1 << tableLog; in FSE_buildCTable_wksp() local
74 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp()
79 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildCTable_wksp()
85 U32 highThreshold = tableSize-1; in FSE_buildCTable_wksp()
113 cumul[maxSV1] = (U16)(tableSize+1); in FSE_buildCTable_wksp()
117 if (highThreshold == tableSize - 1) { in FSE_buildCTable_wksp()
145 for (s = 0; s < (size_t)tableSize; s += unroll) { in FSE_buildCTable_wksp()
171 { U32 u; for (u=0; u<tableSize; u++) { in FSE_buildCTable_wksp()
243 const int tableSize = 1 << tableLog; in FSE_writeNCount_generic() local
257 remaining = tableSize+1; /* +1 for extra accuracy */ in FSE_writeNCount_generic()
[all …]
H A Dzstd_compress.c2312 static void ZSTD_copyCDictTableIntoCCtx(U32* dst, U32 const* src, size_t tableSize, in ZSTD_copyCDictTableIntoCCtx() argument
2318 for (i = 0; i < tableSize; i++) { in ZSTD_copyCDictTableIntoCCtx()
2324 ZSTD_memcpy(dst, src, tableSize * sizeof(U32)); in ZSTD_copyCDictTableIntoCCtx()
/linux-6.15/arch/arc/kernel/
H A Dunwind.c281 tableSize > sizeof(*fde) && tableSize - sizeof(*fde) >= *fde; in init_unwind_hdr()
307 if (tableSize || !n) in init_unwind_hdr()
329 tableSize; in init_unwind_hdr()
934 unsigned long tableSize; in arc_unwind() local
943 tableSize = 2; in arc_unwind()
946 tableSize = 4; in arc_unwind()
949 tableSize = 8; in arc_unwind()
952 tableSize = 0; in arc_unwind()
967 cur + tableSize, in arc_unwind()
978 ptr + tableSize, in arc_unwind()
[all …]
/linux-6.15/lib/zstd/decompress/
H A Dzstd_decompress_block.c493 U32 const tableSize = 1 << tableLog; in ZSTD_buildFSETable_body() local
497 U32 highThreshold = tableSize - 1; in ZSTD_buildFSETable_body()
524 assert(tableSize <= 512); in ZSTD_buildFSETable_body()
530 if (highThreshold == tableSize - 1) { in ZSTD_buildFSETable_body()
531 size_t const tableMask = tableSize-1; in ZSTD_buildFSETable_body()
532 size_t const step = FSE_TABLESTEP(tableSize); in ZSTD_buildFSETable_body()
565 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */ in ZSTD_buildFSETable_body()
566 for (s = 0; s < (size_t)tableSize; s += unroll) { in ZSTD_buildFSETable_body()
577 U32 const tableMask = tableSize-1; in ZSTD_buildFSETable_body()
578 U32 const step = FSE_TABLESTEP(tableSize); in ZSTD_buildFSETable_body()
[all …]