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

1234

/freebsd-10.1-release/tools/regression/capsicum/syscalls/
H A Dcap_ioctls_limit.c52 unsigned long cmds[2]; local
62 cmds[0] = FIOCLEX;
63 cmds[1] = FIONCLEX;
64 CHECK(cap_ioctls_limit(fd, cmds, nitems(cmds)) == 0);
65 cmds[0] = cmds[1] = 0;
66 CHECK(cap_ioctls_get(fd, cmds, nitems(cmds)) == nitems(cmds));
133 unsigned long cmds[2]; local
175 unsigned long cmds[2]; local
210 unsigned long cmds[2]; local
239 unsigned long cmds[2]; local
[all...]
/freebsd-10.1-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.c40 mandoc_template(SL_cmd *cmds, argument
70 for(c = cmds; c->name; ++c) {
83 for(c = cmds; c->name; ++c) {
109 sl_match (SL_cmd *cmds, char *cmd, int exactp) argument
114 for (c = cmds; c->name; ++c) {
132 sl_help (SL_cmd *cmds, int argc, char **argv) argument
137 mandoc_template(cmds, NULL);
143 for (c = cmds; c->name; ++c) {
157 c = sl_match (cmds, argv[1], 0);
203 sl_command(SL_cmd *cmds, in argument
308 sl_command_loop(SL_cmd *cmds, const char *prompt, void **data) argument
340 sl_loop(SL_cmd *cmds, const char *prompt) argument
362 sl_slc_help(SL_cmd *cmds, int argc, char **argv) argument
[all...]
/freebsd-10.1-release/sys/compat/freebsd32/
H A Dfreebsd32_capability.c67 u_long *cmds; local
79 cmds = NULL;
82 error = copyin(uap->cmds, cmds32, sizeof(cmds32[0]) * ncmds);
87 cmds = malloc(sizeof(cmds[0]) * ncmds, M_FILECAPS, M_WAITOK);
89 cmds[i] = cmds32[i];
93 return (kern_cap_ioctls_limit(td, uap->fd, cmds, ncmds));
103 u_long *cmds; local
109 cmds32 = uap->cmds;
129 cmds
[all...]
/freebsd-10.1-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-10.1-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-10.1-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-10.1-release/contrib/tnftp/src/
H A DMakefile.am6 cmds.c \
/freebsd-10.1-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-10.1-release/usr.sbin/timed/timedc/
H A DMakefile8 SRCS= cmds.c cmdtab.c timedc.c byteorder.c measure.c cksum.c
/freebsd-10.1-release/sys/kern/
H A Dsys_capability.c335 u_long *cmds; local
347 cmds = fdp->fd_ofiles[fd].fde_ioctls;
349 if (cmds[i] == cmd)
360 cap_ioctl_limit_check(struct filedesc *fdp, int fd, const u_long *cmds, argument
377 if (cmds[i] == ocmds[j])
388 kern_cap_ioctls_limit(struct thread *td, int fd, u_long *cmds, size_t ncmds) argument
404 error = cap_ioctl_limit_check(fdp, fd, cmds, ncmds);
409 fdp->fd_ofiles[fd].fde_ioctls = cmds;
412 cmds = ocmds;
416 free(cmds, M_FILECAP
423 u_long *cmds; local
451 u_long *cmds; local
[all...]
/freebsd-10.1-release/contrib/nvi/ex/
H A Dex_usage.c73 for (cp = cmds; cp->name != NULL &&
89 if (cp != &cmds[C_VISUAL_EX] &&
90 cp != &cmds[C_VISUAL_VI])
92 if (cp == &cmds[C_VISUAL_EX])
93 cp = &cmds[C_VISUAL_VI];
95 cp = &cmds[C_VISUAL_EX];
101 for (cp = cmds; cp->name != NULL && !INTERRUPTED(sp); ++cp) {
110 if (cp == &cmds[C_SCROLL])
H A Dex_edit.c87 if (F_ISSET(cmdp, E_NEWSCREEN) || cmdp->cmd == &cmds[C_VSPLIT])
120 if ((cmdp->cmd == &cmds[C_VSPLIT] && vs_vsplit(sp, new)) ||
121 (cmdp->cmd != &cmds[C_VSPLIT] && vs_split(sp, new, 0))) {
H A Dex.c418 n = cmds[C_DELETE].name; *s == *n; ++s, ++n);
424 ecp->rcmd = cmds[C_DELETE];
460 ecp->cmd = &cmds[C_K];
472 ecp->rcmd = cmds[C_SUBSTITUTE];
491 skip_srch: if (ecp->cmd == &cmds[C_VISUAL_EX] && F_ISSET(sp, SC_VI))
492 ecp->cmd = &cmds[C_VISUAL_VI];
503 (ecp->cmd == &cmds[C_PRINT] ||
504 ecp->cmd == &cmds[C_PRESERVE]))
522 if ((ecp->cmd == &cmds[C_SHIFTL] && *p == '<') ||
523 (ecp->cmd == &cmds[C_SHIFT
[all...]
/freebsd-10.1-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-10.1-release/usr.sbin/lpr/lpc/
H A DMakefile8 SRCS= lpc.c cmds.c cmdtab.c movejobs.c
/freebsd-10.1-release/usr.sbin/binmiscctl/
H A Dbinmiscctl.c68 } cmds[] = { variable in typeref:struct:__anon11921
152 for(i = 0; i < ( sizeof (cmds) / sizeof (cmds[0])); i++) {
153 fprintf(stderr, "%s:\n", cmds[i].desc);
154 fprintf(stderr, "\t%s %s %s\n\n", __progname, cmds[i].name,
155 cmds[i].args);
234 for(i = 0; i < ( sizeof (cmds) / sizeof (cmds[0])); i++) {
235 if (!strcasecmp(cmds[i].name, argv[0])) {
421 error = (*cmds[cm
[all...]
/freebsd-10.1-release/gnu/usr.bin/texinfo/makeinfo/
H A DMakefile4 SRCS= cmds.c defun.c files.c float.c footnote.c html.c \
/freebsd-10.1-release/lib/libedit/
H A Dparse.c61 } cmds[] = { variable in typeref:struct:__anon5721
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-10.1-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-10.1-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-10.1-release/usr.bin/ftp/
H A DMakefile15 SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
/freebsd-10.1-release/usr.bin/systat/
H A DMakefile7 SRCS= cmds.c cmdtab.c devs.c fetch.c iostat.c keyboard.c main.c \
/freebsd-10.1-release/sbin/etherswitchcfg/
H A Detherswitchcfg.c78 struct cmds { struct
84 static struct cmds cmds[]; variable in typeref:struct:cmds
649 for(i=0; cmds[i].name != NULL; i++) {
650 if (cfg.mode == cmds[i].mode && strcmp(argv[0], cmds[i].name) == 0) {
651 if (argc < (cmds[i].args + 1)) {
652 printf("%s needs an argument\n", cmds[i].name);
655 (cmds[i].f)(&cfg, argv);
656 argc -= cmds[
688 static struct cmds cmds[] = { variable in typeref:struct:cmds
[all...]

Completed in 157 milliseconds

1234