Lines Matching refs:DISPLAY
91 #define DISPLAY(...) fprintf(stderr, __VA_ARGS__) macro
92 #define PROGRESS(...) g_noPrompt ? 0 : DISPLAY(__VA_ARGS__)
110 DISPLAY("-Using Block Size of %i KB-\n", g_chunkSize>>10); in BMK_setBlocksize()
116 DISPLAY("- %i iterations -\n", g_nbIterations); in BMK_setNbIterations()
428 if (result!=0) { DISPLAY("Error decompressing frame : unfinished frame \n"); exit(8); } in local_LZ4F_decompress()
429 …if (srcSize != (size_t)inSize) { DISPLAY("Error decompressing frame : read size incorrect \n"); ex… in local_LZ4F_decompress()
459 DISPLAY("Error decompressing frame : must read (%u) full frame (%u) \n", in local_LZ4F_decompress_followHint()
493 DISPLAY("Error decompressing frame : must read (%u) full frame (%u) \n", in local_LZ4F_decompress_noHint()
575 if (LZ4F_isError(errorCode)) { DISPLAY("dctx allocation issue \n"); return 10; } } in fullSpeedBench()
593 if (inFile==NULL) { DISPLAY("Pb opening %s \n", inFileName); return 11; } in fullSpeedBench()
594 if (inFileSize==0) { DISPLAY("file is empty \n"); fclose(inFile); return 11; } in fullSpeedBench()
595 if (benchedSize==0) { DISPLAY("not enough memory \n"); fclose(inFile); return 11; } in fullSpeedBench()
600 DISPLAY("Not enough memory for '%s' full size; testing %i MB only... \n", in fullSpeedBench()
604 DISPLAY(" cannot bench using less then 8 bytes \n"); in fullSpeedBench()
616 DISPLAY("\nError: not enough memory! \n"); in fullSpeedBench()
625 DISPLAY("Loading %s... \r", inFileName); in fullSpeedBench()
630 DISPLAY("\nError: problem reading file '%s' !! \n", inFileName); in fullSpeedBench()
645 DISPLAY("\r%79s\r", ""); in fullSpeedBench()
646 DISPLAY(" %s : \n", inFileName); in fullSpeedBench()
683 DISPLAY("Compression functions : \n"); in fullSpeedBench()
716 DISPLAY("ERROR ! %s() = 0 !! \n", compressorName); in fullSpeedBench()
732 …DISPLAY("%2i-%-34.34s :%10i ->%9i (%5.2f%%),%7.1f MB/s\n", cAlgNb, compressorName, (int)benchedSiz… in fullSpeedBench()
734 …DISPLAY("%2i-%-34.34s :%10i ->%9i (%5.1f%%),%7.1f MB/s\n", cAlgNb, compressorName, (int)benchedSiz… in fullSpeedBench()
762 DISPLAY("ERROR ! %s() = 0 !! \n", "LZ4_compress"); in fullSpeedBench()
776 DISPLAY("Decompression functions : \n"); in fullSpeedBench()
813 DISPLAY("ERROR ! %s() == %i != %i !! \n", in fullSpeedBench()
830 DISPLAY("\n!!! WARNING !!! %14s : Invalid Checksum : %x != %x\n", in fullSpeedBench()
835 …DISPLAY("%2i-%-34.34s :%10i -> %7.1f MB/s\n", dAlgNb, dName, (int)benchedSize, (double)benchedSize… in fullSpeedBench()
852 DISPLAY("Compression Algorithm ids: \n"); in list()
855 DISPLAY("%2u: %s \n", (unsigned)n, compDescArray[n].name); in list()
858 DISPLAY("Decompression Algorithm ids: \n"); in list()
861 DISPLAY("%2u: %s \n", (unsigned)n, decDescArray[n].name); in list()
869 DISPLAY( "Usage :\n"); in usage()
870 DISPLAY( " %s [arg] file1 file2 ... fileX\n", exename); in usage()
871 DISPLAY( "Arguments :\n"); in usage()
872 DISPLAY( " -c : compression tests only\n"); in usage()
873 DISPLAY( " -d : decompression tests only\n"); in usage()
874 DISPLAY( " -H/-h : Help (this text + advanced options)\n"); in usage()
880 DISPLAY( "\nAdvanced options :\n"); in usage_advanced()
881 DISPLAY( " -c# : test only compression function # [1-%i]\n", (int)NB_COMPRESSION_ALGORITHMS); in usage_advanced()
882 …DISPLAY( " -d# : test only decompression function # [1-%i]\n", (int)NB_DECOMPRESSION_ALGORITHMS… in usage_advanced()
883 DISPLAY( " -i# : iteration loops [1-9](default : %i)\n", NBLOOPS); in usage_advanced()
884 DISPLAY( " -B# : Block size [4-7](default : 7)\n"); in usage_advanced()
890 DISPLAY("Wrong parameters\n"); in badusage()
903 DISPLAY(WELCOME_MESSAGE); in main()