Lines Matching refs:frameContentSize
425 zfhPtr->frameContentSize = MEM_readLE32((const char *)src + ZSTD_FRAMEIDSIZE); in ZSTD_getFrameHeader_advanced()
446 U64 frameContentSize = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_getFrameHeader_advanced() local
472 case 0 : if (singleSegment) frameContentSize = ip[pos]; break; in ZSTD_getFrameHeader_advanced()
473 case 1 : frameContentSize = MEM_readLE16(ip+pos)+256; break; in ZSTD_getFrameHeader_advanced()
474 case 2 : frameContentSize = MEM_readLE32(ip+pos); break; in ZSTD_getFrameHeader_advanced()
475 case 3 : frameContentSize = MEM_readLE64(ip+pos); break; in ZSTD_getFrameHeader_advanced()
477 if (singleSegment) windowSize = frameContentSize; in ZSTD_getFrameHeader_advanced()
480 zfhPtr->frameContentSize = frameContentSize; in ZSTD_getFrameHeader_advanced()
514 return zfh.frameContentSize; in ZSTD_getFrameContentSize()
688 frameSizeInfo.decompressedBound = (zfh.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN) in ZSTD_findFrameSizeInfo()
689 ? zfh.frameContentSize in ZSTD_findFrameSizeInfo()
851 if (dctx->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN) { in ZSTD_decompressFrame()
852 RETURN_ERROR_IF((U64)(op-ostart) != dctx->fParams.frameContentSize, in ZSTD_decompressFrame()
1152 dctx->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_decompressContinue()
1153 && dctx->decodedSize != dctx->fParams.frameContentSize, in ZSTD_decompressContinue()
1708 …e_t ZSTD_decodingBufferSize_min(unsigned long long windowSize, unsigned long long frameContentSize) in ZSTD_decodingBufferSize_min() argument
1712 unsigned long long const neededSize = MIN(frameContentSize, neededRBSize); in ZSTD_decodingBufferSize_min()
1878 if (zds->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_decompressStream()
1880 && (U64)(size_t)(oend-op) >= zds->fParams.frameContentSize) { in ZSTD_decompressStream()
1898 && zds->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_decompressStream()
1899 && (U64)(size_t)(oend-op) < zds->fParams.frameContentSize) { in ZSTD_decompressStream()
1927 … ? ZSTD_decodingBufferSize_min(zds->fParams.windowSize, zds->fParams.frameContentSize) in ZSTD_decompressStream()
2012 if ( (zds->outBuffSize < zds->fParams.frameContentSize) in ZSTD_decompressStream()