/freebsd-10-stable/bin/chio/ |
H A D | chio.c | 184 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 D | glbl.c | 82 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 D | fmt.c | 108 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 D | rcp.c | 93 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 D | eval.c | 822 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 D | exec.c | 147 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 D | expand.c | 420 expbackq(union node *cmd, int quoted, int flag) argument 440 evalbackcmd(cmd, &in);
|
H A D | jobs.c | 288 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 D | jobs.h | 53 char *cmd; /* text of command being run */ member in struct:procstat
|
H A D | miscbltin.c | 363 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 D | show.c | 122 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 D | sh_wasted.d | 8 * 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 D | tcl_calldist.d | 18 * 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 D | tcl_calls.d | 3 * 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 D | tcl_calltime.d | 18 * 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 D | tcl_cpudist.d | 18 * 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 D | tcl_cputime.d | 18 * 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 D | tcl_flow.d | 74 tcl*:::cmd-entry 81 tcl*:::cmd-return
|
H A D | tcl_flowtime.d | 64 tcl*:::cmd-entry, 65 tcl*:::cmd-return 89 tcl*:::cmd-entry 98 tcl*:::cmd-return
|
H A D | tcl_insflow.d | 21 * 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 D | tcl_stat.d | 95 tcl*:::cmd-entry
|
H A D | tcl_syscalls.d | 11 * 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 D | tcl_syscolors.d | 11 * 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 D | tcl_who.d | 16 * CALLS Number of calls made (proc + cmd) 53 tcl*:::cmd-entry
|
/freebsd-10-stable/cddl/contrib/dtracetoolkit/Shell/ |
H A D | sh_wasted.d | 8 * 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]/
|