Searched refs:nbSeq (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/lib/zstd/ |
D | compress.c | 571 U32 const nbSeq = (U32)(seqStorePtr->sequences - seqStorePtr->sequencesStart); in ZSTD_seqToCodes() local 573 for (u = 0; u < nbSeq; u++) { in ZSTD_seqToCodes() 601 size_t const nbSeq = seqStorePtr->sequences - seqStorePtr->sequencesStart; in ZSTD_compressSequences_internal() local 632 if (nbSeq < 0x7F) in ZSTD_compressSequences_internal() 633 *op++ = (BYTE)nbSeq; in ZSTD_compressSequences_internal() 634 else if (nbSeq < LONGNBSEQ) in ZSTD_compressSequences_internal() 635 op[0] = (BYTE)((nbSeq >> 8) + 0x80), op[1] = (BYTE)nbSeq, op += 2; in ZSTD_compressSequences_internal() 637 op[0] = 0xFF, ZSTD_writeLE16(op + 1, (U16)(nbSeq - LONGNBSEQ)), op += 3; in ZSTD_compressSequences_internal() 638 if (nbSeq == 0) in ZSTD_compressSequences_internal() 653 size_t const mostFrequent = FSE_countFast_wksp(count, &max, llCodeTable, nbSeq, workspace); in ZSTD_compressSequences_internal() [all …]
|
D | decompress.c | 806 int nbSeq = *ip++; in ZSTD_decodeSeqHeaders() local 807 if (!nbSeq) { in ZSTD_decodeSeqHeaders() 811 if (nbSeq > 0x7F) { in ZSTD_decodeSeqHeaders() 812 if (nbSeq == 0xFF) { in ZSTD_decodeSeqHeaders() 815 nbSeq = ZSTD_readLE16(ip) + LONGNBSEQ, ip += 2; in ZSTD_decodeSeqHeaders() 819 nbSeq = ((nbSeq - 0x80) << 8) + *ip++; in ZSTD_decodeSeqHeaders() 822 *nbSeqPtr = nbSeq; in ZSTD_decodeSeqHeaders() 1105 int nbSeq; in ZSTD_decompressSequences() local 1109 size_t const seqHSize = ZSTD_decodeSeqHeaders(dctx, &nbSeq, ip, seqSize); in ZSTD_decompressSequences() 1116 if (nbSeq) { in ZSTD_decompressSequences() [all …]
|