Home
last modified time | relevance | path

Searched refs:tableMask (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/contrib/zstd/lib/common/
H A Dfse_decompress.c93 size_t const tableMask = tableSize-1; in FSE_buildDTable_internal() local
128 size_t const uPosition = (position + (u * step)) & tableMask; in FSE_buildDTable_internal()
131 position = (position + (unroll * step)) & tableMask; in FSE_buildDTable_internal()
136 U32 const tableMask = tableSize-1; in FSE_buildDTable_internal() local
143 position = (position + step) & tableMask; in FSE_buildDTable_internal()
144 … while (position > highThreshold) position = (position + step) & tableMask; /* lowprob area */ in FSE_buildDTable_internal()
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dfse_decompress.c94 size_t const tableMask = tableSize-1; in FSE_buildDTable_internal() local
129 size_t const uPosition = (position + (u * step)) & tableMask; in FSE_buildDTable_internal()
132 position = (position + (unroll * step)) & tableMask; in FSE_buildDTable_internal()
137 U32 const tableMask = tableSize-1; in FSE_buildDTable_internal() local
144 position = (position + step) & tableMask; in FSE_buildDTable_internal()
145 … while (position > highThreshold) position = (position + step) & tableMask; /* lowprob area */ in FSE_buildDTable_internal()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dfse_compress.c74 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp() local
148 size_t const uPosition = (position + (u * step)) & tableMask; in FSE_buildCTable_wksp()
151 position = (position + (unroll * step)) & tableMask; in FSE_buildCTable_wksp()
163 position = (position + step) & tableMask; in FSE_buildCTable_wksp()
165 position = (position + step) & tableMask; /* Low proba area */ in FSE_buildCTable_wksp()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dfse_compress.c73 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp() local
147 size_t const uPosition = (position + (u * step)) & tableMask; in FSE_buildCTable_wksp()
150 position = (position + (unroll * step)) & tableMask; in FSE_buildCTable_wksp()
162 position = (position + step) & tableMask; in FSE_buildCTable_wksp()
164 position = (position + step) & tableMask; /* Low proba area */ in FSE_buildCTable_wksp()
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c364 const U32 tableMask = tableSize-1; in FSE_buildDTable() local
400 position = (position + step) & tableMask; in FSE_buildDTable()
401 … while (position > highThreshold) position = (position + step) & tableMask; /* lowprob area */ in FSE_buildDTable()
579 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw() local
580 const unsigned maxSymbolValue = tableMask; in FSE_buildDTable_raw()
H A Dzstd_v03.c1041 const U32 tableMask = tableSize-1; in FSE_buildDTable() local
1077 position = (position + step) & tableMask; in FSE_buildDTable()
1078 … while (position > highThreshold) position = (position + step) & tableMask; /* lowprob area */ in FSE_buildDTable()
1256 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw() local
1257 const unsigned maxSymbolValue = tableMask; in FSE_buildDTable_raw()
H A Dzstd_v02.c1041 const U32 tableMask = tableSize-1; in FSE_buildDTable() local
1077 position = (position + step) & tableMask; in FSE_buildDTable()
1078 … while (position > highThreshold) position = (position + step) & tableMask; /* lowprob area */ in FSE_buildDTable()
1256 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw() local
1257 const unsigned maxSymbolValue = tableMask; in FSE_buildDTable_raw()
H A Dzstd_v04.c1023 const U32 tableMask = tableSize-1; in FSE_buildDTable() local
1060 position = (position + step) & tableMask; in FSE_buildDTable()
1061 … while (position > highThreshold) position = (position + step) & tableMask; /* lowprob area */ in FSE_buildDTable()
1241 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw() local
1242 const unsigned maxSymbolValue = tableMask; in FSE_buildDTable_raw()
H A Dzstd_v05.c1163 const U32 tableMask = tableSize-1; in FSEv05_buildDTable() local
1193 position = (position + step) & tableMask; in FSEv05_buildDTable()
1194 … while (position > highThreshold) position = (position + step) & tableMask; /* lowprob area */ in FSEv05_buildDTable()
1353 const unsigned tableMask = tableSize - 1; in FSEv05_buildDTable_raw() local
1354 const unsigned maxSymbolValue = tableMask; in FSEv05_buildDTable_raw()
H A Dzstd_v06.c1434 { U32 const tableMask = tableSize-1; in FSEv06_buildDTable() local
1441 position = (position + step) & tableMask; in FSEv06_buildDTable()
1442 … while (position > highThreshold) position = (position + step) & tableMask; /* lowprob area */ in FSEv06_buildDTable()
1492 const unsigned tableMask = tableSize - 1; in FSEv06_buildDTable_raw() local
1493 const unsigned maxSV1 = tableMask+1; in FSEv06_buildDTable_raw()
H A Dzstd_v07.c1455 { U32 const tableMask = tableSize-1; in FSEv07_buildDTable() local
1462 position = (position + step) & tableMask; in FSEv07_buildDTable()
1463 … while (position > highThreshold) position = (position + step) & tableMask; /* lowprob area */ in FSEv07_buildDTable()
1513 const unsigned tableMask = tableSize - 1; in FSEv07_buildDTable_raw() local
1514 const unsigned maxSV1 = tableMask+1; in FSEv07_buildDTable_raw()
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_block.c531 size_t const tableMask = tableSize-1; in ZSTD_buildFSETable_body() local
569 size_t const uPosition = (position + (u * step)) & tableMask; in ZSTD_buildFSETable_body()
572 position = (position + (unroll * step)) & tableMask; in ZSTD_buildFSETable_body()
577 U32 const tableMask = tableSize-1; in ZSTD_buildFSETable_body() local
585 position = (position + step) & tableMask; in ZSTD_buildFSETable_body()
586 …while (UNLIKELY(position > highThreshold)) position = (position + step) & tableMask; /* lowprob … in ZSTD_buildFSETable_body()
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c530 size_t const tableMask = tableSize-1; in ZSTD_buildFSETable_body() local
568 size_t const uPosition = (position + (u * step)) & tableMask; in ZSTD_buildFSETable_body()
571 position = (position + (unroll * step)) & tableMask; in ZSTD_buildFSETable_body()
576 U32 const tableMask = tableSize-1; in ZSTD_buildFSETable_body() local
584 position = (position + step) & tableMask; in ZSTD_buildFSETable_body()
585 …while (UNLIKELY(position > highThreshold)) position = (position + step) & tableMask; /* lowprob … in ZSTD_buildFSETable_body()