Searched refs:targetDstSize (Results 1 – 1 of 1) sorted by relevance
/external/lz4/lib/ |
D | lz4.c | 726 const int targetDstSize, in LZ4_compress_destSize_generic() argument 738 BYTE* const oend = op + targetDstSize; in LZ4_compress_destSize_generic() 739 …BYTE* const oMaxLit = op + targetDstSize - 2 /* offset */ - 8 /* because 8+MINMATCH==MFLIMIT */ - … in LZ4_compress_destSize_generic() 740 BYTE* const oMaxMatch = op + targetDstSize - (LASTLITERALS + 1 /* token */); in LZ4_compress_destSize_generic() 747 …if (targetDstSize < 1) return 0; /* Impossible to store anythi… in LZ4_compress_destSize_generic() 877 …Size_extState (LZ4_stream_t* state, const char* src, char* dst, int* srcSizePtr, int targetDstSize) in LZ4_compress_destSize_extState() argument 881 if (targetDstSize >= LZ4_compressBound(*srcSizePtr)) { /* compression success is guaranteed */ in LZ4_compress_destSize_extState() 882 return LZ4_compress_fast_extState(state, src, dst, *srcSizePtr, targetDstSize, 1); in LZ4_compress_destSize_extState() 885 …4_compress_destSize_generic(&state->internal_donotuse, src, dst, srcSizePtr, targetDstSize, byU16); in LZ4_compress_destSize_extState() 887 …ess_destSize_generic(&state->internal_donotuse, src, dst, srcSizePtr, targetDstSize, sizeof(void*)… in LZ4_compress_destSize_extState() [all …]
|