Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4.h139 LZ4LIB_API int LZ4_compress_default(const char* src, char* dst, int srcSize, int dstCapacity);
149 LZ4LIB_API int LZ4_decompress_safe (const char* src, char* dst, int compressedSize, int dstCapacity
178 LZ4LIB_API int LZ4_compress_fast (const char* src, char* dst, int srcSize, int dstCapacity, int acc…
189 …st_extState (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int accelerati…
252 …ress_safe_partial (const char* src, char* dst, int srcSize, int targetOutputSize, int dstCapacity);
304 …(LZ4_stream_t* streamPtr, const char* src, char* dst, int srcSize, int dstCapacity, int accelerati…
377 …e (LZ4_streamDecode_t* LZ4_streamDecode, const char* src, char* dst, int srcSize, int dstCapacity);
450 …e_fastReset (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int accelerati…
Dlz4frame.h215 LZ4FLIB_API size_t LZ4F_compressFrame(void* dstBuffer, size_t dstCapacity,
259 void* dstBuffer, size_t dstCapacity,
287 void* dstBuffer, size_t dstCapacity,
300 void* dstBuffer, size_t dstCapacity,
313 void* dstBuffer, size_t dstCapacity,
506 void* dst, size_t dstCapacity,
521 void* dstBuffer, size_t dstCapacity,
Dlz4hc.c698 int* srcSizePtr, int dstCapacity,
710 int const dstCapacity, in LZ4HC_compress_generic_internal() argument
740 …if (limit == limitedDestSize && dstCapacity < 1) return 0; /* Impossible to store anything… in LZ4HC_compress_generic_internal()
750 src, dst, srcSizePtr, dstCapacity, in LZ4HC_compress_generic_internal()
754 src, dst, srcSizePtr, dstCapacity, in LZ4HC_compress_generic_internal()
768 int const dstCapacity, in LZ4HC_compress_generic_noDictCtx() argument
774 …return LZ4HC_compress_generic_internal(ctx, src, dst, srcSizePtr, dstCapacity, cLevel, limit, noDi… in LZ4HC_compress_generic_noDictCtx()
782 int const dstCapacity, in LZ4HC_compress_generic_dictCtx() argument
791 … return LZ4HC_compress_generic_noDictCtx(ctx, src, dst, srcSizePtr, dstCapacity, cLevel, limit); in LZ4HC_compress_generic_dictCtx()
796 … return LZ4HC_compress_generic_noDictCtx(ctx, src, dst, srcSizePtr, dstCapacity, cLevel, limit); in LZ4HC_compress_generic_dictCtx()
[all …]
Dlz4frame.c358 void* dstBuffer, size_t dstCapacity, in LZ4F_compressFrame_usingCDict() argument
367 BYTE* const dstEnd = dstStart + dstCapacity; in LZ4F_compressFrame_usingCDict()
384 … if (dstCapacity < LZ4F_compressFrameBound(srcSize, &prefs)) /* condition to guarantee success */ in LZ4F_compressFrame_usingCDict()
387 …{ size_t const headerSize = LZ4F_compressBegin_usingCDict(cctx, dstBuffer, dstCapacity, cdict, &pr… in LZ4F_compressFrame_usingCDict()
410 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstCapacity, in LZ4F_compressFrame() argument
438 result = LZ4F_compressFrame_usingCDict(cctxPtr, dstBuffer, dstCapacity, in LZ4F_compressFrame()
582 void* dstBuffer, size_t dstCapacity, in LZ4F_compressBegin_usingCDict() argument
591 if (dstCapacity < maxFHSize) return err0r(LZ4F_ERROR_dstMaxSize_tooSmall); in LZ4F_compressBegin_usingCDict()
692 void* dstBuffer, size_t dstCapacity, in LZ4F_compressBegin() argument
695 return LZ4F_compressBegin_usingCDict(cctxPtr, dstBuffer, dstCapacity, in LZ4F_compressBegin()
[all …]
Dlz4hc.h66 LZ4LIB_API int LZ4_compress_HC (const char* src, char* dst, int srcSize, int dstCapacity, int compr…
321 …C_fastReset (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int compressio…
Dlz4.c1041 …te_fastReset(void* state, const char* src, char* dst, int srcSize, int dstCapacity, int accelerati… in LZ4_compress_fast_extState_fastReset() argument
1046 if (dstCapacity >= LZ4_compressBound(srcSize)) { in LZ4_compress_fast_extState_fastReset()
1065 …return LZ4_compress_generic(ctx, src, dst, srcSize, NULL, dstCapacity, limitedOutput, tableType, n… in LZ4_compress_fast_extState_fastReset()
1067 …return LZ4_compress_generic(ctx, src, dst, srcSize, NULL, dstCapacity, limitedOutput, tableType, n… in LZ4_compress_fast_extState_fastReset()
1072 …return LZ4_compress_generic(ctx, src, dst, srcSize, NULL, dstCapacity, limitedOutput, tableType, n… in LZ4_compress_fast_extState_fastReset()
1659 …safe_partial(const char* src, char* dst, int compressedSize, int targetOutputSize, int dstCapacity) in LZ4_decompress_safe_partial() argument
1661 dstCapacity = MIN(targetOutputSize, dstCapacity); in LZ4_decompress_safe_partial()
1662 return LZ4_decompress_generic(src, dst, compressedSize, dstCapacity, in LZ4_decompress_safe_partial()
1922 …utput_continue (LZ4_stream_t* LZ4_stream, const char* src, char* dst, int srcSize, int dstCapacity) in LZ4_compress_limitedOutput_continue() argument
1924 return LZ4_compress_fast_continue(LZ4_stream, src, dst, srcSize, dstCapacity, 1); in LZ4_compress_limitedOutput_continue()
/external/lz4/examples/
DframeCompress.c173 void* dst, size_t dstCapacity) in decompress_file_internal() argument
181 assert(dst != NULL); assert(dstCapacity > 0); in decompress_file_internal()
200 size_t dstSize = dstCapacity; in decompress_file_internal()
268 size_t const dstCapacity = get_block_size(&info); in decompress_file_allocDst() local
269 void* const dst = malloc(dstCapacity); in decompress_file_allocDst()
276 dst, dstCapacity); in decompress_file_allocDst()
/external/lz4/tests/
Dframetest.c417 { size_t const dstCapacity = LZ4F_compressFrameBound(testSize, &prefs); in basicTests() local
418 DISPLAYLEVEL(4, "dstCapacity = %u ; ", (U32)dstCapacity) in basicTests()
419 … CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, dstCapacity, CNBuffer, testSize, &prefs) ); in basicTests()
425 { size_t const dstCapacity = LZ4F_compressFrameBound(testSize, &prefs); in basicTests() local
426 DISPLAYLEVEL(4, "dstCapacity = %u ; ", (U32)dstCapacity) in basicTests()
427 … CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, dstCapacity, CNBuffer, testSize, &prefs) ); in basicTests()
518 size_t const dstCapacity = LZ4F_compressFrameBound(dictSize, NULL); in basicTests() local
526 LZ4F_compressFrame_usingCDict(cctx, compressedBuffer, dstCapacity, in basicTests()
535 LZ4F_compressFrame_usingCDict(cctx, compressedBuffer, dstCapacity, in basicTests()
567 LZ4F_compressFrame_usingCDict(cctx, compressedBuffer, dstCapacity, in basicTests()
[all …]
/external/icu/icu4c/source/common/
Duniset_props.cpp782 static UBool mungeCharName(char* dst, const char* src, int32_t dstCapacity) { in mungeCharName() argument
786 --dstCapacity; /* make room for term. zero */ in mungeCharName()
791 if (j >= dstCapacity) return FALSE; in mungeCharName()