• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/zstd/lib/legacy/

Lines Matching refs:symbol

957 /* build a fake FSEv05_DTable, designed to read an uncompressed bitstream where each symbol uses nbBits */
965 * FSEv05 symbol decompression API
1002 unsigned char symbol;
1018 return DInfo.symbol;
1025 BYTE symbol = DInfo.symbol;
1029 return symbol;
1036 BYTE symbol = DInfo.symbol;
1040 return symbol;
1102 * Maximum symbol value authorized.
1237 tableDecode[highThreshold--].symbol = (FSEv05_FUNCTION_TYPE)s;
1248 tableDecode[position].symbol = (FSEv05_FUNCTION_TYPE)s;
1259 FSEv05_FUNCTION_TYPE symbol = (FSEv05_FUNCTION_TYPE)(tableDecode[i].symbol);
1260 U16 nextState = symbolNext[symbol]++;
1395 cell->symbol = symbolValue;
1421 dinfo[s].symbol = (BYTE)s;
1670 size_t HUFv05_decompress4X2 (void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize); /* single-symbol decoder */
1692 size_t HUFv05_decompress1X2 (void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize); /* single-symbol decoder */
1693 size_t HUFv05_decompress1X4 (void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize); /* double-symbol decoder */
1787 typedef struct { BYTE byte; BYTE nbBits; } HUFv05_DEltX2; /* single-symbol decoding */
1791 typedef struct { BYTE symbol; BYTE weight; } sortedSymbol_t;
1846 /* get last non-null symbol weight (implied, total must be 2^n) */
1870 /* single-symbol decoding */
2138 const U32 symbol = sortedSymbols[s].symbol;
2146 MEM_writeLE16(&(DElt.sequence), (U16)(baseSeq + (symbol << 8)));
2171 const U16 symbol = sortedList[s].symbol;
2177 if (targetLog-nbBits >= minBits) { /* enough room for a second symbol */
2185 nbBitsBaseline, symbol);
2191 MEM_writeLE16(&(DElt.sequence), symbol);
2246 sortedSymbol[r].symbol = (BYTE)s;
2296 DStream->bitsConsumed = (sizeof(DStream->bitContainer)*8); /* ugly hack; works only because it's the last symbol. Note : can't easily extract nbBits from just this symbol */
2546 /* return HUFv05_decompress4X2(dst, dstSize, cSrc, cSrcSize); */ /* multi-streams single-symbol decoding */