Searched refs:cmds (Results 51 - 75 of 119) sorted by relevance

12345

/freebsd-current/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 \
/freebsd-current/sbin/pfilctl/
H A Dpfilctl.c56 } cmds[] = { variable in typeref:struct:cmd
73 for (int i = 0; cmds[i].cmd_name != NULL; i++)
74 if (!strncmp(argv[0], cmds[i].cmd_name, strlen(argv[0]))) {
86 (*cmds[cmd].cmd_func)(argc, argv);
/freebsd-current/crypto/openssl/apps/
H A Dengine.c159 STACK_OF(OPENSSL_STRING) *cmds = NULL;
166 cmds = sk_OPENSSL_STRING_new_null();
167 if (cmds == NULL)
233 sk_OPENSSL_STRING_free(cmds);
239 static void util_do_cmds(ENGINE *e, STACK_OF(OPENSSL_STRING) *cmds, argument
242 int loop, res, num = sk_OPENSSL_STRING_num(cmds);
251 cmd = sk_OPENSSL_STRING_value(cmds, loop);
/freebsd-current/usr.sbin/ngctl/
H A Dmain.c87 static const struct ngcmd *const cmds[] = { variable
467 for (k = 0; cmds[k] != NULL; k++) {
468 if (MatchCommand(cmds[k], string)) {
480 return (cmds[found]);
550 for (k = 0; cmds[k] != NULL; k++) {
553 cmd = cmds[k];
/freebsd-current/usr.sbin/flowctl/
H A Dflowctl.c103 struct ip_ctl_cmd cmds[] = { variable in typeref:struct:ip_ctl_cmd
161 for (i = 0; cmds[i].cmd_name != NULL; i++)
162 if (!strncmp(argv[0], cmds[i].cmd_name, strlen(argv[0]))) {
171 (*cmds[cindex].cmd_func)(argc, argv);
/freebsd-current/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-current/usr.sbin/sesutil/
H A Dsesutil.c80 } cmds[] = { variable in typeref:struct:command
97 static const int nbcmds = nitems(cmds);
112 if (strcmp(subcmd, cmds[i].name) == 0) {
115 cmds[i].param, cmds[i].desc);
120 fprintf(out, " %-12s%s\n\t\t%s\n\n", cmds[i].name,
121 cmds[i].param, cmds[i].desc);
1005 if (strcmp(argv[0], cmds[i].name) == 0) {
1006 cmd = &cmds[
[all...]
/freebsd-current/sys/netlink/
H A Dnetlink_ctl.h100 bool genl_register_cmds(const char *family_name, const struct genl_cmd *cmds,
/freebsd-current/contrib/tcpdump/
H A Dprint-telnet.c342 static const char *cmds[] = { variable
468 ND_PRINT(" %s", STR_OR_ID(c, cmds));
H A Dutil-print.c832 const char **cmds, u_int flags)
839 if (cmds != NULL) {
855 while ((cmd = *cmds++) != NULL) {
831 txtproto_print(netdissect_options *ndo, const u_char *pptr, u_int len, const char **cmds, u_int flags) argument
/freebsd-current/secure/usr.bin/openssl/
H A DMakefile.man5 MAN+= openssl-cmds.1
/freebsd-current/sys/fs/cuse/
H A Dcuse.c156 struct cuse_client_command cmds[CUSE_CMD_MAX]; member in struct:cuse_client
384 if (pcc->cmds[n].entered == td)
385 return (&pcc->cmds[n]);
555 pccmd = &pcc->cmds[n];
605 pccmd = &pccmd->client->cmds[CUSE_CMD_SIGNAL];
1262 pcc->cmds[n].sub.per_file_handle = *(uintptr_t *)data;
1469 pccmd = &pcc->cmds[n];
1529 pccmd = &pcc->cmds[n];
1558 pccmd = &pcc->cmds[CUSE_CMD_OPEN];
1594 pccmd = &pcc->cmds[CUSE_CMD_CLOS
[all...]
/freebsd-current/crypto/openssh/
H A Dsftp.c179 static const struct CMD cmds[] = { variable in typeref:struct:CMD
1381 for (i = 0; cmds[i].c != NULL; i++) {
1382 if (argv[0] != NULL && strcasecmp(cmds[i].c, argv[0]) == 0)
1385 cmdnum = cmds[i].n;
1386 cmd = cmds[i].c;
1909 list = xcalloc((sizeof(cmds) / sizeof(*cmds)) + 1, sizeof(char *));
1913 for (y = 0; cmds[y].c; y++)
1914 list[count++] = xstrdup(cmds[y].c);
1927 for (y = 0; cmds[
[all...]
/freebsd-current/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-current/contrib/nvi/ex/
H A Dex_cmd.c48 EXCMDLIST const cmds[] = { variable
H A Dex.h36 extern EXCMDLIST const cmds[]; /* Table of ex commands. */
H A Dex_util.c36 cmdp->cmd = &cmds[cmd_id];
/freebsd-current/sys/dev/hptmv/
H A Dcommand.h175 UCHAR cmds; member in struct:_Command::__anon2411::__anon2415::__anon2416
/freebsd-current/sys/sys/
H A Dcapsicum.h497 int cap_ioctls_limit(int fd, const cap_ioctl_t *cmds, size_t ncmds);
500 * If all ioctls are allowed, the cmds array is not populated and
503 ssize_t cap_ioctls_get(int fd, cap_ioctl_t *cmds, size_t maxcmds);
/freebsd-current/lib/libvmmapi/
H A Dvmmapi.c1172 cap_ioctl_t *cmds; local
1177 cmds = malloc(sz);
1178 if (cmds == NULL)
1180 bcopy(vm_ioctl_cmds, cmds, sz);
1181 return (cmds);
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c368 * cmds, datas, offsets, errors, and sizes are arrays of length ncmds. Each IO
373 vdev_geom_io(struct g_consumer *cp, int *cmds, void **datas, off_t *offsets, argument
408 bios[j]->bio_cmd = cmds[i];
450 int cmds[VDEV_LABELS]; local
469 cmds[l] = BIO_READ;
478 vdev_geom_io(cp, cmds, (void**)vdev_lists, offsets, sizes, errors,
/freebsd-current/bin/dd/
H A Ddd.c137 unsigned long cmds[] = { FIODTYPE, MTIOCTOP }; local
208 if (caph_ioctls_limit(out.fd, cmds, nitems(cmds)) == -1)
/freebsd-current/usr.sbin/iscsid/
H A Discsid.c513 const unsigned long cmds[] = { local
531 if (caph_ioctls_limit(conn->conn_iscsi_fd, cmds, nitems(cmds)) < 0)
/freebsd-current/sys/teken/
H A Dteken_subr.h1144 const unsigned int cmds[])
1155 n = cmds[i];
1196 if (i + 2 >= ncmds || cmds[i + 1] != 5)
1198 t->t_curattr.ta_fgcolor = cmds[i + 2];
1215 if (i + 2 >= ncmds || cmds[i + 1] != 5)
1217 t->t_curattr.ta_bgcolor = cmds[i + 2];
1143 teken_subr_set_graphic_rendition(teken_t *t, unsigned int ncmds, const unsigned int cmds[]) argument

Completed in 502 milliseconds

12345