Home
last modified time | relevance | path

Searched refs:dstCapacity (Results 1 – 6 of 6) sorted by relevance

/external/lz4/lib/
Dlz4frame.h176 LZ4FLIB_API size_t LZ4F_compressFrame(void* dstBuffer, size_t dstCapacity, const void* srcBuffer, s…
210 LZ4FLIB_API size_t LZ4F_compressBegin(LZ4F_cctx* cctx, void* dstBuffer, size_t dstCapacity, const L…
227 LZ4FLIB_API size_t LZ4F_compressUpdate(LZ4F_cctx* cctx, void* dstBuffer, size_t dstCapacity, const …
239 LZ4FLIB_API size_t LZ4F_flush(LZ4F_cctx* cctx, void* dstBuffer, size_t dstCapacity, const LZ4F_comp…
249 LZ4FLIB_API size_t LZ4F_compressEnd(LZ4F_cctx* cctx, void* dstBuffer, size_t dstCapacity, const LZ4…
Dlz4frame.c309 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstCapacity, const void* srcBuffer, size_t srcSiz… in LZ4F_compressFrame() argument
317 BYTE* const dstEnd = dstStart + dstCapacity; in LZ4F_compressFrame()
344 if (dstCapacity < LZ4F_compressFrameBound(srcSize, &prefs)) in LZ4F_compressFrame()
347 …{ size_t const headerSize = LZ4F_compressBegin(&cctxI, dstBuffer, dstCapacity, &prefs); /* write … in LZ4F_compressFrame()
412 size_t LZ4F_compressBegin(LZ4F_cctx* cctxPtr, void* dstBuffer, size_t dstCapacity, const LZ4F_prefe… in LZ4F_compressBegin() argument
420 if (dstCapacity < maxFHSize) return err0r(LZ4F_ERROR_dstMaxSize_tooSmall); in LZ4F_compressBegin()
516 …tedOutput_withState(void* ctx, const char* src, char* dst, int srcSize, int dstCapacity, int level) in LZ4F_localLZ4_compress_limitedOutput_withState() argument
519 return LZ4_compress_fast_extState(ctx, src, dst, srcSize, dstCapacity, 1); in LZ4F_localLZ4_compress_limitedOutput_withState()
522 …itedOutput_continue(void* ctx, const char* src, char* dst, int srcSize, int dstCapacity, int level) in LZ4F_localLZ4_compress_limitedOutput_continue() argument
525 return LZ4_compress_fast_continue((LZ4_stream_t*)ctx, src, dst, srcSize, dstCapacity, 1); in LZ4F_localLZ4_compress_limitedOutput_continue()
[all …]
Dlz4hc.h66 LZ4LIB_API int LZ4_compress_HC (const char* src, char* dst, int srcSize, int dstCapacity, int compr…
/external/lz4/examples/
DframeCompress.c133 size_t dstCapacity = 0; in decompress_file() local
167 dstCapacity = get_block_size(&info); in decompress_file()
168 dst = malloc(dstCapacity); in decompress_file()
180 size_t dstSize = dstCapacity; in decompress_file()
/external/lz4/tests/
Dframetest.c397 { size_t const dstCapacity = LZ4F_compressFrameBound(testSize, &prefs); in basicTests() local
398 DISPLAYLEVEL(4, "dstCapacity = %u \n", (U32)dstCapacity) in basicTests()
399 cSize = LZ4F_compressFrame(compressedBuffer, dstCapacity, CNBuffer, testSize, &prefs); in basicTests()
406 { size_t const dstCapacity = LZ4F_compressFrameBound(testSize, &prefs); in basicTests() local
407 DISPLAYLEVEL(4, "dstCapacity = %u \n", (U32)dstCapacity) in basicTests()
408 cSize = LZ4F_compressFrame(compressedBuffer, dstCapacity, CNBuffer, testSize, &prefs); in basicTests()
/external/icu/icu4c/source/common/
Duniset_props.cpp927 static UBool mungeCharName(char* dst, const char* src, int32_t dstCapacity) { in mungeCharName() argument
931 --dstCapacity; /* make room for term. zero */ in mungeCharName()
936 if (j >= dstCapacity) return FALSE; in mungeCharName()