Lines Matching refs:progname
146 static const char *progname; /* program name for error messages */ variable
156 fprintf(stderr, "usage: %s [switches] ", progname); in usage()
269 progname); in parse_switches()
344 progname); in parse_switches()
361 progname); in parse_switches()
371 progname); in parse_switches()
436 progname); in parse_switches()
527 progname = argv[0]; in main()
528 if (progname == NULL || progname[0] == 0) in main()
529 progname = "cjpeg"; /* in case C library doesn't provide it */ in main()
562 progname); in main()
569 progname); in main()
577 fprintf(stderr, "%s: only one input file\n", progname); in main()
585 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]); in main()
596 fprintf(stderr, "%s: can't open %s\n", progname, outfilename); in main()
606 fprintf(stderr, "%s: can't open %s\n", progname, icc_filename); in main()
612 fprintf(stderr, "%s: can't determine size of %s\n", progname, in main()
617 fprintf(stderr, "%s: can't allocate memory for ICC profile\n", progname); in main()
622 fprintf(stderr, "%s: can't read ICC profile from %s\n", progname, in main()