Home
last modified time | relevance | path

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

12345678910>>...65

/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/GC/
Docaml-gc.ll4 ; CHECK-NEXT: .file "<stdin>"
7 ; CHECK: .globl "caml<stdin>__code_begin"
8 ; CHECK-NEXT: "caml<stdin>__code_begin":
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":
19 ; CHECK-NEXT: .globl "caml<stdin>__data_end"
20 ; CHECK-NEXT: "caml<stdin>__data_end":
22 ; CHECK-NEXT: .globl "caml<stdin>__frametable"
[all …]
/external/llvm/test/CodeGen/X86/GC/
Docaml-gc.ll4 ; CHECK-NEXT: .file "<stdin>"
7 ; CHECK: .globl "caml<stdin>__code_begin"
8 ; CHECK-NEXT: "caml<stdin>__code_begin":
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":
19 ; CHECK-NEXT: .globl "caml<stdin>__data_end"
20 ; CHECK-NEXT: "caml<stdin>__data_end":
22 ; CHECK-NEXT: .globl "caml<stdin>__frametable"
[all …]
/external/python/cpython3/Lib/test/
Dtest_winconsoleio.py127 stdin = open('CONIN$', 'r')
128 old_stdin = sys.stdin
130 sys.stdin = stdin
132 stdin.buffer.raw,
137 sys.stdin = old_stdin
156 with open('CONIN$', 'rb', buffering=0) as stdin:
157 write_input(stdin, source)
161 b = stdin.read(read_count)
173 with open('CONIN$', 'rb', buffering=0) as stdin:
174 write_input(stdin, source)
[all …]
/external/python/cpython3/Lib/asyncio/
Dsubprocess.py25 self.stdin = self.stdout = self.stderr = None
33 if self.stdin is not None:
60 self.stdin = streams.StreamWriter(stdin_transport,
77 pipe = self.stdin
112 if stream is self.stdin:
121 self.stdin = protocol.stdin
148 self.stdin.write(input)
153 await self.stdin.drain()
161 self.stdin.close()
185 stdin = self._feed_stdin(input)
[all …]
/external/elfutils/tests/
Drun-addr2line-test.sh21 tempfiles good.out stdin.nl stdin.nl.out stdin.nonl stdin.nonl.out foo.out
46 cat > stdin.nl <<\EOF
58 cat stdin.nl | testrun ${abs_top_builddir}/src/addr2line -f -e testfile > stdin.nl.out || exit 1
59 cmp good.out stdin.nl.out || exit 1
67 echo -n "0x08048468" | testrun ${abs_top_builddir}/src/addr2line -f -e testfile > stdin.nonl.out ||…
68 cmp foo.out stdin.nonl.out || exit 1
71 echo -n "foo" | testrun ${abs_top_builddir}/src/addr2line -f -e testfile > stdin.nl.out || exit 1
72 cmp foo.out stdin.nonl.out || exit 1
107 cat stdin.nl | testrun ${abs_top_builddir}/src/addr2line -a -f -e testfile > stdin.nl.out || exit 1
108 cmp good.addr.out stdin.nl.out || exit 1
/external/selinux/libselinux/src/
Dquery_user_context.c24 fflush(stdin); in context_menu()
25 if (fgets(response, sizeof(response), stdin) == NULL) in context_menu()
27 fflush(stdin); in context_menu()
50 fflush(stdin); in query_user_context()
51 if (fgets(response, sizeof(response), stdin) == NULL) in query_user_context()
53 fflush(stdin); in query_user_context()
84 fflush(stdin); in get_field()
85 if (fgets(newfield, newfieldlen, stdin) == NULL) in get_field()
87 fflush(stdin); in get_field()
133 if (fgets(response, sizeof(response), stdin) == NULL in manual_user_enter_context()
/external/python/cpython2/Demo/pysvr/
Dpysvr.py62 stdin = conn.makefile("r")
64 run_interpreter(stdin, stdout)
67 def run_interpreter(stdin, stdout): argument
76 line = stdin.readline()
94 run_command(code, stdin, stdout, globals)
105 def run_command(code, stdin, stdout, globals): argument
106 save = sys.stdin, sys.stdout, sys.stderr
109 sys.stdin = stdin
120 sys.stdin, sys.stdout, sys.stderr = save
/external/toolchain-utils/compiler_wrapper/
Denv.go19 stdin() io.Reader methodSpec
22 run(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error
61 func (env *processEnv) stdin() io.Reader { func
77 func (env *processEnv) run(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error…
78 return runCmd(env, cmd, stdin, stdout, stderr)
95 func (env *commandRecordingEnv) stdin() io.Reader { func
102 return env.run(cmd, env.stdin(), env.stdout(), env.stderr())
105 func (env *commandRecordingEnv) run(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writ…
108 …err := env.env.run(cmd, stdin, io.MultiWriter(stdout, stdoutBuffer), io.MultiWriter(stderr, stderr…
131 func (env *printingEnv) run(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) erro…
[all …]
Dclang_syntax_flag_test.go18 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
45 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
65 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
69 stdinStr := ctx.readAllString(stdin)
83 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
99 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
118 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
138 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
163 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
Dcompile_with_fallback_test.go29 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
47 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
73 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
100 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
123 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
143 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
144 stdinStr := ctx.readAllString(stdin)
178 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
216 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
251 ctx.cmdMock = func(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
/external/libbrillo/brillo/minijail/
Dminijail.cc88 int* stdin) { in RunPipe() argument
91 stdin, NULL, NULL) == 0; in RunPipe()
93 return minijail_run_pid_pipes(jail, args[0], args.data(), pid, stdin, NULL, in RunPipe()
101 int* stdin, in RunPipes() argument
106 stdin, stdout, stderr) == 0; in RunPipes()
108 return minijail_run_pid_pipes(jail, args[0], args.data(), pid, stdin, stdout, in RunPipes()
132 int* stdin) { in RunPipeAndDestroy() argument
133 bool res = RunPipe(jail, args, pid, stdin); in RunPipeAndDestroy()
141 int* stdin, in RunPipesAndDestroy() argument
144 bool res = RunPipes(jail, args, pid, stdin, stdout, stderr); in RunPipesAndDestroy()
/external/python/cpython2/Lib/
Dsubprocess.py335 stdin=None, stdout=None, stderr=None, argument
349 if close_fds and (stdin is not None or stdout is not None or
362 self.stdin = None
386 errread, errwrite), to_close = self._get_handles(stdin, stdout, stderr)
419 self.stdin = os.fdopen(p2cwrite, 'wb', bufsize)
463 if [self.stdin, self.stdout, self.stderr].count(None) >= 2:
466 if self.stdin:
469 self.stdin.write(input)
473 self.stdin.close()
496 def _get_handles(self, stdin, stdout, stderr): argument
[all …]
/external/libxkbcommon/xkbcommon/test/
Dfilecomp.c56 fclose(stdin); in main()
58 assert(!xkb_keymap_new_from_file(ctx, stdin, 0, 0)); in main()
59 assert(!xkb_keymap_new_from_file(ctx, stdin, XKB_KEYMAP_USE_ORIGINAL_FORMAT, 0)); in main()
60 assert(!xkb_keymap_new_from_file(ctx, stdin, 1234, 0)); in main()
61 assert(!xkb_keymap_new_from_file(ctx, stdin, XKB_KEYMAP_FORMAT_TEXT_V1, -1)); in main()
62 assert(!xkb_keymap_new_from_file(ctx, stdin, XKB_KEYMAP_FORMAT_TEXT_V1, 1234)); in main()
/external/selinux/checkpolicy/
Dcheckpolicy.c736 FGETS(ans, sizeof(ans), stdin); in main()
740 FGETS(ans, sizeof(ans), stdin); in main()
744 FGETS(ans, sizeof(ans), stdin); in main()
748 FGETS(ans, sizeof(ans), stdin); in main()
812 FGETS(ans, sizeof(ans), stdin); in main()
833 FGETS(ans, sizeof(ans), stdin); in main()
857 FGETS(ans, sizeof(ans), stdin); in main()
860 FGETS(ans, sizeof(ans), stdin); in main()
864 FGETS(ans, sizeof(ans), stdin); in main()
915 FGETS(ans, sizeof(ans), stdin); in main()
[all …]
/external/clang/test/Analysis/
Dglobal-region-invalidation.c30 fscanf(stdin, "%d", &i); in stdinTest()
33 fscanf(stdin, "%d", &i); in stdinTest()
42 fscanf(stdin, "%d", &i); in testErrnoSystem()
44 fscanf(stdin, "%d", &i); // errno gets invalidated here. in testErrnoSystem()
49 fscanf(stdin, "%d", &i); // errno gets invalidated here. in testErrnoSystem()
57 fscanf(stdin, "%d", &i); in testErrnoInternal()
Dtaint-tester.c92 fscanf(stdin, "%s %d", s, &t); in fscanfTest()
113 fscanf(stdin, "%d", &i); in stdinTest1()
117 FILE *p = stdin; in stdinTest2()
136 FILE **ppp = &stdin; in stdinTest3()
146 fscanf(stdin, "%d", &i); in stdinTest4()
153 int i = getw(stdin); // expected-warning + {{tainted}} in getwTest()
165 while ((read = getline(&line, &len, stdin)) != -1) { in getlineTest()
/external/u-boot/doc/
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 …]
/external/mksh/src/
Dcheck.t37 stdin:
46 stdin:
55 stdin:
65 stdin:
75 stdin:
85 stdin:
94 stdin:
103 stdin:
112 stdin:
122 stdin:
[all …]
/external/curl/tests/data/
Dtest9829 HTTP PUT from stdin with set size, disabling chunked transfer-encoding
34 <stdin>
35 data on stdin
36 </stdin>
52 data on stdin
/external/protobuf/examples/
DAddPerson.java15 static Person PromptForAddress(BufferedReader stdin, in PromptForAddress() argument
20 person.setId(Integer.valueOf(stdin.readLine())); in PromptForAddress()
23 person.setName(stdin.readLine()); in PromptForAddress()
26 String email = stdin.readLine(); in PromptForAddress()
33 String number = stdin.readLine(); in PromptForAddress()
42 String type = stdin.readLine(); in PromptForAddress()
/external/autotest/client/bin/
Dprespawner.py29 env, sys.argv = pickle.load(sys.stdin)
69 pickle.dump((new_env, args), process.stdin, protocol=2)
70 process.stdin.close()
83 stdin=subprocess.PIPE)
110 pickle.dump((None, None), process.stdin, protocol=2)
111 process.stdin.close()
/external/u-boot/tools/patman/
Dcros_subprocess.py56 def __init__(self, args, stdin=None, stdout=PIPE_PTY, stderr=PIPE_PTY, argument
83 super(Popen, self).__init__(args, stdin=stdin,
162 if self.stdin:
165 self.stdin.flush()
167 write_set.append(self.stdin)
169 self.stdin.close()
190 if self.stdin in wlist:
195 bytes_written = os.write(self.stdin.fileno(), chunk)
198 self.stdin.close()
199 write_set.remove(self.stdin)
[all …]
/external/python/cpython3/Lib/
Dsubprocess.py733 stdin=None, stdout=None, stderr=None, argument
772 self.stdin = None
804 errread, errwrite) = self._get_handles(stdin, stdout, stderr)
838 self.stdin = io.open(p2cwrite, 'wb', bufsize)
840 self.stdin = io.TextIOWrapper(self.stdin, write_through=True,
863 for f in filter(None, (self.stdin, self.stdout, self.stderr)):
871 if stdin == PIPE:
913 if self.stdin:
914 self.stdin.close()
958 self.stdin.write(input)
[all …]
/external/python/cpython2/Lib/test/
Dtest_pdb.py27 stdin=subprocess.PIPE,
32 proc.stdin.close()
91 self.real_stdin = sys.stdin
92 sys.stdin = _FakeInput(self.input)
95 sys.stdin = self.real_stdin
371 stdin=subprocess.PIPE,
/external/clang/tools/clang-format/
Dgit-clang-format287 p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
288 p.stdin.close()
368 p = subprocess.Popen(cmd, stdin=subprocess.PIPE)
370 p.stdin.write('%s\0' % line)
371 p.stdin.close()
395 git_show = subprocess.Popen(git_show_cmd, stdin=subprocess.PIPE,
397 git_show.stdin.close()
404 clang_format = subprocess.Popen(clang_format_cmd, stdin=clang_format_stdin,
407 clang_format_stdin = clang_format.stdin
415 hash_object = subprocess.Popen(hash_object_cmd, stdin=clang_format.stdout,
[all …]

12345678910>>...65