Lines Matching refs:pname
86 printUsage(const char *pname, UBool ishelp) {
89 ishelp ? 'U' : 'u', pname);
106 const char *pname;
123 pname=strrchr(argv[0], U_FILE_SEP_CHAR);
124 if(pname==NULL) {
125 pname=strrchr(argv[0], '/');
127 if(pname!=NULL) {
128 ++pname;
130 pname=argv[0];
136 return printUsage(pname, ishelp);
143 return printUsage(pname, FALSE);
159 return printUsage(pname, FALSE);
168 fprintf(stderr, "%s: unable to open input file \"%s\"\n", pname, argv[1]);
175 fprintf(stderr, "%s: empty input file \"%s\"\n", pname, argv[1]);
188 fprintf(stderr, "%s: error allocating memory for \"%s\"\n", pname, argv[1]);
197 fprintf(stderr, "%s: error reading \"%s\"\n", pname, argv[1]);
210 pname, argv[1], u_errorName(errorCode));
238 pname, argv[1], u_errorName(errorCode));
248 pname, argv[1], u_errorName(errorCode));
256 fprintf(stderr, "%s: unable to open output file \"%s\"\n", pname, argv[2]);
262 fprintf(stderr, "%s: error writing \"%s\"\n", pname, argv[2]);