Home
last modified time | relevance | path

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

12345678910>>...61

/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/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/python/cpython3/Lib/test/
Dtest_winconsoleio.py129 stdin = open('CONIN$', 'r')
130 old_stdin = sys.stdin
132 sys.stdin = stdin
134 stdin.buffer.raw,
139 sys.stdin = old_stdin
158 with open('CONIN$', 'rb', buffering=0) as stdin:
159 write_input(stdin, source)
163 b = stdin.read(read_count)
175 with open('CONIN$', 'rb', buffering=0) as stdin:
176 write_input(stdin, source)
[all …]
Dtest_subprocess.py95 stdin=subprocess.PIPE, stdout=subprocess.PIPE,
98 self.assertIsInstance(p.stdin, io.BufferedIOBase)
102 p.stdin.close()
109 stdin=subprocess.PIPE, stdout=subprocess.PIPE,
112 self.assertIsInstance(p.stdin, io.RawIOBase)
116 p.stdin.close()
178 stdin=tf)
207 stdin=tf, input=b'hare')
254 self.assertEqual(p.stdin, None)
282 stdin=subprocess.PIPE, stdout=subprocess.PIPE)
[all …]
/external/python/cpython3/Lib/asyncio/
Dsubprocess.py24 self.stdin = self.stdout = self.stderr = None
31 if self.stdin is not None:
58 self.stdin = streams.StreamWriter(stdin_transport,
75 pipe = self.stdin
111 self.stdin = protocol.stdin
138 self.stdin.write(input)
143 await self.stdin.drain()
151 self.stdin.close()
175 stdin = self._feed_stdin(input)
177 stdin = self._noop()
[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.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/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.c718 FGETS(ans, sizeof(ans), stdin); in main()
722 FGETS(ans, sizeof(ans), stdin); in main()
726 FGETS(ans, sizeof(ans), stdin); in main()
730 FGETS(ans, sizeof(ans), stdin); in main()
794 FGETS(ans, sizeof(ans), stdin); in main()
815 FGETS(ans, sizeof(ans), stdin); in main()
839 FGETS(ans, sizeof(ans), stdin); in main()
842 FGETS(ans, sizeof(ans), stdin); in main()
846 FGETS(ans, sizeof(ans), stdin); in main()
897 FGETS(ans, sizeof(ans), stdin); in main()
[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.t37 stdin:
46 stdin:
55 stdin:
65 stdin:
75 stdin:
85 stdin:
94 stdin:
103 stdin:
112 stdin:
122 stdin:
[all …]
/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/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/python/cpython3/Lib/
Dsubprocess.py657 stdin=None, stdout=None, stderr=None, argument
696 self.stdin = None
728 errread, errwrite) = self._get_handles(stdin, stdout, stderr)
753 self.stdin = io.open(p2cwrite, 'wb', bufsize)
755 self.stdin = io.TextIOWrapper(self.stdin, write_through=True,
778 for f in filter(None, (self.stdin, self.stdout, self.stderr)):
786 if stdin == PIPE:
828 if self.stdin:
829 self.stdin.close()
873 self.stdin.write(input)
[all …]
/external/syzkaller/pkg/symbolizer/
Dsymbolizer.go33 stdin io.Closer member
57 sub.stdin.Close()
69 stdin, err := cmd.StdinPipe()
75 stdin.Close()
79 stdin.Close()
85 stdin: stdin,
87 input: bufio.NewWriter(stdin),
/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,
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 …]
/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/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/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.py160 self.assertEqual(p.stdin, None)
188 stdin=subprocess.PIPE, stdout=subprocess.PIPE)
190 self.addCleanup(p.stdin.close)
217 stdin=subprocess.PIPE)
218 p.stdin.write("pear")
219 p.stdin.close()
231 stdin=d)
242 stdin=tf)
442 stdin=subprocess.PIPE)
467 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,

12345678910>>...61