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

12345

/freebsd-current/contrib/nvi/ex/
H A Dex_edit.c83 if (F_ISSET(cmdp, E_NEWSCREEN) || cmdp->cmd == &cmds[C_VSPLIT])
116 if ((cmdp->cmd == &cmds[C_VSPLIT] && vs_vsplit(sp, new)) ||
117 (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-current/usr.bin/usbhidaction/
H A Dusbhidaction.c242 struct command *cmds = local
244 if (cmds) {
246 commands = cmds;
283 struct command *cmd, *cmds; local
292 cmds = NULL;
311 freecommands(cmds);
328 cmd->next = cmds;
329 cmds = cmd;
342 freecommands(cmds);
358 freecommands(cmds);
[all...]
/freebsd-current/tests/sys/capsicum/
H A Dioctls_test.c69 u_long cmds[] = { FIONREAD }; local
96 ATF_REQUIRE(cap_ioctls_limit(s[0], cmds, nitems(cmds)) == 0);
/freebsd-current/contrib/libedit/
H A Dparse.c66 } cmds[] = { variable in typeref:struct:__anon1112
128 for (i = 0; cmds[i].name != NULL; i++)
129 if (wcscmp(cmds[i].name, ptr) == 0) {
130 i = (*cmds[i].func) (el, argc, argv);
/freebsd-current/sys/dev/iwm/
H A Dif_iwm_notif_wait.c143 if (cmd == wait_entry->cmds[i]) {
175 struct iwm_notification_wait *wait_entry, const uint16_t *cmds, int n_cmds,
184 memcpy(wait_entry->cmds, cmds, n_cmds * sizeof(uint16_t));
174 iwm_init_notification_wait(struct iwm_notif_wait_data *notif_data, struct iwm_notification_wait *wait_entry, const uint16_t *cmds, int n_cmds, int (*fn)(struct iwm_softc *sc, struct iwm_rx_packet *pkt, void *data), void *fn_data) argument
/freebsd-current/usr.bin/ftp/
H A DMakefile15 SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
/freebsd-current/crypto/heimdal/appl/ftp/ftp/
H A DMakefile.am16 cmds.c \
/freebsd-current/lib/libcasper/services/cap_grp/
H A Dcap_grp.h57 int cap_grp_limit_cmds(cap_channel_t *chan, const char * const *cmds,
88 #define cap_grp_limit_cmds(chan, cmds, ncmds) (0)
/freebsd-current/sys/teken/
H A Dteken_subr_compat.h38 const unsigned int cmds[])
53 code = (code << 8) | (cmds[i - 1] & 0xff);
37 teken_subr_cons25_set_global_cursor_shape(const teken_t *t, unsigned int ncmds, const unsigned int cmds[]) argument
/freebsd-current/sys/netlink/
H A Dnetlink_generic_kpi.c171 genl_register_cmds(const char *family_name, const struct genl_cmd *cmds, int count) argument
183 MPASS(cmds[i].cmd_cb != NULL);
184 if (cmds[i].cmd_num >= cmd_size)
185 cmd_size = cmds[i].cmd_num + 1;
201 const struct genl_cmd *cmd = &cmds[i];
203 gf->family_cmds[cmd->cmd_num] = cmds[i];
/freebsd-current/usr.sbin/bhyve/
H A Duart_backend.c267 cap_ioctl_t cmds[] = { TIOCGETA, TIOCSETA, TIOCGWINSZ }; local
286 if (caph_ioctls_limit(sc->tty.rfd, cmds, nitems(cmds)) == -1)
300 cap_ioctl_t cmds[] = { TIOCGETA, TIOCSETA, TIOCGWINSZ }; local
320 if (caph_ioctls_limit(fd, cmds, nitems(cmds)) == -1)
H A Daudio.c75 cap_ioctl_t cmds[] = { local
114 if (caph_ioctls_limit(aud->fd, cmds, nitems(cmds)) == -1)
/freebsd-current/sys/ufs/ufs/
H A Dufs_vfsops.c83 ufs_quotactl(struct mount *mp, int cmds, uid_t id, void *arg, bool *mp_busy) argument
92 cmd = cmds >> SUBCMDSHIFT;
93 type = cmds & SUBCMDMASK;
/freebsd-current/usr.bin/genl/
H A Dgenl.c53 } cmds[] = { variable in typeref:struct:commands
161 for (size_t i = 0; i < nitems(cmds); i++)
162 fprintf(stderr, " %s %s\n", getprogname(), cmds[i].usage);
301 for (size_t i = 0; i < nitems(cmds); i++) {
302 if (strcmp(argv[1], cmds[i].name) == 0)
303 return (cmds[i].cmd(argc - 2, argv + 2));
/freebsd-current/contrib/bmake/
H A Dfor.c355 AddEscaped(Buffer *cmds, Substring item, char endc) argument
361 Buf_AddRange(cmds, item.start, item.end);
374 Buf_AddBytes(cmds, p, 1 + len);
378 Buf_AddByte(cmds, '\\');
380 Buf_AddByte(cmds, '\\');
385 Buf_AddByte(cmds, ch);
/freebsd-current/lib/libcasper/services/cap_pwd/
H A Dcap_pwd.h57 int cap_pwd_limit_cmds(cap_channel_t *chan, const char * const *cmds,
136 const char * const *cmds __unused, size_t ncmds __unused)
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_destroy/
H A Dzfs_destroy_005_neg.ksh221 cmds="zfs destroy -f|-r|-rf|-R|-rR <dataset>"
222 log_pass "'$cmds' must fail in certain conditions."
/freebsd-current/contrib/llvm-project/lld/MachO/
H A DInputFiles.h335 std::vector<const CommandType *> cmds; local
343 cmds.push_back(cmd);
344 if (cmds.size() == maxCommands)
345 return cmds;
349 return cmds;
357 std::vector<const CommandType *> cmds = local
359 return cmds.size() ? cmds[0] : nullptr;
/freebsd-current/lib/libcapsicum/
H A Dcapsicum_helpers.h177 caph_ioctls_limit(int fd, const unsigned long *cmds, size_t ncmds) argument
180 if (cap_ioctls_limit(fd, cmds, ncmds) < 0 && errno != ENOSYS)
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool/
H A Dzpool_002_pos.ksh72 set -A cmds "create $pool mirror $vdev1 $vdev2" "list $pool" "iostat $pool" \
86 for subcmd in "${cmds[@]}" "${badparams[@]}"; do
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs/
H A Dzfs_002_pos.ksh75 typeset cmds=("create $fs" "list $fs" "snapshot $snap" "set snapdir=hidden $fs" \
89 for subcmd in "${cmds[@]}" "${badparams[@]}"; do
/freebsd-current/sbin/etherswitchcfg/
H A Detherswitchcfg.c77 struct cmds { struct
83 static struct cmds cmds[]; variable in typeref:struct:cmds
803 for(i=0; cmds[i].name != NULL; i++) {
805 if (cfg.mode == cmds[i].mode &&
806 strcmp(argv[0], cmds[i].name) == 0) {
807 if ((cmds[i].args != -1) &&
808 (argc < (cmds[i].args + 1))) {
810 cmds[i].name, cmds[
859 static struct cmds cmds[] = { variable in typeref:struct:cmds
[all...]
/freebsd-current/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-current/tests/sys/cddl/zfs/tests/cli_root/zpool/
H A Dzpool_002_pos.ksh82 set -A cmds "create $pool mirror $vdev1 $vdev2" "list $pool" "iostat $pool" \
96 for subcmd in "${cmds[@]}" "${badparams[@]}"; do

Completed in 331 milliseconds

12345