Home
last modified time | relevance | path

Searched refs:saved_stdin (Results 1 – 25 of 27) sorted by relevance

12

/dports/devel/p5-POE-Test-Loops/POE-Test-Loops-1.360/lib/POE/Test/Loops/
H A Dwheel_curses.pm27 my ($saved_stdin, $saved_stdout, $pty_master, $pty_slave);
32 $saved_stdin = gensym();
33 open($saved_stdin, "<&STDIN") or die "can't save stdin: $!";
64 if ($saved_stdin) {
65 open(STDIN, "<&=" . fileno($saved_stdin)) or die "stdin restore: $!";
66 $saved_stdin = undef;
H A Dwheel_readline.pm195 my ($saved_stdin, $saved_stdout, $pty_master, $pty_slave);
200 $saved_stdin = gensym();
201 open($saved_stdin, "<&STDIN") or die "can't save stdin: $!";
243 if ($saved_stdin) {
244 open(STDIN, "<&=" . fileno($saved_stdin)) or die "stdin restore: $!";
245 $saved_stdin = undef;
/dports/net/nbdkit/nbdkit-1.20.4/server/
H A Dfuzzer.c126 int saved_stdin, saved_stdout; in server() local
131 saved_stdin = dup (0); in server()
140 dup2 (saved_stdin, 0); in server()
142 close (saved_stdin); in server()
H A Dmain.c107 int saved_stdin = -1; /* dup'd stdin during -s/--run */ variable
724 saved_stdin = fcntl (STDIN_FILENO, F_DUPFD_CLOEXEC, STDERR_FILENO + 1); in main()
727 saved_stdin = set_cloexec (saved_stdin); in main()
730 if (saved_stdin == -1 || saved_stdout == -1) { in main()
966 handle_single_connection (saved_stdin, saved_stdout); in start_serving()
H A Dcaptive.c155 if (dup2 (saved_stdin, STDIN_FILENO) == -1 || in run_command()
H A Dinternal.h137 extern int saved_stdin;
/dports/security/vlock/vlock-2.2.3/modules/
H A Dnew.c115 int saved_stdin; member
185 ctx->saved_stdin = dup(STDIN_FILENO); in vlock_start()
215 (void) dup2(ctx->saved_stdin, STDIN_FILENO); in vlock_end()
/dports/devel/py-jsonpath-ng/jsonpath-ng-1.5.3/tests/bin/
H A Dtest_jsonpath.py27 self.saved_stdin = sys.stdin
35 sys.stdin = self.saved_stdin
/dports/devel/radare2/radare2-5.1.1/libr/socket/
H A Drun.c311 int saved_stdin = dup (STDIN_FILENO); in handle_redirection_proc() local
312 if (saved_stdin == -1) { in handle_redirection_proc()
317 close (saved_stdin); in handle_redirection_proc()
323 close (saved_stdin); in handle_redirection_proc()
329 close (saved_stdin); in handle_redirection_proc()
335 close (saved_stdin); in handle_redirection_proc()
358 restore_saved_fd (saved_stdin, in, STDIN_FILENO); in handle_redirection_proc()
375 close (saved_stdin); in handle_redirection_proc()
/dports/textproc/py-pygments/Pygments-2.7.2/tests/
H A Dtest_cmdline.py39 saved_stdin = sys.stdin
53 sys.stdin = saved_stdin
/dports/textproc/py-pygments-25/Pygments-2.5.2/tests/
H A Dtest_cmdline.py41 saved_stdin = sys.stdin
60 sys.stdin = saved_stdin
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/libregrtest/
H A Dsave_env.py101 def restore_sys_stdin(self, saved_stdin): argument
102 sys.stdin = saved_stdin
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/libregrtest/
H A Dsave_env.py101 def restore_sys_stdin(self, saved_stdin): argument
102 sys.stdin = saved_stdin
/dports/lang/python-tools/Python-3.8.12/Lib/test/libregrtest/
H A Dsave_env.py101 def restore_sys_stdin(self, saved_stdin): argument
102 sys.stdin = saved_stdin
/dports/lang/python37/Python-3.7.12/Lib/test/libregrtest/
H A Dsave_env.py94 def restore_sys_stdin(self, saved_stdin): argument
95 sys.stdin = saved_stdin
/dports/lang/python38/Python-3.8.12/Lib/test/libregrtest/
H A Dsave_env.py101 def restore_sys_stdin(self, saved_stdin): argument
102 sys.stdin = saved_stdin
/dports/lang/python39/Python-3.9.9/Lib/test/libregrtest/
H A Dsave_env.py114 def restore_sys_stdin(self, saved_stdin): argument
115 sys.stdin = saved_stdin
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/libregrtest/
H A Dsave_env.py101 def restore_sys_stdin(self, saved_stdin): argument
102 sys.stdin = saved_stdin
/dports/lang/python310/Python-3.10.1/Lib/test/libregrtest/
H A Dsave_env.py123 def restore_sys_stdin(self, saved_stdin): argument
124 sys.stdin = saved_stdin
/dports/lang/python311/Python-3.11.0a3/Lib/test/libregrtest/
H A Dsave_env.py123 def restore_sys_stdin(self, saved_stdin): argument
124 sys.stdin = saved_stdin
/dports/archivers/gtar/tar-1.34/lib/
H A Drtapelib.c282 int saved_stdin = dup (STDIN_FILENO); in _rmt_rexec() local
304 fdopen (saved_stdin, "r"); in _rmt_rexec()
/dports/archivers/gcpio/cpio-2.13/lib/
H A Drtapelib.c282 int saved_stdin = dup (STDIN_FILENO); in _rmt_rexec() local
304 fdopen (saved_stdin, "r"); in _rmt_rexec()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dregrtest.py786 def restore_sys_stdin(self, saved_stdin): argument
787 sys.stdin = saved_stdin
/dports/textproc/py-humanfriendly/humanfriendly-10.0/humanfriendly/
H A Dtests.py1144 saved_stdin = sys.stdin
1170 sys.stdin = saved_stdin
/dports/print/pdf-tools/pdf-tools-0.90-90-ga8847b7/server/
H A Depdfinfo.c1136 int saved_stdin; in action_print_destination() local
1141 DISCARD_STDOUT (saved_stdin); in action_print_destination()
1146 UNDISCARD_STDOUT (saved_stdin); in action_print_destination()
1152 DISCARD_STDOUT (saved_stdin); in action_print_destination()
1154 UNDISCARD_STDOUT (saved_stdin); in action_print_destination()

12