Lines Matching refs:DISPLAYLEVEL

81 #define DISPLAYLEVEL(l, ...)  if (displayLevel>=l) { DISPLAY(__VA_ARGS__); }
190 DISPLAYLEVEL(3, "LZ4F_compressBound(0) = ");
193 DISPLAYLEVEL(3, " %u \n", (U32)cBound);
198 DISPLAYLEVEL(3, "LZ4F_compressFrame, compress null content : \n");
201 DISPLAYLEVEL(3, "Compressed null content into a %i bytes frame \n", (int)cSize);
203 DISPLAYLEVEL(3, "LZ4F_createDecompressionContext \n");
207 DISPLAYLEVEL(3, "LZ4F_getFrameInfo on null-content frame (#157) \n");
214 DISPLAYLEVEL(3, "LZ4F_freeDecompressionContext \n");
221 DISPLAYLEVEL(3, "LZ4F_compressFrame, using default preferences : \n");
224 DISPLAYLEVEL(3, "Compressed %u bytes into a %u bytes frame \n", (U32)testSize, (U32)cSize);
226 DISPLAYLEVEL(3, "Decompression test : \n");
235 DISPLAYLEVEL(3, "Single Pass decompression : \n");
240 DISPLAYLEVEL(3, "Regenerated %u bytes \n", (U32)decodedBufferSize);
242 DISPLAYLEVEL(3, "Reusing decompression context \n");
250 DISPLAYLEVEL(3, "Missing last %u bytes : ", (U32)missingBytes);
257 DISPLAYLEVEL(3, "indeed, requests %u bytes \n", (unsigned)decResult);
274 DISPLAYLEVEL(3, "Start by feeding 0 bytes, to get next input size : ");
277 DISPLAYLEVEL(3, " %u \n", (unsigned)errorCode);
279 DISPLAYLEVEL(3, "get FrameInfo on null input : ");
282 DISPLAYLEVEL(3, " correctly failed : %s \n", LZ4F_getErrorName(errorCode));
284 DISPLAYLEVEL(3, "get FrameInfo on not enough input : ");
288 DISPLAYLEVEL(3, " correctly failed : %s \n", LZ4F_getErrorName(errorCode));
291 DISPLAYLEVEL(3, "get FrameInfo on enough input : ");
295 DISPLAYLEVEL(3, " correctly decoded \n");
299 DISPLAYLEVEL(3, "Byte after byte : \n");
313 DISPLAYLEVEL(3, "Regenerated %u/%u bytes \n", (unsigned)(op-ostart), COMPRESSIBLE_NOISE_LENGTH);
321 DISPLAYLEVEL(3, "Using 64 KB block : \n");
326 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)cSize);
328 DISPLAYLEVEL(3, "without checksum : \n");
332 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)cSize);
334 DISPLAYLEVEL(3, "Using 256 KB block : \n");
339 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)cSize);
341 DISPLAYLEVEL(3, "Decompression test : \n");
353 DISPLAYLEVEL(3, "random segment sizes : \n");
367 DISPLAYLEVEL(3, "Regenerated %u bytes \n", (U32)decodedSize);
375 DISPLAYLEVEL(3, "without checksum : \n");
379 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)cSize);
381 DISPLAYLEVEL(3, "Using 1 MB block : \n");
386 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)cSize);
388 DISPLAYLEVEL(3, "without checksum : \n");
392 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)cSize);
394 DISPLAYLEVEL(3, "Using 4 MB block : \n");
398 DISPLAYLEVEL(4, "dstCapacity = %u \n", (U32)dstCapacity)
401 DISPLAYLEVEL(3, "Compressed %u bytes into a %u bytes frame \n", (U32)testSize, (U32)cSize);
404 DISPLAYLEVEL(3, "without checksum : \n");
407 DISPLAYLEVEL(4, "dstCapacity = %u \n", (U32)dstCapacity)
410 DISPLAYLEVEL(3, "Compressed %u bytes into a %u bytes frame \n", (U32)testSize, (U32)cSize);
419 DISPLAYLEVEL(3, "compress without frameSize : \n");
429 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)(op-ostart));
431 DISPLAYLEVEL(3, "compress with frameSize : \n");
442 DISPLAYLEVEL(3, "Compressed %i bytes into a %i bytes frame \n", (int)testSize, (int)(op-ostart));
444 DISPLAYLEVEL(3, "compress with wrong frameSize : \n");
454 if (LZ4F_isError(errorCode)) { DISPLAYLEVEL(3, "Error correctly detected : %s \n", LZ4F_getErrorName(errorCode)); }
463 DISPLAYLEVEL(3, "Skippable frame test : \n");
478 DISPLAYLEVEL(3, "random segment sizes : \n");
489 DISPLAYLEVEL(3, "Skipped %i bytes \n", (int)decodedBufferSize);
492 DISPLAYLEVEL(3, "zero-size skippable frame\n");
509 DISPLAYLEVEL(3, "Skipped %i bytes \n", (int)(ip - (BYTE*)compressedBuffer - 8));
511 DISPLAYLEVEL(3, "Skippable frame header complete in first call \n");
526 DISPLAYLEVEL(3, "Skipped %i bytes \n", (int)(ip - (BYTE*)compressedBuffer - 8));
662 DISPLAYLEVEL(5, "\nCompressed %u bytes into %u \n", (U32)srcSize, (U32)cSize);
706 DISPLAYLEVEL(2, "\rAll tests completed \n");