Lines Matching refs:progname
95 static const char *progname; /* program name for error messages */ variable
109 fprintf(stderr, "usage: %s [switches] ", progname); in usage()
330 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in parse_switches()
378 progname); in parse_switches()
529 progname = argv[0]; in main()
530 if (progname == NULL || progname[0] == 0) in main()
531 progname = "djpeg"; /* in case C library doesn't provide it */ in main()
565 progname); in main()
572 progname); in main()
579 fprintf(stderr, "%s: only one input file\n", progname); in main()
587 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]); in main()
598 fprintf(stderr, "%s: can't open %s\n", progname, outfilename); in main()
617 fprintf(stderr, "%s: memory allocation failure\n", progname); in main()
623 fprintf(stderr, "%s: can't read from %s\n", progname, in main()
626 fprintf(stderr, "%s: can't read from stdin\n", progname); in main()
692 fprintf(stderr, "%s: skip region exceeds image height %d\n", progname, in main()
728 progname, cinfo.output_width, cinfo.output_height); in main()
781 fprintf(stderr, "%s: can't open %s\n", progname, icc_filename); in main()
786 fprintf(stderr, "%s: can't read ICC profile from %s\n", progname, in main()
795 fprintf(stderr, "%s: no ICC profile data in JPEG file\n", progname); in main()