Home
last modified time | relevance | path

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

123456789

/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.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'):
H A DREADME.serial_multi20 setenv stdin serial_scc
26 setenv stdin serial_smc
49 setenv stdin serial1
54 setenv stdin serial0
/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/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/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.patch46 …def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=False, binary_output…
48 @@ -193,35 +217,23 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout…
54 - stdin=stdin,
83 + 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/linux/scripts/
H A Drustdoc_test_builder.rs21 let mut stdin = std::io::stdin().lock(); in main() localVariable
23 stdin.read_to_string(&mut body).unwrap(); in main()
H A Dgenerate_rust_target.rs113 let stdin = std::io::stdin(); in from_stdin() localVariable
114 let mut handle = stdin.lock(); in from_stdin()
/openbmc/linux/tools/testing/selftests/netfilter/
H A Dnft_trans_stress.sh106 (echo "flush ruleset"; cat "$tmp") | ip netns exec "$testns" nft -f /dev/stdin
120 ) | ip netns exec "$testns" nft -f /dev/stdin
127 ) | ip netns exec "$testns" nft -f /dev/stdin
141 (echo "flush ruleset"; cat "$tmp") | ip netns exec "$testns" nft -f /dev/stdin
H A Dnft_nat.sh184 ip netns exec "$ns0" nft -f /dev/stdin <<EOF
259 ip netns exec "$ns0" nft -f /dev/stdin <<EOF 2>/dev/null
385 ip netns exec "$ns0" nft -f /dev/stdin <<EOF
452 ip netns exec "$ns0" nft -f /dev/stdin <<EOF
553 ip netns exec "$ns0" nft -f /dev/stdin <<EOF
652 ip netns exec "$ns0" nft -f /dev/stdin <<EOF
734 ip netns exec "$ns0" nft -f /dev/stdin <<EOF
839 ip netns exec "$ns0" nft -f /dev/stdin <<EOF
857 ip netns exec "$ns0" nft -f /dev/stdin <<EOF
879 ip netns exec "$ns0" nft -f /dev/stdin <<EOF
[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/linux/tools/bpf/
H A Dbpf_asm.c30 FILE *fp = stdin; in main()
42 fp = stdin; in main()
/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/linux/scripts/kconfig/tests/
H A Dconftest.py70 stdin=subprocess.PIPE,
78 ps.stdin.write(in_keys.encode('utf-8'))
84 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/linux/tools/power/acpi/tools/acpidump/
H A Dapfiles.c38 in_char = fgetc(stdin); in ap_is_existing_file()
40 in_char = fgetc(stdin); in ap_is_existing_file()
/openbmc/openbmc/poky/meta/recipes-bsp/barebox/barebox/
H A D0001-lib-lz4-use-lz4-instead-of-lz4c.patch31 - lz4c -l -c1 stdin stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
32 + lz4 -l --best stdin stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dprocess.py76 if pipe.stdin:
78 pipe.stdin.write(input)
79 pipe.stdin.close()

123456789