/external/bison/djgpp/ |
D | subpipe.c | 146 if (dup2(from_in_fd, STDOUT_FILENO) < 0) in create_subpipe() 190 if (dup2(from_out_fd, STDIN_FILENO) < 0) in end_of_output_subpipe() 206 if (dup2(to_in_fd, STDOUT_FILENO) < 0) in end_of_output_subpipe() 243 if (dup2(old_stdout, STDOUT_FILENO) < 0) in end_of_output_subpipe() 252 if (dup2(to_in_fd, STDIN_FILENO) < 0) in end_of_output_subpipe() 282 if (dup2(old_stdin, STDIN_FILENO) < 0) in reap_subpipe()
|
/external/bison/lib/ |
D | subpipe.c | 46 #if ! HAVE_DUP2 && ! defined dup2 48 # define dup2(f, t) (close (t), fcntl (f, F_DUPFD, t)) macro 135 dup2 (child_fd[0], STDIN_FILENO); in create_subpipe() 137 dup2 (child_fd[1], STDOUT_FILENO); in create_subpipe()
|
/external/qemu/android/utils/ |
D | debug.c | 121 dup2(null_fd, out_fd); in stdio_disable() 122 dup2(null_fd, err_fd); in stdio_disable() 135 dup2(stdio_save_out_fd, out_fd); in stdio_enable() 136 dup2(stdio_save_err_fd, err_fd); in stdio_enable()
|
/external/e2fsprogs/lib/ |
D | fpopen.c | 102 dup2(fds[0], 0); in fpopen() 105 dup2(fds[1], 1); in fpopen() 107 dup2(fds[1], 2); in fpopen()
|
/external/dropbear/ |
D | compat.c | 181 (void)dup2(fd, STDIN_FILENO); in daemon() 182 (void)dup2(fd, STDOUT_FILENO); in daemon() 183 (void)dup2(fd, STDERR_FILENO); in daemon()
|
D | svr-chansession.c | 670 if ((dup2(infds[FDIN], STDIN_FILENO) < 0) || in noptycommand() 671 (dup2(outfds[FDOUT], STDOUT_FILENO) < 0) || in noptycommand() 672 (dup2(errfds[FDOUT], STDERR_FILENO) < 0)) { in noptycommand() 775 if ((dup2(chansess->slave, STDIN_FILENO) < 0) || in ptycommand() 776 (dup2(chansess->slave, STDERR_FILENO) < 0) || in ptycommand() 777 (dup2(chansess->slave, STDOUT_FILENO) < 0)) { in ptycommand()
|
D | cli-authpasswd.c | 77 if (dup2(p[1], STDOUT_FILENO) < 0) { in gui_getpass()
|
D | cli-session.c | 225 dup2(devnull, STDIN_FILENO); in cli_sessionloop()
|
D | scpmisc.c | 241 if (dup2(nullfd, dupfd) == -1) { in sanitise_stdfd()
|
/external/clearsilver/util/ |
D | filter.c | 114 dup2 (pi[0], 0); in filter_create_fd() 121 dup2 (po[1], 1); in filter_create_fd() 128 dup2 (pe[1], 2); in filter_create_fd()
|
/external/dhcpcd/ |
D | common.c | 151 dup2(fd, fileno(stdin)); in close_fds() 152 dup2(fd, fileno(stdout)); in close_fds() 153 dup2(fd, fileno(stderr)); in close_fds()
|
/external/qemu/slirp/ |
D | misc.c | 334 dup2(s, 0); in fork_exec() 335 dup2(s, 1); in fork_exec() 336 dup2(s, 2); in fork_exec() 882 dup2(fd0[1], 0); 883 dup2(fd0[1], 1); 884 dup2(fd[1], 2);
|
/external/qemu/slirp-android/ |
D | misc.c | 300 dup2(s, 0); in fork_exec() 301 dup2(s, 1); in fork_exec() 302 dup2(s, 2); in fork_exec() 845 dup2(fd0[1], 0); 846 dup2(fd0[1], 1); 847 dup2(fd[1], 2);
|
/external/proguard/src/proguard/evaluation/ |
D | TracedStack.java | 235 public void dup2() in dup2() method in TracedStack 237 super.dup2(); in dup2()
|
/external/e2fsprogs/misc/ |
D | logsave.c | 122 dup2(fds[1],1); /* fds[1] replaces stdout */ in run_program() 123 dup2(fds[1],2); /* fds[1] replaces stderr */ in run_program()
|
/external/dbus/dbus/ |
D | dbus-sysdeps-util-unix.c | 108 dup2 (dev_null_fd, 0); in _dbus_become_daemon() 109 dup2 (dev_null_fd, 1); in _dbus_become_daemon() 113 dup2 (dev_null_fd, 2); in _dbus_become_daemon()
|
/external/e2fsprogs/lib/ss/ |
D | pager.c | 88 if (dup2(filedes[0], 0) == -1) in ss_pager_create()
|
D | help.c | 114 (void) dup2(fd, 0); /* put file on stdin */
|
/external/ppp/pppd/ |
D | main.c | 797 dup2(fd_devnull, 0); in detach() 798 dup2(fd_devnull, 1); in detach() 799 dup2(fd_devnull, 2); in detach() 1533 dup2(infd, 0); in safe_fork() 1535 dup2(outfd, 1); in safe_fork() 1537 dup2(errfd, 2); in safe_fork()
|
D | tty.c | 654 dup2(fd_devnull, 0); in connect_tty() 655 dup2(fd_devnull, 1); in connect_tty() 659 dup2(fd_devnull, 2); in connect_tty()
|
/external/bison/m4/ |
D | subpipe.m4 | 27 AC_CHECK_FUNCS(dup2 waitpid)
|
/external/dbus/tools/ |
D | dbus-launch.c | 519 dup2 (dev_null_fd, 0); in babysit() 520 dup2 (dev_null_fd, 1); in babysit() 523 dup2 (dev_null_fd, 2); in babysit()
|
/external/gtest/src/ |
D | gtest-port.cc | 437 dup2(captured_fd, kStdErrFileno); in CapturedStderr() 449 dup2(uncaptured_fd_, kStdErrFileno); in StopCapture()
|
/external/netcat/ |
D | netcat.c | 584 dup2 (fd, 0); /* the precise order of fiddlage */ 586 dup2 (0, 1); /* swiped directly out of "inetd". */ 587 dup2 (0, 2);
|
/external/e2fsprogs/tests/ |
D | README | 49 dup2.img Filesystem with blocks claimed by three different files
|