/ast/src/lib/libast/string/ |
H A D | wc2utf8.c | 42 static const Utf8_t ops[] = variable 58 for (i = 0; i < elementsof(ops); i++) 59 if (w < ops[i].range) 62 *s++ = ops[i].prefix | (w >> ops[i].shift); 63 switch (ops[i].shift)
|
/ast/src/cmd/cs/ |
H A D | rsh.c | 41 long ops[4]; local 49 ops[n++] = PROC_FD_DUP(fd, 0, 0); 50 ops[n++] = PROC_FD_DUP(fd, 1, 0); 51 ops[n++] = PROC_FD_DUP(fd, 2, PROC_FD_CHILD); 52 ops[n] = 0; 53 if (!(p = procopen(NiL, args, NiL, ops, 0)))
|
/ast/src/lib/libast/path/ |
H A D | pathprobe.c | 124 long ops[2]; local 253 ops[0] = PROC_FD_DUP(1, 2, 0); 254 ops[1] = 0; 255 if (pp = procopen(proc, arg, NiL, ops, PROC_READ))
|
/ast/src/lib/libcoshell/ |
H A D | coopen.c | 162 long ops[5]; local 222 ops[0] = PROC_FD_DUP(pio[0], 0, PROC_FD_PARENT); 223 ops[1] = PROC_FD_CLOSE(pio[1], PROC_FD_CHILD); 224 ops[2] = PROC_FD_CLOSE(pio[2], PROC_FD_CHILD); 225 ops[3] = PROC_FD_CLOSE(pio[3], PROC_FD_PARENT); 226 ops[4] = 0; 245 if ((co->mode & CO_MODE_SEPARATE) || (proc = procopen(s, av, ev, ops, (co->flags & (CO_SHELL|CO_ORPHAN)) ? (PROC_ORPHAN|PROC_DAEMON|PROC_IGNORE) : (PROC_DAEMON|PROC_IGNORE))))
|
H A D | coexec.c | 41 long ops[4]; local 66 ops[0] = PROC_FD_DUP(fds[0], 0, PROC_FD_PARENT); 67 ops[1] = PROC_FD_CLOSE(fds[1], PROC_FD_CHILD); 68 ops[2] = PROC_FD_DUP(co->gsmfd, 1, 0); 69 ops[3] = 0; 70 if (!(proc = procopen(cs->path, cs->argv, NiL, ops, PROC_DAEMON|PROC_IGNORE)))
|
/ast/src/lib/libcmd/ |
H A D | pathchk.c | 92 static const char* const ops[] = { "NAME_MAX", "PATH_MAX" }; local 95 if ((r = strtol(astconf(ops[op], path, NiL), NiL, 0)) < 0 && !errno)
|
/ast/src/cmd/ksh93/tests/ |
H A D | signal.sh | 267 while read ops out 268 do [[ $out == ${expected[$ops]} ]] || err_exit "interrupt $ops test failed -- expected '${expected[$ops]}', got '$out'"
|
/ast/src/cmd/pax/ |
H A D | pax-cpio.c | 89 char opsbuf[PATH_MAX]; /* extended ops buffer */ 90 char* ops; /* opsbuf output pointer */ member in struct:Cpio_s 97 * get and execute extended ops from input 135 * NOTE: ignore unknown ops for future extensions 142 * set end of extended ops 151 if (n = cpio->ops - cpio->opsbuf) 154 *cpio->ops++ = 0; 156 error(1, "%s: extended ops may crash older cpio programs", f->name); 161 * output filename and extended ops 170 n = cpio->ops [all...] |
H A D | format.c | 92 long ops[3]; local 106 ops[0] = PROC_FD_DUP(ap->io->fd, 0, PROC_FD_PARENT|PROC_FD_CHILD); 111 ops[1] = PROC_FD_DUP(n, 1, PROC_FD_PARENT|PROC_FD_CHILD); 112 ops[2] = 0; 113 proc = procopen(*cmd, cmd, NiL, ops, 0); 117 ops[1] = 0; 118 proc = procopen(*cmd, cmd, NiL, ops, PROC_READ);
|
/ast/src/cmd/builtin/ |
H A D | pty.c | 289 long ops[4]; local 293 ops[0] = PROC_FD_CTTY(slave); 294 ops[1] = 0; 298 ops[0] = PROC_FD_DUP(slave, 0, PROC_FD_CHILD); 299 ops[1] = PROC_FD_DUP(slave, 1, PROC_FD_CHILD); 300 ops[2] = PROC_FD_DUP(slave, 2, PROC_FD_CHILD); 301 ops[3] = 0; 303 return procopen(argv[0], argv, NiL, ops, 0);
|
/ast/src/cmd/nmake/ |
H A D | expand.c | 219 * $(s:W?[=<arg>]) ops on entire value 2337 char* ops; local 2374 ops = p; 2388 switch (*ops) 2400 switch (*(ops + 1)) 2421 switch (*(ops + 1)) 2470 if (*ops == '=') 2471 ops++; 2477 if (*ops != 'W') 2479 if (*++ops [all...] |
H A D | Makerules.mk | 39 set option=';archive-clean;s;-;A catenation of edit operators that selects archive member files to be removed after being added to the archive.;edit-ops' 60 set option=';select;s;-;A catenation of edit operators that selects terminal source files.;edit-ops' 172 * changes to edit ops and probe info are the main factors
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclCmdMZ.c | 1837 argv[0], " variable name ops command\"", (char *) NULL); 1879 argv[0], " vdelete name ops command\"", (char *) NULL); 1925 char ops[4], *p; 1937 p = ops; 1952 Tcl_AppendElement(interp, ops); 1912 char ops[4], *p; local
|
/ast/src/lib/libast/port/ |
H A D | astconf.c | 1379 long ops[2]; local 1387 ops[0] = PROC_FD_DUP(open("/dev/null",O_WRONLY,0), 2, PROC_FD_CHILD); 1388 ops[1] = 0; 1389 if (*pp = procopen(_pth_getconf, cmd, environ, ops, PROC_READ))
|
/ast/src/cmd/at/ |
H A D | atd.c | 565 long ops[3]; local 571 ops[0] = PROC_SYS_PGRP(1); 572 ops[1] = 0; 574 if (!(proc = procopen(argv[0], argv, NiL, ops, 0)))
|
/ast/src/cmd/html/ |
H A D | troff2html.c | 1754 message((-2, "TEST %d %d %d:%d %d:%d ops=%d df=%d dc=%d dl=%d", state.list - state.list_stack, state.list->dl, state.list->ti, state.list->in, force ? state.env->ti.current : 0, state.env->in.current, state.list - list, force, state.it.dc, state.it.dl)); 1768 message((-2, "LIST %d %d %d:%d %d:%d ops=%d df=%d dc=%d dl=%d", state.list - state.list_stack, state.list->dl, state.list->ti, state.list->in, force ? state.env->ti.current : 0, state.env->in.current, state.list - list, force, state.it.dc, state.it.dl));
|