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

Lines Matching refs:symbol

1065 /* build a fake FSEv06_DTable, designed to read an uncompressed bitstream where each symbol uses nbBits */
1072 * FSE symbol decompression API
1108 unsigned char symbol;
1124 return DInfo.symbol;
1139 BYTE const symbol = DInfo.symbol;
1143 return symbol;
1147 unsafe, only works if no symbol has a probability > 50% */
1152 BYTE const symbol = DInfo.symbol;
1156 return symbol;
1175 * Maximum symbol value authorized.
1484 tableDecode[highThreshold--].symbol = (FSEv06_FUNCTION_TYPE)s;
1500 tableDecode[position].symbol = (FSEv06_FUNCTION_TYPE)s;
1511 FSEv06_FUNCTION_TYPE const symbol = (FSEv06_FUNCTION_TYPE)(tableDecode[u].symbol);
1512 U16 nextState = symbolNext[symbol]++;
1538 cell->symbol = symbolValue;
1564 dinfo[s].symbol = (BYTE)s;
1813 size_t HUFv06_decompress4X2 (void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize); /* single-symbol decoder */
1832 size_t HUFv06_decompress1X2 (void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize); /* single-symbol decoder */
1833 size_t HUFv06_decompress1X4 (void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize); /* double-symbol decoder */
1905 /* get last non-null symbol weight (implied, total must be 2^n) */
1996 typedef struct { BYTE byte; BYTE nbBits; } HUFv06_DEltX2; /* single-symbol decoding */
2000 typedef struct { BYTE symbol; BYTE weight; } sortedSymbol_t;
2005 /* single-symbol decoding */
2270 const U32 symbol = sortedSymbols[s].symbol;
2278 MEM_writeLE16(&(DElt.sequence), (U16)(baseSeq + (symbol << 8)));
2303 const U16 symbol = sortedList[s].symbol;
2309 if (targetLog-nbBits >= minBits) { /* enough room for a second symbol */
2317 nbBitsBaseline, symbol);
2320 MEM_writeLE16(&(DElt.sequence), symbol);
2374 sortedSymbol[r].symbol = (BYTE)s;
2425 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 */
2675 /* return HUFv06_decompress4X2(dst, dstSize, cSrc, cSrcSize); */ /* multi-streams single-symbol decoding */