Home
last modified time | relevance | path

Searched refs:MaxOff (Results 1 – 19 of 19) sorted by relevance

/external/zstd/lib/decompress/
Dzstd_decompress_internal.h37 static UNUSED_ATTR const U32 OF_base[MaxOff+1] = {
43 static UNUSED_ATTR const U32 OF_bits[MaxOff+1] = {
Dzstd_decompress.c1097 { short offcodeNCount[MaxOff+1]; in ZSTD_loadDEntropy()
1098 unsigned offcodeMaxValue = MaxOff, offcodeLog; in ZSTD_loadDEntropy()
1101 RETURN_ERROR_IF(offcodeMaxValue > MaxOff, dictionary_corrupted, ""); in ZSTD_loadDEntropy()
Dzstd_decompress_block.c629 OFtype, MaxOff, OffFSELog, in ZSTD_decodeSeqHeaders()
961 assert(ofBits <= MaxOff); in ZSTD_decodeSequence()
/external/zstd/lib/common/
Dzstd_internal.h182 #define MaxOff 31 macro
191 #define ZSTD_MAX_FSE_HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) …
/external/zstd/lib/compress/
Dzstd_opt.c163 for (of=0; of<=MaxOff; of++) { in ZSTD_rescaleFreqs()
193 for (of=0; of<=MaxOff; of++) in ZSTD_rescaleFreqs()
196 optPtr->offCodeSum = MaxOff+1; in ZSTD_rescaleFreqs()
206 optPtr->offCodeSum = ZSTD_downscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_rescaleFreqs()
308 assert(offCode <= MaxOff); in ZSTD_updateStats()
1243 optPtr->offCodeSum = ZSTD_upscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_upscaleStats()
Dzstd_compress_superblock.c221 unsigned max = MaxOff; in ZSTD_buildSuperBlockEntropy_sequences()
648 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff, in ZSTD_estimateSubBlockSize_sequences()
Dzstd_compress.c1286 + ZSTD_cwksp_alloc_size((MaxOff+1) * sizeof(U32)) in ZSTD_sizeof_matchState()
1572 … ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
2253 { unsigned max = MaxOff; in ZSTD_entropyCompressSequences_internal()
3170 short offcodeNCount[MaxOff+1]; in ZSTD_loadCEntropy()
3171 unsigned offcodeMaxValue = MaxOff; in ZSTD_loadCEntropy()
3199 offcodeNCount, MaxOff, offcodeLog, in ZSTD_loadCEntropy()
3241 U32 offcodeMax = MaxOff; in ZSTD_loadCEntropy()
3247 …ffcode_repeatMode = ZSTD_dictNCountRepeat(offcodeNCount, offcodeMaxValue, MIN(offcodeMax, MaxOff)); in ZSTD_loadCEntropy()
Dzstd_compress_internal.h71 FSE_CTable offcodeCTable[FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)];
/external/zstd/lib/legacy/
Dzstd_v05.c479 #define MaxOff ((1<<Offbits)- 1) macro
3080 … FSEv05_buildDTable_rle(DTableOffb, *ip++ & MaxOff); /* if *ip > MaxOff, data is corrupted */ in ZSTDv05_decodeSeqHeaders()
3091 { unsigned max = MaxOff; in ZSTDv05_decodeSeqHeaders()
3174 static const U32 offsetPrefix[MaxOff+1] = { in ZSTDv05_decodeSequence()
3673 short offcodeNCount[MaxOff+1]; in ZSTDv05_loadEntropy()
3674 unsigned offcodeMaxValue=MaxOff, offcodeLog; in ZSTDv05_loadEntropy()
Dzstd_v06.c502 #define MaxOff 28 macro
533 static const S16 OF_defaultNorm[MaxOff+1] = { 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1,
3260 …{ size_t const bhSize = ZSTDv06_buildSeqTable(DTableOffb, Offtype, MaxOff, OffFSELog, ip, iend-i… in ZSTDv06_decodeSeqHeaders()
3312 static const U32 OF_base[MaxOff+1] = { in ZSTDv06_decodeSequence()
3820 { short offcodeNCount[MaxOff+1]; in ZSTDv06_loadEntropy()
3821 U32 offcodeMaxValue=MaxOff, offcodeLog; in ZSTDv06_loadEntropy()
Dzstd_v03.c2370 #define MaxOff 31 macro
2631 … FSE_buildDTable_rle(DTableOffb, *ip++ & MaxOff); /* if *ip > MaxOff, data is corrupted */ in ZSTD_decodeSeqHeaders()
2637 { U32 max = MaxOff; in ZSTD_decodeSeqHeaders()
2711 static const size_t offsetPrefix[MaxOff+1] = { /* note : size_t faster than U32 */ in ZSTD_decodeSequence()
Dzstd_v07.c2736 #define MaxOff 28 macro
2767 static const S16 OF_defaultNorm[MaxOff+1] = { 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1,
3490 …{ size_t const ofhSize = ZSTDv07_buildSeqTable(DTableOffb, OFtype, MaxOff, OffFSELog, ip, iend-i… in ZSTDv07_decodeSeqHeaders()
3542 static const U32 OF_base[MaxOff+1] = { in ZSTDv07_decodeSequence()
4107 { short offcodeNCount[MaxOff+1]; in ZSTDv07_loadEntropy()
4108 U32 offcodeMaxValue=MaxOff, offcodeLog; in ZSTDv07_loadEntropy()
Dzstd_v04.c376 #define MaxOff ((1<<Offbits)- 1) macro
2757 … FSE_buildDTable_rle(DTableOffb, *ip++ & MaxOff); /* if *ip > MaxOff, data is corrupted */ in ZSTD_decodeSeqHeaders()
2763 { U32 max = MaxOff; in ZSTD_decodeSeqHeaders()
2833 { static const U32 offsetPrefix[MaxOff+1] = { in ZSTD_decodeSequence()
Dzstd_v02.c2729 #define MaxOff 31 macro
2990 … FSE_buildDTable_rle(DTableOffb, *ip++ & MaxOff); /* if *ip > MaxOff, data is corrupted */ in ZSTD_decodeSeqHeaders()
2996 { U32 max = MaxOff; in ZSTD_decodeSeqHeaders()
3070 static const size_t offsetPrefix[MaxOff+1] = { /* note : size_t faster than U32 */ in ZSTD_decodeSequence()
Dzstd_v01.c1335 #define MaxOff ((1<<Offbits)-1) macro
1647 { U32 max = MaxOff; in ZSTDv01_decodeSeqHeaders()
/external/zstd/tests/
Ddecodecorpus.c205 FSE_CTable offcodeCTable [FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)];
872 { unsigned max = MaxOff; in writeSequences()
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp2699 int MaxOff = (1 << (MaskBits - IsSigned)) - 1; in isAArch64FrameOffsetLegal() local
2700 int MinOff = (IsSigned ? (-MaxOff - 1) : 0); in isAArch64FrameOffsetLegal()
2701 if (Offset >= MinOff && Offset <= MaxOff) { in isAArch64FrameOffsetLegal()
2706 int NewOff = Offset < 0 ? MinOff : MaxOff; in isAArch64FrameOffsetLegal()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp3466 int64_t MinOff, MaxOff; in isAArch64FrameOffsetLegal() local
3468 MaxOff)) in isAArch64FrameOffsetLegal()
3487 !AArch64InstrInfo::getMemOpInfo(*UnscaledOp, Scale, Width, MinOff, MaxOff)) in isAArch64FrameOffsetLegal()
3494 assert(MinOff < MaxOff && "Unexpected Min/Max offsets"); in isAArch64FrameOffsetLegal()
3496 if (MinOff <= NewOffset && NewOffset <= MaxOff) in isAArch64FrameOffsetLegal()
3499 NewOffset = NewOffset < 0 ? MinOff : MaxOff; in isAArch64FrameOffsetLegal()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp3835 int64_t MinOff, MaxOff; in isAArch64FrameOffsetLegal() local
3837 MaxOff)) in isAArch64FrameOffsetLegal()
3857 MaxOff)) in isAArch64FrameOffsetLegal()
3868 assert(MinOff < MaxOff && "Unexpected Min/Max offsets"); in isAArch64FrameOffsetLegal()
3870 if (MinOff <= NewOffset && NewOffset <= MaxOff) in isAArch64FrameOffsetLegal()
3873 NewOffset = NewOffset < 0 ? MinOff : MaxOff; in isAArch64FrameOffsetLegal()