Searched refs:dstMaxSize (Results 1 – 2 of 2) sorted by relevance
/external/lz4/lib/ |
D | lz4frame.h | 90 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize… 130 …(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const LZ4F_pref… 146 …(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const void* src… 157 size_t LZ4F_flush(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize,… 167 …(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const LZ4F_comp…
|
D | lz4frame.c | 259 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize… in LZ4F_compressFrame() argument 267 BYTE* const dstEnd = dstStart + dstMaxSize; in LZ4F_compressFrame() 294 if (dstMaxSize < LZ4F_compressFrameBound(srcSize, &prefs)) in LZ4F_compressFrame() 297 errorCode = LZ4F_compressBegin(&cctxI, dstBuffer, dstMaxSize, &prefs); /* write header */ in LZ4F_compressFrame() 301 dstMaxSize -= errorCode; in LZ4F_compressFrame() 302 errorCode = LZ4F_compressUpdate(&cctxI, dstPtr, dstMaxSize, srcBuffer, srcSize, &options); in LZ4F_compressFrame() 362 …(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const LZ4F_pref… in LZ4F_compressBegin() argument 371 if (dstMaxSize < LZ4F_MAXHEADERFRAME_SIZE) return (size_t)-ERROR_dstMaxSize_tooSmall; in LZ4F_compressBegin() 519 …(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const void* src… in LZ4F_compressUpdate() argument 533 …if (dstMaxSize < LZ4F_compressBound(srcSize, &(cctxPtr->prefs))) return (size_t)-ERROR_dstMaxSize_… in LZ4F_compressUpdate() [all …]
|