Home
last modified time | relevance | path

Searched refs:stdout (Results 1 – 25 of 425) sorted by relevance

12345678910>>...17

/llvm-project-15.0.7/lldb/third_party/Python/module/progress/
H A Dprogress.py99 stdout=sys.stdout): argument
111 self.stdout = stdout
114 if hasattr(self.stdout, 'isatty') and self.stdout.isatty():
115 self.stdout.write('\r')
117 self.stdout.write('\n')
119 self.stdout.flush()
137 stdout=sys.stdout): argument
149 stdout)
159 isatty = hasattr(self.stdout, 'isatty') and self.stdout.isatty()
167 self.stdout.write('\n')
[all …]
/llvm-project-15.0.7/llvm/utils/reduce_pipeline_test/
H A Dtest.py10 stdout = run.stdout.decode()
11 stdout = stdout[:stdout.rfind('\n')]
12 stdout = stdout[stdout.rfind('\n') + 1:]
13 return stdout
27 stdout=subprocess.PIPE,
43 stdout=subprocess.PIPE,
56 stdout=subprocess.PIPE,
70 stdout=subprocess.PIPE,
84 stdout=subprocess.PIPE,
98 stdout=subprocess.PIPE,
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dsetvbuf.cpp19 setbuf(stdout, NULL); in test_setbuf()
23 setbuf(stdout, buf); in test_setbuf()
29 setbuf(stdout, NULL); in test_setbuf()
35 setbuffer(stdout, NULL, 0); in test_setbuffer()
41 setbuffer(stdout, buf, BUFSIZ / 2); in test_setbuffer()
47 setbuffer(stdout, NULL, 0); in test_setbuffer()
51 setlinebuf(stdout); in test_setlinebuf()
59 setvbuf(stdout, NULL, _IONBF, 0); in test_setvbuf()
63 setvbuf(stdout, buf, _IOLBF, BUFSIZ); in test_setvbuf()
69 setvbuf(stdout, buf, _IOFBF, BUFSIZ); in test_setvbuf()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/tool/
H A Dclang-include-fixer.el122 :buffer stdout
172 (cl-check-type stdout buffer-live)
183 (funcall callback stdout))
184 (kill-buffer stdout))
185 (when stderr (kill-buffer stdout))
187 (with-current-buffer (or stderr stdout)
190 (display-buffer (or stderr stdout))))
195 (cl-check-type stdout buffer-live)
245 (defun clang-include-fixer--add-header (stdout)
251 (cl-check-type stdout buffer-live)
[all …]
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Windows/
H A Ddll_control_c.cpp14 fflush(stdout); in CrashOnProcessDetach()
23 fflush(stdout); in DllMain()
28 fflush(stdout); in DllMain()
37 fflush(stdout); in run_child()
41 fflush(stdout); in run_child()
54 fflush(stdout); in run_parent()
85 fflush(stdout); in run_parent()
92 fflush(stdout); in run_parent()
100 fflush(stdout); in run_parent()
107 fflush(stdout); in run_parent()
/llvm-project-15.0.7/lld/test/MachO/Inputs/
H A DDependencyDump.py12 sys.stdout.write("lld-version: ")
14 sys.stdout.write("input-file: ")
16 sys.stdout.write("not-found: ")
18 sys.stdout.write("output-file: ")
21 sys.stdout.write(byte.decode("ascii"))
23 sys.stdout.write("\n")
/llvm-project-15.0.7/clang/tools/clang-format/
H A Dgit-clang-format295 stdout, stderr = p.communicate()
298 return convert_string(stdout.strip())
305 diff_process.stdout.close()
416 mode = oct(int(stdout.split()[0], 8))
470 clang_format_stdin = git_show.stdout
489 clang_format.stdout.close()
490 stdout = hash_object.communicate()[0]
594 stdout, stderr = p.communicate(input=stdin)
596 stdout = convert_string(stdout)
605 stdout = stdout.rstrip('\r\n')
[all …]
/llvm-project-15.0.7/llvm/utils/
H A Dreduce_pipeline.py74 stdout=subprocess.PIPE,
82 stdout = opt.stdout.decode() variable
83 stdout = stdout[:stdout.rfind('\n')] variable
84 lst = pipeline.fromStr(stdout)
95 opt = subprocess.run(run_args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
133 stdout=subprocess.PIPE,
141 stdout=subprocess.PIPE,
168 stdout=subprocess.PIPE,
194 stdout=subprocess.PIPE,
H A Dschedcover.py45 sys.stdout.write("instruction")
47 sys.stdout.write(", {}".format(model))
48 sys.stdout.write(os.linesep)
51 sys.stdout.write(instr)
54 sys.stdout.write(", {}".format(mapping[model]))
56 sys.stdout.write(", ")
57 sys.stdout.write(os.linesep)
H A Dextract_symbols.py34 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
37 for line in process.stdout:
54 for line in process.stdout:
68 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
71 for line in process.stdout:
98 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
102 for line in process.stdout:
107 process.stdout.close()
376 p = subprocess.Popen([exe], stdout=subprocess.PIPE,
380 p.stdout.close()
[all …]
/llvm-project-15.0.7/llvm/utils/lit/lit/
H A DProgressBar.py184 sys.stdout.write(self.header)
198 sys.stdout.write('.')
200 sys.stdout.write(' ')
201 sys.stdout.flush()
206 sys.stdout.write('\n')
207 sys.stdout.flush()
248 sys.stdout.write(self.header)
270 sys.stdout.write(
276 sys.stdout.flush()
285 sys.stdout.write('^C')
[all …]
/llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Dredirects.txt1 # Check stdout redirect (> and >>).
3 # RUN: echo "not-present" > %t.stdout-write
4 # RUN: echo "is-present" > %t.stdout-write
5 # RUN: FileCheck --check-prefix=STDOUT-WRITE < %t.stdout-write %s
10 # RUN: echo "appended-line" >> %t.stdout-write
11 # RUN: FileCheck --check-prefix=STDOUT-APPEND < %t.stdout-write %s
36 # RUN: %{python} %S/write-to-stdout-and-stderr.py &> %t.combined
40 # COMBINED-WRITE: a line on stdout
/llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Lua/
H A Dio.test3 # RUN: rm -rf %t.stderr %t.stdout
4 # RUN: cat %s | %lldb --script-language lua 2> %t.stderr > %t.stdout
5 # RUN: cat %t.stdout | FileCheck %s --check-prefix STDOUT
19 # RUN: rm -rf %t.stderr %t.stdout
20 …%lldb --script-language lua -o 'script io.stderr:write(95000 + 126, "\n")' 2> %t.stderr > %t.stdout
21 # RUN: cat %t.stdout | FileCheck %s --check-prefix STDOUT
H A Dprint.test3 # RUN: rm -rf %t.stderr %t.stdout
4 # RUN: cat %s | %lldb --script-language lua 2> %t.stderr > %t.stdout
5 # RUN: cat %t.stdout | FileCheck %s --check-prefix STDOUT
20 # RUN: rm -rf %t.stderr %t.stdout
21 # RUN: %lldb --script-language lua -o 'script print(95000 + 126, nil, "a")' 2> %t.stderr > %t.stdout
22 # RUN: cat %t.stdout | FileCheck %s --check-prefix STDOUT
H A Dlua.test1 # RUN: %lldb --script-language lua -o 'script io.stdout:write(1000+100+10+1, "\n")' 2>&1 | FileChec…
2 # RUN: %lldb --script-language lua -o 'script -- io.stdout:write(1000+100+10+1, "\n")' 2>&1 | FileC…
3 # RUN: %lldb --script-language lua -o 'script --language default -- io.stdout:write(1000+100+10+1, …
4 # RUN: %lldb -o 'script -l lua -- io.stdout:write(1000+100+10+1, "\n")' 2>&1 | FileCheck %s
5 # RUN: %lldb -o 'script --language lua -- io.stdout:write(1000+100+10+1, "\n")' 2>&1 | FileCheck %s
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DCRunnerUtils.cpp40 extern "C" void printI64(int64_t i) { fprintf(stdout, "%" PRId64, i); } in printI64()
41 extern "C" void printU64(uint64_t u) { fprintf(stdout, "%" PRIu64, u); } in printU64()
42 extern "C" void printF32(float f) { fprintf(stdout, "%g", f); } in printF32()
43 extern "C" void printF64(double d) { fprintf(stdout, "%lg", d); } in printF64()
44 extern "C" void printOpen() { fputs("( ", stdout); } in printOpen()
45 extern "C" void printClose() { fputs(" )", stdout); } in printClose()
46 extern "C" void printComma() { fputs(", ", stdout); } in printComma()
47 extern "C" void printNewline() { fputc('\n', stdout); } in printNewline()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/
H A Dexitcode.cpp20 fflush(stdout); in spawn_child()
41 fflush(stdout); in spawn_child()
50 fflush(stdout); in spawn_child()
93 fflush(stdout); in spawn_child()
106 fflush(stdout); in spawn_child()
126 fflush(stdout); in main()
/llvm-project-15.0.7/polly/lib/External/isl/imath/tests/
H A Drtest.c69 print_buf(buf, msg_len, 16, stdout); in main()
70 fputc('\n', stdout); in main()
79 print_buf(buf, buf_len, 16, stdout); in main()
80 fputc('\n', stdout); in main()
89 print_buf(buf, msg_len, 16, stdout); in main()
90 fputc('\n', stdout); in main()
/llvm-project-15.0.7/llvm-libgcc/
H A Dgenerate_version_script.py77 stdout = result.stdout.decode('utf-8')
78 stdout = filter(lambda x: 'FUNC' in x and 'UND' not in x,
79 stdout.split('\n'))
80 stdout = chain(
81 map(lambda x: filter(None, x), (i.split(' ') for i in stdout)))
83 return [list(i)[7] for i in stdout]
/llvm-project-15.0.7/clang/tools/c-arcmt-test/
H A Dc-arcmt-test.c26 fprintf(stdout, "%s\n", clang_getCString(origFname)); in print_remappings()
27 fprintf(stdout, "%s\n", clang_getCString(transFname)); in print_remappings()
51 fprintf(stdout, "%s\n", clang_getCString(origFname)); in print_remappings_filelist()
52 fprintf(stdout, "%s\n", clang_getCString(transFname)); in print_remappings_filelist()
105 fflush(stdout); in flush_atexit()
117 _setmode( _fileno(stdout), _O_BINARY ); in main()
/llvm-project-15.0.7/compiler-rt/test/crt/
H A Dlit.cfg.py29 stdout=subprocess.PIPE,
32 if not cmd.stdout:
34 dir = cmd.stdout.read().strip()
45 stdout=subprocess.PIPE,
48 if not cmd.stdout:
50 dir = cmd.stdout.read().strip()
/llvm-project-15.0.7/llvm/test/tools/llvm-reduce/mir/
H A Dinstr-reduce.py5 …einstrs', '-mtriple=riscv32', '-run-pass=none', '-o', '-', sys.argv[1]], stdout=PIPE, stderr=PIPE )
7 stdout = llc.stdout.decode() variable
11 if (llc.returncode == 0 and p.search(stdout)):
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/Inputs/
H A Dungzip.py5 writer = getattr(sys.stdout, 'buffer', None)
7 writer = sys.stdout
10 msvcrt.setmode(sys.stdout.fileno(),os.O_BINARY)
13 sys.stdout.flush()
/llvm-project-15.0.7/llvm/utils/git/
H A Dpre-push.py99 p = subprocess.Popen(cmd, cwd=cwd, stdout=subprocess.PIPE, stderr=err_pipe,
102 stdout, stderr = p.communicate(input=stdin)
114 stdout = stdout.rstrip('\r\n')
116 stdout = stdout.rstrip(b'\r\n')
118 for l in stdout.splitlines():
120 return stdout
/llvm-project-15.0.7/clang/utils/
H A DCmpDriver95 self.stdout = out
118 stdout=subprocess.PIPE,
137 if infoA.stdout != infoB.stdout:
139 print 'A OUTPUT: ',infoA.stdout
140 print 'B OUTPUT: ',infoB.stdout
143 diff = ZipperDiff(infoA.stdout.split('\n'),
144 infoB.stdout.split('\n'))

12345678910>>...17