Lines Matching refs:DISPLAY
92 #define DISPLAY(...) fprintf(stderr, __VA_ARGS__)
93 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); }
96 { g_time = FUZ_GetMilliStart(); DISPLAY(__VA_ARGS__); \
248 //DISPLAY("%7i \n", (int)(ip-(BYTE*)compressedBuffer));
302 //DISPLAY("%7i : + %6i\n", (int)(ip-(BYTE*)compressedBuffer), (int)iSize);
348 DISPLAY("Basic tests completed \n");
357 DISPLAY("Error detected ! \n");
369 DISPLAY("Non-contiguous output test (%i bytes)\n", (int)size);
373 DISPLAY("Error at pos %i/%i : %02X != %02X \n", p, (int)size, b1[p], b2[p]);
391 # define CHECK(cond, ...) if (cond) { DISPLAY("Error => "); DISPLAY(__VA_ARGS__); \
392 DISPLAY(" (seed %u, test nb %u) \n", seed, testNb); goto _output_error; }
500 //if (ip == compressedBuffer+62073) DISPLAY("oSize : %i : pos %i \n", (int)oSize, (int)(op-(BYTE*)decodedBuffer));
502 //if (op+oSize >= (BYTE*)decodedBuffer+94727) DISPLAY("iSize : %i : pos %i \n", (int)iSize, (int)(ip-(BYTE*)compressedBuffer));
503 //if ((int)result<0) DISPLAY("iSize : %i : pos %i \n", (int)iSize, (int)(ip-(BYTE*)compressedBuffer));
530 DISPLAY("press enter to finish \n");
543 DISPLAY( "Usage :\n");
544 DISPLAY( " %s [args]\n", programName);
545 DISPLAY( "\n");
546 DISPLAY( "Arguments :\n");
547 DISPLAY( " -i# : Nb of tests (default:%u) \n", nbTestsDefault);
548 DISPLAY( " -s# : Select seed (default:prompt user)\n");
549 DISPLAY( " -t# : Select starting test number (default:0)\n");
550 DISPLAY( " -p# : Select compressibility in %% (default:%i%%)\n", FUZ_COMPRESSIBILITY_DEFAULT);
551 DISPLAY( " -v : verbose\n");
552 DISPLAY( " -h : display help and exit\n");