Home
last modified time | relevance | path

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

/external/lz4/examples/
DblockStreaming_lineByLine.c37 size_t messageMaxBytes, in test_compress() argument
41 char* const cmpBuf = malloc(LZ4_COMPRESSBOUND(messageMaxBytes)); in test_compress()
51 const int randomLength = (rand() % messageMaxBytes) + 1; in test_compress()
57 if (!fgets(inpPtr, (int) messageMaxBytes, inpFp)) in test_compress()
71 if ((size_t)inpOffset >= ringBufferBytes - messageMaxBytes) inpOffset = 0; in test_compress()
85 size_t messageMaxBytes, in test_decompress() argument
89 char* const cmpBuf = malloc(LZ4_COMPRESSBOUND(messageMaxBytes)); in test_decompress()
104 lz4StreamDecode, cmpBuf, decPtr, cmpBytes, (int) messageMaxBytes); in test_decompress()
110 if ((size_t)decOffset >= ringBufferBytes - messageMaxBytes) decOffset = 0; in test_decompress()