Home
last modified time | relevance | path

Searched refs:neededSize (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/lib/zstd/decompress/
Dzstd_decompress.c1712 unsigned long long const neededSize = MIN(frameContentSize, neededRBSize); in ZSTD_decodingBufferSize_min() local
1713 size_t const minRBSize = (size_t) neededSize; in ZSTD_decodingBufferSize_min()
1714 RETURN_ERROR_IF((unsigned long long)minRBSize != neededSize, in ZSTD_decodingBufferSize_min()
/linux-6.1.9/lib/zstd/compress/
Dzstd_compress.c3792 size_t const neededSize = ZSTD_cwksp_alloc_size(sizeof(ZSTD_CDict)) in ZSTD_initStaticCDict() local
3811 (unsigned)workspaceSize, (unsigned)neededSize, (unsigned)(workspaceSize < neededSize)); in ZSTD_initStaticCDict()
3812 if (workspaceSize < neededSize) return NULL; in ZSTD_initStaticCDict()