Home
last modified time | relevance | path

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

12345678910>>...52

/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/asyncio/
Dsubprocess.py25 self.stdin = self.stdout = self.stderr = None
32 if self.stdin is not None:
33 info.append('stdin=%r' % self.stdin)
59 self.stdin = streams.StreamWriter(stdin_transport,
76 pipe = self.stdin
112 self.stdin = protocol.stdin
143 self.stdin.write(input)
148 yield from self.stdin.drain()
156 self.stdin.close()
183 stdin = self._feed_stdin(input)
[all …]
Dbase_subprocess.py15 stdin, stdout, stderr, bufsize, argument
29 if stdin == subprocess.PIPE:
38 self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,
70 stdin = self._pipes.get(0)
71 if stdin is not None:
72 info.append('stdin=%s' % stdin.pipe)
86 def _start(self, args, shell, stdin, stdout, stderr, bufsize, **kwargs): argument
168 if proc.stdin is not None:
171 proc.stdin)
/external/python/cpython3/Lib/test/
Dtest_winconsoleio.py125 stdin = open('CONIN$', 'r')
126 old_stdin = sys.stdin
128 sys.stdin = stdin
130 stdin.buffer.raw,
135 sys.stdin = old_stdin
154 with open('CONIN$', 'rb', buffering=0) as stdin:
155 write_input(stdin, source)
159 b = stdin.read(read_count)
171 with open('CONIN$', 'rb', buffering=0) as stdin:
172 write_input(stdin, source)
[all …]
Dtest_subprocess.py84 stdin=subprocess.PIPE, stdout=subprocess.PIPE,
87 self.assertIsInstance(p.stdin, io.BufferedIOBase)
91 p.stdin.close()
98 stdin=subprocess.PIPE, stdout=subprocess.PIPE,
101 self.assertIsInstance(p.stdin, io.RawIOBase)
105 p.stdin.close()
167 stdin=tf)
196 stdin=tf, input=b'hare')
243 self.assertEqual(p.stdin, None)
271 stdin=subprocess.PIPE, stdout=subprocess.PIPE)
[all …]
Dtest_cmd_line.py121 p.stdin.write(b'Timer\n')
122 p.stdin.write(b'exit()\n')
235 p.stdin.write(b'x')
236 p.stdin.flush()
283 stdin=subprocess.PIPE,
289 p.stdin.write(ascii(text).encode('ascii') + b"\n")
290 p.stdin.write(b'exit()\n')
296 with tempfile.NamedTemporaryFile("wb+") as stdin:
298 stdin.write(sep.join((b'abc', b'def')))
299 stdin.flush()
[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/python/cpython2/Lib/
Dsubprocess.py331 stdin=None, stdout=None, stderr=None, argument
345 if close_fds and (stdin is not None or stdout is not None or
358 self.stdin = None
382 errread, errwrite), to_close = self._get_handles(stdin, stdout, stderr)
415 self.stdin = os.fdopen(p2cwrite, 'wb', bufsize)
459 if [self.stdin, self.stdout, self.stderr].count(None) >= 2:
462 if self.stdin:
465 self.stdin.write(input)
469 self.stdin.close()
492 def _get_handles(self, stdin, stdout, stderr): argument
[all …]
/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/selinux/checkpolicy/
Dcheckpolicy.c712 FGETS(ans, sizeof(ans), stdin); in main()
716 FGETS(ans, sizeof(ans), stdin); in main()
720 FGETS(ans, sizeof(ans), stdin); in main()
724 FGETS(ans, sizeof(ans), stdin); in main()
788 FGETS(ans, sizeof(ans), stdin); in main()
809 FGETS(ans, sizeof(ans), stdin); in main()
833 FGETS(ans, sizeof(ans), stdin); in main()
836 FGETS(ans, sizeof(ans), stdin); in main()
840 FGETS(ans, sizeof(ans), stdin); in main()
891 FGETS(ans, sizeof(ans), stdin); in main()
[all …]
/external/python/cpython3/Lib/
Dsubprocess.py587 stdin=None, stdout=None, stderr=None, argument
613 any_stdio_set = (stdin is not None or stdout is not None or
639 self.stdin = None
665 errread, errwrite) = self._get_handles(stdin, stdout, stderr)
685 self.stdin = io.open(p2cwrite, 'wb', bufsize)
687 self.stdin = io.TextIOWrapper(self.stdin, write_through=True,
710 for f in filter(None, (self.stdin, self.stdout, self.stderr)):
718 if stdin == PIPE:
747 if self.stdin:
748 self.stdin.close()
[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/mksh/src/
Dcheck.t36 stdin:
45 stdin:
54 stdin:
64 stdin:
74 stdin:
84 stdin:
93 stdin:
102 stdin:
111 stdin:
121 stdin:
[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/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/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/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 …]
/external/python/cpython2/Lib/test/
Dtest_subprocess.py144 self.assertEqual(p.stdin, None)
172 stdin=subprocess.PIPE, stdout=subprocess.PIPE)
174 self.addCleanup(p.stdin.close)
201 stdin=subprocess.PIPE)
202 p.stdin.write("pear")
203 p.stdin.close()
215 stdin=d)
226 stdin=tf)
386 stdin=subprocess.PIPE)
411 stdin=subprocess.PIPE,
[all …]
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/antlr/antlr-3.4/runtime/Python/tests/
Dt054main.py95 stdin=StringIO(input),
121 stdin=StringIO(input),
149 stdin=StringIO(input),
180 stdin=StringIO(input),
221 stdin=StringIO("a+b"),
264 stdin=StringIO("a+b"),
309 stdin=StringIO("b"),
/external/autotest/client/tests/unixbench/
Dunixbench.patch24 if [ -z "${stdin-}" ]; then
25 # without redirected stdin
29 # with redirected stdin
30 - /usr/bin/time $prog $opt $bg <$stdin 2>>$TMPTIMES >>$stdout
31 + time $prog $opt $bg <$stdin 2>>$TMPTIMES >>$stdout

12345678910>>...52