Searched refs:cmds (Results 26 - 50 of 106) sorted by relevance

12345

/freebsd-11-stable/usr.bin/ftp/
H A DMakefile15 SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
/freebsd-11-stable/usr.bin/systat/
H A DMakefile7 SRCS= cmds.c cmdtab.c devs.c fetch.c iostat.c keyboard.c main.c sysput.c \
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/
H A DMakefile.am16 cmds.c \
/freebsd-11-stable/sbin/etherswitchcfg/
H A Detherswitchcfg.c80 struct cmds { struct
86 static struct cmds cmds[]; variable in typeref:struct:cmds
655 for(i=0; cmds[i].name != NULL; i++) {
656 if (cfg.mode == cmds[i].mode && strcmp(argv[0], cmds[i].name) == 0) {
657 if (argc < (cmds[i].args + 1)) {
658 printf("%s needs an argument\n", cmds[i].name);
661 (cmds[i].f)(&cfg, argv);
662 argc -= cmds[
694 static struct cmds cmds[] = { variable in typeref:struct:cmds
[all...]
/freebsd-11-stable/contrib/nvi/ex/
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-11-stable/crypto/openssl/apps/
H A Dengine.c196 STACK_OF(OPENSSL_STRING) *cmds = NULL;
206 cmds = sk_OPENSSL_STRING_new_null();
208 if (!cmds)
277 if (cmds)
278 sk_OPENSSL_STRING_pop_free(cmds, identity);
286 static void util_do_cmds(ENGINE *e, STACK_OF(OPENSSL_STRING) *cmds, argument
289 int loop, res, num = sk_OPENSSL_STRING_num(cmds);
298 cmd = sk_OPENSSL_STRING_value(cmds, loop);
/freebsd-11-stable/lib/libcasper/services/cap_grp/
H A Dcap_grp.h50 int cap_grp_limit_cmds(cap_channel_t *chan, const char * const *cmds,
/freebsd-11-stable/lib/libcasper/services/cap_pwd/
H A Dcap_pwd.h50 int cap_pwd_limit_cmds(cap_channel_t *chan, const char * const *cmds,
/freebsd-11-stable/usr.bin/tip/tip/
H A DMakefile41 SRCS= acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c \
/freebsd-11-stable/usr.sbin/sesutil/
H A Dsesutil.c69 } cmds[] = { variable in typeref:struct:command
84 static const int nbcmds = nitems(cmds);
99 if (strcmp(subcmd, cmds[i].name) == 0) {
102 cmds[i].param, cmds[i].desc);
107 fprintf(out, " %-12s%s\n\t\t%s\n\n", cmds[i].name,
108 cmds[i].param, cmds[i].desc);
644 if (strcmp(argv[0], cmds[i].name) == 0) {
645 cmd = &cmds[
[all...]
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-cmd-queue.h340 * @param cmds Array of commands to write
344 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
354 if (cvmx_unlikely(cmds == NULL))
382 *ptr++ = *cmds++;
403 *ptr++ = *cmds++;
411 *ptr++ = *cmds++;
H A Dcvmx-dma-engine.c318 uint64_t cmds[num_buffers + 1]; local
330 cmds[0] = header.u64;
333 cmds[cmd_count++] = buffers->u64;
342 result = cvmx_cmd_queue_write(CVMX_CMD_QUEUE_DMA(engine), 0, cmd_count, cmds);
/freebsd-11-stable/usr.sbin/ngctl/
H A Dmain.c90 static const struct ngcmd *const cmds[] = { variable
470 for (k = 0; cmds[k] != NULL; k++) {
471 if (MatchCommand(cmds[k], string)) {
483 return (cmds[found]);
553 for (k = 0; cmds[k] != NULL; k++) {
556 cmd = cmds[k];
/freebsd-11-stable/contrib/gdb/gdb/cli/
H A Dcli-script.c33 #include "cli/cli-cmds.h"
1013 copy_command_lines (struct command_line *cmds)
1017 if (cmds)
1021 result->next = copy_command_lines (cmds->next);
1022 result->line = xstrdup (cmds->line);
1023 result->control_type = cmds->control_type;
1024 result->body_count = cmds->body_count;
1025 if (cmds->body_count > 0)
1030 xmalloc (sizeof (struct command_line *) * cmds->body_count);
1032 for (i = 0; i < cmds
1011 copy_command_lines(struct command_line *cmds) argument
1073 struct command_line *cmds; local
[all...]
/freebsd-11-stable/usr.sbin/flowctl/
H A Dflowctl.c108 struct ip_ctl_cmd cmds[] = { variable in typeref:struct:ip_ctl_cmd
166 for (i = 0; cmds[i].cmd_name != NULL; i++)
167 if (!strncmp(argv[0], cmds[i].cmd_name, strlen(argv[0]))) {
176 (*cmds[cindex].cmd_func)(argc, argv);
/freebsd-11-stable/contrib/tcsh/
H A Dtc.os.c81 char **spaths, **cpaths, **cmds; local
122 cmds = xmalloc((ncmds + 1) * sizeof *cmds);
123 setzero(cmds, (ncmds + 1) * sizeof *cmds); local
143 cmds[i] = strsave(short2str(val));
147 if (setpath(cpaths, cmds, LOCALSYSPATH, sysflag, 1) < 0) {
155 if (cmds) {
157 xfree(cmds[i]);
158 xfree(cmds);
[all...]
H A Dma.setp.c31 * usage: setpath(paths, cmds, localsyspath, dosuffix, printerrors)
32 * char **paths, **cmds, *localsyspath;
40 * The 'cmds' argument may be a sequence of any of the following:
56 * Both of the 'paths' and 'cmds' lists are terminated by a NULL
154 setpath(char **paths, char **cmds, char *localsyspath, int dosuffix, argument
166 for (ncmd = 0; cmd = cmds[ncmd]; ncmd++) {
169 cmd1 = cmds[ncmd+1];
170 cmd2 = cmds[ncmd+2];
/freebsd-11-stable/gnu/usr.bin/gdb/libgdb/
H A DMakefile19 cli-cmds.c cli-decode.c cli-dump.c cli-interp.c cli-logging.c \
41 mi-cmds.c mi-console.c mi-getopt.c mi-interp.c mi-main.c \
42 mi-out.c mi-parse.c mi-symbol-cmds.c minsyms.c mipsread.c \
/freebsd-11-stable/usr.sbin/iscsid/
H A Discsid.c319 const unsigned long cmds[] = { ISCSIDCONNECT, ISCSIDSEND, ISCSIDRECEIVE, local
322 const unsigned long cmds[] = { ISCSIDHANDOFF, ISCSIDFAIL, ISCSISADD, local
331 error = cap_ioctls_limit(conn->conn_iscsi_fd, cmds, nitems(cmds));
/freebsd-11-stable/sys/sys/
H A Dcapsicum.h408 int cap_ioctls_limit(int fd, const cap_ioctl_t *cmds, size_t ncmds);
411 * If all ioctls are allowed, the cmds array is not populated and
414 ssize_t cap_ioctls_get(int fd, cap_ioctl_t *cmds, size_t maxcmds);
/freebsd-11-stable/usr.sbin/bhyve/
H A Dbhyverun.c260 unsigned long cmds[] = { TIOCGETA, TIOCGWINSZ }; local
270 if (cap_ioctls_limit(fds[i], cmds, nitems(cmds)) < 0 && errno != ENOSYS)
937 const cap_ioctl_t *cmds; local
984 cmds = vm_get_ioctls(NULL);
985 if (cmds == NULL)
987 if (cap_ioctls_limit(vm_get_device_fd(ctx), cmds, ncmds) == -1 &&
990 free((cap_ioctl_t *)cmds);
H A Duart_emul.c662 cap_ioctl_t cmds[] = { TIOCGETA, TIOCSETA, TIOCGWINSZ }; local
693 if (cap_ioctls_limit(sc->tty.fd, cmds, nitems(cmds)) == -1 &&
/freebsd-11-stable/sys/fs/cuse/
H A Dcuse.c148 struct cuse_client_command cmds[CUSE_CMD_MAX]; member in struct:cuse_client
365 if (pcc->cmds[n].entered == td)
366 return (&pcc->cmds[n]);
538 pccmd = &pcc->cmds[n];
588 pccmd = &pccmd->client->cmds[CUSE_CMD_SIGNAL];
1204 pcc->cmds[n].sub.per_file_handle = *(uintptr_t *)data;
1397 pccmd = &pcc->cmds[n];
1458 pccmd = &pcc->cmds[n];
1487 pccmd = &pcc->cmds[CUSE_CMD_OPEN];
1523 pccmd = &pcc->cmds[CUSE_CMD_CLOS
[all...]
/freebsd-11-stable/contrib/sendmail/libmilter/
H A Dengine.c196 static cmdfct cmds[] = variable
245 int ncmds = sizeof(cmds) / sizeof(cmdfct);
330 if (cmd == cmds[i].cm_cmd)
342 if ((f = cmds[i].cm_fct) == NULL)
353 newstate = cmds[i].cm_next;
388 if (cmds[i].cm_argt != CM_NULLOK && buf == NULL)
404 arg.a_idx = cmds[i].cm_macros;
435 if (!bitset(CT_IGNO, cmds[i].cm_todo))
446 } while (!bitset(CT_END, cmds[i].cm_todo));
/freebsd-11-stable/crypto/openssh/
H A Dsftp.c180 static const struct CMD cmds[] = { variable in typeref:struct:CMD
1262 for (i = 0; cmds[i].c != NULL; i++) {
1263 if (argv[0] != NULL && strcasecmp(cmds[i].c, argv[0]) == 0)
1266 cmdnum = cmds[i].n;
1267 cmd = cmds[i].c;
1762 list = xcalloc((sizeof(cmds) / sizeof(*cmds)) + 1, sizeof(char *));
1766 for (y = 0; cmds[y].c; y++)
1767 list[count++] = xstrdup(cmds[y].c);
1780 for (y = 0; cmds[
[all...]

Completed in 337 milliseconds

12345