Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress.c1488 unsigned long long const neededSize = MIN(frameContentSize, neededRBSize); in ZSTD_decodingBufferSize_min() local
1489 size_t const minRBSize = (size_t) neededSize; in ZSTD_decodingBufferSize_min()
1490 RETURN_ERROR_IF((unsigned long long)minRBSize != neededSize, in ZSTD_decodingBufferSize_min()
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c1828 unsigned long long const neededSize = MIN(frameContentSize, neededRBSize); in ZSTD_decodingBufferSize_min() local
1829 size_t const minRBSize = (size_t) neededSize; in ZSTD_decodingBufferSize_min()
1830 RETURN_ERROR_IF((unsigned long long)minRBSize != neededSize, in ZSTD_decodingBufferSize_min()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c3500 size_t const neededSize = ZSTD_cwksp_alloc_size(sizeof(ZSTD_CDict)) in ZSTD_initStaticCDict() local
3518 (unsigned)workspaceSize, (unsigned)neededSize, (unsigned)(workspaceSize < neededSize)); in ZSTD_initStaticCDict()
3519 if (workspaceSize < neededSize) return NULL; in ZSTD_initStaticCDict()
/freebsd/contrib/expat/lib/
H A Dxmlparse.c2133 int neededSize = (int)((unsigned)len in XML_GetBuffer() local
2136 if (neededSize < 0) { in XML_GetBuffer()
2145 if (keep > INT_MAX - neededSize) { in XML_GetBuffer()
2149 neededSize += keep; in XML_GetBuffer()
2152 && neededSize in XML_GetBuffer()
2183 } while (bufferSize < neededSize && bufferSize > 0); in XML_GetBuffer()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c5002 size_t const neededSize = ZSTD_cwksp_alloc_size(sizeof(ZSTD_CDict)) in ZSTD_initStaticCDict() local
5021 (unsigned)workspaceSize, (unsigned)neededSize, (unsigned)(workspaceSize < neededSize)); in ZSTD_initStaticCDict()
5022 if (workspaceSize < neededSize) return NULL; in ZSTD_initStaticCDict()