/netbsd/external/gpl3/gdb/dist/gas/testsuite/lib/ |
H A D | gas-defs.exp | 61 proc gas_host_run { cmd redir } { argument 62 verbose "Executing $cmd $redir" 66 set command "$cmd $redir" 71 } elseif [regexp ">&.*" $redir] then { 73 regsub ">&" $redir "" output_file 75 } elseif [regexp "2>.*" $redir] then { 77 set command "$cmd $redir" 79 } elseif [regexp ">.*" $redir] then { 81 set command "$cmd $redir 2>gas.stderr" 83 } elseif { "$redir" == "" } then { [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gas/testsuite/lib/ |
H A D | gas-defs.exp | 61 proc gas_host_run { cmd redir } { argument 62 verbose "Executing $cmd $redir" 66 set command "$cmd $redir" 71 } elseif [regexp ">&.*" $redir] then { 73 regsub ">&" $redir "" output_file 75 } elseif [regexp "2>.*" $redir] then { 77 set command "$cmd $redir" 79 } elseif [regexp ">.*" $redir] then { 81 set command "$cmd $redir 2>gas.stderr" 83 } elseif { "$redir" == "" } then { [all …]
|
/netbsd/external/historical/nawk/dist/testdir/ |
H A D | T.redir | 1 echo T.redir: test redirections 6 diff foo /etc/passwd || echo 'BAD: T.redir (print >"foo")' 10 diff foo /etc/passwd || echo 'BAD: T.redir (print >>"foo")' 15 diff foo /etc/passwd || echo 'BAD: T.redir (print > and >>"foo")' 19 diff foo /etc/passwd || echo 'BAD: T.redir (print | "cat >foo")' 28 diff foo1 foo2 || echo 'BAD: T.redir (buffering)' 32 diff foo2 /etc/passwd || echo 'BAD: T.redir (print >"/dev/stderr")' 33 diff foo1 /dev/null || echo 'BAD: T.redir (print >"/dev/stderr")' 37 diff foo1 /etc/passwd || echo 'BAD: T.redir (print >"/dev/stdout")' 38 diff foo2 /dev/null || echo 'BAD: T.redir (print >"/dev/stderr")'
|
/netbsd/sys/arch/x86/x86/ |
H A D | mpbios.c | 983 *redir &= ~IOAPIC_REDLO_LEVEL; in mp_cfg_special_intr() 1001 *redir |= (IOAPIC_REDLO_MASK); in mp_cfg_special_intr() 1017 *redir &= ~IOAPIC_REDLO_ACTLO; in mp_cfg_pci_intr() 1021 *redir |= IOAPIC_REDLO_ACTLO; in mp_cfg_pci_intr() 1036 *redir |= IOAPIC_REDLO_LEVEL; in mp_cfg_pci_intr() 1039 *redir &= ~IOAPIC_REDLO_LEVEL; in mp_cfg_pci_intr() 1060 *redir |= IOAPIC_REDLO_ACTLO; in mp_cfg_eisa_intr() 1074 *redir |= IOAPIC_REDLO_LEVEL; in mp_cfg_eisa_intr() 1111 *redir |= IOAPIC_REDLO_ACTLO; in mp_cfg_isa_intr() 1125 *redir |= IOAPIC_REDLO_LEVEL; in mp_cfg_isa_intr() [all …]
|
H A D | mpacpi.c | 269 mpi->redir = 0; in mpacpi_nonpci_intr() 273 mpi->redir &= ~IOAPIC_REDLO_ACTLO; in mpacpi_nonpci_intr() 276 mpi->redir |= IOAPIC_REDLO_ACTLO; in mpacpi_nonpci_intr() 280 mpi->redir |= IOAPIC_REDLO_ACTLO; in mpacpi_nonpci_intr() 288 mpi->redir |= IOAPIC_REDLO_LEVEL; in mpacpi_nonpci_intr() 291 mpi->redir &= ~IOAPIC_REDLO_LEVEL; in mpacpi_nonpci_intr() 295 mpi->redir |= IOAPIC_REDLO_LEVEL; in mpacpi_nonpci_intr() 661 mpi->redir = in mpacpi_pciroute() 788 mpi->redir = 0; in mpacpi_config_irouting() 794 mpi->redir = in mpacpi_config_irouting() [all …]
|
H A D | lapic.c | 463 lapic_writereg(LAPIC_LVT_LINT0, mpi->redir); in lapic_set_lvt() 465 lapic_writereg(LAPIC_LVT_LINT1, mpi->redir); in lapic_set_lvt()
|
/netbsd/bin/sh/ |
H A D | redir.c | 322 int fd = redir->nfile.fd; in openredirect() 335 switch (redir->nfile.type) { in openredirect() 337 fname = redir->nfile.expfname; in openredirect() 350 fname = redir->nfile.expfname; in openredirect() 357 fname = redir->nfile.expfname; in openredirect() 378 fname = redir->nfile.expfname; in openredirect() 384 fname = redir->nfile.expfname; in openredirect() 397 memory[redir->ndup.dupfd]) in openredirect() 404 "<>"[redir->nfile.type==NTOFD], redir->ndup.dupfd)); in openredirect() 415 f = openhere(redir); in openredirect() [all …]
|
H A D | eval.c | 599 union node *redir; in expredir() local 601 for (redir = n ; redir ; redir = redir->nfile.next) { in expredir() 605 switch (redir->type) { in expredir() 611 expandarg(redir->nfile.fname, &fn, EXP_TILDE | EXP_REDIR); in expredir() 612 redir->nfile.expfname = fn.list->text; in expredir() 616 if (redir->ndup.vname) { in expredir() 617 expandarg(redir->ndup.vname, &fn, EXP_TILDE | EXP_REDIR); in expredir() 618 fixredir(redir, fn.list->text, 1); in expredir() 622 redir->nhere.text = redir->nhere.doc->narg.text; in expredir() 625 redir->nhere.text = expandhere(redir->nhere.doc); in expredir()
|
H A D | parser.c | 344 union node *redir, **rpp; in command() local 353 redir = NULL; in command() 355 rpp = &redir; in command() 567 if (!redir) in command() 579 n1 = simplecmd(rpp, redir); in command() 594 if (redir) { in command() 601 n1->nredir.redirect = redir; in command() 637 if (redir == 0) in simplecmd() 638 rpp = &redir; in simplecmd() 669 && redir == 0) { in simplecmd() [all …]
|
H A D | jobs.c | 1838 p = ">"; i = 1; goto redir; in cmdtxt() 1840 p = ">|"; i = 1; goto redir; in cmdtxt() 1842 p = ">>"; i = 1; goto redir; in cmdtxt() 1844 p = ">&"; i = 1; goto redir; in cmdtxt() 1846 p = "<"; i = 0; goto redir; in cmdtxt() 1848 p = "<&"; i = 0; goto redir; in cmdtxt() 1850 p = "<>"; i = 0; goto redir; in cmdtxt() 1851 redir: in cmdtxt()
|
H A D | Makefile | 9 miscbltin.c mystring.c options.c parser.c redir.c show.c trap.c \
|
/netbsd/external/bsd/ipf/dist/iplang/ |
H A D | BNF | 49 "unreach" "{" unreachtype "}" ";" | "squench" | "redir" | 50 "redir" "{" redirtype "}" ";" | "echo" "{" echoopts "}" ";" | 61 redirtype ::= "net-redir" | "host-redir" | "tos-net-redir" | 62 "tos-host-redir" .
|
/netbsd/sys/arch/x86/acpi/ |
H A D | acpi_machdep.c | 253 int redir, mpflags; in acpi_md_intr_establish() local 260 redir = IOAPIC_REDLO_LEVEL | IOAPIC_REDLO_ACTLO; in acpi_md_intr_establish() 285 redir &= ~IOAPIC_REDLO_ACTLO; in acpi_md_intr_establish() 292 redir &= ~IOAPIC_REDLO_LEVEL; in acpi_md_intr_establish() 336 mip->redir &= ~(IOAPIC_REDLO_LEVEL | in acpi_md_intr_establish() 338 mip->redir |= redir; in acpi_md_intr_establish() 342 tmpmap.redir = redir; in acpi_md_intr_establish()
|
/netbsd/external/bsd/ipf/dist/tools/ |
H A D | BNF.ipnat | 1 ipmap :: = mapblock | redir | map . 6 redir ::= "rdr" ifname ipmask dport "->" ip [ "," ip ] [ ports ] options .
|
/netbsd/bin/ksh/ |
H A D | syn.c | 710 char redir[6]; /* 2<<- is the longest redirection, I think */ local 737 s = snptreef(redir, sizeof(redir), "%R", yylval.iop); 748 redir[0] = c; 749 redir[1] = '\0'; 751 shf_snprintf(redir, sizeof(redir), 753 s = redir;
|
/netbsd/external/gpl3/gdb/dist/sim/testsuite/lib/ |
H A D | sim-defs.exp | 72 proc sim_run { prog sim_opts prog_opts redir options } { 141 if { "$redir" == "" } { 144 remote_spawn host "$sim $always_opts $SIMFLAGS $sim_opts $cmd $prog_opts $redir" writeonly
|
/netbsd/external/gpl3/gdb.old/dist/sim/testsuite/lib/ |
H A D | sim-defs.exp | 72 proc sim_run { prog sim_opts prog_opts redir options } { 141 if { "$redir" == "" } { 144 remote_spawn host "$sim $always_opts $SIMFLAGS $sim_opts $cmd $prog_opts $redir" writeonly
|
/netbsd/libexec/httpd/ |
H A D | bozohttpd.c | 1460 char dir[MAXPATHLEN], redir[MAXPATHLEN], redirpath[MAXPATHLEN + 1], in check_bzredirect() local 1494 if ((size_t)snprintf(redir, sizeof(redir), "%s/%s", path, in check_bzredirect() 1495 REDIRECT_FILE) >= sizeof(redir)) { in check_bzredirect() 1499 if (lstat(redir, &sb) == 0) { in check_bzredirect() 1504 if ((size_t)snprintf(redir, sizeof(redir), "%s/%s", path, in check_bzredirect() 1505 ABSREDIRECT_FILE) >= sizeof(redir)) { in check_bzredirect() 1510 if (lstat(redir, &sb) < 0 || !S_ISLNK(sb.st_mode)) in check_bzredirect() 1515 rv = readlink(redir, redirpath, sizeof redirpath - 1); in check_bzredirect() 1530 if ((size_t)snprintf(finalredir = redir, sizeof(redir), "%s%s/%s", in check_bzredirect() 1531 (strlen(dir) > 0 ? "/" : ""), dir, redirpath) >= sizeof(redir)) { in check_bzredirect()
|
/netbsd/tests/ipf/regress/ |
H A D | f22 | 2 block out proto icmp all icmp-type redir group icmpredir
|
H A D | f21 | 2 block in proto icmp all icmp-type redir group icmpredir
|
H A D | i8 | 24 pass in proto icmp all icmp-type redir 55 pass in proto icmp all icmp-type redir
|
/netbsd/sys/arch/x86/include/ |
H A D | mpconfig.h | 66 uint32_t redir; member
|
/netbsd/external/gpl2/gettext/dist/djgpp/ |
H A D | config.bat | 145 redir -e /dev/null update %XSRC%/configure.orig ./configure 276 redir -e /dev/null rm %XSRC%/po/*.gmo 277 redir -e /dev/null rm %XSRC%/po/gettext.pot 278 redir -e /dev/null rm %XSRC%/po/cat-id-tbl.c 279 redir -e /dev/null rm %XSRC%/po/stamp-cat-id
|
/netbsd/tests/ipf/expected/ |
H A D | i8 | 26 pass in inet proto icmp from any to any icmp-type redir 59 pass in inet proto icmp from any to any icmp-type redir
|
/netbsd/external/gpl2/gmake/dist/ |
H A D | configure.bat | 39 redir -o junk.$$$ -eo make -n -f NUL
|