Home
last modified time | relevance | path

Searched refs:Offlog (Results 1 – 6 of 6) sorted by relevance

/external/zstd/lib/legacy/
Dzstd_v01.c1584 U32 LLlog, Offlog, MLlog; in ZSTDv01_decodeSeqHeaders() local
1640 Offlog = 0; in ZSTDv01_decodeSeqHeaders()
1644 Offlog = Offbits; in ZSTDv01_decodeSeqHeaders()
1648 headerSize = FSE_readNCount(norm, &max, &Offlog, ip, iend-ip); in ZSTDv01_decodeSeqHeaders()
1650 if (Offlog > OffFSELog) return ERROR(corruption_detected); in ZSTDv01_decodeSeqHeaders()
1652 FSE_buildDTable(DTableOffb, norm, max, Offlog); in ZSTDv01_decodeSeqHeaders()
Dzstd_v03.c2573 U32 LLlog, Offlog, MLlog; in ZSTD_decodeSeqHeaders() local
2629 Offlog = 0; in ZSTD_decodeSeqHeaders()
2634 Offlog = Offbits; in ZSTD_decodeSeqHeaders()
2638 headerSize = FSE_readNCount(norm, &max, &Offlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
2640 if (Offlog > OffFSELog) return ERROR(corruption_detected); in ZSTD_decodeSeqHeaders()
2642 FSE_buildDTable(DTableOffb, norm, max, Offlog); in ZSTD_decodeSeqHeaders()
Dzstd_v04.c2699 U32 LLlog, Offlog, MLlog; in ZSTD_decodeSeqHeaders() local
2755 Offlog = 0; in ZSTD_decodeSeqHeaders()
2760 Offlog = Offbits; in ZSTD_decodeSeqHeaders()
2764 headerSize = FSE_readNCount(norm, &max, &Offlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
2766 if (Offlog > OffFSELog) return ERROR(corruption_detected); in ZSTD_decodeSeqHeaders()
2768 FSE_buildDTable(DTableOffb, norm, max, Offlog); in ZSTD_decodeSeqHeaders()
Dzstd_v02.c2932 U32 LLlog, Offlog, MLlog; in ZSTD_decodeSeqHeaders() local
2988 Offlog = 0; in ZSTD_decodeSeqHeaders()
2993 Offlog = Offbits; in ZSTD_decodeSeqHeaders()
2997 headerSize = FSE_readNCount(norm, &max, &Offlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
2999 if (Offlog > OffFSELog) return ERROR(corruption_detected); in ZSTD_decodeSeqHeaders()
3001 FSE_buildDTable(DTableOffb, norm, max, Offlog); in ZSTD_decodeSeqHeaders()
Dzstd_v05.c3009 unsigned LLlog, Offlog, MLlog; in ZSTDv05_decodeSeqHeaders() local
3078 Offlog = 0; in ZSTDv05_decodeSeqHeaders()
3083 Offlog = Offbits; in ZSTDv05_decodeSeqHeaders()
3092 headerSize = FSEv05_readNCount(norm, &max, &Offlog, ip, iend-ip); in ZSTDv05_decodeSeqHeaders()
3094 if (Offlog > OffFSEv05Log) return ERROR(corruption_detected); in ZSTDv05_decodeSeqHeaders()
3096 FSEv05_buildDTable(DTableOffb, norm, max, Offlog); in ZSTDv05_decodeSeqHeaders()
/external/zstd/lib/dictBuilder/
Dzdict.c726 U32 u, huffLog = 11, Offlog = OffFSELog, mlLog = MLFSELog, llLog = LLFSELog, total; in ZDICT_analyzeEntropy() local
788 …errorCode = FSE_normalizeCount(offcodeNCount, Offlog, offcodeCount, total, offcodeMax, /* useLowPr… in ZDICT_analyzeEntropy()
794 Offlog = (U32)errorCode; in ZDICT_analyzeEntropy()
826 … { size_t const ohSize = FSE_writeNCount(dstPtr, maxDstSize, offcodeNCount, OFFCODE_MAX, Offlog); in ZDICT_analyzeEntropy()