HomeSort by: relevance | last modified time | path
    Searched defs:cmdname (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/external/bsd/kyua-cli/dist/cli/
main.cpp 192 const std::string cmdname = cmdline.arguments()[0]; local
195 cmdname != "help");
197 cli::cli_command* command = commands.find(cmdname);
199 throw cmdline::usage_error(F("Unknown command '%s'") % cmdname);
cmd_help.cpp 237 const std::string& cmdname = cmdline.arguments()[0]; local
238 const cli::cli_command* command = _commands->find(cmdname);
241 cmdname);
  /src/usr.sbin/mlxctl/
main.c 82 const char *cmdname, *dv; local
109 if ((cmdname = argv[optind++]) == NULL)
122 if (strcmp(cmdname, cmd->label) == 0)
  /src/external/historical/nawk/dist/
main.c 47 char *cmdname; /* gets argv[0] for error messages */ variable
151 cmdname = argv[0];
155 cmdname);
250 argv[0] = cmdname; /* put prog name at front of arglist */
  /src/sbin/iscsictl/
iscsic_main.c 183 static char *cmdname; /* pointer to command name for error msgs */ variable
232 progname, cmdname, argp, lbuf);
250 warnx("%s: Missing argument: %s", cmdname, arg);
275 progname, cmdname, lbuf, strerror(errno));
299 fprintf(stderr, "%s: %s: %s\n", progname, cmdname, lbuf);
322 warnx("%s: Unrecognized argument '%s'", cmdname, argv[i]);
348 warnx("%s: %s", cmdname, status_msg[i].str);
350 warnx("%s: Undefined error code %d", cmdname, n);
539 cmdname = argv[optind];
542 if (strcmp(c->cmd, cmdname) == 0)
    [all...]
  /src/usr.sbin/intrctl/
intrctl.c 75 char *cmdname; local
80 cmdname = argv[1];
85 if (strcmp(cmdname, ct->label) == 0) {
90 errx(EXIT_FAILURE, "unknown command ``%s''", cmdname);
  /src/sbin/dmctl/
dmctl.c 70 static const char *cmdname; /* command user issued */ variable
166 cmdname = argv[1];
182 if (strcmp(cmdname, commands[i].cmd_name) == 0)
186 errx(EXIT_FAILURE, "unknown command: %s", cmdname);
189 cmdname = commands[i].ioctl_cmd_name;
202 task = libdm_task_create(cmdname);
  /src/usr.sbin/pcictl/
pcictl.c 74 static const char *cmdname; variable
126 cmdname = argv[2];
132 if (strcmp(cmdname, commands[i].cmd_name) == 0)
135 errx(EXIT_FAILURE, "unknown command: %s", cmdname);
  /src/external/bsd/elftosb/dist/common/
options.h 208 //! Options opts(cmdname, optv);
209 //! char cmdname[], *optv[];
270 //! usage: cmdname [-c|--count <number>] [-s|--str [<string>]]
291 //! cmdname -x -l item1 item2 item3 -- arg1 arg2 arg3
292 //! cmdname -x -litem1 -litem2 -litem3 -- arg1 arg2 arg3
293 //! cmdname -l item1 item2 item3 -x arg1 arg2 arg3
371 const char * cmdname; //!< name of the command member in class:Options
430 name(void) const { return cmdname; }
  /src/external/cddl/osnet/dist/cmd/zhack/
zhack.c 56 const char cmdname[] = "zhack"; variable
68 "\n", cmdname);
97 (void) fprintf(stderr, "%s: ", cmdname);
  /src/sbin/bioctl/
bioctl.c 146 const char *cmdname; local
156 cmdname = argv[2];
162 if (strcmp(cmdname, commands[i].cmd_name) == 0)
165 errx(EXIT_FAILURE, "unknown command: %s", cmdname);
  /src/usr.sbin/autofs/
common.c 1199 char *cmdname; local
1204 cmdname = basename(argv[0]);
1206 if (strcmp(cmdname, "automount") == 0)
1208 else if (strcmp(cmdname, "automountd") == 0)
1210 else if (strcmp(cmdname, "autounmountd") == 0)
  /src/bin/sh/
exec.c 96 char cmdname[ARB]; /* name of command */ member in struct:tblentry
127 char *cmdname; local
140 while ((cmdname = padvance(&path, argv[0], 1)) != NULL) {
145 tryexec(cmdname, argv, envp, vforked);
167 if (stat(cmdname, &statb) != -1)
179 stunalloc(cmdname);
519 name = padvance(&path, cmdp->cmdname, 1);
534 out1fmt("%s", cmdp->cmdname);
539 out1fmt("%s", cmdp->cmdname);
553 cmdp->cmdname, cmdp->cmdtype)
    [all...]
  /src/sys/dev/ic/
awi.c 1485 static const char *cmdname[] = { local
1493 if (cmd >= sizeof(cmdname)/sizeof(cmdname[0]))
1496 printf("awi_cmd: %s", cmdname[cmd]);
  /src/usr.bin/rpcgen/
rpc_main.c 84 static char *cmdname; variable
927 cmdname = argv[0];
1131 f_print(stderr, "usage: %s infile\n", cmdname);
1133 cmdname);
1135 cmdname);
1136 f_print(stderr, "\t%s [-s nettype] [-o outfile] [infile]\n", cmdname);
1137 f_print(stderr, "\t%s [-n netid] [-o outfile] [infile]\n", cmdname);
  /src/external/bsd/ntp/dist/include/
trimble.h 128 const char *cmdname; /* command name */ member in struct:cmd_info
  /src/sbin/scsictl/
scsictl.c 75 static const char *cmdname; /* command user issued */ variable
147 cmdname = argv[2];
185 if (strcmp(cmdname, commands[i].cmd_name) == 0)
189 commands == bus_commands ? "bus" : "device", cmdname);
  /src/usr.bin/mail/
complete.c 812 char *cmdname; local
827 cmdname = get_cmdname(cp);
828 cp += strlen(cmdname);
832 li.buffer = cmdname;
836 c = lex(cmdname);
  /src/sbin/atactl/
atactl.c 178 static const char *cmdname; /* command user issued */ variable
506 cmdname = argv[2];
538 if (strcmp(cmdname, device_commands[i].cmd_name) == 0) {
545 if (strcmp(cmdname, bus_commands[i].cmd_name) == 0) {
552 errx(1, "unknown command: %s", cmdname);
1521 if (strcmp(cmdname, "idle") == 0)
1523 else if (strcmp(cmdname, "standby") == 0)
1608 req.command = cmdname[3] == 's' ? WDCC_STANDBY : WDCC_IDLE;
  /src/sys/kern/
kern_exec.c 1024 const char *cmdname; local
1027 cmdname = "*fexecve*";
1030 cmdname = strrchr(resolvedname, '/') + 1;
1035 strlcpy(p->p_comm, cmdname, sizeof(p->p_comm));
  /src/external/gpl2/gmake/dist/
read.c 1438 char *cmdname;
1445 #define chkword(s, t) if (word1eq (s)) { cmdtype = (t); cmdname = (s); }
1460 #define EXTRANEOUS() error (flocp, _("Extraneous text after `%s' directive"), cmdname)
1469 fatal (flocp, _("extraneous `%s'"), cmdname);
1483 fatal (flocp, _("extraneous `%s'"), cmdname);
1432 char *cmdname; local
  /src/external/gpl3/gdb/dist/gdb/
printcmd.c 1205 validate_format (struct format_data fmt, const char *cmdname)
1208 error (_("Size letters are meaningless in \"%s\" command."), cmdname);
1211 cmdname);
1214 fmt.format, cmdname);
1218 CMDNAME should name the current command. */
1221 print_command_parse_format (const char **expp, const char *cmdname,
1235 validate_format (fmt, cmdname);
1210 fmt.format, cmdname); local
top.c 1954 const char *cmdname = "verbose";
1957 showcmd = lookup_cmd_1 (&cmdname, showlist, NULL, NULL, 1);
1946 const char *cmdname = "verbose"; local
  /src/external/gpl3/gdb.old/dist/gdb/
printcmd.c 1205 validate_format (struct format_data fmt, const char *cmdname)
1208 error (_("Size letters are meaningless in \"%s\" command."), cmdname);
1211 cmdname);
1214 fmt.format, cmdname);
1218 CMDNAME should name the current command. */
1221 print_command_parse_format (const char **expp, const char *cmdname,
1235 validate_format (fmt, cmdname);
1210 fmt.format, cmdname); local
top.c 1942 const char *cmdname = "verbose";
1945 showcmd = lookup_cmd_1 (&cmdname, showlist, NULL, NULL, 1);
1934 const char *cmdname = "verbose"; local

Completed in 73 milliseconds

1 2