Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/zstd/lib/common/
H A Dfse_decompress.c66 U32 const tableSize = 1 << tableLog; in FSE_buildDTable_internal() local
67 U32 highThreshold = tableSize-1; in FSE_buildDTable_internal()
92 if (highThreshold == tableSize - 1) { in FSE_buildDTable_internal()
93 size_t const tableMask = tableSize-1; in FSE_buildDTable_internal()
94 size_t const step = FSE_TABLESTEP(tableSize); in FSE_buildDTable_internal()
124 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */ in FSE_buildDTable_internal()
125 for (s = 0; s < (size_t)tableSize; s += unroll) { in FSE_buildDTable_internal()
136 U32 const tableMask = tableSize-1; in FSE_buildDTable_internal()
137 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildDTable_internal()
151 for (u=0; u<tableSize; u++) { in FSE_buildDTable_internal()
[all …]
H A Dfse.h492 { U32 const tableSize = 1 << tableLog; in FSE_bitCost() local
493 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize); in FSE_bitCost()
496 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold); in FSE_bitCost()
623 #define FSE_TABLESTEP(tableSize) (((tableSize)>>1) + ((tableSize)>>3) + 3) argument
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dfse_decompress.c67 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 Dfse.h493 { 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
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dfse_compress.c73 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 …]
/freebsd/sys/contrib/zstd/lib/compress/
H A Dfse_compress.c72 U32 const tableSize = 1 << tableLog; in FSE_buildCTable_wksp() local
73 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp()
76 void* const FSCT = ((U32*)ptr) + 1 /* header */ + (tableLog ? tableSize>>1 : 1) ; in FSE_buildCTable_wksp()
78 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildCTable_wksp()
84 U32 highThreshold = tableSize-1; in FSE_buildCTable_wksp()
97 …ZSTD_memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just t… in FSE_buildCTable_wksp()
112 cumul[maxSV1] = (U16)(tableSize+1); in FSE_buildCTable_wksp()
116 if (highThreshold == tableSize - 1) { in FSE_buildCTable_wksp()
120 …BYTE* const spread = tableSymbol + tableSize; /* size = tableSize + 8 (may write beyond tableSize)… in FSE_buildCTable_wksp()
143 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */ in FSE_buildCTable_wksp()
[all …]
/freebsd/sys/contrib/zstd/programs/
H A Dutil.c713 UTIL_assembleFileNamesTable2(const char** filenames, size_t tableSize, size_t tableCapacity, char* … in UTIL_assembleFileNamesTable2() argument
719 table->tableSize = tableSize; in UTIL_assembleFileNamesTable2()
725 UTIL_assembleFileNamesTable(const char** filenames, size_t tableSize, char* buf) in UTIL_assembleFileNamesTable() argument
727 return UTIL_assembleFileNamesTable2(filenames, tableSize, tableSize, buf); in UTIL_assembleFileNamesTable()
738 FileNamesTable* UTIL_allocateFileNamesTable(size_t tableSize) in UTIL_allocateFileNamesTable() argument
740 const char** const fnTable = (const char**)malloc(tableSize * sizeof(*fnTable)); in UTIL_allocateFileNamesTable()
743 fnt = UTIL_assembleFileNamesTable(fnTable, tableSize, NULL); in UTIL_allocateFileNamesTable()
744 fnt->tableSize = 0; /* the table is empty */ in UTIL_allocateFileNamesTable()
750 for(i=0 ;i < table->tableSize; i++) { in UTIL_searchFileNamesTable()
760 assert(fnt->tableSize < fnt->tableCapacity); in UTIL_refFilename()
[all …]
H A Dzstdcli.c1353 unsigned const nbFilenames = (unsigned)filenames->tableSize; in main()
1364 filenames->tableSize = fileNamesNb; in main()
1368 if (file_of_names->tableSize) { in main()
1369 size_t const nbFileLists = file_of_names->tableSize; in main()
1381 nbInputFileNames = filenames->tableSize; /* saving number of input files */ in main()
1392 …int const ret = FIO_listMultipleFiles((unsigned)filenames->tableSize, filenames->fileNames, g_disp… in main()
1429 if (filenames->tableSize > 1) in main()
1430 DISPLAYLEVEL(3, "%u files ", (unsigned)filenames->tableSize); in main()
1437 if (filenames->tableSize > 0) { in main()
1440 for(i = 0; i < filenames->tableSize; i++) { in main()
[all …]
H A Dutil.h249 size_t tableSize; /* nb of fileNames */ member
269 UTIL_assembleFileNamesTable(const char** filenames, size_t tableSize, char* buf);
305 FileNamesTable* UTIL_allocateFileNamesTable(size_t tableSize);
/freebsd/contrib/llvm-project/lld/COFF/
H A DDebugTypes.cpp937 uint32_t tableSize = 0; member
1020 tableSize = newTableSize; in init()
1032 tableSize; in insert()
1058 idx = idx == tableSize ? 0 : idx; in insert()
1096 size_t tableSize = 0; in mergeTypesWithGHash() local
1098 tableSize += source->ghashes.size(); in mergeTypesWithGHash()
1102 tableSize = in mergeTypesWithGHash()
1103 std::min(size_t(INT32_MAX) - TypeIndex::FirstNonSimpleIndex, tableSize); in mergeTypesWithGHash()
1104 ghashState.table.init(static_cast<uint32_t>(tableSize)); in mergeTypesWithGHash()
1140 for (const GHashCell &cell : ArrayRef(ghashState.table.table, tableSize)) { in mergeTypesWithGHash()
[all …]
/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.c347 static U32 FSE_tableStep(U32 tableSize) { return (tableSize>>1) + (tableSize>>3) + 3; } in FSE_tableStep() argument
363 const U32 tableSize = 1 << tableLog; in FSE_buildDTable() local
364 const U32 tableMask = tableSize-1; in FSE_buildDTable()
365 const U32 step = FSE_tableStep(tableSize); in FSE_buildDTable()
368 U32 highThreshold = tableSize-1; in FSE_buildDTable()
410 for (i=0; i<tableSize; i++) in FSE_buildDTable()
415 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
578 const unsigned tableSize = 1 << nbBits; in FSE_buildDTable_raw() local
579 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw()
H A Dzstd_v03.c1032 static U32 FSE_tableStep(U32 tableSize) { return (tableSize>>1) + (tableSize>>3) + 3; } in FSE_tableStep() argument
1040 const U32 tableSize = 1 << tableLog; in FSE_buildDTable() local
1041 const U32 tableMask = tableSize-1; in FSE_buildDTable()
1042 const U32 step = FSE_tableStep(tableSize); in FSE_buildDTable()
1045 U32 highThreshold = tableSize-1; in FSE_buildDTable()
1087 for (i=0; i<tableSize; i++) in FSE_buildDTable()
1092 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
1255 const unsigned tableSize = 1 << nbBits; in FSE_buildDTable_raw() local
1256 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw()
H A Dzstd_v02.c1032 static U32 FSE_tableStep(U32 tableSize) { return (tableSize>>1) + (tableSize>>3) + 3; } in FSE_tableStep() argument
1040 const U32 tableSize = 1 << tableLog; in FSE_buildDTable() local
1041 const U32 tableMask = tableSize-1; in FSE_buildDTable()
1042 const U32 step = FSE_tableStep(tableSize); in FSE_buildDTable()
1045 U32 highThreshold = tableSize-1; in FSE_buildDTable()
1087 for (i=0; i<tableSize; i++) in FSE_buildDTable()
1092 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
1255 const unsigned tableSize = 1 << nbBits; in FSE_buildDTable_raw() local
1256 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw()
H A Dzstd_v04.c1014 static U32 FSE_tableStep(U32 tableSize) { return (tableSize>>1) + (tableSize>>3) + 3; } in FSE_tableStep() argument
1022 const U32 tableSize = 1 << tableLog; in FSE_buildDTable() local
1023 const U32 tableMask = tableSize-1; in FSE_buildDTable()
1024 const U32 step = FSE_tableStep(tableSize); in FSE_buildDTable()
1027 U32 highThreshold = tableSize-1; in FSE_buildDTable()
1070 for (i=0; i<tableSize; i++) in FSE_buildDTable()
1075 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSE_buildDTable()
1240 const unsigned tableSize = 1 << nbBits; in FSE_buildDTable_raw() local
1241 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw()
H A Dzstd_v05.c1142 static U32 FSEv05_tableStep(U32 tableSize) { return (tableSize>>1) + (tableSize>>3) + 3; } in FSEv05_tableStep() argument
1162 const U32 tableSize = 1 << tableLog; in FSEv05_buildDTable() local
1163 const U32 tableMask = tableSize-1; in FSEv05_buildDTable()
1164 const U32 step = FSEv05_tableStep(tableSize); in FSEv05_buildDTable()
1167 U32 highThreshold = tableSize-1; in FSEv05_buildDTable()
1202 for (i=0; i<tableSize; i++) { in FSEv05_buildDTable()
1206 tableDecode[i].newState = (U16) ( (nextState << tableDecode[i].nbBits) - tableSize); in FSEv05_buildDTable()
1352 const unsigned tableSize = 1 << nbBits; in FSEv05_buildDTable_raw() local
1353 const unsigned tableMask = tableSize - 1; in FSEv05_buildDTable_raw()
H A Dzstd_v06.c1145 #define FSEv06_TABLESTEP(tableSize) ((tableSize>>1) + (tableSize>>3) + 3) argument
1409 U32 const tableSize = 1 << tableLog; in FSEv06_buildDTable() local
1410 U32 highThreshold = tableSize-1; in FSEv06_buildDTable()
1434 { U32 const tableMask = tableSize-1; in FSEv06_buildDTable()
1435 U32 const step = FSEv06_TABLESTEP(tableSize); in FSEv06_buildDTable()
1450 for (u=0; u<tableSize; u++) { in FSEv06_buildDTable()
1454 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in FSEv06_buildDTable()
1491 const unsigned tableSize = 1 << nbBits; in FSEv06_buildDTable_raw() local
1492 const unsigned tableMask = tableSize - 1; in FSEv06_buildDTable_raw()
H A Dzstd_v07.c910 #define FSEv07_TABLESTEP(tableSize) ((tableSize>>1) + (tableSize>>3) + 3) argument
1430 U32 const tableSize = 1 << tableLog; in FSEv07_buildDTable() local
1431 U32 highThreshold = tableSize-1; in FSEv07_buildDTable()
1455 { U32 const tableMask = tableSize-1; in FSEv07_buildDTable()
1456 U32 const step = FSEv07_TABLESTEP(tableSize); in FSEv07_buildDTable()
1471 for (u=0; u<tableSize; u++) { in FSEv07_buildDTable()
1475 tableDecode[u].newState = (U16) ( (nextState << tableDecode[u].nbBits) - tableSize); in FSEv07_buildDTable()
1512 const unsigned tableSize = 1 << nbBits; in FSEv07_buildDTable_raw() local
1513 const unsigned tableMask = tableSize - 1; in FSEv07_buildDTable_raw()
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_block.c493 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 …]
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c492 U32 const tableSize = 1 << tableLog; in ZSTD_buildFSETable_body() local
496 U32 highThreshold = tableSize - 1; in ZSTD_buildFSETable_body()
523 assert(tableSize <= 512); in ZSTD_buildFSETable_body()
529 if (highThreshold == tableSize - 1) { in ZSTD_buildFSETable_body()
530 size_t const tableMask = tableSize-1; in ZSTD_buildFSETable_body()
531 size_t const step = FSE_TABLESTEP(tableSize); in ZSTD_buildFSETable_body()
564 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */ in ZSTD_buildFSETable_body()
565 for (s = 0; s < (size_t)tableSize; s += unroll) { in ZSTD_buildFSETable_body()
576 U32 const tableMask = tableSize-1; in ZSTD_buildFSETable_body()
577 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/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.c358 const U32 tableSize = table->pos; in ZDICT_tryMerge() local
363 U32 u; for (u=1; u<tableSize; u++) { in ZDICT_tryMerge()
381 for (u=1; u<tableSize; u++) { in ZDICT_tryMerge()
/freebsd/contrib/wpa/src/utils/
H A Dhttp_curl.c308 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()

12