Searched refs:cmd (Results 1 - 25 of 1984) sorted by path

1234567891011>>

/freebsd-10-stable/bin/chio/
H A Dchio.c184 struct changer_move cmd; local
204 (void) memset(&cmd, 0, sizeof(cmd));
207 cmd.cm_fromtype = parse_element_type(*argv);
211 if (CHET_VT == cmd.cm_fromtype) {
212 find_element(*argv, &cmd.cm_fromtype, &cmd.cm_fromunit);
215 cmd.cm_fromunit = parse_element_unit(*argv);
220 cmd.cm_totype = parse_element_type(*argv);
224 if (CHET_VT == cmd
262 struct changer_exchange cmd; local
371 struct changer_position cmd; local
954 struct changer_move cmd; local
[all...]
/freebsd-10-stable/bin/ed/
H A Dglbl.c82 char *cmd = NULL; local
87 cmd = "p\n"; /* null cmd-list == `p' */
88 else if ((cmd = get_extended_line(&n, 0)) == NULL)
91 if (!interact && (cmd = get_extended_line(&n, 0)) == NULL)
113 if (cmd == NULL) {
116 } else cmd = ocmd;
117 } else if ((cmd = get_extended_line(&n, 0)) == NULL)
121 memcpy(ocmd, cmd, n + 1);
122 cmd
[all...]
/freebsd-10-stable/bin/ps/
H A Dfmt.c108 fmt_argv(char **argv, char *cmd, char *thread, size_t maxlen) argument
114 if (cmd == NULL)
127 asprintf(&ap, "%s/%s", cmd, thread);
131 sprintf(cp, "[%.*s]", (int)maxlen, cmd);
132 } else if (strncmp(cmdpart(argv[0]), cmd, maxlen) != 0)
133 sprintf(cp, "%s (%.*s)", ap, (int)maxlen, cmd);
/freebsd-10-stable/bin/rcp/
H A Drcp.c93 static char cmd[CMDNEEDS]; /* must hold "rcp -r -p -d\0" */ variable
192 (void)snprintf(cmd, sizeof(cmd), "rcp%s%s%s",
249 _PATH_RSH, host, suser, cmd, src,
256 _PATH_RSH, argv[i], cmd, src,
264 if (asprintf(&bp, "%s -t %s", cmd, targ)
329 (void)snprintf(bp, len, "%s -f %s", cmd, src);
/freebsd-10-stable/bin/sh/
H A Deval.c822 evalcommand(union node *cmd, int flags, struct backcmd *backcmd) argument
849 TRACE(("evalcommand(%p, %d) called\n", (void *)cmd, flags));
857 for (argp = cmd->ncmd.args ; argp ; argp = argp->narg.next) {
868 expredir(cmd->ncmd.redirect);
999 jp = makejob(cmd, 1);
1007 cmd->ncmd.redirect == NULL &&
1015 if (forkshell(jp, cmd, mode) != 0)
1059 redirect(cmd->ncmd.redirect, REDIR_PUSH);
1107 redirect(cmd->ncmd.redirect, mode);
1159 redirect(cmd
1270 int cmd = -1; local
[all...]
H A Dexec.c147 tryexec(char *cmd, char **argv, char **envp) argument
153 execve(cmd, argv, envp);
157 in = open(cmd, O_RDONLY | O_NONBLOCK);
166 *argv = cmd;
649 typecmd_impl(int argc, char **argv, int cmd, const char *path) argument
668 if (cmd == TYPECMD_SMALLV)
677 if (cmd == TYPECMD_SMALLV) {
708 if (cmd == TYPECMD_SMALLV)
712 (cmdp && cmd == TYPECMD_TYPE) ?
717 if (cmd
[all...]
H A Dexpand.c420 expbackq(union node *cmd, int quoted, int flag) argument
440 evalbackcmd(cmd, &in);
H A Djobs.c288 out1str(ps->cmd);
383 out1str(ps->cmd);
445 if (ps->cmd != nullstr)
446 ckfree(ps->cmd);
595 && strstr(jp->ps[0].cmd, name + 2) != NULL) {
607 && prefix(name + 1, jp->ps[0].cmd)) {
893 ps->cmd = nullstr;
895 ps->cmd = commandtext(n);
944 ps->cmd = nullstr;
H A Djobs.h53 char *cmd; /* text of command being run */ member in struct:procstat
H A Dmiscbltin.c363 int cmd; member in struct:limits
469 if (getrlimit(l->cmd, &limit) < 0)
494 if (getrlimit(l->cmd, &limit) < 0)
501 if (setrlimit(l->cmd, &limit) < 0)
H A Dshow.c122 shcmd(union node *cmd, FILE *fp) argument
130 for (np = cmd->ncmd.args ; np ; np = np->narg.next) {
136 for (np = cmd->ncmd.redirect ; np ; np = np->nfile.next) {
/freebsd-10-stable/cddl/contrib/dtracetoolkit/Bin/
H A Dsh_wasted.d8 * USAGE: sh_wasted.d { -p PID | -c cmd } # hit Ctrl-C to end
63 this->cmd = basename(this->path);
67 /self->command && !isbuiltin[this->cmd]/
H A Dtcl_calldist.d18 * 2 Type of call (proc/cmd/total)
77 tcl*:::cmd-entry
81 self->cmd[self->depth] = timestamp;
84 tcl*:::cmd-return
85 /self->cmd[self->depth]/
87 this->elapsed_incl = timestamp - self->cmd[self->depth];
89 self->cmd[self->depth] = 0;
93 @types_incl[pid, "cmd", this->name] =
95 @types_excl[pid, "cmd", this->name] =
H A Dtcl_calls.d3 * tcl_calls.d - count Tcl calls (proc/cmd) using DTrace.
16 * NAME Name of proc or cmd call
21 * cmd command
54 tcl*:::cmd-entry
56 @calls[pid, "cmd", copyinstr(arg0)] = count();
H A Dtcl_calltime.d18 * TYPE Type of call (proc/cmd/total)
79 tcl*:::cmd-entry
83 self->cmd[self->depth] = timestamp;
86 tcl*:::cmd-return
87 /self->cmd[self->depth]/
89 this->elapsed_incl = timestamp - self->cmd[self->depth];
91 self->cmd[self->depth] = 0;
95 @num[pid, "cmd", this->name] = count();
97 @types_incl[pid, "cmd", this->name] = sum(this->elapsed_incl);
98 @types_excl[pid, "cmd", thi
[all...]
H A Dtcl_cpudist.d18 * 2 Type of call (proc/cmd/total)
77 tcl*:::cmd-entry
81 self->cmd[self->depth] = vtimestamp;
84 tcl*:::cmd-return
85 /self->cmd[self->depth]/
87 this->oncpu_incl = vtimestamp - self->cmd[self->depth];
89 self->cmd[self->depth] = 0;
93 @types_incl[pid, "cmd", this->name] =
95 @types_excl[pid, "cmd", this->name] =
H A Dtcl_cputime.d18 * TYPE Type of call (proc/cmd/total)
79 tcl*:::cmd-entry
83 self->cmd[self->depth] = vtimestamp;
86 tcl*:::cmd-return
87 /self->cmd[self->depth]/
89 this->oncpu_incl = vtimestamp - self->cmd[self->depth];
91 self->cmd[self->depth] = 0;
95 @num[pid, "cmd", this->name] = count();
97 @types_incl[pid, "cmd", this->name] = sum(this->oncpu_incl);
98 @types_excl[pid, "cmd", thi
[all...]
H A Dtcl_flow.d74 tcl*:::cmd-entry
81 tcl*:::cmd-return
H A Dtcl_flowtime.d64 tcl*:::cmd-entry,
65 tcl*:::cmd-return
89 tcl*:::cmd-entry
98 tcl*:::cmd-return
H A Dtcl_insflow.d21 * TYPE Type of call (proc/cmd/inst)
26 * cmd command
64 tcl*:::cmd-entry,
65 tcl*:::cmd-return
89 tcl*:::cmd-entry
93 this->delta, "cmd", self->depth * 2, "", copyinstr(arg0));
98 tcl*:::cmd-return
103 this->delta, "cmd", self->depth * 2, "", copyinstr(arg0));
H A Dtcl_stat.d95 tcl*:::cmd-entry
H A Dtcl_syscalls.d11 * USAGE: tcl_syscalls.d { -p PID | -c cmd } # hit Ctrl-C to end
50 tcl$target:::cmd-entry
52 @calls[pid, "cmd", copyinstr(arg0)] = count();
H A Dtcl_syscolors.d11 * USAGE: tcl_syscolors.d { -p PID | -c cmd } # hit Ctrl-C to end
21 * TYPE Type of call (proc/cmd/syscall)
22 * NAME Tcl proc/cmd or syscall name
93 tcl$target:::cmd-entry
97 pid, this->delta, "cmd", self->depth * 2, "", copyinstr(arg0),
104 tcl$target:::cmd-return
109 pid, this->delta, "cmd", self->depth * 2, "", copyinstr(arg0),
H A Dtcl_who.d16 * CALLS Number of calls made (proc + cmd)
53 tcl*:::cmd-entry
/freebsd-10-stable/cddl/contrib/dtracetoolkit/Shell/
H A Dsh_wasted.d8 * USAGE: sh_wasted.d { -p PID | -c cmd } # hit Ctrl-C to end
63 this->cmd = basename(this->path);
67 /self->command && !isbuiltin[this->cmd]/

Completed in 203 milliseconds

1234567891011>>