Home
last modified time | relevance | path

Searched refs:PIPE (Results 1 – 25 of 621) sorted by relevance

12345678910>>...25

/external/selinux/python/semanage/
Dtest-semanage.py3 from subprocess import Popen, PIPE
33 p = Popen(['semanage', object, '-E'], stdout=PIPE)
39 p = Popen(['semanage', "export", '-f', '/tmp/out'], stdout=PIPE)
43 p = Popen(["semanage", "export", "-S", "targeted", "-f", "-"], stdout=PIPE)
47 p = Popen(["semanage", "-S", "targeted", "-o", "-"], stdout=PIPE)
51 p = Popen(['semanage', "import", '-f', '/tmp/out'], stdout=PIPE)
55 p = Popen(["semanage", "import", "-S", "targeted", "-f", "/tmp/out"], stdout=PIPE)
59 p = Popen(["semanage", "-S", "targeted", "-i", "/tmp/out"], stdout=PIPE)
68 p = Popen(['semanage', object, '-l'], stdout=PIPE)
77 p = Popen(['semanage', object, '-lC'], stdout=PIPE)
[all …]
/external/selinux/sandbox/
Dtest_sandbox.py6 from subprocess import Popen, PIPE
29 p1 = Popen(['cat', '/etc/passwd'], stdout=PIPE)
30 p2 = Popen([sys.executable, 'sandbox', 'grep', 'root'], stdin=p1.stdout, stdout=PIPE)
38 p = Popen([sys.executable, 'sandbox', 'kill', '-HUP', str(pid)], stdout=PIPE, stderr=PIPE)
44 … p = Popen([sys.executable, 'sandbox', 'ping', '-c 1 ', '127.0.0.1'], stdout=PIPE, stderr=PIPE)
50 p = Popen([sys.executable, 'sandbox', 'mkdir', '~/test'], stdout=PIPE, stderr=PIPE)
56 p = Popen([sys.executable, 'sandbox', 'ls', '~'], stdout=PIPE, stderr=PIPE)
62 p = Popen([sys.executable, 'sandbox', 'mail'], stdout=PIPE, stderr=PIPE)
68 p = Popen([sys.executable, 'sandbox', 'sudo'], stdout=PIPE, stderr=PIPE)
74 p = Popen([sys.executable, 'sandbox', '-M', 'id'], stdout=PIPE, stderr=PIPE)
[all …]
/external/selinux/python/sepolicy/
Dtest_sepolicy.py5 from subprocess import Popen, PIPE
28 p = Popen(['sepolicy', 'manpage', '-d', 'httpd_t'], stdout=PIPE)
34 p = Popen(['sepolicy', 'manpage', '-a'], stdout=PIPE)
40 p = Popen(['sepolicy', 'network', '-l'], stdout=PIPE)
46 p = Popen(['sepolicy', 'network', '-t', 'http_port_t'], stdout=PIPE)
52 p = Popen(['sepolicy', 'network', '-p', '80'], stdout=PIPE)
58 p = Popen(['sepolicy', 'network', '-d', 'httpd_t'], stdout=PIPE)
64 p = Popen(['sepolicy', 'transition', '-s', 'httpd_t'], stdout=PIPE)
70 p = Popen(['sepolicy', 'transition', '-s', 'httpd_t', '-t', 'sendmail_t'], stdout=PIPE)
76 p = Popen(['sepolicy', 'booleans', '-a'], stdout=PIPE)
[all …]
/external/python/cpython2/Lib/test/
Dtest_subprocess.py156 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
178 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
188 stdin=subprocess.PIPE, stdout=subprocess.PIPE)
217 stdin=subprocess.PIPE)
250 stdout=subprocess.PIPE)
279 stderr=subprocess.PIPE)
317 stdout=subprocess.PIPE,
318 stderr=subprocess.PIPE)
332 stdout=subprocess.PIPE,
363 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
[all …]
/external/python/cpython3/Lib/test/
Dtest_subprocess.py106 stdin=subprocess.PIPE, stdout=subprocess.PIPE,
107 stderr=subprocess.PIPE)
120 stdin=subprocess.PIPE, stdout=subprocess.PIPE,
121 stderr=subprocess.PIPE, bufsize=0)
260 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
282 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
292 stdin=subprocess.PIPE, stdout=subprocess.PIPE)
380 stdout=subprocess.PIPE,
476 stdin=subprocess.PIPE)
511 stdout=subprocess.PIPE)
[all …]
Dtest_cmd_line.py95 PIPE = subprocess.PIPE
96 p = subprocess.Popen(cmd, stdout=PIPE, stderr=PIPE)
173 stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
208 stdout=subprocess.PIPE,
236 proc = subprocess.run(args, stdout=subprocess.PIPE,
237 stderr=subprocess.PIPE, text=True, check=True)
306 stdin=subprocess.PIPE,
307 stdout=subprocess.PIPE,
326 stdin=stdin, stdout=subprocess.PIPE) as proc:
409 stdin=subprocess.PIPE,
[all …]
/external/llvm-project/lldb/test/API/functionalities/reproducers/attach/
DTestReproducerAttach.py53 stdin=subprocess.PIPE,
54 stdout=subprocess.PIPE,
55 stderr=subprocess.PIPE)
64 stdin=subprocess.PIPE,
65 stdout=subprocess.PIPE,
66 stderr=subprocess.PIPE)
/external/capstone/suite/cstest/
Dcstest_report.py6 from subprocess import Popen, PIPE
17 process = Popen(cmd, stdout=PIPE, stderr=PIPE)
55 sed_proc = Popen(tmp_cmd, stdout=PIPE, stderr=PIPE)
58 rm_proc = Popen(tmp_cmd2, stdout=PIPE, stderr=PIPE)
/external/selinux/dbus/
Dselinux_server.py11 from subprocess import Popen, PIPE, STDOUT
27 …p = Popen(["/usr/sbin/semanage", "import"], stdout=PIPE, stderr=PIPE, stdin=PIPE, universal_newlin…
41 … p = Popen(["/usr/sbin/semanage", "export"], stdout=PIPE, stderr=PIPE, universal_newlines=True)
55 …p = Popen(["/usr/sbin/semodule", "--list=full"], stdout=PIPE, stderr=PIPE, universal_newlines=True)
/external/python/cpython3/Lib/asyncio/
Dwindows_utils.py24 PIPE = subprocess.PIPE variable
135 if stdin == PIPE:
140 if stdout == PIPE:
145 if stderr == PIPE:
168 if stdin == PIPE:
170 if stdout == PIPE:
172 if stderr == PIPE:
/external/llvm-project/clang/tools/clang-format/
Dgit-clang-format264 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
295 p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
369 git_metadata = subprocess.Popen(git_metadata_cmd, stdin=subprocess.PIPE,
370 stdout=subprocess.PIPE)
396 p = subprocess.Popen(cmd, stdin=subprocess.PIPE)
423 git_show = subprocess.Popen(git_show_cmd, stdin=subprocess.PIPE,
424 stdout=subprocess.PIPE)
430 clang_format_stdin = subprocess.PIPE
433 stdout=subprocess.PIPE)
434 if clang_format_stdin == subprocess.PIPE:
[all …]
/external/clang/tools/clang-format/
Dgit-clang-format256 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
287 p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
368 p = subprocess.Popen(cmd, stdin=subprocess.PIPE)
395 git_show = subprocess.Popen(git_show_cmd, stdin=subprocess.PIPE,
396 stdout=subprocess.PIPE)
402 clang_format_stdin = subprocess.PIPE
405 stdout=subprocess.PIPE)
406 if clang_format_stdin == subprocess.PIPE:
416 stdout=subprocess.PIPE)
509 p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
[all …]
/external/llvm-project/llvm/utils/
Dextract_symbols.py34 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
47 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
51 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
63 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
93 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
366 p = subprocess.Popen([exe], stdout=subprocess.PIPE,
367 stderr=subprocess.PIPE,
368 stdin=subprocess.PIPE,
/external/capstone/suite/
Dtest_mc.py4 from subprocess import Popen, PIPE, STDOUT
49 …ssemble', '-print-imm-hex', '-mattr=+msa', syntax] + option, stdout=PIPE, stdin=PIPE, stderr=STDOU…
51 …lvm-mc', '-disassemble', '-print-imm-hex', syntax] + option, stdout=PIPE, stdin=PIPE, stderr=STDOU…
54 …, '-disassemble', '-print-imm-hex', '-mattr=+msa'] + option, stdout=PIPE, stdin=PIPE, stderr=STDOU…
56 …open(['llvm-mc', '-disassemble', '-print-imm-hex'] + option, stdout=PIPE, stdin=PIPE, stderr=STDOU…
/external/python/setuptools/setuptools/tests/
Dtest_windows_wrappers.py100 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
137 …proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.STDO…
175 …proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.STDO…
/external/bc/tests/
Drandmath.py105 p2 = subprocess.run(args, input=indata.encode(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
186 p = subprocess.run(args, input=indata.encode(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
205 p = subprocess.run(args, input=indata.encode(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
278 p = subprocess.run(args, input=indata.encode(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
285 p = subprocess.run(args, input=indata.encode(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
/external/llvm-project/compiler-rt/test/profile/Linux/
Dlit.local.cfg.py14 ld_cmd = subprocess.Popen([config.gold_executable, '--help'], stdout = subprocess.PIPE)
27 stdin = subprocess.PIPE,
28 stdout = subprocess.PIPE,
29 stderr = subprocess.PIPE)
/external/selinux/python/audit2allow/
Dtest_audit2allow.py6 from subprocess import Popen, PIPE
34 ], stdout=PIPE)
44 … Popen([sys.executable, './audit2allow', '-p', 'test_dummy_policy', '-i', 'test.log'], stdout=PIPE)
52 … = Popen([sys.executable, './audit2why', '-p', 'test_dummy_policy', '-i', 'test.log'], stdout=PIPE)
60 …([sys.executable, './audit2allow', '-x', '-p', 'test_dummy_policy', '-i', 'test.log'], stdout=PIPE)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_subprocess.py114 stdin=subprocess.PIPE,
115 stdout=subprocess.PIPE,
140 stdin=subprocess.PIPE,
141 stdout=subprocess.PIPE,
208 stdout=subprocess.PIPE,
234 stdin=subprocess.PIPE,
286 stdin=asyncio.subprocess.PIPE,
287 stdout=asyncio.subprocess.PIPE,
314 stdin=asyncio.subprocess.PIPE,
315 stdout=asyncio.subprocess.PIPE,
[all …]
/external/libvpx/libvpx/tools/
Dlint-hunks.py80 tl = Subprocess(TOPLEVEL_CMD, stdout=subprocess.PIPE)
96 p = Subprocess(diff_cmd, stdout=subprocess.PIPE)
113 show = Subprocess(show_cmd, stdout=subprocess.PIPE)
115 stdin=show.stdout, stderr=subprocess.PIPE)
120 stdin=subprocess.PIPE, stderr=subprocess.PIPE)
/external/libaom/libaom/tools/
Dlint-hunks.py82 tl = Subprocess(TOPLEVEL_CMD, stdout=subprocess.PIPE)
98 p = Subprocess(diff_cmd, stdout=subprocess.PIPE)
115 show = Subprocess(show_cmd, stdout=subprocess.PIPE)
117 stdin=show.stdout, stderr=subprocess.PIPE)
122 stdin=subprocess.PIPE, stderr=subprocess.PIPE)
/external/llvm/utils/
Dextract_symbols.py34 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
46 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
58 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
88 stdout=subprocess.PIPE, stdin=subprocess.PIPE,
353 p = subprocess.Popen([exe], stdout=subprocess.PIPE,
354 stderr=subprocess.PIPE,
355 stdin=subprocess.PIPE,
/external/bcc/scripts/
Dgit-clang-format238 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
265 p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
344 p = subprocess.Popen(cmd, stdin=subprocess.PIPE)
366 clang_format = subprocess.Popen(clang_format_cmd, stdin=subprocess.PIPE,
367 stdout=subprocess.PIPE)
376 stdout=subprocess.PIPE)
461 p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
462 stdin=subprocess.PIPE)
/external/compiler-rt/test/profile/Linux/
Dlit.local.cfg14 ld_cmd = subprocess.Popen([config.gold_executable, '--help'], stdout = subprocess.PIPE)
24 stdin = subprocess.PIPE,
25 stdout = subprocess.PIPE,
26 stderr = subprocess.PIPE)
/external/bcc/examples/networking/distributed_bridge/
Dtunnel_mesh.py15 from subprocess import call, Popen, PIPE
110 d_serv.append(Popen(cmd, stdout=PIPE, stderr=PIPE))
122 d_client.append(Popen(cmd, stdout=PIPE, stderr=PIPE))
127 check = Popen(["ip", "addr", "show", "br%d" % j], stdout=PIPE, stderr=PIPE)

12345678910>>...25