Home
last modified time | relevance | path

Searched refs:maxDstSize (Results 1 – 20 of 20) sorted by relevance

/external/zstd/lib/common/
Dhuf.h194 size_t HUF_writeCTable (void* dst, size_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbolVal…
293 size_t HUF_decompress4X_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize…
295 size_t HUF_decompress4X1_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSiz…
298 size_t HUF_decompress4X2_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSiz…
336 size_t HUF_decompress1X_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize…
338 size_t HUF_decompress1X1_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSiz…
341 size_t HUF_decompress1X2_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSiz…
347 size_t HUF_decompress1X_usingDTable_bmi2(void* dst, size_t maxDstSize, const void* cSrc, size_t cSr…
351 size_t HUF_decompress4X_usingDTable_bmi2(void* dst, size_t maxDstSize, const void* cSrc, size_t cSr…
Dfse_decompress.c232 void* dst, size_t maxDstSize, in FSE_decompress_usingDTable_generic() argument
238 BYTE* const omax = op + maxDstSize; in FSE_decompress_usingDTable_generic()
/external/zstd/lib/legacy/
Dzstd_v01.c819 void* dst, size_t maxDstSize, in FSE_decompress_usingDTable_generic() argument
825 BYTE* const omax = op + maxDstSize; in FSE_decompress_usingDTable_generic()
901 static size_t FSE_decompress(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize) in FSE_decompress() argument
924 return FSE_decompress_usingDTable (dst, maxDstSize, ip, cSrcSize, dt); in FSE_decompress()
1072 void* dst, size_t maxDstSize, in HUF_decompress_usingDTable() argument
1080 BYTE* const omax = op + maxDstSize; in HUF_decompress_usingDTable()
1081 BYTE* const olimit = maxDstSize < 15 ? op : omax-15; in HUF_decompress_usingDTable()
1175 static size_t HUF_decompress (void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize) in HUF_decompress() argument
1187 return HUF_decompress_usingDTable (dst, maxDstSize, ip, cSrcSize, DTable); in HUF_decompress()
1487 static size_t ZSTD_copyUncompressedBlock(void* dst, size_t maxDstSize, const void* src, size_t srcS… in ZSTD_copyUncompressedBlock() argument
[all …]
Dzstd_v04.c277 void* dst, size_t maxDstSize,
290 static size_t ZSTD_decompressContinue(ZSTD_DCtx* dctx, void* dst, size_t maxDstSize, const void* sr…
431 static size_t FSE_decompress(void* dst, size_t maxDstSize,
504 static size_t FSE_decompress_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cS…
1322 void* dst, size_t maxDstSize, in FSE_decompress_usingDTable_generic() argument
1328 BYTE* const omax = op + maxDstSize; in FSE_decompress_usingDTable_generic()
1407 static size_t FSE_decompress(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize) in FSE_decompress() argument
1430 return FSE_decompress_usingDTable (dst, maxDstSize, ip, cSrcSize, dt); in FSE_decompress()
1592 static size_t HUF_decompress4X2_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t …
1593 static size_t HUF_decompress4X4_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t …
[all …]
Dzstd_v05.c605 size_t FSEv05_decompress(void* dst, size_t maxDstSize,
1429 void* dst, size_t maxDstSize, in FSEv05_decompress_usingDTable_generic() argument
1435 BYTE* const omax = op + maxDstSize; in FSEv05_decompress_usingDTable_generic()
1510 size_t FSEv05_decompress(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize) in FSEv05_decompress() argument
1533 return FSEv05_decompress_usingDTable (dst, maxDstSize, ip, cSrcSize, dt); in FSEv05_decompress()
1686 size_t HUFv05_decompress4X2_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrc…
1687 size_t HUFv05_decompress4X4_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrc…
1695 size_t HUFv05_decompress1X2_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrc…
1696 size_t HUFv05_decompress1X4_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrc…
2855 static size_t ZSTDv05_copyRawBlock(void* dst, size_t maxDstSize, const void* src, size_t srcSize) in ZSTDv05_copyRawBlock() argument
[all …]
Dzstd_v03.c1343 void* dst, size_t maxDstSize, in FSE_decompress_usingDTable_generic() argument
1349 BYTE* const omax = op + maxDstSize; in FSE_decompress_usingDTable_generic()
1425 static size_t FSE_decompress(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize) in FSE_decompress() argument
1448 return FSE_decompress_usingDTable (dst, maxDstSize, ip, cSrcSize, dt); in FSE_decompress()
2481 static size_t ZSTD_copyUncompressedBlock(void* dst, size_t maxDstSize, const void* src, size_t srcS… in ZSTD_copyUncompressedBlock() argument
2483 if (srcSize > maxDstSize) return ERROR(dstSize_tooSmall); in ZSTD_copyUncompressedBlock()
2819 void* dst, size_t maxDstSize, in ZSTD_decompressSequences() argument
2827 BYTE* const oend = ostart + maxDstSize; in ZSTD_decompressSequences()
2892 void* dst, size_t maxDstSize, in ZSTD_decompressBlock() argument
2904 return ZSTD_decompressSequences(ctx, dst, maxDstSize, ip, srcSize); in ZSTD_decompressBlock()
[all …]
Dzstd_v02.h74 size_t ZSTDv02_decompressContinue(ZSTDv02_Dctx* dctx, void* dst, size_t maxDstSize, const void* src…
Dzstd_v03.h74 size_t ZSTDv03_decompressContinue(ZSTDv03_Dctx* dctx, void* dst, size_t maxDstSize, const void* src…
Dzstd_v01.h74 size_t ZSTDv01_decompressContinue(ZSTDv01_Dctx* dctx, void* dst, size_t maxDstSize, const void* src…
Dzstd_v02.c1342 void* dst, size_t maxDstSize, in FSE_decompress_usingDTable_generic() argument
1348 BYTE* const omax = op + maxDstSize; in FSE_decompress_usingDTable_generic()
1424 static size_t FSE_decompress(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize) in FSE_decompress() argument
1447 return FSE_decompress_usingDTable (dst, maxDstSize, ip, cSrcSize, dt); in FSE_decompress()
2840 static size_t ZSTD_copyUncompressedBlock(void* dst, size_t maxDstSize, const void* src, size_t srcS… in ZSTD_copyUncompressedBlock() argument
2842 if (srcSize > maxDstSize) return ERROR(dstSize_tooSmall); in ZSTD_copyUncompressedBlock()
3178 void* dst, size_t maxDstSize, in ZSTD_decompressSequences() argument
3186 BYTE* const oend = ostart + maxDstSize; in ZSTD_decompressSequences()
3251 void* dst, size_t maxDstSize, in ZSTD_decompressBlock() argument
3263 return ZSTD_decompressSequences(ctx, dst, maxDstSize, ip, srcSize); in ZSTD_decompressBlock()
[all …]
Dzstd_v04.h75 size_t ZSTDv04_decompressContinue(ZSTDv04_Dctx* dctx, void* dst, size_t maxDstSize, const void* src…
Dzstd_v07.c1132 size_t HUFv07_decompress4X_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcS…
1133 size_t HUFv07_decompress4X2_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrc…
1134 size_t HUFv07_decompress4X4_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrc…
1141 size_t HUFv07_decompress1X_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcS…
1142 size_t HUFv07_decompress1X2_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrc…
1143 size_t HUFv07_decompress1X4_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrc…
1592 void* dst, size_t maxDstSize, in FSEv07_decompress_usingDTable_generic() argument
1598 BYTE* const omax = op + maxDstSize; in FSEv07_decompress_usingDTable_generic()
1673 size_t FSEv07_decompress(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize) in FSEv07_decompress() argument
1695 …return FSEv07_decompress_usingDTable (dst, maxDstSize, ip, cSrcSize, dt); /* always return, even… in FSEv07_decompress()
[all …]
Dzstd_v06.c1572 void* dst, size_t maxDstSize, in FSEv06_decompress_usingDTable_generic() argument
1578 BYTE* const omax = op + maxDstSize; in FSEv06_decompress_usingDTable_generic()
1653 size_t FSEv06_decompress(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize) in FSEv06_decompress() argument
1675 …return FSEv06_decompress_usingDTable (dst, maxDstSize, ip, cSrcSize, dt); /* always return, even… in FSEv06_decompress()
1827 size_t HUFv06_decompress4X2_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrc…
1828 size_t HUFv06_decompress4X4_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrc…
1835 size_t HUFv06_decompress1X2_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrc…
1836 size_t HUFv06_decompress1X4_usingDTable(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrc…
3443 void* dst, size_t maxDstSize, in ZSTDv06_decompressSequences() argument
3449 BYTE* const oend = ostart + maxDstSize; in ZSTDv06_decompressSequences()
/external/zstd/lib/decompress/
Dzstd_decompress_block.c1104 void* dst, size_t maxDstSize, in ZSTD_decompressSequences_body() argument
1112 BYTE* const oend = ostart + maxDstSize; in ZSTD_decompressSequences_body()
1225 void* dst, size_t maxDstSize, in ZSTD_decompressSequences_default() argument
1230 …return ZSTD_decompressSequences_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset… in ZSTD_decompressSequences_default()
1238 void* dst, size_t maxDstSize, in ZSTD_decompressSequencesLong_body() argument
1246 BYTE* const oend = ostart + maxDstSize; in ZSTD_decompressSequencesLong_body()
1330 void* dst, size_t maxDstSize, in ZSTD_decompressSequencesLong_default() argument
1335 …return ZSTD_decompressSequencesLong_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOf… in ZSTD_decompressSequencesLong_default()
1347 void* dst, size_t maxDstSize, in ZSTD_decompressSequences_bmi2() argument
1352 …return ZSTD_decompressSequences_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset… in ZSTD_decompressSequences_bmi2()
[all …]
Dhuf_decompress.c986 size_t HUF_decompress1X_usingDTable(void* dst, size_t maxDstSize, in HUF_decompress1X_usingDTable() argument
994 …return HUF_decompress1X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ … in HUF_decompress1X_usingDTable()
998 …return HUF_decompress1X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ … in HUF_decompress1X_usingDTable()
1000 …return dtd.tableType ? HUF_decompress1X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTa… in HUF_decompress1X_usingDTable()
1001 … HUF_decompress1X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0); in HUF_decompress1X_usingDTable()
1005 size_t HUF_decompress4X_usingDTable(void* dst, size_t maxDstSize, in HUF_decompress4X_usingDTable() argument
1013 …return HUF_decompress4X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ … in HUF_decompress4X_usingDTable()
1017 …return HUF_decompress4X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ … in HUF_decompress4X_usingDTable()
1019 …return dtd.tableType ? HUF_decompress4X2_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTa… in HUF_decompress4X_usingDTable()
1020 … HUF_decompress4X1_usingDTable_internal(dst, maxDstSize, cSrc, cSrcSize, DTable, /* bmi2 */ 0); in HUF_decompress4X_usingDTable()
[all …]
/external/lz4/lib/
Dlz4hc.h80 …extStateHC(void* stateHC, const char* src, char* dst, int srcSize, int maxDstSize, int compression…
160 int srcSize, int maxDstSize);
Dlz4hc.c1154 …nst char* src, char* dst, int srcSize, int maxDstSize) { return LZ4_compress_HC(src, dst, srcSize,… in LZ4_compressHC_limitedOutput() argument
1156 …ar* src, char* dst, int srcSize, int maxDstSize, int cLevel) { return LZ4_compress_HC(src, dst, sr… in LZ4_compressHC2_limitedOutput() argument
1158 … src, char* dst, int srcSize, int maxDstSize) { return LZ4_compress_HC_extStateHC (state, src, dst… in LZ4_compressHC_limitedOutput_withStateHC() argument
1160 …char* dst, int srcSize, int maxDstSize, int cLevel) { return LZ4_compress_HC_extStateHC(state, src… in LZ4_compressHC2_limitedOutput_withStateHC() argument
1162 …r* src, char* dst, int srcSize, int maxDstSize) { return LZ4_compress_HC_continue (ctx, src, dst, … in LZ4_compressHC_limitedOutput_continue() argument
Dlz4.h712 …LZ4_decompress_safe_withPrefix64k (const char* src, char* dst, int compressedSize, int maxDstSize);
/external/zstd/lib/dictBuilder/
Dzdict.c707 static size_t ZDICT_analyzeEntropy(void* dstBuffer, size_t maxDstSize, in ZDICT_analyzeEntropy() argument
815 { size_t const hhSize = HUF_writeCTable(dstPtr, maxDstSize, hufTable, 255, huffLog); in ZDICT_analyzeEntropy()
822 maxDstSize -= hhSize; in ZDICT_analyzeEntropy()
826 … { size_t const ohSize = FSE_writeNCount(dstPtr, maxDstSize, offcodeNCount, OFFCODE_MAX, Offlog); in ZDICT_analyzeEntropy()
833 maxDstSize -= ohSize; in ZDICT_analyzeEntropy()
837 { size_t const mhSize = FSE_writeNCount(dstPtr, maxDstSize, matchLengthNCount, MaxML, mlLog); in ZDICT_analyzeEntropy()
844 maxDstSize -= mhSize; in ZDICT_analyzeEntropy()
848 { size_t const lhSize = FSE_writeNCount(dstPtr, maxDstSize, litLengthNCount, MaxLL, llLog); in ZDICT_analyzeEntropy()
855 maxDstSize -= lhSize; in ZDICT_analyzeEntropy()
859 if (maxDstSize<12) { in ZDICT_analyzeEntropy()
/external/zstd/lib/compress/
Dhuf_compress.c108 size_t HUF_writeCTable (void* dst, size_t maxDstSize, in HUF_writeCTable() argument
127 { CHECK_V_F(hSize, HUF_compressWeights(op+1, maxDstSize-1, huffWeight, maxSymbolValue) ); in HUF_writeCTable()
135 …if (((maxSymbolValue+1)/2) + 1 > maxDstSize) return ERROR(dstSize_tooSmall); /* not enough space… in HUF_writeCTable()
909 size_t HUF_compress (void* dst, size_t maxDstSize, const void* src, size_t srcSize) in HUF_compress() argument
911 return HUF_compress2(dst, maxDstSize, src, srcSize, 255, HUF_TABLELOG_DEFAULT); in HUF_compress()