Home
last modified time | relevance | path

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

/f-stack/freebsd/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()
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()
211 const unsigned tableSize = 1 << nbBits; in FSE_buildDTable_raw() local
[all …]
H A Dfse.h577 { U32 const tableSize = 1 << tableLog; in FSE_bitCost() local
578 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize); in FSE_bitCost()
581 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold); in FSE_bitCost()
708 #define FSE_TABLESTEP(tableSize) (((tableSize)>>1) + ((tableSize)>>3) + 3) argument
/f-stack/freebsd/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()
77 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildCTable_wksp()
82 U32 highThreshold = tableSize-1; in FSE_buildCTable_wksp()
108 cumul[maxSymbolValue+1] = tableSize+1; in FSE_buildCTable_wksp()
128 { U32 u; for (u=0; u<tableSize; u++) { in FSE_buildCTable_wksp()
205 const int tableSize = 1 << tableLog; in FSE_writeNCount_generic() local
220 threshold = tableSize; in FSE_writeNCount_generic()
503 const unsigned tableSize = 1 << nbBits; in FSE_buildCTable_raw() local
520 for (s=0; s<tableSize; s++) in FSE_buildCTable_raw()
[all …]
/f-stack/freebsd/contrib/zstd/programs/
H A Dutil.c413 table->tableSize = tableSize; in UTIL_assembleFileNamesTable2()
421 return UTIL_assembleFileNamesTable2(filenames, tableSize, tableSize, buf); in UTIL_assembleFileNamesTable()
432 FileNamesTable* UTIL_allocateFileNamesTable(size_t tableSize) in UTIL_allocateFileNamesTable() argument
438 fnt->tableSize = 0; /* the table is empty */ in UTIL_allocateFileNamesTable()
444 assert(fnt->tableSize < fnt->tableCapacity); in UTIL_refFilename()
445 fnt->fileNames[fnt->tableSize] = filename; in UTIL_refFilename()
446 fnt->tableSize++; in UTIL_refFilename()
475 newTable->tableSize = table1->tableSize + table2->tableSize; in UTIL_mergeFileNamesTable()
483 assert(newTableIdx <= newTable->tableSize); in UTIL_mergeFileNamesTable()
492 assert(newTableIdx <= newTable->tableSize); in UTIL_mergeFileNamesTable()
[all …]
H A Dzstdcli.c1112 unsigned const nbFilenames = (unsigned)filenames->tableSize; in main()
1123 filenames->tableSize = fileNamesNb; in main()
1127 if (file_of_names->tableSize) { in main()
1128 size_t const nbFileLists = file_of_names->tableSize; in main()
1180 if (filenames->tableSize > 0) { in main()
1183 for(i = 0; i < filenames->tableSize; i++) { in main()
1241 if (filenames->tableSize == 0) UTIL_refFilename(filenames, stdinmark); in main()
1280 if (patchFromDictFileName != NULL && filenames->tableSize > 1) { in main()
1292 FIO_setNbFilesTotal(fCtx, (int)filenames->tableSize); in main()
1351 if ((filenames->tableSize==1) && outFileName) in main()
[all …]
H A Dutil.h186 size_t tableSize; /* nb of fileNames */ member
206 UTIL_assembleFileNamesTable(const char** filenames, size_t tableSize, char* buf);
243 FileNamesTable* UTIL_allocateFileNamesTable(size_t tableSize);
H A Dfileio.c552 for ( ; i < filenames->tableSize; ++i) { in FIO_determineHasStdinInput()
/f-stack/freebsd/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c375 U32 const tableSize = 1 << tableLog; in ZSTD_buildFSETable_body() local
379 U32 highThreshold = tableSize - 1; in ZSTD_buildFSETable_body()
406 assert(tableSize <= 512); in ZSTD_buildFSETable_body()
412 if (highThreshold == tableSize - 1) { in ZSTD_buildFSETable_body()
413 size_t const tableMask = tableSize-1; in ZSTD_buildFSETable_body()
414 size_t const step = FSE_TABLESTEP(tableSize); in ZSTD_buildFSETable_body()
446 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */ in ZSTD_buildFSETable_body()
447 for (s = 0; s < (size_t)tableSize; s += unroll) { in ZSTD_buildFSETable_body()
458 U32 const tableMask = tableSize-1; in ZSTD_buildFSETable_body()
459 U32 const step = FSE_TABLESTEP(tableSize); in ZSTD_buildFSETable_body()
[all …]
/f-stack/freebsd/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_manip.c87 return p_Manip->tableSize; in GetHmctSize()
95 size += p_CurManip->tableSize; in GetHmctSize()
135 tableSize += HMCD_BASIC_SIZE; in CalculateTableSize()
195 tableSize += in CalculateTableSize()
209 tableSize += in CalculateTableSize()
231 tableSize += HMCD_BASIC_SIZE; in CalculateTableSize()
240 tableSize += HMCD_BASIC_SIZE; in CalculateTableSize()
302 *p_TableSize = tableSize; in CalculateTableSize()
1164 (p_Manip->tableSize + in CreateManipActionNew()
1260 if (newSize > p_Manip->tableSize) in CreateManipActionShadow()
[all …]
H A Dfm_manip.h272 #define MANIP_GET_HMCT_SIZE(h_Manip) (((t_FmPcdManip *)h_Manip)->tableSize)
507 uint16_t tableSize; member
/f-stack/freebsd/contrib/zstd/lib/legacy/
H A Dzstd_v01.c389 static U32 FSE_tableStep(U32 tableSize) { return (tableSize>>1) + (tableSize>>3) + 3; } in FSE_tableStep() argument
405 const U32 tableSize = 1 << tableLog; in FSE_buildDTable() local
406 const U32 tableMask = tableSize-1; in FSE_buildDTable()
407 const U32 step = FSE_tableStep(tableSize); in FSE_buildDTable()
410 U32 highThreshold = tableSize-1; in FSE_buildDTable()
452 for (i=0; i<tableSize; i++) in FSE_buildDTable()
457 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
620 const unsigned tableSize = 1 << nbBits; in FSE_buildDTable_raw() local
621 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw()
H A Dzstd_v03.c1098 static U32 FSE_tableStep(U32 tableSize) { return (tableSize>>1) + (tableSize>>3) + 3; } in FSE_tableStep() argument
1106 const U32 tableSize = 1 << tableLog; in FSE_buildDTable() local
1107 const U32 tableMask = tableSize-1; in FSE_buildDTable()
1108 const U32 step = FSE_tableStep(tableSize); in FSE_buildDTable()
1111 U32 highThreshold = tableSize-1; in FSE_buildDTable()
1153 for (i=0; i<tableSize; i++) in FSE_buildDTable()
1158 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
1321 const unsigned tableSize = 1 << nbBits; in FSE_buildDTable_raw() local
1322 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw()
H A Dzstd_v04.c1074 static U32 FSE_tableStep(U32 tableSize) { return (tableSize>>1) + (tableSize>>3) + 3; } in FSE_tableStep() argument
1082 const U32 tableSize = 1 << tableLog; in FSE_buildDTable() local
1083 const U32 tableMask = tableSize-1; in FSE_buildDTable()
1084 const U32 step = FSE_tableStep(tableSize); in FSE_buildDTable()
1087 U32 highThreshold = tableSize-1; in FSE_buildDTable()
1130 for (i=0; i<tableSize; i++) in FSE_buildDTable()
1135 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
1300 const unsigned tableSize = 1 << nbBits; in FSE_buildDTable_raw() local
1301 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw()
H A Dzstd_v02.c1097 static U32 FSE_tableStep(U32 tableSize) { return (tableSize>>1) + (tableSize>>3) + 3; } in FSE_tableStep() argument
1105 const U32 tableSize = 1 << tableLog; in FSE_buildDTable() local
1106 const U32 tableMask = tableSize-1; in FSE_buildDTable()
1107 const U32 step = FSE_tableStep(tableSize); in FSE_buildDTable()
1110 U32 highThreshold = tableSize-1; in FSE_buildDTable()
1152 for (i=0; i<tableSize; i++) in FSE_buildDTable()
1157 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
1320 const unsigned tableSize = 1 << nbBits; in FSE_buildDTable_raw() local
1321 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw()
H A Dzstd_v06.c1205 #define FSEv06_TABLESTEP(tableSize) ((tableSize>>1) + (tableSize>>3) + 3) argument
1469 U32 const tableSize = 1 << tableLog; in FSEv06_buildDTable() local
1470 U32 highThreshold = tableSize-1; in FSEv06_buildDTable()
1494 { U32 const tableMask = tableSize-1; in FSEv06_buildDTable()
1495 U32 const step = FSEv06_TABLESTEP(tableSize); in FSEv06_buildDTable()
1510 for (u=0; u<tableSize; u++) { in FSEv06_buildDTable()
1514 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in FSEv06_buildDTable()
1551 const unsigned tableSize = 1 << nbBits; in FSEv06_buildDTable_raw() local
1552 const unsigned tableMask = tableSize - 1; in FSEv06_buildDTable_raw()
H A Dzstd_v05.c1198 static U32 FSEv05_tableStep(U32 tableSize) { return (tableSize>>1) + (tableSize>>3) + 3; } in FSEv05_tableStep() argument
1218 const U32 tableSize = 1 << tableLog; in FSEv05_buildDTable() local
1219 const U32 tableMask = tableSize-1; in FSEv05_buildDTable()
1220 const U32 step = FSEv05_tableStep(tableSize); in FSEv05_buildDTable()
1223 U32 highThreshold = tableSize-1; in FSEv05_buildDTable()
1258 for (i=0; i<tableSize; i++) { in FSEv05_buildDTable()
1262 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSEv05_buildDTable()
1408 const unsigned tableSize = 1 << nbBits; in FSEv05_buildDTable_raw() local
1409 const unsigned tableMask = tableSize - 1; in FSEv05_buildDTable_raw()
H A Dzstd_v07.c969 #define FSEv07_TABLESTEP(tableSize) ((tableSize>>1) + (tableSize>>3) + 3) argument
1489 U32 const tableSize = 1 << tableLog; in FSEv07_buildDTable() local
1490 U32 highThreshold = tableSize-1; in FSEv07_buildDTable()
1514 { U32 const tableMask = tableSize-1; in FSEv07_buildDTable()
1515 U32 const step = FSEv07_TABLESTEP(tableSize); in FSEv07_buildDTable()
1530 for (u=0; u<tableSize; u++) { in FSEv07_buildDTable()
1534 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in FSEv07_buildDTable()
1571 const unsigned tableSize = 1 << nbBits; in FSEv07_buildDTable_raw() local
1572 const unsigned tableMask = tableSize - 1; in FSEv07_buildDTable_raw()
/f-stack/freebsd/contrib/ncsw/inc/Peripherals/
H A Dfm_port_ext.h1354 uint8_t tableSize; member
1395 uint8_t tableSize; member
1404 uint8_t tableSize; member
/f-stack/freebsd/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()
5794 < params->p_AutoResEchoIpv4Info->tableSize) in DsarCheckParams()
5808 < params->p_AutoResEchoIpv6Info->tableSize) in DsarCheckParams()
5862 for (; i < params->p_AutoResArpInfo->tableSize; i++) in DsarCheckParams()
5869 && params->p_AutoResEchoIpv4Info->tableSize) in DsarCheckParams()
5887 && params->p_AutoResEchoIpv6Info->tableSize) in DsarCheckParams()
6031 if (params->p_AutoResArpInfo->tableSize)
6058 if (params->p_AutoResEchoIpv4Info->tableSize)
[all …]
/f-stack/freebsd/contrib/zstd/lib/dictBuilder/
H A Dzdict.c412 const U32 tableSize = table->pos; in ZDICT_tryMerge() local
417 U32 u; for (u=1; u<tableSize; u++) { in ZDICT_tryMerge()
435 for (u=1; u<tableSize; u++) { in ZDICT_tryMerge()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c2148 #define FSE_TABLESTEP(tableSize) ((tableSize>>1) + (tableSize>>3) + 3) argument
2829 U32 const tableSize = 1 << tableLog; in FSE_buildDTable() local
2830 U32 highThreshold = tableSize-1; in FSE_buildDTable()
2869 for (u=0; u<tableSize; u++) { in FSE_buildDTable()
7549 U32 const tableSize = 1 << tableLog; in FSE_buildCTable_wksp() local
7550 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp()
7559 U32 highThreshold = tableSize-1; in FSE_buildCTable_wksp()
7695 threshold = tableSize; in FSE_writeNCount_generic()
7996 for (s=0; s<tableSize; s++) in FSE_buildCTable_raw()
26771 U32 highThreshold = tableSize-1; in ZSTD_buildFSETable()
[all …]
/f-stack/freebsd/contrib/zstd/zlibWrapper/examples/
H A Dzwrapbench.c994 …BMK_benchFiles(filenames->fileNames, (unsigned)filenames->tableSize, dictFileName, cLevel, cLevelL… in main()
/f-stack/freebsd/contrib/zstd/doc/
H A Dzstd_compression_format.md1131 position += (tableSize>>1) + (tableSize>>3) + 3;
1132 position &= tableSize-1;