/src/usr.bin/mail/ |
cmdtab.c | 1 /* $NetBSD: cmdtab.c,v 1.22 2021/12/14 15:13:41 christos Exp $ */ 35 static char sccsid[] = "@(#)cmdtab.c 8.2 (Berkeley) 4/20/95"; 37 __RCSID("$NetBSD: cmdtab.c,v 1.22 2021/12/14 15:13:41 christos Exp $"); 63 const struct cmd cmdtab[] = { variable in typeref:typename:const struct cmd[]
|
/src/usr.sbin/timed/timedc/ |
cmdtab.c | 1 /* $NetBSD: cmdtab.c,v 1.7 2007/01/27 17:57:45 cbiere Exp $ */ 35 static char sccsid[] = "@(#)cmdtab.c 8.1 (Berkeley) 6/6/93"; 37 __RCSID("$NetBSD: cmdtab.c,v 1.7 2007/01/27 17:57:45 cbiere Exp $"); 50 const struct cmd cmdtab[] = { variable in typeref:typename:const struct cmd[] 60 int NCMDS = sizeof (cmdtab) / sizeof (cmdtab[0]);
|
/src/sys/arch/ews4800mips/stand/common/ |
cmd.c | 41 } cmdtab[] = { variable in typeref:struct:cmd[] 79 for (cmd = cmdtab; cmd->name; cmd++) { 139 for (cmd = cmdtab; cmd->name; cmd++)
|
/src/usr.sbin/lpr/lpc/ |
cmdtab.c | 1 /* $NetBSD: cmdtab.c,v 1.8 2006/10/22 21:09:47 christos Exp $ */ 35 static char sccsid[] = "@(#)cmdtab.c 8.1 (Berkeley) 6/6/93"; 37 __RCSID("$NetBSD: cmdtab.c,v 1.8 2006/10/22 21:09:47 christos Exp $"); 63 struct cmd cmdtab[] = { variable in typeref:struct:cmd[] 82 int NCMDS = sizeof (cmdtab) / sizeof (cmdtab[0]);
|
/src/usr.sbin/mlxctl/ |
main.c | 68 static const struct cmd cmdtab[] = { variable in typeref:typename:const struct cmd[] 119 cmd = &cmdtab[0]; 120 maxcmd = &cmdtab[sizeof(cmdtab) / sizeof(cmdtab[0])];
|
/src/usr.sbin/nvmmctl/ |
nvmmctl.c | 57 static struct cmdtab { struct 73 const struct cmdtab *ct;
|
/src/usr.sbin/intrctl/ |
intrctl.c | 60 static struct cmdtab { struct 74 const struct cmdtab *ct;
|
/src/sys/arch/alpha/stand/standtest/ |
test.c | 40 struct cmdtab { struct 50 int dispatch_cmd(const char *buf, const struct cmdtab *cmds); 55 void print_cmds(const struct cmdtab *cmds, const char *match, 85 static const struct cmdtab toplevel_cmds[] = { 174 dispatch_cmd(const char *buf, const struct cmdtab *cmds) 176 const struct cmdtab *try, *winner; 231 print_cmds(const struct cmdtab *cmds, const char *match, size_t matchlen) 233 const struct cmdtab *try; 403 static const struct cmdtab show_cmds[] = {
|
/src/usr.sbin/iopctl/ |
iopctl.c | 92 } const cmdtab[] = { variable in typeref:struct:__anon5cd0eb460208 const[] 137 for (i = 0; i < sizeof(cmdtab) / sizeof(cmdtab[0]); i++) 138 if (strcmp(argv[optind], cmdtab[i].label) == 0) { 139 if (cmdtab[i].takesargs == 0 && 142 (*cmdtab[i].func)(argv + optind + 1); 146 if (i == sizeof(cmdtab) / sizeof(cmdtab[0]))
|
/src/usr.sbin/cpuctl/ |
cpuctl.c | 69 static struct cmdtab { struct 91 const struct cmdtab *ct;
|
/src/usr.sbin/tprof/ |
tprof.c | 104 static struct cmdtab { struct 558 const struct cmdtab *ct;
|
/src/usr.bin/tftp/ |
main.c | 153 static const struct cmd cmdtab[] = { variable in typeref:typename:const struct cmd[] 698 for (c = cmdtab; (p = c->name) != NULL; c++) { 760 for (c = cmdtab; c->name; c++)
|
/src/usr.bin/ftp/ |
cmdtab.c | 1 /* $NetBSD: cmdtab.c,v 1.53 2023/02/25 12:07:25 mlelstv Exp $ */ 64 static char sccsid[] = "@(#)cmdtab.c 8.4 (Berkeley) 10/9/94"; 66 __RCSID("$NetBSD: cmdtab.c,v 1.53 2023/02/25 12:07:25 mlelstv Exp $"); 189 struct cmd cmdtab[] = { variable in typeref:struct:cmd[]
|
/src/usr.bin/cdplay/ |
cdplay.c | 94 static struct cmdtab { struct 99 } const cmdtab[] = { variable in typeref:struct:cmdtab const[] 339 const struct cmdtab *c, *mc; 343 mc = cmdtab + sizeof(cmdtab) / sizeof(cmdtab[0]); 344 for (c = cmdtab; c < mc; c++) { 1315 const struct cmdtab *c, *mc; 1342 mc = cmdtab + sizeof(cmdtab) / sizeof(cmdtab[0]) [all...] |
/src/usr.bin/telnet/ |
commands.c | 2301 static Command cmdtab[] = { 2364 if ((cm = (Command *) genget(name, (char **) cmdtab, sizeof(Command))) != NULL) 2450 for (c = cmdtab; c->name; c++) 2293 static Command cmdtab[] = { variable in typeref:typename:Command[]
|