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

Lines Matching refs:symbol

667 /* build a fake FSE_DTable, designed to read an uncompressed bitstream where each symbol uses nbBits */
674 * FSE symbol decompression API
711 unsigned char symbol;
728 BYTE symbol = DInfo.symbol;
732 return symbol;
739 BYTE symbol = DInfo.symbol;
743 return symbol;
815 static size_t HUF_decompress4X2 (void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize); /* single-symbol decoder */
997 * Maximum symbol value authorized.
1010 * Byte symbol type
1125 tableDecode[highThreshold--].symbol = (FSE_FUNCTION_TYPE)s;
1141 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s;
1154 FSE_FUNCTION_TYPE symbol = (FSE_FUNCTION_TYPE)(tableDecode[i].symbol);
1155 U16 nextState = symbolNext[symbol]++;
1308 cell->symbol = symbolValue;
1334 dinfo[s].symbol = (BYTE)s;
1535 typedef struct { BYTE byte; BYTE nbBits; } HUF_DEltX2; /* single-symbol decoding */
1539 typedef struct { BYTE symbol; BYTE weight; } sortedSymbol_t;
1602 /* get last non-null symbol weight (implied, total must be 2^n) */
1626 /* single-symbol decoding */
1864 const U32 symbol = sortedSymbols[s].symbol;
1872 MEM_writeLE16(&(DElt.sequence), (U16)(baseSeq + (symbol << 8)));
1898 const U16 symbol = sortedList[s].symbol;
1904 if (targetLog-nbBits >= minBits) /* enough room for a second symbol */
1913 nbBitsBaseline, symbol);
1921 MEM_writeLE16(&(DElt.sequence), symbol);
1980 sortedSymbol[r].symbol = (BYTE)s;
2037 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 */
2196 /* quad-symbol decoding */
2233 const BYTE symbol = sortedSymbols[s].symbol;
2239 baseSeq.byte[level] = symbol;
2242 if ((level<3) && (sizeLog-totalBits >= minBits)) /* enough room for another symbol */
2314 sortedSymbol[r].symbol = (BYTE)s;
2389 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 */
2608 //return HUF_decompress4X2(dst, dstSize, cSrc, cSrcSize); /* multi-streams single-symbol decoding */