Home
last modified time | relevance | path

Searched refs:cmdtab (Results 1 – 25 of 41) sorted by last modified time

12

/freebsd/usr.sbin/lpr/lpc/
H A DMakefile7 SRCS= lpc.c cmds.c cmdtab.c movejobs.c
H A Dcmdtab.c61 struct cmd cmdtab[] = { variable
84 int NCMDS = sizeof (cmdtab) / sizeof (cmdtab[0]);
H A Dextern.h74 extern struct cmd cmdtab[];
H A Dlpc.c231 for (c = cmdtab; (p = c->c_name); c++) { in getcmd()
292 for (c = cmdtab; c->c_name; c++) { in help()
305 c = cmdtab + j * lines + i; in help()
308 if (c + lines >= &cmdtab[NCMDS]) { in help()
/freebsd/stand/fdt/
H A Dfdt_loader_cmd.c89 struct cmdtab { struct
95 static const struct cmdtab commands[] = { argument
/freebsd/contrib/telnet/telnet/
H A Dcommands.c2538 static Command cmdtab[] = { variable
2602 if ((cm = (Command *) genget(name, (char **) cmdtab, sizeof(Command)))) in getcmd()
2687 for (c = cmdtab; c->name; c++) in help()
/freebsd/usr.bin/tftp/
H A Dmain.c124 static struct cmd cmdtab[] = { variable
790 for (c = cmdtab; (p = c->name) != NULL; c++) { in getcmd()
853 for (c = cmdtab; c->name; c++) in help()
/freebsd/usr.bin/systat/
H A DMakefile5 SRCS= cmds.c cmdtab.c devs.c fetch.c iolat.c iostat.c keyboard.c main.c sysput.c \
H A Dcmdtab.c38 struct cmdtab cmdtab[] = { variable
85 struct cmdtab *curcmd = &cmdtab[0];
H A Dextern.h36 extern struct cmdtab *curcmd;
37 extern struct cmdtab cmdtab[];
92 struct cmdtab *lookup(const char *);
H A Dcmds.c48 struct cmdtab *p; in command()
77 for (p = cmdtab; p->c_name; p++) { in command()
109 if (p == (struct cmdtab *)-1) { in command()
146 struct cmdtab *
150 struct cmdtab *ct, *found; in lookup()
155 found = (struct cmdtab *) 0; in lookup()
156 for (ct = cmdtab; (p = ct->c_name); ct++) { in lookup()
170 return ((struct cmdtab *)-1); in lookup()
H A Dmain.c154 struct cmdtab *p; in main()
157 if (p == (struct cmdtab *)-1) in main()
159 if (p == (struct cmdtab *)0) in main()
H A Dsystat.h35 struct cmdtab { struct
/freebsd/usr.bin/mail/
H A Dcmdtab.c41 const struct cmd cmdtab[] = { variable
H A Dlex.c45 extern const struct cmd cmdtab[];
495 for (cp = &cmdtab[0]; cp->c_name != NULL; cp++) in lex()
H A Dcmd1.c218 extern const struct cmd cmdtab[]; in pcmdlist()
223 for (cc = 0, cp = cmdtab; cp->c_name != NULL; cp++) { in pcmdlist()
H A DMakefile4 SRCS= version.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c edit.c fio.c \
/freebsd/usr.bin/ftp/
H A DMakefile15 SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
/freebsd/libexec/ftpd/
H A Dftpcmd.y516 help(cmdtab, NULL);
531 help(cmdtab, $3);
1059 struct tab cmdtab[] = { /* In order defined in RFC 765 */
1301 p = lookup(cmdtab, cbuf);
/freebsd/usr.sbin/ppp/
H A Dprompt.c279 arg.cmdtab = NULL; in prompt_Read()
H A Dcommand.c200 showcx(struct cmdtab const *cmd) in showcx()
213 struct cmdtab const *cmd; in HelpCommand()
234 for (cmd = arg->cmdtab; cmd->func; cmd++) in HelpCommand()
246 for (cmd = arg->cmdtab; cmd->func; cmd++) in HelpCommand()
760 static struct cmdtab const NatCommands[] =
812 static struct cmdtab const IfaceCommands[] =
838 static struct cmdtab const Commands[] = {
1035 static struct cmdtab const *
1040 struct cmdtab const *found; in FindCommand()
1090 struct cmdtab const *cmd; in FindExec()
[all …]
H A Dcommand.h31 struct cmdtab;
37 struct cmdtab const *cmdtab; /* The entire command table */ member
38 struct cmdtab const *cmd; /* This command entry */
47 struct cmdtab { struct
/freebsd/usr.sbin/cdcontrol/
H A Dcdcontrol.c88 static struct cmdtab { struct
93 } cmdtab[] = { variable
155 struct cmdtab *c; in help()
160 for (c=cmdtab; c->name; ++c) { in help()
1211 struct cmdtab *c; in parse()
1246 for (c=cmdtab; c->name; ++c) { in parse()
/freebsd/usr.bin/tip/
H A DREADME36 The command dispatch table is defined in cmdtab.c. Commands
/freebsd/usr.bin/tip/tip/
H A DMakefile41 SRCS= acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c \

12