Home
last modified time | relevance | path

Searched refs:stdin (Results 1 – 25 of 139) sorted by relevance

123456

/openbmc/openbmc-tools/dbus-vis/
H A Dipmi_capture.js172 if (data != undefined) g_child.stdin.write(data);
199 [g_rz.stdin.pipe(g_child.stdout), g_rz.stdout.pipe(g_child.stdin)]);
213 g_child.stdin.write(
222 g_child.stdin.write('\x03 ');
228 g_child.stdin.write(
236 g_child.stdin.write(
249 g_child.stdin.write('\n');
292 g_child.stdin.write('echo "haha" \n');
293 await streamWrite(g_child.stdin, 'whoami \n');
300 g_child.stdin.write(
[all …]
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0024-undef-stdin-for-references-using-stdin-as-a-struct-m.patch4 Subject: [PATCH 24/26] undef stdin for references using stdin as a struct
8 include/stdio.h:#define stdin (stdin)
10 This causes error when a struct member is also named stdin. undef it.
28 +#undef stdin
41 +#undef stdin
/openbmc/u-boot/doc/
H A DREADME.iomux23 A user can use a comma-separated list of devices to set stdin, stdout
24 and stderr. For example: "setenv stdin serial,nc". NOTE: No spaces
35 stdin nc,nc,serial" will discard the second nc. iomux_doenv() is
36 not able to modify the environment, however, so that "pri stdin" still
47 Thus, a user can type into any device registered for stdin. No effort
48 has been made to demulitplex simultaneous input from multiple stdin
57 example, if stdin=serial,nc and stdout=serial,nc then all output
62 to the 'stdin' file, the first output one to 'stdout' and 'stderr'.
76 work, even when stdin=stdout=stderr=serial.
80 Using nc as a stdin device results in even more overhead because nc_tstc()
[all …]
H A DREADME.serial_multi20 setenv stdin serial_scc
26 setenv stdin serial_smc
49 setenv stdin serial1
54 setenv stdin serial0
H A DREADME.console19 to the 'stdin' file, the first output one to 'stdout' and 'stderr'.
22 devices and their flags. You can assign a standard file (stdin,
27 setenv stdin serial <- To use the serial input
44 tstc (to test for the presence of a char in stdin)
45 getc (to get a char from stdin)
52 * FILE (can be 'stdin', 'stdout', 'stderr'):
/openbmc/openbmc/poky/scripts/
H A Doepydevshell-internal.py45 nonblockingfd(sys.stdin)
60 cbreaknoecho(sys.stdin.fileno())
68 (ready, _, _) = select.select([pty, sys.stdin], writers , [], 0)
80 if sys.stdin in ready:
81 echonocbreak(sys.stdin.fileno())
83 cbreaknoecho(sys.stdin.fileno())
/openbmc/u-boot/tools/patman/
H A Dcros_subprocess.py56 def __init__(self, args, stdin=None, stdout=PIPE_PTY, stderr=PIPE_PTY, argument
83 super(Popen, self).__init__(args, stdin=stdin,
149 if self.stdin:
152 self.stdin.flush()
154 write_set.append(self.stdin)
156 self.stdin.close()
177 if self.stdin in wlist:
182 bytes_written = os.write(self.stdin.fileno(), chunk)
185 self.stdin.close()
186 write_set.remove(self.stdin)
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-extended/python-blivet/python3-blivet/
H A D0003-support-infinit-timeout.patch38 -def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=False, binary_output…
39 +def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=False, binary_output…
43 @@ -205,7 +206,10 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=…
55 @@ -218,7 +222,7 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=Fa
61 stdin=stdin,
H A D0002-run_program-support-timeout.patch50 …def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=False, binary_output…
52 @@ -191,35 +215,23 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout…
58 - stdin=stdin,
87 + stdin=stdin,
/openbmc/u-boot/common/
H A Dconsole.c31 console = stdin; in on_console()
112 case stdin: in console_setfile()
131 case stdin: in console_setfile()
406 return fgetc(stdin); in getc()
430 return ftstc(stdin); in tstc()
702 case stdin: in console_assign()
762 if (stdio_devices[stdin] == NULL) { in stdio_print_current_devices()
765 printf ("%s\n", stdio_devices[stdin]->name); in stdio_print_current_devices()
814 iomux_err = iomux_doenv(stdin, stdinname); in console_init_r()
843 console_doenv(stdin, inputdev); in console_init_r()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/lvm2/files/
H A D0001-implement-libc-specific-reopen_stream.patch6 musl defines stdin/stdio/stderr as constant types which means
55 - !(stdin = fopen(_PATH_DEVNULL, "r"))) {
56 + !freopen(_PATH_DEVNULL, "r", stdin)) {
58 perror("stdin stream open");
/openbmc/skeleton/pyipmitest/
H A Dipmi_debug.py67 flags = fcntl.fcntl(sys.stdin.fileno(), fcntl.F_GETFL)
69 fcntl.fcntl(sys.stdin.fileno(), fcntl.F_SETFL, flags)
70 glib.io_add_watch(sys.stdin, glib.IO_IN, self.io_callback)
/openbmc/openbmc/poky/bitbake/lib/bb/compress/
H A D_pipecompress.py115 stdin=self.fileobj,
124 stdin=subprocess.PIPE,
129 self.pipe = self.p.stdin
/openbmc/openbmc/poky/meta/classes-global/
H A Ddevshell.bbclass71 os.dup2(m, sys.stdin.fileno())
77 bb.utils.nonblockingfd(sys.stdin)
113 (r, _, _) = select.select([sys.stdin], [], [], 1)
116 line = sys.stdin.readline().strip()
/openbmc/u-boot/scripts/kconfig/tests/
H A Dconftest.py66 stdin=subprocess.PIPE,
74 ps.stdin.write(in_keys.encode('utf-8'))
80 ps.stdin.write(b'\n')
/openbmc/openbmc/meta-arm/meta-arm/lib/fvp/
H A Drunner.py108 stdin=subprocess.DEVNULL, stdout=stdout, stderr=subprocess.STDOUT,
166 … telnet = subprocess.Popen(["telnet", "localhost", str(port)], stdin=sys.stdin, stdout=sys.stdout)
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/
H A D0005-common.h-replace-getline-with-fgets.patch47 while (getline(&line, &len, stdin) == -1) {
49 + while (fgets(line, sizeof_line, stdin) == NULL) {
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3/
H A D0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch4 Subject: [PATCH] Lib/pty.py: handle stdin I/O errors same way as master I/O
7 reading stdin can throw the same I/O errors as reading from master fd does,
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dprocess.py76 if pipe.stdin:
78 pipe.stdin.write(input)
79 pipe.stdin.close()
/openbmc/openbmc/meta-arm/scripts/
H A Drunfvp104 if sys.stdin.isatty():
106 os.tcsetpgrp(sys.stdin.fileno(), os.getpgrp())
/openbmc/openbmc/poky/bitbake/contrib/
H A Db4-wrapper-bitbake.py23 patch = sys.stdin.read()
/openbmc/qemu/linux-user/
H A Dsemihost.c39 ret = fread(buf, 1, len, stdin); in qemu_semihosting_console_read()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-prctl/
H A D0001-support-cross-complication.patch42 -sp = subprocess.Popen(['cpp'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PI…
48 -sp = subprocess.Popen(['cpp'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PI…
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools/
H A D0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch45 stdin=PIPE,
54 stdin=PIPE,
/openbmc/ipmitool/lib/
H A Dipmi_tsol.c201 } else if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) { in leave_raw_mode()
237 if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) < 0) { in enter_raw_mode()
511 fds_wait[1].fd = fileno(stdin); in ipmi_tsol_main()
521 fds_data_wait[1].fd = fileno(stdin); in ipmi_tsol_main()
563 result = read(fileno(stdin), in_buff + in_buff_fill, in ipmi_tsol_main()

123456