| /external/rust/android-crates-io/crates/tokio/src/io/ |
| D | stdin.rs | 13 /// reads of `Stdin` must be executed with care. 15 /// This handle is best used for non-interactive uses, such as when a file 16 /// is piped into the application. For technical reasons, `stdin` is 24 /// Created by the [`stdin`] function. 26 /// [`stdin`]: fn@stdin 29 pub struct Stdin { 30 std: Blocking<std::io::Stdin>, 35 /// This handle is best used for non-interactive uses, such as when a file 36 /// is piped into the application. For technical reasons, `stdin` is 43 pub fn stdin() -> Stdin { [all …]
|
| /external/zstd/tests/cli-tests/progress/ |
| D | progress.sh.stderr.glob | 2 args = --progress 6 *Read:*stdin*stdout* 8 *Read:*stdin*hello.zst* 16 *stdin*stdin* 18 *stdin*stdin* 24 args = --fake-stderr-is-console 29 *Read:*stdin*hello.zst* 37 *stdin*stdin* 42 args = --progress --fake-stderr-is-console -q 46 *Read:*stdin*stdout* [all …]
|
| D | no-progress.sh.stderr.glob | 7 *stdin*hello.zst* 15 *stdin* 20 args = --fake-stderr-is-console -q 32 args = --fake-stderr-is-console -qq --progress 44 args = --no-progress --fake-stderr-is-console 49 *stdin*hello.zst* 57 *stdin* 62 args = --no-progress --fake-stderr-is-console -v 68 *stdin*stdout* 71 *stdin*hello.zst* [all …]
|
| /external/elfutils/tests/ |
| D | run-addr2line-test.sh | 18 . $srcdir/test-subr.sh 21 tempfiles good.out stdin.nl stdin.nl.out stdin.nonl stdin.nonl.out foo.out 26 /home/drepper/gnu/new-bu/build/ttt/f.c:3 28 /home/drepper/gnu/new-bu/build/ttt/b.c:4 30 /home/drepper/gnu/new-bu/build/ttt/f.c:3 32 /home/drepper/gnu/new-bu/build/ttt/b.c:4 34 /home/drepper/gnu/new-bu/build/ttt/f.c:3 36 /home/drepper/gnu/new-bu/build/ttt/b.c:4 38 /home/drepper/gnu/new-bu/build/ttt/f.c:3 40 /home/drepper/gnu/new-bu/build/ttt/b.c:4 [all …]
|
| /external/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/ |
| D | CMakeLists.txt | 1 project(lws-crypto-cose-sign C) 8 set(SAMP lws-crypto-cose-sign) 20 add_test(NAME crypto-cose-sign-1 21 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid 11 22 --alg ES256 --cose-sign 23 --stdin payload.txt 24 --stdout ctest-sig-es256.sig) 25 add_test(NAME crypto-cose-sign-2 26 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid sec384 27 --alg ES384 --cose-sign [all …]
|
| /external/llvm/test/CodeGen/X86/GC/ |
| D | ocaml-gc.ll | 1 ; RUN: llc < %s -mtriple=x86_64-linux-gnu | FileCheck %s 4 ; CHECK-NEXT: .file "<stdin>" 7 ; CHECK: .globl "caml<stdin>__code_begin" 8 ; CHECK-NEXT: "caml<stdin>__code_begin": 9 ; CHECK-NEXT: .data 10 ; CHECK-NEXT: .globl "caml<stdin>__data_begin" 11 ; CHECK-NEXT: "caml<stdin>__data_begin": 16 ; CHECK: .globl "caml<stdin>__code_end" 17 ; CHECK-NEXT: "caml<stdin>__code_end": 18 ; CHECK-NEXT: .data [all …]
|
| /external/python/cpython3/Lib/test/ |
| D | test_repl.py | 38 # line option '-i' and the process name set to '<stdin>'. 43 stdin_fname = os.path.join(os.path.dirname(sys.executable), "<stdin>") 44 cmd_line = [stdin_fname, '-I', '-i'] 54 stdin=subprocess.PIPE, 60 input source code from the stdin and return the 61 result back. If the interpreter exits non-zero, it 65 process.stdin.write(source) 94 p.stdin.write(user_input) 102 # bpo-39209: Multiline string tokens need to be handled in the tokenizer 103 # in two places: the interactive path and the non-interactive path. [all …]
|
| D | test_winconsoleio.py | 26 "negative file descriptor", ConIO, -1) 30 # Windows 10: "Cannot open non-console file" 33 "Cannot open (console|non-console file)", ConIO, fd) 101 # bpo-45354: Windows 11 changed MS-DOS device name handling 135 # bpo-45354: Windows 11 changed MS-DOS device name handling 169 stdin = open('CONIN$', 'r') 170 old_stdin = sys.stdin 172 sys.stdin = stdin 174 stdin.buffer.raw, 175 (text + '\r\n').encode('utf-16-le', 'surrogatepass') [all …]
|
| D | test_subprocess.py | 71 ZERO_RETURN_CMD = (sys.executable, '-c', 'pass') 119 stdin=subprocess.PIPE, stdout=subprocess.PIPE, 122 self.assertIsInstance(p.stdin, io.BufferedIOBase) 126 p.stdin.close() 133 stdin=subprocess.PIPE, stdout=subprocess.PIPE, 136 self.assertIsInstance(p.stdin, io.RawIOBase) 140 p.stdin.close() 147 rc = subprocess.call([sys.executable, "-c", 157 [sys.executable, "-c", "while True: pass"], 166 # check_call() function with non-zero return code [all …]
|
| /external/rust/android-crates-io/crates/rustix/src/ |
| D | stdio.rs | 21 /// In `std`-using configurations, this is a safe function, because the 22 /// standard library already assumes that the stdin file descriptor is always 27 /// This function allows reading directly from stdin without coordinating 28 /// with the buffering performed by [`std::io::Stdin`], so it could cause 32 /// - [POSIX] 33 /// - [Linux] 34 /// - [FreeBSD] 35 /// - [NetBSD] 36 /// - [OpenBSD] 37 /// - [DragonFly BSD] [all …]
|
| /external/mksh/src/ |
| D | check.t | 2 # -*- mode: sh -*- 3 #- 23 #- 28 # http://svnweb.freebsd.org/base/head/bin/test/tests/legacy_test.sh?view=co&content-type=text%2Fpla… 31 # (2013/12/02 20:39:44) http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress/bin/ksh/?sortby=date 33 expected-stdout: 37 stdin: 41 --- 42 expected-stdout: 46 stdin: [all …]
|
| /external/python/cpython3/Lib/test/test_pyrepl/ |
| D | test_interact.py | 29 console = InteractiveColoredConsole(namespace, filename="<stdin>") 36 … more = console.push(code, filename="<stdin>", _symbol="single") # type: ignore[call-arg] 49 console = InteractiveColoredConsole(namespace, filename="<stdin>") 52 … more = console.push(code, filename="<stdin>", _symbol="single") # type: ignore[call-arg] 59 console = InteractiveColoredConsole(namespace, filename="<stdin>") 62 … more = console.push(code, filename="<stdin>", _symbol="single") # type: ignore[call-arg] 168 console = InteractiveColoredConsole(namespace, filename="<stdin>") 174 console = InteractiveColoredConsole(namespace, filename="<stdin>") 180 console = InteractiveColoredConsole(namespace, filename="<stdin>") 191 console = InteractiveColoredConsole(namespace, filename="<stdin>") [all …]
|
| /external/llvm/tools/llvm-c-test/ |
| D | main.c | 1 /*===-- main.c - tool for testing libLLVM and llvm-c API ------------------===*\ 8 |*===----------------------------------------------------------------------===*| 10 |* Main file for llvm-c-tests. "Parses" arguments and dispatches. *| 12 \*===----------------------------------------------------------------------===*/ 14 #include "llvm-c-test.h" 15 #include "llvm-c/BitReader.h" 21 fprintf(stderr, "llvm-c-test command\n\n"); in print_usage() 23 fprintf(stderr, " * --module-dump\n"); in print_usage() 24 fprintf(stderr, " Read bitcode from stdin - print disassembly\n\n"); in print_usage() 25 fprintf(stderr, " * --lazy-module-dump\n"); in print_usage() [all …]
|
| /external/python/cpython3/Doc/library/ |
| D | asyncio-subprocess.rst | 3 .. _asyncio-subprocess: 12 ---------------------------------------- 14 This section describes high-level async/await asyncio APIs to 64 .. coroutinefunction:: create_subprocess_exec(program, *args, stdin=None, \ 82 .. coroutinefunction:: create_subprocess_shell(cmd, stdin=None, \ 111 used. See :ref:`Subprocess Support on Windows <asyncio-windows-subprocess>` 116 asyncio also has the following *low-level* APIs to work with subprocesses: 119 as well as the :ref:`Subprocess Transports <asyncio-subprocess-transports>` 120 and :ref:`Subprocess Protocols <asyncio-subprocess-protocols>`. 129 Can be passed to the *stdin*, *stdout* or *stderr* parameters. [all …]
|
| /external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/ |
| D | CommandLineOptions.java | 7 * http://www.apache.org/licenses/LICENSE-2.0 22 * Command line options for google-java-format. 24 * <p>google-java-format doesn't depend on AutoValue, to allow AutoValue to depend on 25 * google-java-format. 37 private final boolean stdin; field in CommandLineOptions 56 boolean stdin, in CommandLineOptions() argument 73 this.stdin = stdin; in CommandLineOptions() 109 /** Use AOSP style instead of Google Style (4-space indentation). */ 124 /** Format input from stdin. */ 125 boolean stdin() { in stdin() method in CommandLineOptions [all …]
|
| /external/rust/android-crates-io/crates/lz4_flex/src/ |
| D | lib.rs | 3 …ailed explanation of the algorithm can be found [here](http://ticki.github.io/blog/how-lz4-works/). 24 //! # Example: compress data on `stdin` with frame format 25 //! This program reads data from `stdin`, compresses it and emits it to `stdout`. 29 //! let stdin = io::stdin(); 31 //! let mut rdr = stdin.lock(); 37 //! # Example: decompress data on `stdin` with frame format 38 //! This program reads data from `stdin`, decompresses it and emits it to `stdout`. 42 //! let stdin = io::stdin(); 44 //! // Wrap the stdin reader in a LZ4 FrameDecoder. 45 //! let mut rdr = lz4_flex::frame::FrameDecoder::new(stdin.lock()); [all …]
|
| /external/python/cpython3/Lib/test/test_asyncio/ |
| D | test_subprocess.py | 29 PROGRAM_BLOCKED = [sys.executable, '-c', 'import time; time.sleep(3600)'] 33 sys.executable, '-c', 35 'data = sys.stdin.buffer.read()', 46 self._proc.stdin = None 49 self._proc.pid = -1 99 "<TestSubprocessTransport pid=-1 returncode=6>" 104 "<TestSubprocessTransport pid=-1 running>" 123 stdin=subprocess.PIPE, 128 proc.stdin.write(data) 129 await proc.stdin.drain() [all …]
|
| /external/ktfmt/core/src/main/java/com/facebook/ktfmt/cli/ |
| D | ParsedArgs.kt | 8 * http://www.apache.org/licenses/LICENSE-2.0 24 /** ParsedArgs holds the arguments passed to ktfmt on the command-line, after parsing. */ 36 /** File name to report when formating code from stdin */ 53 |ktfmt - command line Kotlin source code pretty-printer 59 |ktfmt formats Kotlin source code files in-place, reporting for each file whether the 67 | $ ktfmt --kotlinlang-style Main.kt src/Parser.kt 72 | -h, --help Show this help message 73 | -n, --dry-run Don't write to files, only report files which 75 | --meta-style Use 2-space block indenting (default) 76 | --google-style Google internal style (2 spaces) [all …]
|
| /external/cronet/tot/third_party/rust/chromium_crates_io/vendor/bstr-1.11.0/ |
| D | README.md | 4 their use as byte strings, where byte strings are _conventionally_ UTF-8. This 6 not required to be valid UTF-8, but may be fully or partially valid UTF-8. 20 <https://docs.rs/bstr/1.*/bstr/#when-should-i-use-byte-strings>. 23 incorrect to require valid UTF-8. 33 the I/O convenience functions provided for reading line-by-line quickly. 35 This first example simply shows how to efficiently iterate over lines in stdin, 42 fn main() -> Result<(), Box<dyn Error>> { 43 let stdin = io::stdin(); 46 stdin.lock().for_byte_line_with_terminator(|line| { 56 This example shows how to count all of the words (Unicode-aware) in stdin, [all …]
|
| /external/rust/android-crates-io/crates/bstr/ |
| D | README.md | 4 their use as byte strings, where byte strings are _conventionally_ UTF-8. This 6 not required to be valid UTF-8, but may be fully or partially valid UTF-8. 20 <https://docs.rs/bstr/1.*/bstr/#when-should-i-use-byte-strings>. 23 incorrect to require valid UTF-8. 33 the I/O convenience functions provided for reading line-by-line quickly. 35 This first example simply shows how to efficiently iterate over lines in stdin, 42 fn main() -> Result<(), Box<dyn Error>> { 43 let stdin = io::stdin(); 46 stdin.lock().for_byte_line_with_terminator(|line| { 56 This example shows how to count all of the words (Unicode-aware) in stdin, [all …]
|
| /external/cronet/stable/third_party/rust/chromium_crates_io/vendor/bstr-1.11.0/ |
| D | README.md | 4 their use as byte strings, where byte strings are _conventionally_ UTF-8. This 6 not required to be valid UTF-8, but may be fully or partially valid UTF-8. 20 <https://docs.rs/bstr/1.*/bstr/#when-should-i-use-byte-strings>. 23 incorrect to require valid UTF-8. 33 the I/O convenience functions provided for reading line-by-line quickly. 35 This first example simply shows how to efficiently iterate over lines in stdin, 42 fn main() -> Result<(), Box<dyn Error>> { 43 let stdin = io::stdin(); 46 stdin.lock().for_byte_line_with_terminator(|line| { 56 This example shows how to count all of the words (Unicode-aware) in stdin, [all …]
|
| /external/chromium-crossbench/crossbench/plt/ |
| D | android_adb.py | 2 # Use of this source code is governed by a BSD-style license that can be 24 def _find_adb_bin(platform: Platform) -> pth.AnyPath: 27 macos=["adb", "~/Library/Android/sdk/platform-tools/adb"], 29 win=["adb.exe", "Android/sdk/platform-tools/adb.exe"]) 39 adb_bin: Optional[pth.AnyPath] = None) -> Dict[str, Dict[str, str]]: 41 output = platform.sh_stdout(adb_bin, "devices", "-l") 50 def _parse_adb_device_info(value: str) -> Dict[str, str]: 65 adb_bin: Optional[pth.AnyPath] = None) -> None: 79 device_identifier: Optional[str] = None) -> Tuple[str, Dict[str, str]]: 108 def __str__(self) -> str: [all …]
|
| /external/libbrillo/brillo/minijail/ |
| D | minijail.cc | 2 // Use of this source code is governed by a BSD-style license that can be 99 int* stdin) { in RunPipe() argument 102 stdin, NULL, NULL) == 0; in RunPipe() 104 return minijail_run_pid_pipes(jail, args[0], args.data(), pid, stdin, NULL, in RunPipe() 112 int* stdin, in RunPipes() argument 117 stdin, stdout, stderr) == 0; in RunPipes() 119 return minijail_run_pid_pipes(jail, args[0], args.data(), pid, stdin, stdout, in RunPipes() 128 int* stdin, in RunEnvPipes() argument 133 env.data(), pid, stdin, stdout, in RunEnvPipes() 137 stdin, stdout, stderr) == 0; in RunEnvPipes() [all …]
|
| /external/zstd/tests/cli-tests/file-stat/ |
| D | compress-stdin-to-file.sh.stderr.exact | 5 Trace:FileStat: > UTIL_getFileSize(/*stdin*\) 6 Trace:FileStat: > UTIL_stat(-1, /*stdin*\) 8 Trace:FileStat: < -1 9 Trace:FileStat: > UTIL_isSameFile(/*stdin*\, file.zst) 10 Trace:FileStat: > UTIL_stat(-1, /*stdin*\) 14 Trace:FileStat: > UTIL_stat(-1, file.zst) 18 Trace:FileStat: > UTIL_stat(-1, file.zst) 21 Trace:FileStat: > UTIL_getFileSize(/*stdin*\) 22 Trace:FileStat: > UTIL_stat(-1, /*stdin*\) 24 Trace:FileStat: < -1
|
| /external/llvm-libc/src/__support/File/linux/ |
| D | stdin.cpp | 1 //===--- Definition of Linux stdin ----------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 18 static LinuxFile StdIn(0, stdin_buffer, STDIN_BUFFER_SIZE, _IOFBF, false, variable 20 File *stdin = &StdIn; variable 25 FILE *stdin = reinterpret_cast<FILE *>(&LIBC_NAMESPACE::StdIn); variable
|