Home
last modified time | relevance | path

Searched refs:progname (Results 1 – 25 of 256) sorted by relevance

1234567891011

/freebsd/lib/libpathconv/tests/
H A Dtest.pl89 $progname = 'abs2rel';
92 chop($result = `./$progname $d[0] $d[1]`);
97 print LOG "$progname $d[0] $d[1] -> $result (It should be '$d[2]')\n";
103 chop($result = `./$progname $d[0] $d[1]`);
108 print LOG "$progname $d[0] $d[1] -> $result (It should be '$d[2]')\n";
112 $progname = 'rel2abs';
115 chop($result = `./$progname $d[0] $d[1]`);
120 print LOG "$progname $d[0] $d[1] -> $result (It should be '$d[2]')\n";
126 chop($result = `./$progname $d[2] $d[1]`);
131 print LOG "$progname $d[2] $d[1] -> $result (It should be '$d[0]')\n";
/freebsd/usr.sbin/acpi/acpidump/
H A Dacpidump.c44 usage(const char *progname) in usage() argument
48 "[-o dsdt_output] [-T table_name]\n", progname); in usage()
50 progname); in usage()
59 char *progname; in main() local
64 progname = argv[0]; in main()
67 usage(progname); in main()
78 usage(progname); in main()
98 usage(progname); in main()
109 usage(progname); in main()
112 usage(progname); in main()
/freebsd/crypto/openssl/test/
H A Dbio_prefix_text.c94 static int setup_bio_chain(const char *progname) in setup_bio_chain() argument
145 const char *progname = opt_getprog(); in setup() local
168 progname, arg); in setup()
173 progname); in setup()
176 if (!setup_bio_chain(progname)) { in setup()
178 progname); in setup()
184 BIO_printf(bio_err, "%s: -i given before -n", progname); in setup()
195 progname, arg); in setup()
206 progname, arg); in setup()
211 progname, idx, amount - 1); in setup()
[all …]
/freebsd/contrib/sendmail/editmap/
H A Deditmap.c64 usage(progname) in usage() argument
65 char *progname; in usage()
69 progname);
78 char *progname; local
112 progname = strrchr(argv[0], '/');
113 if (progname != NULL)
114 progname++;
116 progname = argv[0];
167 usage(progname);
186 usage(progname);
[all …]
/freebsd/contrib/ntp/util/
H A Dtickadj.c42 char *progname;
46 progname = argv[0];
65 progname, ntp_optarg);
81 progname, ntp_optarg);
89 progname, progname);
218 char *progname; variable
263 progname = argv[0]; in main()
274 progname, ntp_optarg); in main()
312 progname, ntp_optarg); in main()
324 "usage: %s [-Adkpqs] [-a newadj] [-t newtick]\n", progname); in main()
[all …]
/freebsd/contrib/sendmail/makemap/
H A Dmakemap.c69 usage(progname) in usage() argument
70 const char *progname; in usage()
74 progname);
77 (int) strlen(progname), "");
81 (int) strlen(progname), "");
85 (int) strlen(progname), "");
109 db_put(database, db_key, db_val, putflags, mapname, lineno, progname) in db_put() argument
115 const char *progname;
132 progname, mapname);
347 char *progname; local
[all …]
/freebsd/contrib/llvm-project/lldb/tools/lldb-server/
H A Dlldb-server.cpp27 static void display_usage(const char *progname) { in display_usage()
33 progname, progname, progname); in display_usage()
58 const char *progname = argv[0]; in main()
60 display_usage(progname); in main()
79 display_usage(progname); in main()
26 display_usage(const char * progname) display_usage() argument
56 const char *progname = argv[0]; main() local
/freebsd/sbin/ipf/ipfsync/
H A Dipsyncs.c32 void usage(const char *progname);
36 void usage(const char *progname) { in usage() argument
39 progname); in usage()
63 char *progname; local
65 progname = strrchr(argv[0], '/');
66 if (progname) {
67 progname++;
69 progname = argv[0];
73 usage(progname);
83 openlog(progname, LOG_PID, LOG_SECURITY);
H A Dipsyncm.c36 void usage(const char *progname) { in usage() argument
37 fprintf(stderr, "Usage: %s <destination IP> <destination port>\n", progname); in usage()
63 char *progname; local
65 progname = strrchr(argv[0], '/');
66 if (progname) {
67 progname++;
69 progname = argv[0];
74 usage(progname);
84 openlog(progname, LOG_PID, LOG_SECURITY);
/freebsd/contrib/kyua/utils/cmdline/
H A Dglobals_test.cpp40 ATF_REQUIRE_EQ("foobar", cmdline::progname()); in ATF_TEST_CASE_BODY()
48 ATF_REQUIRE_EQ("barbaz", cmdline::progname()); in ATF_TEST_CASE_BODY()
56 ATF_REQUIRE_EQ("program", cmdline::progname()); in ATF_TEST_CASE_BODY()
64 ATF_REQUIRE_EQ("program", cmdline::progname()); in ATF_TEST_CASE_BODY()
67 ATF_REQUIRE_EQ("foo", cmdline::progname()); in ATF_TEST_CASE_BODY()
/freebsd/tools/tools/ath/athkey/
H A Dathkey.c41 const char *progname; variable
66 progname, cp[0]); in getdata()
73 "(not hex)\n", progname, cp[1]); in getdata()
85 progname, arg, (unsigned long long) maxlen); in getdata()
113 fprintf(stderr, "%s: unknown cipher %s\n", progname, name); in getcipher()
122 progname); in usage()
145 progname = argv[0]; in main()
169 progname, argv[0]); in main()
/freebsd/tools/tools/ath/athradar/
H A Dathradar.c238 usage(const char *progname) in usage() argument
241 printf("\t%s: [-i <interface>] <cmd> (<arg>)\n", progname); in usage()
242 printf("\t%s: [-h]\n", progname); in usage()
254 const char *progname = argv[0]; in main() local
260 usage(progname); in main()
264 usage(progname); in main()
270 usage(progname); in main()
279 usage(progname); in main()
290 usage(progname); in main()
294 usage(progname); in main()
[all …]
/freebsd/usr.sbin/lpr/lpr/
H A Dlpr.c145 progname = argv[0]; in main()
394 progname, arg); in main()
473 printf("%s: cannot open %s\n", progname, arg); in main()
478 printf("%s: %s: not removed\n", progname, arg); in main()
495 printf("%s: cannot touch %s\n", progname, in main()
503 printf("%s: cannot rename %s\n", progname, cfname); in main()
539 printf("%s: %s: temp file write error\n", progname, n); in copy()
548 progname, n); in copy()
555 printf("%s: %s: empty input file\n", progname, in copy()
632 printf("%s: cannot create %s\n", progname, n); in nfile()
[all …]
/freebsd/tools/tools/ath/athspectral/
H A Dathspectral.c273 usage(const char *progname) in usage() argument
276 printf("\t%s: [-i <interface>] <cmd> (<arg>)\n", progname); in usage()
277 printf("\t%s: [-h]\n", progname); in usage()
292 const char *progname = argv[0]; in main() local
298 usage(progname); in main()
302 usage(progname); in main()
308 usage(progname); in main()
317 usage(progname); in main()
328 usage(progname); in main()
332 usage(progname); in main()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dclone_mmap_cached.c61 usage(const char *progname) in usage() argument
68 (void) fprintf(stderr, "usage: %s [-io] <input> <output>\n", progname); in usage()
81 const char *progname; in main() local
84 progname = argv[0]; in main()
96 usage(progname); in main()
103 usage(progname); in main()
/freebsd/crypto/heimdal/lib/vers/
H A Dprint_version.c44 print_version(const char *progname) in print_version() argument
48 if(progname == NULL) in print_version()
49 progname = getprogname(); in print_version()
53 fprintf(stderr, "%s (%s)\n", progname, package_list); in print_version()
/freebsd/contrib/sendmail/contrib/
H A Dmovemail.pl34 my $progname = $0;
54 print "$progname: there must be at least two queues\n";
59 print "$progname: wrong number of ages (should be one less than number of queues)\n";
80 print "$progname: invalid number $ages[$n] in ages array\n";
84 print "$progname: age $lastage is not > previous value $ages[$n]\n";
/freebsd/cddl/contrib/opensolaris/cmd/mdb/tools/common/
H A Ddie.c44 const char *progname = getprogname(); in die() local
47 (void) fprintf(stderr, "%s: ", progname); in die()
69 const char *progname = getprogname(); in elfdie() local
72 (void) fprintf(stderr, "%s: ", progname); in elfdie()
/freebsd/usr.bin/bintrans/
H A Dbintrans.c55 const char *const progname = getprogname(); in main() local
56 int coder = search(progname); in main()
84 progname); in main()
90 search(const char *const progname) in search() argument
103 if (strcmp(progname, known[i]) == 0) in search()
/freebsd/contrib/bmake/
H A Dmain.c144 const char *progname; variable
183 size_t prognameLen = strcspn(progname, "["); in usage()
190 (int)prognameLen, progname); in usage()
324 progname, *modules); in MainParseArgDebug()
363 progname, argvalue, strerror(errno)); in MainParseArgChdir()
367 (void)fprintf(stderr, "%s: %s.\n", progname, strerror(errno)); in MainParseArgChdir()
386 progname, argvalue); in MainParseArgJobsInternal()
432 progname, arg); in MainParseArgJobs()
677 progname, c); in MainParseArgs()
745 progname, path, strerror(errno)); in Main_SetObjdir()
[all …]
/freebsd/contrib/atf/atf-c/detail/
H A Dtp_main.c53 static const char *progname = NULL; variable
119 fprintf(stderr, "%s: ERROR: %s\n", progname, buf); in print_error()
123 progname); in print_error()
130 fprintf(stderr, "%s: WARNING: %s\n", progname, message); in print_warning()
458 err = atf_fs_path_append_fmt(&exe, "%s", progname); in handle_srcdir()
591 progname = strrchr(argv[0], '/'); in atf_tp_main()
592 if (progname == NULL) in atf_tp_main()
593 progname = argv[0]; in atf_tp_main()
595 progname++; in atf_tp_main()
600 if (strncmp(progname, "lt-", 3) == 0) in atf_tp_main()
[all …]
/freebsd/sbin/md5/
H A Dmd5.c60 static char *progname; variable
93 const char *progname; member
414 if ((progname = strrchr(argv[0], '/')) == NULL) in main()
415 progname = argv[0]; in main()
417 progname++; in main()
435 len = strlen(progname); in main()
436 if (strcmp(progname, "shasum") == 0) { in main()
443 } else if (len > 3 && strcmp(progname + len - 3, "sum") == 0) { in main()
466 for (digest = 0; Algorithm[digest].progname != NULL; digest++) in main()
467 if (strncasecmp(Algorithm[digest].progname, progname, len) == 0) in main()
[all …]
/freebsd/contrib/elftoolchain/libelftc/
H A Dmake-toolchain-version17 progname=`basename ${0}`
26 echo "Usage: ${progname} [options]"
98 /* WARNING: Generated by "${progname}". */
111 echo "@ ${progname}: building \"${versionfile}\"."
/freebsd/tools/tools/sortbench/
H A Dsort_bench.c212 usage(const char *progname) in usage() argument
215 printf("\t%s: [alg] [test] [runs] [elt_power]\n", progname); in usage()
240 const char *progname = argv[0]; in main() local
243 usage(progname); in main()
247 usage(progname); in main()
251 usage(progname); in main()
/freebsd/usr.sbin/bhyve/amd64/
H A Dbhyverun_machdep.c72 const char *progname; in bhyve_usage() local
74 progname = getprogname(); in bhyve_usage()
107 progname, (int)strlen(progname), "", (int)strlen(progname), "", in bhyve_usage()
108 (int)strlen(progname), ""); in bhyve_usage()

1234567891011