Home
last modified time | relevance | path

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

12

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

12