Lines Matching refs:BLOCK_BYTES
17 BLOCK_BYTES = 1024, /* 1 KiB of uncompressed data in a block */ enumerator
61 char inpBuf[BLOCK_BYTES]; in test_compress()
75 const int inpBytes = (int) read_bin(inpFp, inpBuf, BLOCK_BYTES); in test_compress()
83 char cmpBuf[LZ4_COMPRESSBOUND(BLOCK_BYTES)]; in test_compress()
111 int currentBlock = offset / BLOCK_BYTES; in test_decompress()
112 int endBlock = ((offset + length - 1) / BLOCK_BYTES) + 1; in test_decompress()
114 char decBuf[BLOCK_BYTES]; in test_decompress()
143 offset = offset % BLOCK_BYTES; in test_decompress()
147 char cmpBuf[LZ4_COMPRESSBOUND(BLOCK_BYTES)]; in test_decompress()
159 lz4StreamDecode, cmpBuf, decBuf, cmpBytes, BLOCK_BYTES); in test_decompress()
215 snprintf(lz4Filename, 256, "%s.lz4s-%d", argv[1], BLOCK_BYTES); in main()
216 snprintf(decFilename, 256, "%s.lz4s-%d.dec", argv[1], BLOCK_BYTES); in main()