Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 4528) sorted by path

12345678910>>...182

/netbsd/bin/chio/
H A Dchio.c210 (void)memset(&cmd, 0, sizeof(cmd)); in do_move()
272 (void)memset(&cmd, 0, sizeof(cmd)); in do_exchange()
296 cmd.ce_sdsttype = cmd.ce_srctype; in do_exchange()
297 cmd.ce_sdstunit = cmd.ce_srcunit; in do_exchange()
358 (void)memset(&cmd, 0, sizeof(cmd)); in do_position()
635 (void)memset(&cmd, 0, sizeof(cmd)); in do_status()
637 cmd.cesr_type = chet; in do_status()
638 cmd.cesr_unit = unit; in do_status()
640 cmd.cesr_flags = flags; in do_status()
641 cmd.cesr_data = ces; in do_status()
[all …]
/netbsd/bin/csh/
H A Dexec.c642 Char *cmd, *s0, *s1, *s2; in tellmewhat() local
698 sp->word = cmd = globone(sp->word, G_IGNORE); in tellmewhat()
746 free(cmd); in tellmewhat()
/netbsd/bin/ed/
H A Dglbl.c89 char *cmd = NULL; in exec_global() local
95 cmd = cmdp; /* null cmd-list == `p' */ in exec_global()
96 else if ((cmd = get_extended_line(&n, 0)) == NULL) in exec_global()
100 if (!interact && (cmd = get_extended_line(&n, 0)) == NULL) in exec_global()
122 if (cmd == NULL) { in exec_global()
125 } else cmd = ocmd; in exec_global()
126 } else if ((cmd = get_extended_line(&n, 0)) == NULL) in exec_global()
130 memcpy(ocmd, cmd, n + 1); in exec_global()
131 cmd = ocmd; in exec_global()
135 ibufp = cmd; in exec_global()
/netbsd/bin/ksh/
H A Dhistory.c297 hist_execute(cmd) in hist_execute() argument
298 char *cmd; in hist_execute()
313 if (p != cmd)
332 ret = command(cmd);
617 const char *cmd;
643 const char *cmd; in histappend()
650 clen = strlen(cmd);
784 const char *cmd;
1107 char *cmd;
1154 (void) write(histfd, cmd, strlen(cmd)+1);
[all …]
H A Dvi.c699 vi_cmd(argcnt, cmd) in vi_cmd() argument
701 const char *cmd;
728 switch (*cmd) {
794 cmd = "y$";
800 if (*cmd == cmd[1]) {
809 (cmd[1]=='w' || cmd[1]=='W') &&
927 if (cmd[1] == 0)
1157 const char *cmd;
1163 switch (*cmd) {
1197 fsavecmd = *cmd;
[all …]
/netbsd/bin/rcp/
H A Drcp.c86 char cmd[CMDNEEDS]; /* must hold "rcp -r -p -d\0" */ variable
176 (void)snprintf(cmd, sizeof(cmd), "rcp%s%s%s", in main()
243 _PATH_RSH, host, suser, cmd, src, in toremote()
250 _PATH_RSH, argv[i], cmd, src, in toremote()
261 (void)snprintf(bp, len, "%s -t %s", cmd, targ); in toremote()
316 (void)snprintf(bp, len, "%s -f %s", cmd, src); in tolocal()
/netbsd/bin/sh/
H A DTOUR285 ways end in "cmd". The mapping from names to procedures is
H A Deval.c909 cmd->ncmd.args ? cmd->ncmd.args->narg.text : "")); in evalcommand()
913 line_number = cmd->ncmd.lineno; in evalcommand()
927 expredir(cmd->ncmd.redirect); in evalcommand()
1093 if (cmd->ncmd.backgnd in evalcommand()
1106 jp = makejob(cmd, 1); in evalcommand()
1107 mode = cmd->ncmd.backgnd; in evalcommand()
1119 (!cmd->ncmd.backgnd || cmd->ncmd.redirect == NULL)) { in evalcommand()
1165 forkchild(jp, cmd, mode, vforked); in evalcommand()
1192 forkparent(jp, cmd, mode, pid); in evalcommand()
1199 if (forkshell(jp, cmd, mode) != 0) in evalcommand()
[all …]
H A Dexec.c219 tryexec(char *cmd, char **argv, char **envp, int vforked) in tryexec() argument
228 execve(cmd, argv, envp); in tryexec()
231 execve(cmd, argv, envp); in tryexec()
243 VTRACE(DBG_CMDS, ("execve(cmd=%s) returned ENOEXEC\n", cmd)); in tryexec()
246 setinputfile(cmd, 0); in tryexec()
252 argv[0] = cmd; in tryexec()
547 out1str(ps.cmd); in printentry()
H A Dexpand.c621 expbackq(union node *cmd, int quoted, int flag) in expbackq() argument
648 evalbackcmd(cmd, &in); /* evaluate the $( ) tree (using stack) */ in expbackq()
H A Djobs.c264 out1fmt("%s", jp->ps[0].cmd); in do_fgcmd()
266 out1fmt(" | %s", jp->ps[i].cmd ); in do_fgcmd()
529 outstr(ps->cmd, out); in showjob()
1232 ps->cmd[0] = 0; in forkparent()
1697 cmdnextc = ps->cmd; in commandtext()
1699 len = sizeof(ps->cmd); in commandtext()
1700 else if (sizeof ps->cmd <= 400) in commandtext()
1702 else if (sizeof ps->cmd <= 800) in commandtext()
1705 len = sizeof(ps->cmd) / 10; in commandtext()
1709 char *p = ps->cmd + len - 4; in commandtext()
[all …]
H A Djobs.h66 char cmd[MAXCMDTEXT];/* text of command being run */ member
H A Dmiscbltin.c336 int8_t cmd; /* all RLIMIT_xxx are <= 127 */ member
491 getrlimit(l->cmd, &limit); in ulimitcmd()
521 if (getrlimit(l->cmd, &limit) == -1) in ulimitcmd()
528 if (setrlimit(l->cmd, &limit) < 0) in ulimitcmd()
530 if (l->cmd == RLIMIT_NOFILE) in ulimitcmd()
H A Dshow.c547 shcmd(union node *cmd, TFILE *fp) in shcmd() argument
553 for (np = cmd->ncmd.args ; np ; np = np->narg.next) { in shcmd()
559 shredir(cmd->ncmd.redirect, fp, first); in shcmd()
563 shsubsh(union node *cmd, TFILE *fp) in shsubsh() argument
566 shtree(cmd->nredir.n, -1, 3, 0, fp); in shsubsh()
568 shredir(cmd->ncmd.redirect, fp, 1); in shsubsh()
H A Dvar.c830 if (cmd) in showvar()
831 out1fmt("%s ", cmd); in showvar()
844 showvars(const char *cmd, int flag, int show_value, const char *xtra) in showvars() argument
876 showvar(*vpp, cmd, xtra, show_value); in showvars()
890 export_usage(const char *cmd) in export_usage() argument
893 if (*cmd == 'r') in export_usage()
894 error("Usage: %s [ -p | var[=val]... ]", cmd); in export_usage()
896 error("Usage: %s [ -p | [-n] var[=val]... ]", cmd); in export_usage()
898 if (*cmd == 'r') in export_usage()
899 error("Usage: %s [-p [var...] | -q var... | var[=val]... ]", cmd); in export_usage()
[all …]
/netbsd/
H A Dbuild.sh2328 for cmd in ${targlist} ; do
2329 make_in_dir "${NETBSDSRCDIR}/sys/rump" ${cmd}
/netbsd/common/lib/libprop/
H A Dprop_kern.c142 if (ioctl(fd, cmd, &pref) == -1) in _prop_object_send_ioctl()
161 rv = _prop_object_send_ioctl(array, fd, cmd); in prop_array_send_ioctl()
178 rv = _prop_object_send_ioctl(dict, fd, cmd); in prop_dictionary_send_ioctl()
298 rv = ioctl(fd, cmd, &pref); in prop_array_recv_ioctl()
321 rv = ioctl(fd, cmd, &pref); in prop_dictionary_recv_ioctl()
353 if (ioctl(fd, cmd, &pref) == -1) in prop_dictionary_sendrecv_ioctl()
452 if ((cmd & IOC_IN) == 0) in _prop_object_copyin_ioctl()
504 cmd, (prop_object_t *)arrayp, lim); in prop_array_copyin_ioctl_size()
524 cmd, (prop_object_t *)dictp, lim); in prop_dictionary_copyin_ioctl_size()
599 if ((cmd & IOC_OUT) == 0) in _prop_object_copyout_ioctl()
[all …]
/netbsd/crypto/dist/ipsec-tools/misc/
H A Dcvs2cl.pl2416 my ($cmd) = @_;
2417 $cmd = [$cmd]
2418 unless ref $cmd;
2420 my $out = qx"@$cmd 2>&1";
/netbsd/crypto/dist/ipsec-tools/src/racoon/
H A Dracoonctl.c363 make_request(u_int16_t cmd, u_int16_t proto, size_t len) in make_request() argument
374 head->ac_cmd = ADMIN_FLAG_VERSION | cmd; in make_request()
549 int cmd = ADMIN_ESTABLISH_SA; local
570 cmd = ADMIN_ESTABLISH_SA_PSK;
593 if (proto == ADMIN_PROTO_ISAKMP && cmd == ADMIN_ESTABLISH_SA &&
613 buf = make_request(cmd, proto, com_len);
619 if (proto == ADMIN_PROTO_ISAKMP && cmd == ADMIN_ESTABLISH_SA &&
/netbsd/crypto/external/bsd/heimdal/dist/
H A DNEWS324 - SIGINFO support added to kinit cmd
H A Dcompile68 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
/netbsd/crypto/external/bsd/heimdal/dist/cf/
H A DChangeLog127 * install-catman.sh: Stop overwriting cmd.
H A Dinstall-catman.sh7 cmd="$1"; shift
24 if test "$cmd" = install ; then
30 elif test "$cmd" = uninstall ; then
39 if test "$cmd" = install ; then
63 elif test "$cmd" = uninstall ; then
H A Dkrb-func-getcwd-broken.m417 void *popen(char *cmd, char *mode)
H A Dlibtool.m42603 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
8220 # Check for a file(cmd) program that can be used to detect file type and magic
8223 _LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types])

12345678910>>...182