Home
last modified time | relevance | path

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

1234567891011

/OK3568_Linux_fs/u-boot/doc/
H A DREADME.iomux24 A user can use a comma-separated list of devices to set stdin, stdout
25 and stderr. For example: "setenv stdin serial,nc". NOTE: No spaces
36 stdin nc,nc,serial" will discard the second nc. iomux_doenv() is
37 not able to modify the environment, however, so that "pri stdin" still
48 Thus, a user can type into any device registered for stdin. No effort
49 has been made to demulitplex simultaneous input from multiple stdin
58 example, if stdin=serial,nc and stdout=serial,nc then all output
63 to the 'stdin' file, the first output one to 'stdout' and 'stderr'.
77 work, even when stdin=stdout=stderr=serial.
81 Using nc as a stdin device results in even more overhead because nc_tstc()
[all …]
H A DREADME.console20 to the 'stdin' file, the first output one to 'stdout' and 'stderr'.
23 devices and their flags. You can assign a standard file (stdin,
28 setenv stdin serial <- To use the serial input
45 tstc (to test for the presence of a char in stdin)
46 getc (to get a char from stdin)
53 * 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
/OK3568_Linux_fs/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 …]
/OK3568_Linux_fs/yocto/poky/scripts/
H A Doepydevshell-internal.py43 nonblockingfd(sys.stdin)
58 cbreaknoecho(sys.stdin.fileno())
66 (ready, _, _) = select.select([pty, sys.stdin], writers , [], 0)
78 if sys.stdin in ready:
79 echonocbreak(sys.stdin.fileno())
81 cbreaknoecho(sys.stdin.fileno())
/OK3568_Linux_fs/yocto/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 @@ -192,7 +193,10 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=…
55 @@ -205,7 +209,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 @@ -180,35 +204,23 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout…
54 - stdin=stdin,
83 + stdin=stdin,
/OK3568_Linux_fs/u-boot/common/
H A Dconsole.c37 console = stdin; in on_console()
118 case stdin: in console_setfile()
137 case stdin: in console_setfile()
432 return fgetc(stdin); in getc()
454 return ftstc(stdin); in tstc()
747 case stdin: in console_assign()
809 if (stdio_devices[stdin] == NULL) { in stdio_print_current_devices()
812 printf ("%s\n", stdio_devices[stdin]->name); in stdio_print_current_devices()
861 iomux_err = iomux_doenv(stdin, stdinname); in console_init_r()
890 console_doenv(stdin, inputdev); in console_init_r()
[all …]
H A Dusb_kbd.c561 error = iomux_doenv(stdin, stdinname);
573 error = console_assign(stdin, DEVNAME);
626 if (iomux_doenv(stdin, env_get("stdin")) != 0)
651 if (!ftstc(stdin)) {
658 if (!ftstc(stdin))
660 ch[i] = fgetc(stdin);
726 if (iomux_doenv(stdin, env_get("stdin"))) {
/OK3568_Linux_fs/yocto/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
54 - !(stdin = fopen(_PATH_DEVNULL, "r"))) {
55 + !freopen(_PATH_DEVNULL, "r", stdin)) {
57 perror("stdin stream open");
/OK3568_Linux_fs/kernel/tools/bpf/
H A Dbpf_asm.c30 FILE *fp = stdin; in main()
42 fp = stdin; in main()
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/compress/
H A D_pipecompress.py115 stdin=self.fileobj,
124 stdin=subprocess.PIPE,
129 self.pipe = self.p.stdin
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Ddevshell.bbclass65 os.dup2(m, sys.stdin.fileno())
71 bb.utils.nonblockingfd(sys.stdin)
107 (r, _, _) = select.select([sys.stdin], [], [], 1)
110 line = sys.stdin.readline().strip()
/OK3568_Linux_fs/buildroot/package/bc/
H A D0002-notice-read-and-write-errors-on-input-and-output.patch10 `FILE', `stdin', `stdout' and `stderr' and added calls to new
98 + checkferror_input(stdin);
453 + checkferror_input(stdin);
461 - if (stdin_lookahead != peekc && fp == stdin)
462 + if (stdin_lookahead != peekc && fp == stdin) {
464 + checkferror_input(stdin);
482 - if (stdin_lookahead != peekc && fp == stdin)
483 + if (stdin_lookahead != peekc && fp == stdin) {
485 + checkferror_input(stdin);
502 - if (stdin_lookahead != peekc && fp == stdin)
[all …]
/OK3568_Linux_fs/kernel/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')
/OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/
H A D0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch44 stdin=PIPE,
53 stdin=PIPE,
67 stdin=subprocess.PIPE,
/OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/testdir/
H A Dsort.src140 stdin=""
169 stdin=dc.dat
312 if test "$stdin" = ""
313 then # without redirected stdin
315 else # with redirected stdin
316 time $prog $opt $bgstr <$stdin 2>>$tmp >>$stdout
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A Dprocess.py76 if pipe.stdin:
78 pipe.stdin.write(input)
79 pipe.stdin.close()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dfir.c74 if (file != stdin) fclose(file); in start()
77 if (file != stdin) fclose(file); in start()
/OK3568_Linux_fs/yocto/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) {
/OK3568_Linux_fs/kernel/tools/testing/selftests/netfilter/
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
450 ip netns exec "$ns0" nft -f /dev/stdin <<EOF
551 ip netns exec "$ns0" nft -f /dev/stdin <<EOF
650 ip netns exec "$ns0" nft -f /dev/stdin <<EOF
732 ip netns exec "$ns0" nft -f /dev/stdin <<EOF
786 ip netns exec ns$i-$sfx nft -f /dev/stdin <<EOF
H A Dnft_queue.sh90 ip netns exec ${nsrouter} nft -f /dev/stdin <<EOF
125 ip netns exec ${nsrouter} nft -f /dev/stdin <<EOF
182 ip netns exec ${nsrouter} nft -f /dev/stdin <<EOF
297 ip netns exec ${nsrouter} nft -f /dev/stdin <<EOF
/OK3568_Linux_fs/yocto/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,
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/
H A Dstdio.h49 return getc (stdin); in getchar()
75 return __getc_unlocked_body (stdin); in getchar_unlocked()

1234567891011