Searched refs:ZSTD_BLOCKSIZE_MAX (Results 1 – 15 of 15) sorted by relevance
/external/zstd/tests/fuzz/ |
D | block_round_trip.c | 65 if (size > ZSTD_BLOCKSIZE_MAX) in LLVMFuzzerTestOneInput() 66 size = ZSTD_BLOCKSIZE_MAX; in LLVMFuzzerTestOneInput()
|
D | block_decompress.c | 30 size_t const neededBufSize = ZSTD_BLOCKSIZE_MAX; in LLVMFuzzerTestOneInput()
|
D | stream_decompress.c | 78 bufSize = MAX(10 * size, ZSTD_BLOCKSIZE_MAX); in LLVMFuzzerTestOneInput()
|
/external/zstd/tests/ |
D | decodecorpus.c | 176 #define MAX_NB_SEQ ((ZSTD_BLOCKSIZE_MAX + MIN_SEQ_LEN - 1) / MIN_SEQ_LEN) 180 BYTE LITERAL_BUFFER[ZSTD_BLOCKSIZE_MAX]; 183 BYTE SEQUENCE_LITERAL_BUFFER[ZSTD_BLOCKSIZE_MAX]; /* storeSeq expects a place to copy literals to */ 184 BYTE SEQUENCE_LLCODE[ZSTD_BLOCKSIZE_MAX]; 185 BYTE SEQUENCE_MLCODE[ZSTD_BLOCKSIZE_MAX]; 186 BYTE SEQUENCE_OFCODE[ZSTD_BLOCKSIZE_MAX]; 247 U32 g_maxBlockSize = ZSTD_BLOCKSIZE_MAX; /* <= 128 KB */ 625 seqStore->maxNbLit = ZSTD_BLOCKSIZE_MAX; in initSeqStore() 1885 if (value >= 2 && value <= ZSTD_BLOCKSIZE_MAX) { in main()
|
D | fullbench.c | 172 RETURN_ERROR_IF(litSize > ZSTD_BLOCKSIZE_MAX, corruption_detected, ""); in ZSTD_decodeLiteralsHeader()
|
D | zstreamtest.c | 359 if (cstreamSize <= cctxSize + 2 * ZSTD_BLOCKSIZE_MAX) goto _output_error; in basicUnitTests()
|
/external/zstd/lib/decompress/ |
D | zstd_decompress_internal.h | 160 BYTE litBuffer[ZSTD_BLOCKSIZE_MAX + WILDCOPY_OVERLENGTH];
|
D | zstd_decompress_block.c | 124 RETURN_ERROR_IF(litSize > ZSTD_BLOCKSIZE_MAX, corruption_detected, ""); in ZSTD_decodeLiteralsBlock() 225 RETURN_ERROR_IF(litSize > ZSTD_BLOCKSIZE_MAX, corruption_detected, ""); in ZSTD_decodeLiteralsBlock() 1084 assert(sequenceSize <= ZSTD_BLOCKSIZE_MAX); in ZSTD_assertValidSequence() 1463 RETURN_ERROR_IF(srcSize >= ZSTD_BLOCKSIZE_MAX, srcSize_wrong, ""); in ZSTD_decompressBlock_internal()
|
D | zstd_decompress.c | 321 zfhPtr->blockSizeMax = (unsigned) MIN(windowSize, ZSTD_BLOCKSIZE_MAX); in ZSTD_getFrameHeader_advanced() 1307 size_t ZSTD_DStreamInSize(void) { return ZSTD_BLOCKSIZE_MAX + ZSTD_blockHeaderSize; } in ZSTD_DStreamInSize() 1308 size_t ZSTD_DStreamOutSize(void) { return ZSTD_BLOCKSIZE_MAX; } in ZSTD_DStreamOutSize() 1531 size_t const blockSize = (size_t) MIN(windowSize, ZSTD_BLOCKSIZE_MAX); in ZSTD_decodingBufferSize_min() 1542 size_t const blockSize = MIN(windowSize, ZSTD_BLOCKSIZE_MAX); in ZSTD_estimateDStreamSize()
|
/external/zstd/lib/ |
D | zstd.h | 109 #define ZSTD_BLOCKSIZE_MAX (1<<ZSTD_BLOCKSIZELOG_MAX) macro 1086 #define ZSTD_TARGETLENGTH_MAX ZSTD_BLOCKSIZE_MAX 1114 #define ZSTD_TARGETCBLOCKSIZE_MAX ZSTD_BLOCKSIZE_MAX
|
/external/zstd/lib/dictBuilder/ |
D | zdict.c | 619 size_t const blockSizeMax = MIN (ZSTD_BLOCKSIZE_MAX, 1 << params->cParams.windowLog); in ZDICT_countEStats() 627 cSize = ZSTD_compressBlock(esr.zc, esr.workPlace, ZSTD_BLOCKSIZE_MAX, src, srcSize); in ZDICT_countEStats() 748 esr.workPlace = malloc(ZSTD_BLOCKSIZE_MAX); in ZDICT_analyzeEntropy()
|
/external/zstd/contrib/seekable_format/ |
D | zstdseek_decompress.c | 154 #define SEEKABLE_BUFF_SIZE ZSTD_BLOCKSIZE_MAX
|
/external/zstd/lib/compress/ |
D | zstd_compress.c | 1307 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_MAX, windowSize); in ZSTD_estimateCCtxSize_usingCCtxParams_internal() 1383 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_MAX, (size_t)1 << cParams.windowLog); in ZSTD_estimateCStreamSize_usingCCtxParams() 1435 assert(buffered <= ZSTD_BLOCKSIZE_MAX); in ZSTD_getFrameProgression() 1622 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_MAX, windowSize); in ZSTD_resetCCtx_internal() 2446 assert(srcSize <= ZSTD_BLOCKSIZE_MAX); in ZSTD_buildSeqStore() 3061 return MIN (ZSTD_BLOCKSIZE_MAX, (U32)1 << cParams.windowLog); in ZSTD_getBlockSize() 3978 size_t ZSTD_CStreamInSize(void) { return ZSTD_BLOCKSIZE_MAX; } in ZSTD_CStreamInSize() 3982 return ZSTD_compressBound(ZSTD_BLOCKSIZE_MAX) + ZSTD_blockHeaderSize + 4 /* 32-bits hash */ ; in ZSTD_CStreamOutSize()
|
D | zstd_opt.c | 1302 assert(srcSize <= ZSTD_BLOCKSIZE_MAX); in ZSTD_compressBlock_btultra2()
|
D | zstdmt_compress.c | 717 { size_t const chunkSize = 4*ZSTD_BLOCKSIZE_MAX; in ZSTDMT_compressionJob()
|