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

Lines Matching refs:symbol

832 /**< build a fake FSEv07_DTable, designed to read an uncompressed bitstream where each symbol uses nbBits */
840 * FSE symbol decompression API
872 unsigned char symbol;
888 return DInfo.symbol;
903 BYTE const symbol = DInfo.symbol;
907 return symbol;
911 unsafe, only works if no symbol has a probability > 50% */
916 BYTE const symbol = DInfo.symbol;
920 return symbol;
939 * Maximum symbol value authorized.
1082 size_t HUFv07_decompress4X2 (void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize); /**< single-symbol decoder */
1087 size_t HUFv07_decompress4X2_DCtx(HUFv07_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize); /**< single-symbol decoder */
1091 size_t HUFv07_decompress1X2_DCtx(HUFv07_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize); /**< single-symbol decoder */
1138 size_t HUFv07_decompress1X2 (void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize); /* single-symbol decoder */
1139 size_t HUFv07_decompress1X4 (void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize); /* double-symbol decoder */
1357 /* get last non-null symbol weight (implied, total must be 2^n) */
1504 tableDecode[highThreshold--].symbol = (FSEv07_FUNCTION_TYPE)s;
1520 tableDecode[position].symbol = (FSEv07_FUNCTION_TYPE)s;
1531 FSEv07_FUNCTION_TYPE const symbol = (FSEv07_FUNCTION_TYPE)(tableDecode[u].symbol);
1532 U16 nextState = symbolNext[symbol]++;
1558 cell->symbol = symbolValue;
1584 dinfo[s].symbol = (BYTE)s;
1775 /* single-symbol decoding */
1778 typedef struct { BYTE byte; BYTE nbBits; } HUFv07_DEltX2; /* single-symbol decoding */
2052 typedef struct { BYTE symbol; BYTE weight; } sortedSymbol_t;
2077 const U32 symbol = sortedSymbols[s].symbol;
2085 MEM_writeLE16(&(DElt.sequence), (U16)(baseSeq + (symbol << 8)));
2110 const U16 symbol = sortedList[s].symbol;
2116 if (targetLog-nbBits >= minBits) { /* enough room for a second symbol */
2124 nbBitsBaseline, symbol);
2127 MEM_writeLE16(&(DElt.sequence), symbol);
2182 sortedSymbol[r].symbol = (BYTE)s;
2236 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 */
2537 /* return HUFv07_decompress4X2(dst, dstSize, cSrc, cSrcSize); */ /* multi-streams single-symbol decoding */