Searched refs:tableSize (Results 1 – 6 of 6) sorted by relevance
| /linux/lib/zstd/common/ |
| H A D | fse_decompress.c | 67 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 D | fse.h | 493 { 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/lib/zstd/compress/ |
| H A D | fse_compress.c | 73 U32 const tableSize = 1 << tableLog; in FSE_buildCTable_wksp() local 74 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp() 77 void* const FSCT = ((U32*)ptr) + 1 /* header */ + (tableLog ? tableSize>>1 : 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() 98 …ZSTD_memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just t… in FSE_buildCTable_wksp() 113 cumul[maxSV1] = (U16)(tableSize+1); in FSE_buildCTable_wksp() 117 if (highThreshold == tableSize - 1) { in FSE_buildCTable_wksp() 121 …BYTE* const spread = tableSymbol + tableSize; /* size = tableSize + 8 (may write beyond tableSize)… in FSE_buildCTable_wksp() 144 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */ in FSE_buildCTable_wksp() [all …]
|
| H A D | zstd_compress.c | 2312 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/arch/arc/kernel/ |
| H A D | unwind.c | 248 unsigned long tableSize = table->size, hdrSize; in init_unwind_hdr() local 268 if (tableSize & (sizeof(*fde) - 1)) in init_unwind_hdr() 272 tableSize > sizeof(*fde) && tableSize - sizeof(*fde) >= *fde; in init_unwind_hdr() 273 tableSize -= sizeof(*fde) + *fde, fde += 1 + *fde / sizeof(*fde)) { in init_unwind_hdr() 298 if (tableSize || !n) in init_unwind_hdr() 319 for (fde = table->address, tableSize = table->size, n = 0; in init_unwind_hdr() 320 tableSize; in init_unwind_hdr() 321 tableSize -= sizeof(*fde) + *fde, fde += 1 + *fde / sizeof(*fde)) { in init_unwind_hdr() 925 unsigned long tableSize; in arc_unwind() local 931 tableSize = sizeof(unsigned long); in arc_unwind() [all …]
|
| /linux/lib/zstd/decompress/ |
| H A D | zstd_decompress_block.c | 493 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 …]
|