/external/selinux/python/semanage/ |
D | test-semanage.py | 3 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/python/sepolicy/ |
D | test_sepolicy.py | 5 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/grpc-grpc/test/cpp/naming/ |
D | resolver_component_tests_runner.py | 66 tcp_connect_subprocess = subprocess.Popen(python_args([ 75 dns_resolver_subprocess = subprocess.Popen(python_args([ 101 dns_server_subprocess = subprocess.Popen(python_args([ 123 current_test_subprocess = subprocess.Popen([ 135 current_test_subprocess = subprocess.Popen([ 147 current_test_subprocess = subprocess.Popen([ 159 current_test_subprocess = subprocess.Popen([ 171 current_test_subprocess = subprocess.Popen([ 183 current_test_subprocess = subprocess.Popen([ 195 current_test_subprocess = subprocess.Popen([ [all …]
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
D | _exit_test.py | 77 process = subprocess.Popen( 84 process = subprocess.Popen( 90 process = subprocess.Popen( 97 process = subprocess.Popen( 104 process = subprocess.Popen( 111 process = subprocess.Popen( 119 process = subprocess.Popen( 126 process = subprocess.Popen( 133 process = subprocess.Popen( 141 process = subprocess.Popen( [all …]
|
/external/selinux/sandbox/ |
D | test_sandbox.py | 6 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/python/cpython2/Lib/test/ |
D | test_subprocess.py | 75 class PopenExecuteChildRaises(subprocess.Popen): 147 self.assertRaises(TypeError, subprocess.Popen, invalid_arg_name=1) 148 argcount = subprocess.Popen.__init__.__code__.co_argcount 150 self.assertRaises(TypeError, subprocess.Popen, *too_many_args) 155 p = subprocess.Popen([sys.executable, "-c", 'print "banana"'], 177 p = subprocess.Popen([sys.executable, "-c", code], 187 p = subprocess.Popen([sys.executable, "-c", 'print "banana"'], 196 p = subprocess.Popen(["somethingyoudonthave", "-c", 207 p = subprocess.Popen(["somethingyoudonthave", "-c", 215 p = subprocess.Popen([sys.executable, "-c", [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_subprocess.py | 83 class PopenExecuteChildRaises(subprocess.Popen): 94 p = subprocess.Popen([sys.executable, "-c", "import sys; sys.exit(0)"], 108 p = subprocess.Popen([sys.executable, "-c", "import sys; sys.exit(0)"], 241 self.assertRaises(TypeError, subprocess.Popen, invalid_arg_name=1) 242 argcount = subprocess.Popen.__init__.__code__.co_argcount 244 self.assertRaises(TypeError, subprocess.Popen, *too_many_args) 249 p = subprocess.Popen([sys.executable, "-c", 'print("banana")'], 271 p = subprocess.Popen([sys.executable, "-c", code], 281 p = subprocess.Popen([sys.executable, "-c", 'print("banana")'], 292 p = subprocess.Popen(args, **kwargs) [all …]
|
/external/u-boot/tools/patman/ |
D | cros_subprocess.py | 33 class Popen(subprocess.Popen): class 83 super(Popen, self).__init__(args, stdin=stdin, 296 plist = Popen(['ps']).CommunicateFilter(oper.Output) 303 plist = Popen([cmd], shell=True).CommunicateFilter(oper.Output) 312 self.assertRaises(OSError, Popen, [cmd], shell=False) 313 plist = Popen([cmd], shell=True).CommunicateFilter(oper.Output) 322 plist = Popen(cmd, shell=False).CommunicateFilter(oper.Output) 331 plist = Popen(cmd, shell=True).CommunicateFilter(oper.Output) 339 plist = Popen('pwd', shell=shell, cwd='/tmp').CommunicateFilter(oper.Output) 351 plist = Popen(cmd, shell=True, env=env).CommunicateFilter(oper.Output) [all …]
|
/external/python/cpython2/Doc/library/ |
D | subprocess.rst | 42 meet your needs, use the underlying :class:`Popen` interface. 53 that of the :class:`Popen` constructor - this functions passes all 73 Use :class:`Popen` with the :meth:`communicate` method when you 87 that of the :class:`Popen` constructor - this functions passes all 111 Use :class:`Popen` with the :meth:`communicate` method when you 127 same as that of the :class:`Popen` constructor, except that *stdout* is 129 passed directly through to the :class:`Popen` constructor. 160 based on the child process error volume. Use :class:`Popen` with 167 to :class:`Popen` and indicates that a pipe to the standard stream should be 173 Special value that can be used as the *stderr* argument to :class:`Popen` and [all …]
|
/external/python/cpython3/Doc/library/ |
D | subprocess.rst | 34 underlying :class:`Popen` interface can be used directly. 51 same as that of the :class:`Popen` constructor - most of the arguments to 56 When used, the internal :class:`Popen` object is automatically created with 60 The *timeout* argument is passed to :meth:`Popen.communicate`. If the timeout 65 The *input* argument is passed to :meth:`Popen.communicate` and thus to the 68 used, the internal :class:`Popen` object is automatically created with 85 to :class:`Popen`. 153 to :class:`Popen` and indicates that the special file :data:`os.devnull` 162 to :class:`Popen` and indicates that a pipe to the standard stream should be 163 opened. Most useful with :meth:`Popen.communicate`. [all …]
|
/external/selinux/python/audit2allow/ |
D | test_audit2allow.py | 6 from subprocess import Popen, PIPE 31 p = Popen([ 44 …p = Popen([sys.executable, './audit2allow', '-p', 'test_dummy_policy', '-i', 'test.log'], stdout=P… 52 …p = Popen([sys.executable, './audit2why', '-p', 'test_dummy_policy', '-i', 'test.log'], stdout=PIP… 60 …p = Popen([sys.executable, './audit2allow', '-x', '-p', 'test_dummy_policy', '-i', 'test.log'], st…
|
/external/python/cpython3/Lib/multiprocessing/ |
D | context.py | 276 from .popen_fork import Popen 277 return Popen(process_obj) 283 from .popen_spawn_posix import Popen 284 return Popen(process_obj) 290 from .popen_forkserver import Popen 291 return Popen(process_obj) 321 from .popen_spawn_win32 import Popen 322 return Popen(process_obj)
|
/external/webrtc/webrtc/tools/e2e_quality/audio/ |
D | run_audio_test.py | 56 proc = subprocess.Popen(command, stdout=subprocess.PIPE) 78 voe_proc = subprocess.Popen(command) 91 play_proc = subprocess.Popen(command) 96 record_proc = subprocess.Popen(command) 115 proc = subprocess.Popen(command, stdout=subprocess.PIPE)
|
/external/python/cpython2/Lib/multiprocessing/ |
D | forking.py | 49 if not Popen.thread_is_spawning(): 114 class Popen(object): class 243 class Popen(object): class 274 Popen._tls.process_handle = int(hp) 279 del Popen._tls.process_handle 284 return getattr(Popen._tls, 'process_handle', None) is not None 288 return duplicate(handle, Popen._tls.process_handle) 426 if not Popen.thread_is_spawning(): 431 return type(conn), (Popen.duplicate_for_child(conn.fileno()),
|
D | process.py | 127 Popen = self._Popen 129 from .forking import Popen 130 self._popen = Popen(self) 296 from .forking import Popen 297 if not Popen.thread_is_spawning():
|
/external/bcc/tests/python/ |
D | test_usdt2.py | 11 from subprocess import Popen, PIPE 83 …comp = Popen(["gcc", "-I", "%s/include" % os.path.dirname(os.path.abspath(inspect.getfile(inspect.… 93 self.app = Popen([self.ftemp.name, "1"]) 94 self.app2 = Popen([self.ftemp.name, "11"]) 95 self.app3 = Popen([self.ftemp.name, "21"])
|
/external/python/cpython3/Lib/ctypes/ |
D | util.py | 118 proc = subprocess.Popen(args, 146 proc = subprocess.Popen(("/usr/ccs/bin/dump", "-Lpv", f), 168 proc = subprocess.Popen((objdump, '-p', '-j', '.dynamic', f), 199 proc = subprocess.Popen(('/sbin/ldconfig', '-r'), 230 proc = subprocess.Popen(args, 276 with subprocess.Popen(['/sbin/ldconfig', '-p'], 298 p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
|
/external/python/cpython2/Lib/ctypes/ |
D | util.py | 101 proc = subprocess.Popen((cmd, '_findLib_gcc', name, temp.name), 128 proc = subprocess.Popen(("/usr/ccs/bin/dump", "-Lpv", f), 145 proc = subprocess.Popen((cmd, '_get_soname', f), shell=True, 175 proc = subprocess.Popen(('/sbin/ldconfig', '-r'), 207 proc = subprocess.Popen(args, 261 p = subprocess.Popen(['/sbin/ldconfig', '-p'],
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | cmd_helper.py | 91 def Popen(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): function 100 return subprocess.Popen( 106 pipe = Popen(args, stdout=stdout, stderr=stderr, shell=shell, cwd=cwd, 207 return Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, 228 pipe = Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, 411 process = Popen(args, cwd=cwd, shell=shell, stdout=subprocess.PIPE, 452 process = Popen(args, cwd=cwd, shell=shell, env=env,
|
/external/autotest/client/site_tests/security_OpenFDs/ |
D | security_OpenFDs.py | 102 p1 = subprocess.Popen(['ps', '-C', process, '-o', 'pid,command'], 108 p2 = subprocess.Popen(['grep', '-v', '--', 111 p3 = subprocess.Popen(['grep', arg_regex], stdin=p2.stdout, 113 p4 = subprocess.Popen(['awk', '{print $1}'], stdin=p3.stdout,
|
/external/capstone/suite/ |
D | test_mc.py | 4 from subprocess import Popen, PIPE, STDOUT 49 …p = Popen(['llvm-mc', '-disassemble', '-print-imm-hex', '-mattr=+msa', syntax] + option, stdout=PI… 51 …p = Popen(['llvm-mc', '-disassemble', '-print-imm-hex', syntax] + option, stdout=PIPE, stdin=PIPE,… 54 …p = Popen(['llvm-mc', '-disassemble', '-print-imm-hex', '-mattr=+msa'] + option, stdout=PIPE, stdi… 56 …p = Popen(['llvm-mc', '-disassemble', '-print-imm-hex'] + option, stdout=PIPE, stdin=PIPE, stderr=…
|
/external/selinux/dbus/ |
D | selinux_server.py | 11 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/clang/tools/clang-format/ |
D | git-clang-format | 256 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, 404 clang_format = subprocess.Popen(clang_format_cmd, stdin=clang_format_stdin, 415 hash_object = subprocess.Popen(hash_object_cmd, stdin=clang_format.stdout, 509 p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
|
/external/ply/ply/test/ |
D | testlex.py | 386 p = subprocess.Popen([sys.executable,'-O','lex_optimize.py'], 398 p = subprocess.Popen([sys.executable,'-OO','lex_optimize.py'], 442 p = subprocess.Popen([sys.executable,'-O','lex_optimize2.py'], 452 p = subprocess.Popen([sys.executable,'-OO','lex_optimize2.py'], 492 p = subprocess.Popen([sys.executable,'-O','lex_optimize3.py'], 503 p = subprocess.Popen([sys.executable,'-OO','lex_optimize3.py'], 558 p = subprocess.Popen([sys.executable,'-O','lex_opt_alias.py'], 569 p = subprocess.Popen([sys.executable,'-OO','lex_opt_alias.py'], 620 p = subprocess.Popen([sys.executable,'-O','lex_many_tokens.py'],
|
/external/python/cpython3/Lib/ |
D | webbrowser.py | 161 p = subprocess.Popen(cmdline) 163 p = subprocess.Popen(cmdline, close_fds=True) 178 p = subprocess.Popen(cmdline) 180 p = subprocess.Popen(cmdline, close_fds=True, 219 p = subprocess.Popen(cmdline, close_fds=True, stdin=inout, 349 p = subprocess.Popen(["kfmclient", action, url], 361 p = subprocess.Popen(["konqueror", "--silent", url], 374 p = subprocess.Popen(["kfm", "-d", url],
|