Searched refs:cmds (Results 1 - 25 of 76) sorted by relevance

1234

/freebsd-9.3-release/usr.sbin/sade/
H A Dwizard.c70 char **cp,*cmds[200]; local
88 for(cp = cmds; (*cp = strsep(&p, " \t\n")) != NULL;)
91 ncmd = cp - cmds;
94 if (!strcasecmp(*cmds,"quit")) { break; }
95 if (!strcasecmp(*cmds,"exit")) { break; }
96 if (!strcasecmp(*cmds,"q")) { break; }
97 if (!strcasecmp(*cmds,"x")) { break; }
98 if (!strcasecmp(*cmds,"delete") && ncmd == 2) {
101 (struct chunk *)strtol(cmds[1],0,0)));
104 if (!strcasecmp(*cmds,"allfreebs
[all...]
H A Dcommand.c41 } cmds[MAX_NUM_COMMANDS]; member in struct:__anon11070
57 if (commandStack[i]->cmds[j].type == CMD_SHELL)
58 free(commandStack[i]->cmds[j].ptr);
73 commandStack[i]->cmds[commandStack[i]->ncmds].type = type;
74 commandStack[i]->cmds[commandStack[i]->ncmds].ptr = cmd;
75 commandStack[i]->cmds[commandStack[i]->ncmds].data = data;
87 commandStack[numCommands]->cmds[0].type = type;
88 commandStack[numCommands]->cmds[0].ptr = cmd;
89 commandStack[numCommands]->cmds[0].data = data;
157 if (commandStack[i]->cmds[
[all...]
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Dwizard.c71 char **cp,*cmds[200]; local
89 for(cp = cmds; (*cp = strsep(&p, " \t\n")) != NULL;)
92 ncmd = cp - cmds;
95 if (!strcasecmp(*cmds,"quit")) { break; }
96 if (!strcasecmp(*cmds,"exit")) { break; }
97 if (!strcasecmp(*cmds,"q")) { break; }
98 if (!strcasecmp(*cmds,"x")) { break; }
99 if (!strcasecmp(*cmds,"delete") && ncmd == 2) {
102 (struct chunk *)strtol(cmds[1],0,0)));
105 if (!strcasecmp(*cmds,"allfreebs
[all...]
H A Dcommand.c46 } cmds[MAX_NUM_COMMANDS]; member in struct:__anon11082
62 if (commandStack[i]->cmds[j].type == CMD_SHELL)
63 free(commandStack[i]->cmds[j].ptr);
78 commandStack[i]->cmds[commandStack[i]->ncmds].type = type;
79 commandStack[i]->cmds[commandStack[i]->ncmds].ptr = cmd;
80 commandStack[i]->cmds[commandStack[i]->ncmds].data = data;
92 commandStack[numCommands]->cmds[0].type = type;
93 commandStack[numCommands]->cmds[0].ptr = cmd;
94 commandStack[numCommands]->cmds[0].data = data;
162 if (commandStack[i]->cmds[
[all...]
/freebsd-9.3-release/lib/libdisk/
H A Dtst01.c133 char **cp, *cmds[200]; local
164 for (cp = cmds; (*cp = strsep(&p, " \t\n")) != NULL;)
167 ncmd = cp - cmds;
170 if (!strcasecmp(*cmds, "quit"))
172 if (!strcasecmp(*cmds, "exit"))
174 if (!strcasecmp(*cmds, "q"))
176 if (!strcasecmp(*cmds, "x"))
178 if (!strcasecmp(*cmds, "dwim") && ncmd == 6) {
181 (struct chunk *)strtol(cmds[1], 0, 0),
182 strtol(cmds[
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/sl/
H A Dsl.h58 int sl_command_loop (SL_cmd *cmds, const char *prompt, void **data);
59 int sl_command (SL_cmd *cmds, int argc, char **argv);
62 SL_cmd *sl_match (SL_cmd *cmds, char *cmd, int exactp);
63 void sl_slc_help (SL_cmd *cmds, int argc, char **argv);
H A Dsl.c43 mandoc_template(SL_cmd *cmds, argument
73 for(c = cmds; c->name; ++c) {
86 for(c = cmds; c->name; ++c) {
112 sl_match (SL_cmd *cmds, char *cmd, int exactp) argument
117 for (c = cmds; c->name; ++c) {
135 sl_help (SL_cmd *cmds, int argc, char **argv) argument
140 mandoc_template(cmds, NULL);
146 for (c = cmds; c->name; ++c) {
160 c = sl_match (cmds, argv[1], 0);
206 sl_command(SL_cmd *cmds, in argument
311 sl_command_loop(SL_cmd *cmds, const char *prompt, void **data) argument
344 sl_loop(SL_cmd *cmds, const char *prompt) argument
366 sl_slc_help(SL_cmd *cmds, int argc, char **argv) argument
[all...]
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Bin/
H A Dsh_stat.d55 execs = funcs = builtins = subs = cmds = 0;
108 cmds++;
119 cmds / interval);
120 execs = funcs = builtins = subs = cmds = 0;
H A Dtcl_stat.d55 execs = procs = cmds = objnew = objfree = ops = 0;
97 cmds++;
122 execs / interval, procs / interval, cmds / interval,
124 execs = procs = cmds = objnew = objfree = ops = 0;
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Shell/
H A Dsh_stat.d55 execs = funcs = builtins = subs = cmds = 0;
108 cmds++;
119 cmds / interval);
120 execs = funcs = builtins = subs = cmds = 0;
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Tcl/
H A Dtcl_stat.d55 execs = procs = cmds = objnew = objfree = ops = 0;
97 cmds++;
122 execs / interval, procs / interval, cmds / interval,
124 execs = procs = cmds = objnew = objfree = ops = 0;
/freebsd-9.3-release/contrib/tnftp/src/
H A DMakefile.am6 cmds.c \
/freebsd-9.3-release/contrib/bmake/
H A Dfor.c363 for_substitute(Buffer *cmds, strlist_t *items, unsigned int item_no, char ech)
373 Buf_AddBytes(cmds, strlen(item), item);
382 Buf_AddBytes(cmds, len + 1, item - 1);
386 Buf_AddByte(cmds, '\\');
388 Buf_AddByte(cmds, '\\');
389 Buf_AddByte(cmds, ch);
403 Buffer cmds;
428 Buf_Init(&cmds, len + 256);
442 Buf_AddBytes(&cmds, cp - cmd_cp, cmd_cp);
443 Buf_AddBytes(&cmds,
361 for_substitute(Buffer *cmds, strlist_t *items, unsigned int item_no, char ech) argument
401 Buffer cmds; local
[all...]
/freebsd-9.3-release/usr.sbin/timed/timedc/
H A DMakefile8 SRCS= cmds.c cmdtab.c timedc.c byteorder.c measure.c cksum.c
/freebsd-9.3-release/contrib/nvi/ex/
H A Dex_usage.c77 for (cp = cmds; cp->name != NULL &&
93 if (cp != &cmds[C_VISUAL_EX] &&
94 cp != &cmds[C_VISUAL_VI])
96 if (cp == &cmds[C_VISUAL_EX])
97 cp = &cmds[C_VISUAL_VI];
99 cp = &cmds[C_VISUAL_EX];
105 for (cp = cmds; cp->name != NULL && !INTERRUPTED(sp); ++cp) {
114 if (cp == &cmds[C_SCROLL])
H A Dex.c420 t = cmds[C_DELETE].name; *s == *t; ++s, ++t);
426 ecp->rcmd = cmds[C_DELETE];
462 ecp->cmd = &cmds[C_K];
474 ecp->rcmd = cmds[C_SUBSTITUTE];
493 skip_srch: if (ecp->cmd == &cmds[C_VISUAL_EX] && F_ISSET(sp, SC_VI))
494 ecp->cmd = &cmds[C_VISUAL_VI];
505 (ecp->cmd == &cmds[C_PRINT] ||
506 ecp->cmd == &cmds[C_PRESERVE]))
524 if ((ecp->cmd == &cmds[C_SHIFTL] && *p == '<') ||
525 (ecp->cmd == &cmds[C_SHIFT
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/cli/
H A Dcli-script.h26 /* Exported to cli/cli-cmds.c */
48 extern struct command_line * copy_command_lines (struct command_line *cmds);
/freebsd-9.3-release/usr.sbin/lpr/lpc/
H A DMakefile8 SRCS= lpc.c cmds.c cmdtab.c movejobs.c
/freebsd-9.3-release/gnu/usr.bin/texinfo/makeinfo/
H A DMakefile4 SRCS= cmds.c defun.c files.c float.c footnote.c html.c \
/freebsd-9.3-release/lib/libedit/
H A Dparse.c61 } cmds[] = { variable in typeref:struct:__anon5191
123 for (i = 0; cmds[i].name != NULL; i++)
124 if (strcmp(cmds[i].name, ptr) == 0) {
125 i = (*cmds[i].func) (el, argc, argv);
/freebsd-9.3-release/usr.bin/usbhidaction/
H A Dusbhidaction.c243 struct command *cmds = local
245 if (cmds) {
247 commands = cmds;
284 struct command *cmd, *cmds; local
293 cmds = NULL;
312 freecommands(cmds);
329 cmd->next = cmds;
330 cmds = cmd;
343 freecommands(cmds);
359 freecommands(cmds);
[all...]
/freebsd-9.3-release/sys/ufs/ufs/
H A Dufs_vfsops.c88 ufs_quotactl(mp, cmds, id, arg)
90 int cmds;
101 cmd = cmds >> SUBCMDSHIFT;
102 type = cmds & SUBCMDMASK;
/freebsd-9.3-release/usr.bin/ftp/
H A DMakefile15 SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
/freebsd-9.3-release/usr.bin/systat/
H A DMakefile7 SRCS= cmds.c cmdtab.c devs.c fetch.c iostat.c keyboard.c main.c \
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-cmd-queue.h339 * @param cmds Array of commands to write
343 static inline cvmx_cmd_queue_result_t cvmx_cmd_queue_write(cvmx_cmd_queue_id_t queue_id, int use_locking, int cmd_count, uint64_t *cmds) argument
353 if (cvmx_unlikely(cmds == NULL))
381 *ptr++ = *cmds++;
402 *ptr++ = *cmds++;
410 *ptr++ = *cmds++;

Completed in 253 milliseconds

1234