Lines Matching refs:progname
95 static const char *progname; /* program name for error messages */ variable
112 fprintf(stderr, "usage: %s [switches] ", progname); in usage()
340 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in parse_switches()
394 progname); in parse_switches()
562 progname = argv[0]; in djpeg()
563 if (progname == NULL || progname[0] == 0) in djpeg()
564 progname = "djpeg"; /* in case C library doesn't provide it */ in djpeg()
601 progname); in djpeg()
608 progname); in djpeg()
615 fprintf(stderr, "%s: only one input file\n", progname); in djpeg()
623 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]); in djpeg()
634 fprintf(stderr, "%s: can't open %s\n", progname, outfilename); in djpeg()
655 fprintf(stderr, "%s: memory allocation failure\n", progname); in djpeg()
661 fprintf(stderr, "%s: can't read from %s\n", progname, in djpeg()
664 fprintf(stderr, "%s: can't read from stdin\n", progname); in djpeg()
728 fprintf(stderr, "%s: skip region exceeds image height %d\n", progname, in djpeg()
750 progname, tmp, skip_end - skip_start + 1); in djpeg()
769 progname, cinfo.output_width, cinfo.output_height); in djpeg()
790 progname, tmp, crop_y); in djpeg()
803 progname, tmp, cinfo.output_height - crop_y - crop_height); in djpeg()
832 fprintf(stderr, "%s: can't open %s\n", progname, icc_filename); in djpeg()
837 fprintf(stderr, "%s: can't read ICC profile from %s\n", progname, in djpeg()
846 fprintf(stderr, "%s: no ICC profile data in JPEG file\n", progname); in djpeg()