| /freebsd-13-stable/sys/contrib/zstd/lib/common/ |
| HD | fse_decompress.c | 79 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 …]
|
| HD | fse.h | 577 { 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
|
| /freebsd-13-stable/sys/contrib/zstd/lib/compress/ |
| HD | fse_compress.c | 71 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() 82 U32 highThreshold = tableSize-1; in FSE_buildCTable_wksp() 95 …ZSTD_memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just t… 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() 130 …tableU16[cumul[s]++] = (U16) (tableSize+u); /* TableU16 : sorted by symbol order; gives next sta… in FSE_buildCTable_wksp() 205 const int tableSize = 1 << tableLog; in FSE_writeNCount_generic() local [all …]
|
| /freebsd-13-stable/sys/contrib/zstd/programs/ |
| HD | util.c | 407 UTIL_assembleFileNamesTable2(const char** filenames, size_t tableSize, size_t tableCapacity, char* … in UTIL_assembleFileNamesTable2() argument 413 table->tableSize = tableSize; in UTIL_assembleFileNamesTable2() 419 UTIL_assembleFileNamesTable(const char** filenames, size_t tableSize, char* buf) in UTIL_assembleFileNamesTable() argument 421 return UTIL_assembleFileNamesTable2(filenames, tableSize, tableSize, buf); in UTIL_assembleFileNamesTable() 432 FileNamesTable* UTIL_allocateFileNamesTable(size_t tableSize) in UTIL_allocateFileNamesTable() argument 434 const char** const fnTable = (const char**)malloc(tableSize * sizeof(*fnTable)); in UTIL_allocateFileNamesTable() 437 fnt = UTIL_assembleFileNamesTable(fnTable, tableSize, NULL); in UTIL_allocateFileNamesTable() 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() [all …]
|
| HD | zstdcli.c | 1112 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() 1149 …int const ret = FIO_listMultipleFiles((unsigned)filenames->tableSize, filenames->fileNames, g_disp… in main() 1180 if (filenames->tableSize > 0) { in main() 1183 for(i = 0; i < filenames->tableSize; i++) { in main() 1191 …BMK_benchFilesAdvanced(filenames->fileNames, (unsigned)filenames->tableSize, dictFileName, cLevel,… in main() 1215 …es(outFileName, maxDictSize, filenames->fileNames, (unsigned)filenames->tableSize, blockSize, NULL… in main() 1220 …es(outFileName, maxDictSize, filenames->fileNames, (unsigned)filenames->tableSize, blockSize, NULL… in main() [all …]
|
| HD | util.h | 186 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);
|
| /freebsd-13-stable/contrib/llvm-project/lld/COFF/ |
| HD | DebugTypes.cpp | 932 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 …]
|
| HD | DLL.cpp | 652 size_t tableSize) in ExportOrdinalChunk() argument 653 : baseOrdinal(baseOrdinal), size(tableSize), ctx(ctx) {} in ExportOrdinalChunk()
|
| /freebsd-13-stable/sys/contrib/zstd/lib/decompress/ |
| HD | zstd_decompress_block.c | 375 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 …]
|
| /freebsd-13-stable/sys/contrib/ncsw/Peripherals/FM/Pcd/ |
| HD | fm_manip.c | 87 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 …]
|
| HD | fm_manip.h | 272 #define MANIP_GET_HMCT_SIZE(h_Manip) (((t_FmPcdManip *)h_Manip)->tableSize) 507 uint16_t tableSize; member
|
| /freebsd-13-stable/sys/contrib/zstd/lib/legacy/ |
| HD | zstd_v01.c | 389 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()
|
| HD | zstd_v03.c | 1098 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()
|
| HD | zstd_v04.c | 1074 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()
|
| HD | zstd_v02.c | 1097 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()
|
| HD | zstd_v06.c | 1205 #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()
|
| HD | zstd_v05.c | 1198 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()
|
| HD | zstd_v07.c | 969 #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()
|
| /freebsd-13-stable/sys/contrib/ncsw/inc/Peripherals/ |
| HD | fm_port_ext.h | 1354 uint8_t tableSize; member 1395 uint8_t tableSize; member 1404 uint8_t tableSize; member
|
| /freebsd-13-stable/sys/contrib/ncsw/Peripherals/FM/Port/ |
| HD | fm_port.c | 5702 * 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-13-stable/sys/contrib/zstd/lib/dictBuilder/ |
| HD | zdict.c | 412 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()
|
| /freebsd-13-stable/contrib/wpa/src/utils/ |
| HD | http_curl.c | 308 ASN1_INTEGER *tableSize; member 382 ASN1_IMP(LogotypeImageResolution, d.tableSize, ASN1_INTEGER, 2) 656 val = ASN1_INTEGER_get(info->resolution->d.tableSize); in i2r_LogotypeImageInfo()
|
| /freebsd-13-stable/sys/contrib/openzfs/module/zstd/lib/ |
| HD | zstd.c | 2020 { U32 const tableSize = 1 << tableLog; in FSE_bitCost() local 2021 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize); in FSE_bitCost() 2024 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold); in FSE_bitCost() 2148 #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() 2854 { U32 const tableMask = tableSize-1; in FSE_buildDTable() 2855 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildDTable() 2869 for (u=0; u<tableSize; u++) { in FSE_buildDTable() 2873 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in FSE_buildDTable() [all …]
|
| /freebsd-13-stable/sys/contrib/zstd/zlibWrapper/examples/ |
| HD | zwrapbench.c | 994 …BMK_benchFiles(filenames->fileNames, (unsigned)filenames->tableSize, dictFileName, cLevel, cLevelL… in main()
|
| /freebsd-13-stable/sys/contrib/zstd/doc/ |
| HD | zstd_compression_format.md | 1131 position += (tableSize>>1) + (tableSize>>3) + 3; 1132 position &= tableSize-1;
|