Home
last modified time | relevance | path

Searched refs:rankVal (Results 1 – 10 of 10) sorted by relevance

/external/zstd/lib/decompress/
Dhuf_decompress.c134 U32 rankVal[HUF_TABLELOG_ABSOLUTEMAX + 1]; member
162 …iSize = HUF_readStats_wksp(wksp->huffWeight, HUF_SYMBOLVALUE_MAX + 1, wksp->rankVal, &nbSymbols, &… in HUF_readDTableX1_wksp_bmi2()
192 nextRankStart += wksp->rankVal[n]; in HUF_readDTableX1_wksp_bmi2()
216 int symbol=wksp->rankVal[0]; in HUF_readDTableX1_wksp_bmi2()
219 int const symbolCount = wksp->rankVal[w]; in HUF_readDTableX1_wksp_bmi2()
534 U32 rankVal[HUF_TABLELOG_MAX + 1]; in HUF_fillDTableX2Level2() local
537 ZSTD_memcpy(rankVal, rankValOrigin, sizeof(rankVal)); in HUF_fillDTableX2Level2()
541 U32 i, skipSize = rankVal[minWeight]; in HUF_fillDTableX2Level2()
555 const U32 start = rankVal[weight]; in HUF_fillDTableX2Level2()
564 rankVal[weight] += length; in HUF_fillDTableX2Level2()
[all …]
/external/zstd/lib/legacy/
Dzstd_v02.c1632 U32 rankVal[HUF_ABSOLUTEMAX_TABLELOG + 1]; /* large enough for values from 0 to 16 */ in HUF_readDTableX2() local
1645 …iSize = HUF_readStats(huffWeight, HUF_MAX_SYMBOL_VALUE + 1, rankVal, &nbSymbols, &tableLog, src, s… in HUF_readDTableX2()
1657 nextRankStart += (rankVal[n] << (n-1)); in HUF_readDTableX2()
1658 rankVal[n] = current; in HUF_readDTableX2()
1669 for (i = rankVal[w]; i < rankVal[w] + length; i++) in HUF_readDTableX2()
1671 rankVal[w] += length; in HUF_readDTableX2()
1844 U32 rankVal[HUF_ABSOLUTEMAX_TABLELOG + 1]; in HUF_fillDTableX4Level2() local
1848 memcpy(rankVal, rankValOrigin, sizeof(rankVal)); in HUF_fillDTableX4Level2()
1853 U32 i, skipSize = rankVal[minWeight]; in HUF_fillDTableX4Level2()
1868 const U32 start = rankVal[weight]; in HUF_fillDTableX4Level2()
[all …]
Dzstd_v03.c1629 U32 rankVal[HUF_ABSOLUTEMAX_TABLELOG + 1]; /* large enough for values from 0 to 16 */ in HUF_readDTableX2() local
1642 …iSize = HUF_readStats(huffWeight, HUF_MAX_SYMBOL_VALUE + 1, rankVal, &nbSymbols, &tableLog, src, s… in HUF_readDTableX2()
1654 nextRankStart += (rankVal[n] << (n-1)); in HUF_readDTableX2()
1655 rankVal[n] = current; in HUF_readDTableX2()
1666 for (i = rankVal[w]; i < rankVal[w] + length; i++) in HUF_readDTableX2()
1668 rankVal[w] += length; in HUF_readDTableX2()
1841 U32 rankVal[HUF_ABSOLUTEMAX_TABLELOG + 1]; in HUF_fillDTableX4Level2() local
1845 memcpy(rankVal, rankValOrigin, sizeof(rankVal)); in HUF_fillDTableX4Level2()
1850 U32 i, skipSize = rankVal[minWeight]; in HUF_fillDTableX4Level2()
1865 const U32 start = rankVal[weight]; in HUF_fillDTableX4Level2()
[all …]
Dzstd_v04.c1782 U32 rankVal[HUF_ABSOLUTEMAX_TABLELOG + 1]; /* large enough for values from 0 to 16 */ in HUF_readDTableX2() local
1794 …iSize = HUF_readStats(huffWeight, HUF_MAX_SYMBOL_VALUE + 1, rankVal, &nbSymbols, &tableLog, src, s… in HUF_readDTableX2()
1806 nextRankStart += (rankVal[n] << (n-1)); in HUF_readDTableX2()
1807 rankVal[n] = current; in HUF_readDTableX2()
1818 for (i = rankVal[w]; i < rankVal[w] + length; i++) in HUF_readDTableX2()
1820 rankVal[w] += length; in HUF_readDTableX2()
1992 U32 rankVal[HUF_ABSOLUTEMAX_TABLELOG + 1]; in HUF_fillDTableX4Level2() local
1996 memcpy(rankVal, rankValOrigin, sizeof(rankVal)); in HUF_fillDTableX4Level2()
2001 U32 i, skipSize = rankVal[minWeight]; in HUF_fillDTableX4Level2()
2016 const U32 start = rankVal[weight]; in HUF_fillDTableX4Level2()
[all …]
Dzstd_v05.c1876 U32 rankVal[HUFv05_ABSOLUTEMAX_TABLELOG + 1]; /* large enough for values from 0 to 16 */ in HUFv05_readDTableX2() local
1888 …iSize = HUFv05_readStats(huffWeight, HUFv05_MAX_SYMBOL_VALUE + 1, rankVal, &nbSymbols, &tableLog, … in HUFv05_readDTableX2()
1899 nextRankStart += (rankVal[n] << (n-1)); in HUFv05_readDTableX2()
1900 rankVal[n] = current; in HUFv05_readDTableX2()
1910 for (i = rankVal[w]; i < rankVal[w] + length; i++) in HUFv05_readDTableX2()
1912 rankVal[w] += length; in HUFv05_readDTableX2()
2120 U32 rankVal[HUFv05_ABSOLUTEMAX_TABLELOG + 1]; in HUFv05_fillDTableX4Level2() local
2124 memcpy(rankVal, rankValOrigin, sizeof(rankVal)); in HUFv05_fillDTableX4Level2()
2128 U32 i, skipSize = rankVal[minWeight]; in HUFv05_fillDTableX4Level2()
2142 const U32 start = rankVal[weight]; in HUFv05_fillDTableX4Level2()
[all …]
Dzstd_v06.c2011 U32 rankVal[HUFv06_ABSOLUTEMAX_TABLELOG + 1]; /* large enough for values from 0 to 16 */ in HUFv06_readDTableX2() local
2023 …iSize = HUFv06_readStats(huffWeight, HUFv06_MAX_SYMBOL_VALUE + 1, rankVal, &nbSymbols, &tableLog, … in HUFv06_readDTableX2()
2034 nextRankStart += (rankVal[n] << (n-1)); in HUFv06_readDTableX2()
2035 rankVal[n] = current; in HUFv06_readDTableX2()
2045 for (i = rankVal[w]; i < rankVal[w] + length; i++) in HUFv06_readDTableX2()
2047 rankVal[w] += length; in HUFv06_readDTableX2()
2253 U32 rankVal[HUFv06_ABSOLUTEMAX_TABLELOG + 1]; in HUFv06_fillDTableX4Level2() local
2256 memcpy(rankVal, rankValOrigin, sizeof(rankVal)); in HUFv06_fillDTableX4Level2()
2260 U32 i, skipSize = rankVal[minWeight]; in HUFv06_fillDTableX4Level2()
2274 const U32 start = rankVal[weight]; in HUFv06_fillDTableX4Level2()
[all …]
Dzstd_v01.c964 U32 rankVal[HUF_ABSOLUTEMAX_TABLELOG + 1]; /* large enough for values from 0 to 16 */ in HUF_readDTable() local
1010 memset(rankVal, 0, sizeof(rankVal)); in HUF_readDTable()
1015 rankVal[huffWeight[n]]++; in HUF_readDTable()
1031 rankVal[lastWeight]++; in HUF_readDTable()
1035 …if ((rankVal[1] < 2) || (rankVal[1] & 1)) return (size_t)-FSE_ERROR_corruptionDetected; /* by co… in HUF_readDTable()
1042 nextRankStart += (rankVal[n] << (n-1)); in HUF_readDTable()
1043 rankVal[n] = current; in HUF_readDTable()
1054 for (i = rankVal[w]; i < rankVal[w] + length; i++) in HUF_readDTable()
1056 rankVal[w] += length; in HUF_readDTable()
Dzstd_v07.c1783 U32 rankVal[HUFv07_TABLELOG_ABSOLUTEMAX + 1]; /* large enough for values from 0 to 16 */ in HUFv07_readDTableX2() local
1793 …iSize = HUFv07_readStats(huffWeight, HUFv07_SYMBOLVALUE_MAX + 1, rankVal, &nbSymbols, &tableLog, s… in HUFv07_readDTableX2()
1808 nextRankStart += (rankVal[n] << (n-1)); in HUFv07_readDTableX2()
1809 rankVal[n] = current; in HUFv07_readDTableX2()
1820 for (i = rankVal[w]; i < rankVal[w] + length; i++) in HUFv07_readDTableX2()
1822 rankVal[w] += length; in HUFv07_readDTableX2()
2060 U32 rankVal[HUFv07_TABLELOG_ABSOLUTEMAX + 1]; in HUFv07_fillDTableX4Level2() local
2063 memcpy(rankVal, rankValOrigin, sizeof(rankVal)); in HUFv07_fillDTableX4Level2()
2067 U32 i, skipSize = rankVal[minWeight]; in HUFv07_fillDTableX4Level2()
2081 const U32 start = rankVal[weight]; in HUFv07_fillDTableX4Level2()
[all …]
/external/zstd/lib/compress/
Dhuf_compress.c147 U32 rankVal[HUF_TABLELOG_ABSOLUTEMAX + 1]; /* large enough for values from 0 to 16 */ in HUF_readCTable() local
152 …CHECK_V_F(readSize, HUF_readStats(huffWeight, HUF_SYMBOLVALUE_MAX+1, rankVal, &nbSymbols, &tableLo… in HUF_readCTable()
153 *hasZeroWeights = (rankVal[0] > 0); in HUF_readCTable()
163 nextRankStart += (rankVal[n] << (n-1)); in HUF_readCTable()
164 rankVal[n] = curr; in HUF_readCTable()
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp2596 auto rankVal = rewriter.create<LLVM::ConstantOp>( in rewrite() local
2603 memRefDesc.setRank(rewriter, loc, rankVal); in rewrite()