/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]);
|
Makefile | 5 SRCS= cmds.c cmdtab.c timedc.c byteorder.c measure.c cksum.c tspname.c
|
timedc.c | 149 extern const struct cmd cmdtab[]; 155 for (c = cmdtab; c < &cmdtab[NCMDS]; c++) { 212 extern const struct cmd cmdtab[]; 220 for (c = cmdtab; c < &cmdtab[NCMDS]; c++) { 233 c = cmdtab + j * lines + i; 235 if (c + lines >= &cmdtab[NCMDS]) {
|
/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]);
|
extern.h | 56 extern struct cmd cmdtab[];
|
Makefile | 6 SRCS= lpc.c cmds.c cmdtab.c
|
lpc.c | 211 for (c = cmdtab; (p = c->c_name) != NULL; c++) { 273 for (c = cmdtab; c->c_name; c++) { 286 c = cmdtab + j * lines + i; 288 if (c + lines >= &cmdtab[NCMDS - 1]) {
|
/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/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/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.bin/tip/ |
Makefile | 42 SRCS= acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c partab.c \
|
/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.bin/ftp/ |
Makefile | 9 SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
|
ftp_var.h | 332 extern struct cmd cmdtab[];
|
main.c | 521 * struct option optiontab[] declared in cmdtab.c 787 for (c = cmdtab; (p = c->c_name) != NULL; c++) { 1008 for (c = cmdtab; (p = c->c_name) != NULL; c++)
|
/src/usr.sbin/nvmmctl/ |
nvmmctl.c | 57 static struct cmdtab { struct 73 const struct cmdtab *ct;
|
/src/usr.bin/systat/ |
Makefile | 14 SRCS= bufcache.c cmds.c cmdtab.c convtbl.c disks.c df.c drvstats.c \
|
/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/mail/ |
Makefile | 27 SRCS= version.c support.c cmd1.c cmd2.c cmd3.c cmd4.c cmdtab.c collect.c \
|
extern.h | 132 * from cmdtab.c 134 extern const struct cmd cmdtab[];
|
/src/usr.sbin/intrctl/ |
intrctl.c | 60 static struct cmdtab { struct 74 const struct cmdtab *ct;
|
/src/usr.sbin/cpuctl/ |
cpuctl.c | 69 static struct cmdtab { struct 91 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.sbin/tprof/ |
tprof.c | 104 static struct cmdtab { struct 558 const struct cmdtab *ct;
|
/src/libexec/ftpd/ |
extern.h | 350 extern struct tab cmdtab[];
|