Searched refs:tableSize (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-current/sys/contrib/openzfs/module/zstd/lib/common/
H A Dfse_decompress.c66 U32 const tableSize = 1 << tableLog; local
67 U32 highThreshold = tableSize-1;
91 { U32 const tableMask = tableSize-1;
92 U32 const step = FSE_TABLESTEP(tableSize);
106 for (u=0; u<tableSize; u++) {
110 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize);
146 const unsigned tableSize = 1 << nbBits; local
147 const unsigned tableMask = tableSize - 1;
H A Dfse.h552 { U32 const tableSize = 1 << tableLog;
553 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize);
556 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold);
680 #define FSE_TABLESTEP(tableSize) ((tableSize>>1) + (tableSize>>3) + 3)
/freebsd-current/sys/contrib/zstd/lib/common/
H A Dfse_decompress.c79 U32 const tableSize = 1 << tableLog; local
80 U32 highThreshold = tableSize-1;
105 if (highThreshold == tableSize - 1) {
106 size_t const tableMask = tableSize-1;
107 size_t const step = FSE_TABLESTEP(tableSize);
139 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */
140 for (s = 0; s < (size_t)tableSize; s += unroll) {
151 U32 const tableMask = tableSize-1;
152 U32 const step = FSE_TABLESTEP(tableSize);
166 for (u=0; u<tableSize;
211 const unsigned tableSize = 1 << nbBits; local
[all...]
H A Dfse.h578 { U32 const tableSize = 1 << tableLog;
579 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize);
582 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold);
709 #define FSE_TABLESTEP(tableSize) (((tableSize)>>1) + ((tableSize)>>3) + 3)
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dfse_compress.c70 U32 const tableSize = 1 << tableLog; local
71 U32 const tableMask = tableSize - 1;
74 void* const FSCT = ((U32*)ptr) + 1 /* header */ + (tableLog ? tableSize>>1 : 1) ;
76 U32 const step = FSE_TABLESTEP(tableSize);
80 U32 highThreshold = tableSize-1;
92 memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just to keep scan-build happy */
105 cumul[maxSymbolValue+1] = tableSize+1;
125 { U32 u; for (u=0; u<tableSize; u++) {
127 tableU16[cumul[s]++] = (U16) (tableSize+u); /* TableU16 : sorted by symbol order; gives next state value */
201 const int tableSize local
500 const unsigned tableSize = 1 << nbBits; local
[all...]
/freebsd-current/sys/contrib/zstd/lib/compress/
H A Dfse_compress.c71 U32 const tableSize = 1 << tableLog; local
72 U32 const tableMask = tableSize - 1;
75 void* const FSCT = ((U32*)ptr) + 1 /* header */ + (tableLog ? tableSize>>1 : 1) ;
77 U32 const step = FSE_TABLESTEP(tableSize);
81 FSE_FUNCTION_TYPE* const tableSymbol = (FSE_FUNCTION_TYPE*)(cumul + (maxSV1+1)); /* size = tableSize */
83 U32 highThreshold = tableSize-1;
96 ZSTD_memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just to keep scan-build happy */
111 cumul[maxSV1] = (U16)(tableSize+1);
115 if (highThreshold == tableSize - 1) {
119 BYTE* const spread = tableSymbol + tableSize; /* siz
241 const int tableSize = 1 << tableLog; local
539 const unsigned tableSize = 1 << nbBits; local
[all...]
/freebsd-current/sys/contrib/zstd/programs/
H A Dutil.h213 size_t tableSize; /* nb of fileNames */ member in struct:__anon342
233 UTIL_assembleFileNamesTable(const char** filenames, size_t tableSize, char* buf);
270 FileNamesTable* UTIL_allocateFileNamesTable(size_t tableSize);
H A Dutil.c477 UTIL_assembleFileNamesTable2(const char** filenames, size_t tableSize, size_t tableCapacity, char* buf) argument
483 table->tableSize = tableSize;
489 UTIL_assembleFileNamesTable(const char** filenames, size_t tableSize, char* buf) argument
491 return UTIL_assembleFileNamesTable2(filenames, tableSize, tableSize, buf);
502 FileNamesTable* UTIL_allocateFileNamesTable(size_t tableSize) argument
504 const char** const fnTable = (const char**)malloc(tableSize * sizeof(*fnTable));
507 fnt = UTIL_assembleFileNamesTable(fnTable, tableSize, NULL);
508 fnt->tableSize
[all...]
H A Dzstdcli.c1226 unsigned const nbFilenames = (unsigned)filenames->tableSize;
1237 filenames->tableSize = fileNamesNb;
1241 if (file_of_names->tableSize) {
1242 size_t const nbFileLists = file_of_names->tableSize;
1263 int const ret = FIO_listMultipleFiles((unsigned)filenames->tableSize, filenames->fileNames, g_displayLevel);
1295 if (filenames->tableSize > 0) {
1298 for(i = 0; i < filenames->tableSize; i++) {
1306 BMK_benchFilesAdvanced(filenames->fileNames, (unsigned)filenames->tableSize, dictFileName, cLevel, &compressionParams, g_displayLevel, &benchParams);
1330 operationResult = DiB_trainFromFiles(outFileName, maxDictSize, filenames->fileNames, (int)filenames->tableSize, blockSize, NULL, &coverParams, NULL, optimize, memLimit);
1335 operationResult = DiB_trainFromFiles(outFileName, maxDictSize, filenames->fileNames, (int)filenames->tableSize, blockSiz
[all...]
/freebsd-current/contrib/llvm-project/lld/COFF/
H A DDebugTypes.cpp932 uint32_t tableSize = 0; member in struct:__anon1281::GHashTable
1015 tableSize = newTableSize;
1027 tableSize;
1053 idx = idx == tableSize ? 0 : idx;
1091 size_t tableSize = 0; local
1093 tableSize += source->ghashes.size();
1097 tableSize =
1098 std::min(size_t(INT32_MAX) - TypeIndex::FirstNonSimpleIndex, tableSize);
1099 ghashState.table.init(static_cast<uint32_t>(tableSize));
1135 for (const GHashCell &cell : ArrayRef(ghashState.table.table, tableSize)) {
[all...]
H A DDLL.cpp652 size_t tableSize)
653 : baseOrdinal(baseOrdinal), size(tableSize), ctx(ctx) {}
651 ExportOrdinalChunk(const COFFLinkerContext &ctx, size_t baseOrdinal, size_t tableSize) argument
/freebsd-current/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_manip.c87 return p_Manip->tableSize;
95 size += p_CurManip->tableSize;
98 size += p_CurManip->tableSize; /* add last size */
128 uint8_t localDataSize, remain, tableSize = 0, dataSize = 0; local
135 tableSize += HMCD_BASIC_SIZE;
145 tableSize += HMCD_BASIC_SIZE;
173 tableSize += (uint8_t)(HMCD_BASIC_SIZE + localDataSize);
181 tableSize += HMCD_BASIC_SIZE + HMCD_PTR_SIZE;
195 tableSize +=
204 tableSize
[all...]
H A Dfm_manip.h272 #define MANIP_GET_HMCT_SIZE(h_Manip) (((t_FmPcdManip *)h_Manip)->tableSize)
507 uint16_t tableSize; member in struct:__anon9640
/freebsd-current/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c385 static U32 FSE_tableStep(U32 tableSize) { return (tableSize>>1) + (tableSize>>3) + 3; } argument
401 const U32 tableSize = 1 << tableLog; local
402 const U32 tableMask = tableSize-1;
403 const U32 step = FSE_tableStep(tableSize);
406 U32 highThreshold = tableSize-1;
448 for (i=0; i<tableSize; i++)
453 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
616 const unsigned tableSize local
[all...]
H A Dzstd_v03.c1094 static U32 FSE_tableStep(U32 tableSize) { return (tableSize>>1) + (tableSize>>3) + 3; } argument
1102 const U32 tableSize = 1 << tableLog; local
1103 const U32 tableMask = tableSize-1;
1104 const U32 step = FSE_tableStep(tableSize);
1107 U32 highThreshold = tableSize-1;
1149 for (i=0; i<tableSize; i++)
1154 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
1317 const unsigned tableSize local
[all...]
H A Dzstd_v06.c1201 #define FSEv06_TABLESTEP(tableSize) ((tableSize>>1) + (tableSize>>3) + 3)
1465 U32 const tableSize = 1 << tableLog; local
1466 U32 highThreshold = tableSize-1;
1490 { U32 const tableMask = tableSize-1;
1491 U32 const step = FSEv06_TABLESTEP(tableSize);
1506 for (u=0; u<tableSize; u++) {
1510 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize);
1547 const unsigned tableSize local
[all...]
H A Dzstd_v05.c1194 static U32 FSEv05_tableStep(U32 tableSize) { return (tableSize>>1) + (tableSize>>3) + 3; } argument
1214 const U32 tableSize = 1 << tableLog; local
1215 const U32 tableMask = tableSize-1;
1216 const U32 step = FSEv05_tableStep(tableSize);
1219 U32 highThreshold = tableSize-1;
1254 for (i=0; i<tableSize; i++) {
1258 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
1404 const unsigned tableSize local
[all...]
H A Dzstd_v04.c1070 static U32 FSE_tableStep(U32 tableSize) { return (tableSize>>1) + (tableSize>>3) + 3; } argument
1078 const U32 tableSize = 1 << tableLog; local
1079 const U32 tableMask = tableSize-1;
1080 const U32 step = FSE_tableStep(tableSize);
1083 U32 highThreshold = tableSize-1;
1126 for (i=0; i<tableSize; i++)
1131 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
1296 const unsigned tableSize local
[all...]
H A Dzstd_v07.c965 #define FSEv07_TABLESTEP(tableSize) ((tableSize>>1) + (tableSize>>3) + 3)
1485 U32 const tableSize = 1 << tableLog; local
1486 U32 highThreshold = tableSize-1;
1510 { U32 const tableMask = tableSize-1;
1511 U32 const step = FSEv07_TABLESTEP(tableSize);
1526 for (u=0; u<tableSize; u++) {
1530 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize);
1567 const unsigned tableSize local
[all...]
H A Dzstd_v02.c1093 static U32 FSE_tableStep(U32 tableSize) { return (tableSize>>1) + (tableSize>>3) + 3; } argument
1101 const U32 tableSize = 1 << tableLog; local
1102 const U32 tableMask = tableSize-1;
1103 const U32 step = FSE_tableStep(tableSize);
1106 U32 highThreshold = tableSize-1;
1148 for (i=0; i<tableSize; i++)
1153 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize);
1316 const unsigned tableSize local
[all...]
/freebsd-current/sys/contrib/ncsw/inc/Peripherals/
H A Dfm_port_ext.h1354 uint8_t tableSize; member in struct:t_FmPortDsarArpInfo
1395 uint8_t tableSize; member in struct:t_FmPortDsarEchoIpv4Info
1404 uint8_t tableSize; member in struct:t_FmPortDsarEchoIpv6Info
/freebsd-current/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c451 U32 const tableSize = 1 << tableLog; local
455 U32 highThreshold = tableSize - 1;
482 assert(tableSize <= 512);
488 if (highThreshold == tableSize - 1) {
489 size_t const tableMask = tableSize-1;
490 size_t const step = FSE_TABLESTEP(tableSize);
522 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */
523 for (s = 0; s < (size_t)tableSize; s += unroll) {
534 U32 const tableMask = tableSize-1;
535 U32 const step = FSE_TABLESTEP(tableSize);
[all...]
/freebsd-current/sys/contrib/ncsw/Peripherals/FM/Port/
H A Dfm_port.c5702 * params->p_AutoResArpInfo->tableSize;
5712 * params->p_AutoResEchoIpv4Info->tableSize;
5722 * params->p_AutoResEchoIpv6Info->tableSize;
5788 && sizes->maxNumOfArpEntries < params->p_AutoResArpInfo->tableSize)
5794 < params->p_AutoResEchoIpv4Info->tableSize)
5808 < params->p_AutoResEchoIpv6Info->tableSize)
5856 if (params->p_AutoResArpInfo && params->p_AutoResArpInfo->tableSize)
5862 for (; i < params->p_AutoResArpInfo->tableSize; i++)
5869 && params->p_AutoResEchoIpv4Info->tableSize)
5879 for (; i < params->p_AutoResEchoIpv4Info->tableSize;
[all...]
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_block.c377 U32 const tableSize = 1 << tableLog; local
378 U32 highThreshold = tableSize-1;
403 { U32 const tableMask = tableSize-1;
404 U32 const step = FSE_TABLESTEP(tableSize);
418 for (u=0; u<tableSize; u++) {
422 tableDecode[u].nextState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize);
/freebsd-current/sys/contrib/zstd/lib/dictBuilder/
H A Dzdict.c437 const U32 tableSize = table->pos; local
442 U32 u; for (u=1; u<tableSize; u++) {
460 for (u=1; u<tableSize; u++) {

Completed in 497 milliseconds

12