Home
last modified time | relevance | path

Searched refs:OffFSELog (Results 1 – 16 of 16) sorted by relevance

/external/zstd/lib/common/
Dzstd_internal.h186 #define OffFSELog 8 macro
187 #define MaxFSELog MAX(MAX(MLFSELog, LLFSELog), OffFSELog)
191 …HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) * OffFSELog + 7) / 8)
/external/zstd/lib/decompress/
Dzstd_decompress_internal.h81 …ZSTD_seqSymbol OFTable[SEQSYMBOL_TABLE_SIZE(OffFSELog)]; /* is also used as temporary workspace …
Dzstd_decompress_block.c629 OFtype, MaxOff, OffFSELog, in ZSTD_decodeSeqHeaders()
1002 …if (MEM_64bits() && UNLIKELY(totalBits >= STREAM_ACCUMULATOR_MIN_64-(LLFSELog+MLFSELog+OffFSELog))) in ZSTD_decodeSequence()
1005 ZSTD_STATIC_ASSERT(16+LLFSELog+MLFSELog+OffFSELog < STREAM_ACCUMULATOR_MIN_64); in ZSTD_decodeSequence()
1436 assert(max <= (1 << OffFSELog)); /* max not too large */ in ZSTD_getLongOffsetsShare()
1441 assert(tableLog <= OffFSELog); in ZSTD_getLongOffsetsShare()
1442 total <<= (OffFSELog - tableLog); /* scale to OffFSELog */ in ZSTD_getLongOffsetsShare()
Dzstd_decompress.c1102 RETURN_ERROR_IF(offcodeLog > OffFSELog, dictionary_corrupted, ""); in ZSTD_loadDEntropy()
/external/zstd/lib/compress/
Dzstd_compress_superblock.c229 OffFSELog, prevEntropy->offcodeCTable, in ZSTD_buildSuperBlockEntropy_sequences()
233 …{ size_t const countSize = ZSTD_buildCTable(op, oend - op, CTable_OffsetBits, OffFSELog, (symbol… in ZSTD_buildSuperBlockEntropy_sequences()
Dzstd_compress_sequences.c341 if (MEM_32bits() || (ofBits+mlBits+llBits >= 64-7-(LLFSELog+MLFSELog+OffFSELog))) in ZSTD_encodeSequences_body()
Dzstd_compress_internal.h71 FSE_CTable offcodeCTable[FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)];
Dzstd_compress.c2262 OffFSELog, prevEntropy->fse.offcodeCTable, in ZSTD_entropyCompressSequences_internal()
2268 CTable_OffsetBits, OffFSELog, (symbolEncodingType_e)Offtype, in ZSTD_entropyCompressSequences_internal()
3195 RETURN_ERROR_IF(offcodeLog > OffFSELog, dictionary_corrupted, ""); in ZSTD_loadCEntropy()
/external/zstd/tests/
Ddecodecorpus.c205 FSE_CTable offcodeCTable [FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)];
888 const U32 tableLog = FSE_optimalTableLog(OffFSELog, nbSeq, max); in writeSequences()
970 if (MEM_32bits() || (ofBits+mlBits+llBits >= 64-7-(LLFSELog+MLFSELog+OffFSELog))) in writeSequences()
/external/zstd/lib/legacy/
Dzstd_v01.c1339 #define OffFSELog 9 macro
1650 if (Offlog > OffFSELog) return ERROR(corruption_detected); in ZSTDv01_decodeSeqHeaders()
1840 U32 OffTable[FSE_DTABLE_SIZE_U32(OffFSELog)];
Dzstd_v06.c506 #define OffFSELog 8 macro
2811 FSEv06_DTable OffTable[FSEv06_DTABLE_SIZE_U32(OffFSELog)];
3260 …{ size_t const bhSize = ZSTDv06_buildSeqTable(DTableOffb, Offtype, MaxOff, OffFSELog, ip, iend-i… in ZSTDv06_decodeSeqHeaders()
3355 … (totalBits > 64 - 7 - (LLFSELog+MLFSELog+OffFSELog)) ) BITv06_reloadDStream(&(seqState->DStream)); in ZSTDv06_decodeSequence()
3824 if (offcodeLog > OffFSELog) return ERROR(dictionary_corrupted); in ZSTDv06_loadEntropy()
Dzstd_v07.c2740 #define OffFSELog 8 macro
2936 FSEv07_DTable OffTable[FSEv07_DTABLE_SIZE_U32(OffFSELog)];
3490 …{ size_t const ofhSize = ZSTDv07_buildSeqTable(DTableOffb, OFtype, MaxOff, OffFSELog, ip, iend-i… in ZSTDv07_decodeSeqHeaders()
3580 … (totalBits > 64 - 7 - (LLFSELog+MLFSELog+OffFSELog)) ) BITv07_reloadDStream(&(seqState->DStream)); in ZSTDv07_decodeSequence()
4111 if (offcodeLog > OffFSELog) return ERROR(dictionary_corrupted); in ZSTDv07_loadEntropy()
Dzstd_v03.c2374 #define OffFSELog 9 macro
2449 U32 OffTable[FSE_DTABLE_SIZE_U32(OffFSELog)];
2640 if (Offlog > OffFSELog) return ERROR(corruption_detected); in ZSTD_decodeSeqHeaders()
Dzstd_v04.c379 #define OffFSELog 9 macro
2501 U32 OffTable[FSE_DTABLE_SIZE_U32(OffFSELog)];
2766 if (Offlog > OffFSELog) return ERROR(corruption_detected); in ZSTD_decodeSeqHeaders()
Dzstd_v02.c2733 #define OffFSELog 9 macro
2808 U32 OffTable[FSE_DTABLE_SIZE_U32(OffFSELog)];
2999 if (Offlog > OffFSELog) return ERROR(corruption_detected); in ZSTD_decodeSeqHeaders()
/external/zstd/lib/dictBuilder/
Dzdict.c726 U32 u, huffLog = 11, Offlog = OffFSELog, mlLog = MLFSELog, llLog = LLFSELog, total; in ZDICT_analyzeEntropy()