• Home
  • Raw
  • Download

Lines Matching refs:DISPLAY

141 #define DISPLAY(...) fprintf(stderr, __VA_ARGS__)  macro
142 #define PROGRESS(...) no_prompt ? 0 : DISPLAY(__VA_ARGS__)
161 DISPLAY("-Using Block Size of %i KB-\n", chunkSize>>10); in BMK_SetBlocksize()
167 DISPLAY("- %i iterations -\n", nbIterations); in BMK_SetNbIterations()
395 if (result!=0) { DISPLAY("Error decompressing frame : unfinished frame\n"); exit(8); } in local_LZ4F_decompress()
396 …if (srcSize != (size_t)inSize) { DISPLAY("Error decompressing frame : read size incorrect\n"); exi… in local_LZ4F_decompress()
415 DISPLAY("dctx allocation issue \n"); in fullSpeedBench()
443 DISPLAY( "Pb opening %s\n", inFileName); in fullSpeedBench()
453DISPLAY("Not enough memory for '%s' full size; testing %i MB only...\n", inFileName, (int)(benched… in fullSpeedBench()
467 DISPLAY("\nError: not enough memory!\n"); in fullSpeedBench()
476 DISPLAY("Loading %s... \r", inFileName); in fullSpeedBench()
482 DISPLAY("\nError: problem reading file '%s' !! \n", inFileName); in fullSpeedBench()
499 DISPLAY("\r%79s\r", ""); in fullSpeedBench()
500 DISPLAY(" %s : \n", inFileName); in fullSpeedBench()
553 default : DISPLAY("ERROR ! Bad algorithm Id !! \n"); free(chunkP); return 1; in fullSpeedBench()
574 … if (chunkP[chunkNb].compressedSize==0) DISPLAY("ERROR ! %s() = 0 !! \n", compressorName), exit(1); in fullSpeedBench()
589DISPLAY("%2i-%-28.28s :%9i ->%9i (%5.2f%%),%7.1f MB/s\n", cAlgNb, compressorName, (int)benchedSize… in fullSpeedBench()
591DISPLAY("%2i-%-28.28s :%9i ->%9i (%5.1f%%),%7.1f MB/s\n", cAlgNb, compressorName, (int)benchedSize… in fullSpeedBench()
617 … if (chunkP[chunkNb].compressedSize==0) DISPLAY("ERROR ! %s() = 0 !! \n", "LZ4_compress"), exit(1); in fullSpeedBench()
642 … if (LZ4F_isError(errorCode)) { DISPLAY("Preparation error compressing frame\n"); return 1; } in fullSpeedBench()
647 … default : DISPLAY("ERROR ! Bad decompression algorithm Id !! \n"); free(chunkP); return 1; in fullSpeedBench()
669 …if (chunkP[chunkNb].origSize != decodedSize) DISPLAY("ERROR ! %s() == %i != %i !! \n", dName, deco… in fullSpeedBench()
682 …if (crcOriginal!=crcDecoded) { DISPLAY("\n!!! WARNING !!! %14s : Invalid Checksum : %x != %x\n", i… in fullSpeedBench()
685DISPLAY("%2i-%-29.29s :%10i -> %7.1f MB/s\n", dAlgNb, dName, (int)benchedSize, (double)benchedSize… in fullSpeedBench()
705 DISPLAY( "Usage :\n"); in usage()
706 DISPLAY( " %s [arg] file1 file2 ... fileX\n", exename); in usage()
707 DISPLAY( "Arguments :\n"); in usage()
708 DISPLAY( " -c : compression tests only\n"); in usage()
709 DISPLAY( " -d : decompression tests only\n"); in usage()
710 DISPLAY( " -H/-h : Help (this text + advanced options)\n"); in usage()
716 DISPLAY( "\nAdvanced options :\n"); in usage_advanced()
717 DISPLAY( " -c# : test only compression function # [1-%i]\n", NB_COMPRESSION_ALGORITHMS); in usage_advanced()
718 DISPLAY( " -d# : test only decompression function # [1-%i]\n", NB_DECOMPRESSION_ALGORITHMS); in usage_advanced()
719 DISPLAY( " -i# : iteration loops [1-9](default : %i)\n", NBLOOPS); in usage_advanced()
720 DISPLAY( " -B# : Block size [4-7](default : 7)\n"); in usage_advanced()
726 DISPLAY("Wrong parameters\n"); in badusage()
739 DISPLAY(WELCOME_MESSAGE); in main()