Home
last modified time | relevance | path

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

/external/zstd/lib/compress/
Dhuf_compress.c71 FSE_CTable CTable[FSE_CTABLE_SIZE_U32(MAX_FSE_TABLELOG_FOR_HUFF_HEADER, HUF_TABLELOG_MAX)]; in HUF_compressWeights() local
95 …CHECK_F( FSE_buildCTable_wksp(CTable, norm, maxSymbolValue, tableLog, scratchBuffer, sizeof(scratc… in HUF_compressWeights()
96 … CHECK_V_F(cSize, FSE_compress_usingCTable(op, (size_t)(oend - op), weightTable, wtSize, CTable) ); in HUF_compressWeights()
109 const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog) in HUF_writeCTable() argument
124 huffWeight[n] = bitsToWeight[CTable[n].nbBits]; in HUF_writeCTable()
144 size_t HUF_readCTable (HUF_CElt* CTable, unsigned* maxSymbolValuePtr, const void* src, size_t srcSi… in HUF_readCTable() argument
170 CTable[n].nbBits = (BYTE)(tableLog + 1 - w) & -(w != 0); in HUF_readCTable()
176 { U32 n; for (n=0; n<nbSymbols; n++) nbPerRank[CTable[n].nbBits]++; } in HUF_readCTable()
186 { U32 n; for (n=0; n<nbSymbols; n++) CTable[n].val = valPerRank[CTable[n].nbBits]++; } in HUF_readCTable()
472 static void HUF_buildCTableFromTree(HUF_CElt* CTable, nodeElt const* huffNode, int nonNullRank, U32… in HUF_buildCTableFromTree() argument
[all …]
Dzstd_compress_superblock.c116 …if (repeat == HUF_repeat_check && !HUF_validateCTable((HUF_CElt const*)prevHuf->CTable, countWksp,… in ZSTD_buildSuperBlockEntropy_literal()
121 ZSTD_memset(nextHuf->CTable, 0, sizeof(nextHuf->CTable)); in ZSTD_buildSuperBlockEntropy_literal()
123 { size_t const maxBits = HUF_buildCTable_wksp((HUF_CElt*)nextHuf->CTable, countWksp, in ZSTD_buildSuperBlockEntropy_literal()
130 (HUF_CElt*)nextHuf->CTable, countWksp, maxSymbolValue); in ZSTD_buildSuperBlockEntropy_literal()
133 (HUF_CElt*)nextHuf->CTable, maxSymbolValue, huffLog); in ZSTD_buildSuperBlockEntropy_literal()
137 (HUF_CElt const*)prevHuf->CTable, countWksp, maxSymbolValue); in ZSTD_buildSuperBlockEntropy_literal()
553 { size_t cLitSize = ZSTD_compressSubBlock_literal((const HUF_CElt*)entropy->huf.CTable, in ZSTD_compressSubBlock()
594 …{ size_t cLitSizeEstimate = HUF_estimateCompressedSize((const HUF_CElt*)huf->CTable, countWksp, … in ZSTD_estimateSubBlockSize_literal()
Dzstd_compress_literals.c108 (HUF_CElt*)nextHuf->CTable, &repeat, preferRepeat, bmi2) : in ZSTD_compressLiterals()
112 (HUF_CElt*)nextHuf->CTable, &repeat, preferRepeat, bmi2); in ZSTD_compressLiterals()
Dfse_compress.c644 FSE_CTable* CTable = (FSE_CTable*)workSpace; in FSE_compress_wksp() local
646 void* scratchBuffer = (void*)(CTable + CTableSize); in FSE_compress_wksp()
671 …CHECK_F( FSE_buildCTable_wksp(CTable, norm, maxSymbolValue, tableLog, scratchBuffer, scratchBuffer… in FSE_compress_wksp()
672 { CHECK_V_F(cSize, FSE_compress_usingCTable(op, oend - op, src, srcSize, CTable) ); in FSE_compress_wksp()
Dzstd_compress_internal.h66 HUF_CElt CTable[HUF_CTABLE_SIZE_U32(255)]; member
Dzstd_opt.c129 U32 const bitCost = HUF_getNbBits(optPtr->symbolCosts->huf.CTable, lit); in ZSTD_rescaleFreqs()
Dzstd_compress.c3179 …size_t const hufHeaderSize = HUF_readCTable((HUF_CElt*)bs->entropy.huf.CTable, &maxSymbolValue, di… in ZSTD_loadCEntropy()
/external/zstd/lib/common/
Dhuf.h193 size_t HUF_buildCTable (HUF_CElt* CTable, const unsigned* count, unsigned maxSymbolValue, unsigned …
194 size_t HUF_writeCTable (void* dst, size_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbolVal…
195 …4X_usingCTable(void* dst, size_t dstSize, const void* src, size_t srcSize, const HUF_CElt* CTable);
196 size_t HUF_estimateCompressedSize(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbol…
197 int HUF_validateCTable(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbolValue);
249 size_t HUF_readCTable (HUF_CElt* CTable, unsigned* maxSymbolValuePtr, const void* src, size_t srcSi…
308 …1X_usingCTable(void* dst, size_t dstSize, const void* src, size_t srcSize, const HUF_CElt* CTable);
/external/llvm-project/llvm/test/TableGen/
Dgeneric-tables.td133 def CTable : GenericTable {
145 let Table = CTable;
/external/llvm-project/llvm/docs/TableGen/
DBackEnds.rst815 def CTable : GenericTable {
842 constexpr CEntry CTable[] = {
853 auto Table = makeArrayRef(CTable);
916 Here is an example of a secondary key added to the ``CTable`` above. The
922 let Table = CTable;
968 return &CTable[Idx->_index];