Lines Matching refs:DISPLAY

63 #define DISPLAY(...)  fprintf(stderr, __VA_ARGS__)  macro
397 DISPLAY("local_ZSTD_compressContinue_extDict error : %s\n", in local_ZSTD_compressContinue_extDict()
520 DISPLAY("\nError: not enough memory!\n"); in benchMem()
588DISPLAY("ZSTD_decodeLiteralsBlock : impossible to test on this sample (not compressible)\n"); in benchMem()
613DISPLAY("ZSTD_decodeSeqHeaders : impossible to test on this sample (not compressible)\n"); in benchMem()
681 DISPLAY("ERROR benchmarking function ! ! \n"); in benchMem()
689 DISPLAY("\r%2u#%-29.29s:%8.1f MB/s (%8u) ", in benchMem()
699 DISPLAY("\n"); in benchMem()
718 if (!origBuff) { DISPLAY("\nError: not enough memory!\n"); return 12; } in benchSample()
724 DISPLAY("\r%70s\r", ""); in benchSample()
725 DISPLAY(" Sample %u bytes : \n", (unsigned)benchedSize); in benchSample()
750 if (inFile==NULL) { DISPLAY( "Pb opening %s\n", inFileName); return 11; } in benchFiles()
755 DISPLAY( "Cannot measure size of %s\n", inFileName); in benchFiles()
763 DISPLAY("Not enough memory for '%s' full size; testing %u MB only... \n", in benchFiles()
769 if (!origBuff) { DISPLAY("\nError: not enough memory!\n"); fclose(inFile); return 12; } in benchFiles()
772 DISPLAY("Loading %s... \r", inFileName); in benchFiles()
776 DISPLAY("\nError: problem reading file '%s' !! \n", inFileName); in benchFiles()
782 DISPLAY("\r%70s\r", ""); /* blank line */ in benchFiles()
783 DISPLAY(" %s : \n", inFileName); in benchFiles()
805 #define ERROR_OUT(msg) { DISPLAY("%s \n", msg); exit(1); }
848 DISPLAY( "Usage :\n"); in usage()
849 DISPLAY( " %s [arg] file1 file2 ... fileX\n", exename); in usage()
850 DISPLAY( "Arguments :\n"); in usage()
851 DISPLAY( " -H/-h : Help (this text + advanced options)\n"); in usage()
858 DISPLAY( "\nAdvanced options :\n"); in usage_advanced()
859 DISPLAY( " -b# : test only function # \n"); in usage_advanced()
860DISPLAY( " -l# : benchmark functions at that compression level (default : %i)\n", DEFAULT_CLEVE… in usage_advanced()
861 DISPLAY( "--zstd= : custom parameter selection. Format same as zstdcli \n"); in usage_advanced()
862DISPLAY( " -P# : sample compressibility (default : %.1f%%)\n", COMPRESSIBILITY_DEFAULT * 100); in usage_advanced()
863 DISPLAY( " -B# : sample size (default : %u)\n", (unsigned)kSampleSizeDefault); in usage_advanced()
864 DISPLAY( " -i# : iteration loops [1-9](default : %i)\n", NBLOOPS); in usage_advanced()
870 DISPLAY("Wrong parameters\n"); in badusage()
886 DISPLAY(WELCOME_MESSAGE); in main()
903 DISPLAY("invalid compression parameter \n"); in main()
909 DISPLAY("invalid --zstd= format \n"); in main()