Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/libs/
Dlz4.c219 #define LASTLITERALS 5 /* see ../doc/lz4_Block_format.m… macro
1175 const BYTE *const matchlimit = iend - LASTLITERALS; in LZ4_compress_generic_validated()
1354 (unlikely(op + litLength + (2 + 1 + LASTLITERALS) + (litLength / 255) > olimit))) in LZ4_compress_generic_validated()
1443 (unlikely(op + (1 + LASTLITERALS) + (matchCode + 240) / 255 > olimit))) in LZ4_compress_generic_validated()
1448 …in token */ - 1 /* to avoid needing a zero byte */ + ((U32)(olimit - op) - 1 - LASTLITERALS) * 255; in LZ4_compress_generic_validated()
1492 assert(!(outputDirective == fillOutput && op + 1 + LASTLITERALS > olimit)); in LZ4_compress_generic_validated()
2385 … length += read_variable_length(&ip, iend - LASTLITERALS + 1, (int)endOnInput, 0, &error); in LZ4_decompress_generic()
2433 if (unlikely(op + length > oend - LASTLITERALS)) in LZ4_decompress_generic()
2571 …OnInput) && ((cpy > oend - MFLIMIT) || (ip + length > iend - (2 + 1 + LASTLITERALS)))) || ((!endOn… in LZ4_decompress_generic()
2658 … length += read_variable_length(&ip, iend - LASTLITERALS + 1, (int)endOnInput, 0, &error); in LZ4_decompress_generic()
[all …]