/freebsd-current/usr.bin/systat/ |
H A D | Makefile | 5 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 D | pfilctl.c | 56 } 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 D | engine.c | 159 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 D | main.c | 87 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 D | flowctl.c | 103 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 D | tc.os.c | 81 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 D | ma.setp.c | 31 * 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 D | sesutil.c | 80 } 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 D | netlink_ctl.h | 100 bool genl_register_cmds(const char *family_name, const struct genl_cmd *cmds,
|
/freebsd-current/contrib/tcpdump/ |
H A D | print-telnet.c | 342 static const char *cmds[] = { variable 468 ND_PRINT(" %s", STR_OR_ID(c, cmds));
|
H A D | util-print.c | 832 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 D | Makefile.man | 5 MAN+= openssl-cmds.1
|
/freebsd-current/sys/fs/cuse/ |
H A D | cuse.c | 156 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 D | sftp.c | 179 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 D | engine.c | 196 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 D | ex_cmd.c | 48 EXCMDLIST const cmds[] = { variable
|
H A D | ex.h | 36 extern EXCMDLIST const cmds[]; /* Table of ex commands. */
|
H A D | ex_util.c | 36 cmdp->cmd = &cmds[cmd_id];
|
/freebsd-current/sys/dev/hptmv/ |
H A D | command.h | 175 UCHAR cmds; member in struct:_Command::__anon2411::__anon2415::__anon2416
|
/freebsd-current/sys/sys/ |
H A D | capsicum.h | 497 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 D | vmmapi.c | 1172 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 D | vdev_geom.c | 368 * 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 D | dd.c | 137 unsigned long cmds[] = { FIODTYPE, MTIOCTOP }; local 208 if (caph_ioctls_limit(out.fd, cmds, nitems(cmds)) == -1)
|
/freebsd-current/usr.sbin/iscsid/ |
H A D | iscsid.c | 513 const unsigned long cmds[] = { local 531 if (caph_ioctls_limit(conn->conn_iscsi_fd, cmds, nitems(cmds)) < 0)
|
/freebsd-current/sys/teken/ |
H A D | teken_subr.h | 1144 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
|