Searched refs:neededSize (Results 1 – 5 of 5) sorted by relevance
1488 unsigned long long const neededSize = MIN(frameContentSize, neededRBSize); in ZSTD_decodingBufferSize_min() local1489 size_t const minRBSize = (size_t) neededSize; in ZSTD_decodingBufferSize_min()1490 RETURN_ERROR_IF((unsigned long long)minRBSize != neededSize, in ZSTD_decodingBufferSize_min()
1828 unsigned long long const neededSize = MIN(frameContentSize, neededRBSize); in ZSTD_decodingBufferSize_min() local1829 size_t const minRBSize = (size_t) neededSize; in ZSTD_decodingBufferSize_min()1830 RETURN_ERROR_IF((unsigned long long)minRBSize != neededSize, in ZSTD_decodingBufferSize_min()
3500 size_t const neededSize = ZSTD_cwksp_alloc_size(sizeof(ZSTD_CDict)) in ZSTD_initStaticCDict() local3518 (unsigned)workspaceSize, (unsigned)neededSize, (unsigned)(workspaceSize < neededSize)); in ZSTD_initStaticCDict()3519 if (workspaceSize < neededSize) return NULL; in ZSTD_initStaticCDict()
2133 int neededSize = (int)((unsigned)len in XML_GetBuffer() local2136 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()
5002 size_t const neededSize = ZSTD_cwksp_alloc_size(sizeof(ZSTD_CDict)) in ZSTD_initStaticCDict() local5021 (unsigned)workspaceSize, (unsigned)neededSize, (unsigned)(workspaceSize < neededSize)); in ZSTD_initStaticCDict()5022 if (workspaceSize < neededSize) return NULL; in ZSTD_initStaticCDict()