Searched refs:WILDCOPY_OVERLENGTH (Results 1 – 9 of 9) sorted by relevance
/external/zstd/lib/decompress/ |
D | zstd_decompress_block.c | 169 ZSTD_memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTD_decodeLiteralsBlock() 192 …if (lhSize+litSize+WILDCOPY_OVERLENGTH > srcSize) { /* risk reading beyond src buffer with wildco… in ZSTD_decodeLiteralsBlock() 197 ZSTD_memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTD_decodeLiteralsBlock() 226 ZSTD_memset(dctx->litBuffer, istart[lhSize], litSize + WILDCOPY_OVERLENGTH); in ZSTD_decodeLiteralsBlock() 774 BYTE* const oend_w = oend - WILDCOPY_OVERLENGTH; in ZSTD_execSequenceEnd() 816 …BYTE* const oend_w = oend - WILDCOPY_OVERLENGTH; /* risk : address space underflow on oend=NULL … in ZSTD_execSequence() 830 (MEM_32bits() && (size_t)(oend - op) < sequenceLength + WILDCOPY_OVERLENGTH))) in ZSTD_execSequence() 845 assert(WILDCOPY_OVERLENGTH >= 16); in ZSTD_execSequence()
|
D | zstd_decompress_internal.h | 160 BYTE litBuffer[ZSTD_BLOCKSIZE_MAX + WILDCOPY_OVERLENGTH];
|
D | zstd_decompress.c | 1532 unsigned long long const neededRBSize = windowSize + blockSize + (WILDCOPY_OVERLENGTH * 2); in ZSTD_decodingBufferSize_min()
|
/external/zstd/lib/legacy/ |
D | zstd_v06.c | 546 #define WILDCOPY_OVERLENGTH 8 macro 2826 BYTE litBuffer[ZSTDv06_BLOCKSIZE_MAX + WILDCOPY_OVERLENGTH]; 2863 …sizeof(ZSTDv06_DCtx) - (ZSTDv06_BLOCKSIZE_MAX+WILDCOPY_OVERLENGTH + ZSTDv06_frameHeaderSize_max));… in ZSTDv06_copyDCtx() 3104 memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTDv06_decodeLiteralsBlock() 3126 memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTDv06_decodeLiteralsBlock() 3146 …if (lhSize+litSize+WILDCOPY_OVERLENGTH > srcSize) { /* risk reading beyond src buffer with wildco… in ZSTDv06_decodeLiteralsBlock() 3151 memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTDv06_decodeLiteralsBlock() 3177 memset(dctx->litBuffer, istart[lhSize], litSize + WILDCOPY_OVERLENGTH); in ZSTDv06_decodeLiteralsBlock() 4070 … const neededOutSize = ((size_t)1 << zbd->fParams.windowLog) + blockSize + WILDCOPY_OVERLENGTH * 2; in ZBUFFv06_decompressContinue()
|
D | zstd_v07.c | 2780 #define WILDCOPY_OVERLENGTH 8 macro 2956 BYTE litBuffer[ZSTDv07_BLOCKSIZE_ABSOLUTEMAX + WILDCOPY_OVERLENGTH]; 3013 …sizeof(ZSTDv07_DCtx) - (ZSTDv07_BLOCKSIZE_ABSOLUTEMAX+WILDCOPY_OVERLENGTH + ZSTDv07_frameHeaderSiz… in ZSTDv07_copyDCtx() 3334 memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTDv07_decodeLiteralsBlock() 3356 memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTDv07_decodeLiteralsBlock() 3376 …if (lhSize+litSize+WILDCOPY_OVERLENGTH > srcSize) { /* risk reading beyond src buffer with wildco… in ZSTDv07_decodeLiteralsBlock() 3381 memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTDv07_decodeLiteralsBlock() 3407 memset(dctx->litBuffer, istart[lhSize], litSize + WILDCOPY_OVERLENGTH); in ZSTDv07_decodeLiteralsBlock() 3601 BYTE* const oend_w = oend-WILDCOPY_OVERLENGTH; in ZSTDv07_execSequence() 4454 … { size_t const neededOutSize = zbd->fParams.windowSize + blockSize + WILDCOPY_OVERLENGTH * 2; in ZBUFFv07_decompressContinue()
|
D | zstd_v05.c | 496 #define WILDCOPY_OVERLENGTH 8 macro 2665 BYTE litBuffer[BLOCKSIZE + WILDCOPY_OVERLENGTH]; 2702 …sizeof(ZSTDv05_DCtx) - (BLOCKSIZE+WILDCOPY_OVERLENGTH + ZSTDv05_frameHeaderSize_max)); /* no need… in ZSTDv05_copyDCtx() 2913 memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTDv05_decodeLiteralsBlock() 2937 memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTDv05_decodeLiteralsBlock() 2958 …if (lhSize+litSize+WILDCOPY_OVERLENGTH > srcSize) { /* risk reading beyond src buffer with wildco… in ZSTDv05_decodeLiteralsBlock() 2963 memset(dctx->litBuffer + dctx->litSize, 0, WILDCOPY_OVERLENGTH); in ZSTDv05_decodeLiteralsBlock() 2990 memset(dctx->litBuffer, istart[lhSize], litSize + WILDCOPY_OVERLENGTH); in ZSTDv05_decodeLiteralsBlock()
|
/external/zstd/lib/common/ |
D | zstd_internal.h | 262 #define WILDCOPY_OVERLENGTH 32 macro
|
/external/zstd/lib/compress/ |
D | zstd_compress_internal.h | 504 BYTE const* const litLimit_w = litLimit - WILDCOPY_OVERLENGTH; in ZSTD_storeSeq() 523 assert(WILDCOPY_OVERLENGTH >= 16); in ZSTD_storeSeq()
|
D | zstd_compress.c | 1310 size_t const tokenSpace = ZSTD_cwksp_alloc_size(WILDCOPY_OVERLENGTH + blockSize) in ZSTD_estimateCCtxSize_usingCCtxParams_internal() 1701 zc->seqStore.litStart = ZSTD_cwksp_reserve_buffer(ws, blockSize + WILDCOPY_OVERLENGTH); in ZSTD_resetCCtx_internal()
|