/external/python/cpython2/Lib/test/ |
D | test_subprocess.py | 3 import subprocess 42 for inst in subprocess._active: 44 subprocess._cleanup() 45 self.assertFalse(subprocess._active, "subprocess._active not empty") 59 class PopenExecuteChildRaises(subprocess.Popen): 71 rc = subprocess.call([sys.executable, "-c", 77 rc = subprocess.check_call([sys.executable, "-c", 83 with self.assertRaises(subprocess.CalledProcessError) as c: 84 subprocess.check_call([sys.executable, "-c", 90 output = subprocess.check_output( [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_subprocess.py | 4 import subprocess 53 for inst in subprocess._active: 55 subprocess._cleanup() 56 self.assertFalse(subprocess._active, "subprocess._active not empty") 72 class PopenExecuteChildRaises(subprocess.Popen): 83 p = subprocess.Popen([sys.executable, "-c", "import sys; sys.exit(0)"], 84 stdin=subprocess.PIPE, stdout=subprocess.PIPE, 85 stderr=subprocess.PIPE) 97 p = subprocess.Popen([sys.executable, "-c", "import sys; sys.exit(0)"], 98 stdin=subprocess.PIPE, stdout=subprocess.PIPE, [all …]
|
D | test_pdb.py | 9 import subprocess 949 with subprocess.Popen(cmd, stdout=subprocess.PIPE, 950 stdin=subprocess.PIPE, 951 stderr=subprocess.STDOUT, 993 proc = subprocess.Popen(cmd, 994 stdout=subprocess.PIPE, 995 stdin=subprocess.PIPE, 996 stderr=subprocess.STDOUT, 1059 proc = subprocess.Popen(cmd, 1060 stdout=subprocess.PIPE, [all …]
|
/external/skqp/infra/bots/assets/clang_linux/ |
D | create.py | 14 import subprocess 26 subprocess.check_call(["git", "clone", "--depth", "1", "-b", 29 subprocess.check_call(["git", "clone", "--depth", "1", "-b", 31 subprocess.check_call(["git", "clone", "--depth", "1", "-b", 34 subprocess.check_call(["git", "clone", "--depth", "1", "-b", 36 subprocess.check_call(["git", "clone", "--depth", "1", "-b", 38 subprocess.check_call(["git", "clone", "--depth", "1", "-b", 43 subprocess.check_call(["cmake", "..", "-G", "Ninja", 48 subprocess.check_call(["ninja", "install"]) 51 subprocess.check_call(["cp", "bin/llvm-symbolizer", target_dir + "/bin"]) [all …]
|
/external/skia/infra/bots/assets/clang_linux/ |
D | create.py | 14 import subprocess 26 subprocess.check_call(["git", "clone", "--depth", "1", "-b", 29 subprocess.check_call(["git", "clone", "--depth", "1", "-b", 31 subprocess.check_call(["git", "clone", "--depth", "1", "-b", 34 subprocess.check_call(["git", "clone", "--depth", "1", "-b", 36 subprocess.check_call(["git", "clone", "--depth", "1", "-b", 38 subprocess.check_call(["git", "clone", "--depth", "1", "-b", 43 subprocess.check_call(["cmake", "..", "-G", "Ninja", 48 subprocess.check_call(["ninja", "install"]) 51 subprocess.check_call(["cp", "bin/llvm-symbolizer", target_dir + "/bin"]) [all …]
|
/external/skqp/src/jumper/ |
D | build_stages.py | 9 import subprocess 38 subprocess.check_call(clang + cflags + sse2 + 41 subprocess.check_call(clang + cflags + sse2 + win + 44 subprocess.check_call(clang + cflags + sse2 + x86 + 47 subprocess.check_call(clang + cflags + sse2 + win + x86 + 51 subprocess.check_call(clang + cflags + sse2 + 54 subprocess.check_call(clang + cflags + sse2 + win + 57 subprocess.check_call(clang + cflags + sse2 + x86 + 60 subprocess.check_call(clang + cflags + sse2 + win + x86 + 65 subprocess.check_call(clang + cflags + sse41 + [all …]
|
/external/skia/src/jumper/ |
D | build_stages.py | 9 import subprocess 38 subprocess.check_call(clang + cflags + sse2 + 41 subprocess.check_call(clang + cflags + sse2 + win + 44 subprocess.check_call(clang + cflags + sse2 + x86 + 47 subprocess.check_call(clang + cflags + sse2 + win + x86 + 51 subprocess.check_call(clang + cflags + sse2 + 54 subprocess.check_call(clang + cflags + sse2 + win + 57 subprocess.check_call(clang + cflags + sse2 + x86 + 60 subprocess.check_call(clang + cflags + sse2 + win + x86 + 65 subprocess.check_call(clang + cflags + sse41 + [all …]
|
/external/skqp/infra/bots/ |
D | git_utils.py | 10 import subprocess 25 prev = subprocess.check_output(['git', 'config', '--local', k]).rstrip() 28 except subprocess.CalledProcessError: 31 subprocess.check_call(['git', 'config', '--local', k, v]) 36 subprocess.check_call( 39 subprocess.check_call(['git', 'config', '--local', '--unset', k]) 60 subprocess.check_call(['git', 'reset', '--hard', 'HEAD']) 61 subprocess.check_call(['git', 'checkout', 'master']) 62 if self._branch_name in subprocess.check_output(['git', 'branch']).split(): 63 subprocess.check_call(['git', 'branch', '-D', self._branch_name]) [all …]
|
/external/skia/infra/bots/ |
D | git_utils.py | 10 import subprocess 25 prev = subprocess.check_output(['git', 'config', '--local', k]).rstrip() 28 except subprocess.CalledProcessError: 31 subprocess.check_call(['git', 'config', '--local', k, v]) 36 subprocess.check_call( 39 subprocess.check_call(['git', 'config', '--local', '--unset', k]) 60 subprocess.check_call(['git', 'reset', '--hard', 'HEAD']) 61 subprocess.check_call(['git', 'checkout', 'master']) 62 if self._branch_name in subprocess.check_output(['git', 'branch']).split(): 63 subprocess.check_call(['git', 'branch', '-D', self._branch_name]) [all …]
|
/external/toolchain-utils/android_bench_suite/ |
D | apply_patches.py | 14 import subprocess 33 subprocess.check_call(['git', '-C', skia_dir, 'apply', skia_patch]) 35 except subprocess.CalledProcessError: 51 subprocess.check_call(['git', '-C', autotest_dir, 'apply', autotest_patch]) 52 subprocess.check_call(['cp', '-rf', 'dex2oat_input', dex2oat_dir]) 53 subprocess.check_call(['cp', '-rf', 'panorama_input', panorama_dir]) 55 except subprocess.CalledProcessError: 67 subprocess.check_call(['git', '-C', panorama_dir, 'apply', panorama_patch]) 69 except subprocess.CalledProcessError: 78 subprocess.check_call([ [all …]
|
/external/autotest/site_utils/ |
D | deploy_server_local.py | 19 import subprocess 72 subprocess.check_output([ 94 subprocess.check_output(['git', 'reset', '--hard']) 96 subprocess.check_output(['git', 'clean', '-fd']) 97 out = subprocess.check_output(['repo', 'status'], stderr=subprocess.STDOUT) 111 subprocess.check_output(cmd) 121 output = strip_terminal_codes(subprocess.check_output(cmd)) 164 version = subprocess.check_output( 178 subprocess.check_output(['repo', 'sync']) 181 subprocess.check_output(['git', 'checkout', 'cros/master'], [all …]
|
/external/python/cpython3/Lib/ctypes/ |
D | util.py | 3 import subprocess 109 proc = subprocess.Popen(args, 110 stdout=subprocess.PIPE, 111 stderr=subprocess.STDOUT, 137 proc = subprocess.Popen(("/usr/ccs/bin/dump", "-Lpv", f), 138 stdout=subprocess.PIPE, 139 stderr=subprocess.DEVNULL) 159 proc = subprocess.Popen((objdump, '-p', '-j', '.dynamic', f), 160 stdout=subprocess.PIPE, 161 stderr=subprocess.DEVNULL) [all …]
|
/external/python/cpython3/Doc/library/ |
D | asyncio-subprocess.rst | 3 .. _asyncio-subprocess: 27 Create a subprocess: high-level API using Process 32 Create a subprocess. 38 Return a :class:`~asyncio.subprocess.Process` instance. 50 Return a :class:`~asyncio.subprocess.Process` instance. 65 Create a subprocess: low-level API using subprocess.Popen 68 Run subprocesses asynchronously using the :mod:`subprocess` module. 70 …ubprocess_exec(protocol_factory, \*args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=sub… 72 Create a subprocess from one or more string arguments (character strings or 78 similar to the standard library :class:`subprocess.Popen` class called with [all …]
|
/external/clang/tools/scan-build-py/tests/functional/cases/ |
D | __init__.py | 9 import subprocess 32 kwargs.update({'stdout': subprocess.PIPE, 'stderr': subprocess.STDOUT}) 33 return subprocess.call(cmd, *args, **kwargs) 37 kwargs.update({'stdout': subprocess.PIPE, 'stderr': subprocess.STDOUT}) 38 return subprocess.check_call(cmd, *args, **kwargs) 42 child = subprocess.Popen(analyzer_cmd + ['-v'] + build_cmd, 44 stdout=subprocess.PIPE, 45 stderr=subprocess.STDOUT) 63 raise subprocess.CalledProcessError(
|
/external/skqp/tools/android/ |
D | upload_to_android.py | 34 import subprocess 91 subprocess.check_call( 97 subprocess.check_call('%s sync %s tools/repohooks -j 32 -c' % ( 102 subprocess.check_call( 104 subprocess.check_call( 106 subprocess.check_call( 131 subprocess.check_call( 134 subprocess.check_call('git cherry-pick FETCH_HEAD', shell=True) 142 subprocess.check_call('git add %s' % SK_USER_CONFIG_PATH, shell=True) 155 subprocess.check_call('git commit --amend -m "%s"' % new_commit_message, [all …]
|
/external/skia/tools/android/ |
D | upload_to_android.py | 34 import subprocess 91 subprocess.check_call( 97 subprocess.check_call('%s sync %s tools/repohooks -j 32 -c' % ( 102 subprocess.check_call( 104 subprocess.check_call( 106 subprocess.check_call( 131 subprocess.check_call( 134 subprocess.check_call('git cherry-pick FETCH_HEAD', shell=True) 142 subprocess.check_call('git add %s' % SK_USER_CONFIG_PATH, shell=True) 155 subprocess.check_call('git commit --amend -m "%s"' % new_commit_message, [all …]
|
/external/webrtc/webrtc/tools/e2e_quality/audio/ |
D | run_audio_test.py | 24 import subprocess 56 proc = subprocess.Popen(command, stdout=subprocess.PIPE) 71 retcode = subprocess.call(command, stdout=subprocess.PIPE) 78 voe_proc = subprocess.Popen(command) 91 play_proc = subprocess.Popen(command) 96 record_proc = subprocess.Popen(command) 108 retcode = subprocess.call(command, stdout=subprocess.PIPE) 115 proc = subprocess.Popen(command, stdout=subprocess.PIPE)
|
/external/clang/tools/clang-format/ |
D | git-clang-format | 32 import subprocess 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, 396 stdout=subprocess.PIPE) 402 clang_format_stdin = subprocess.PIPE 404 clang_format = subprocess.Popen(clang_format_cmd, stdin=clang_format_stdin, 405 stdout=subprocess.PIPE) 406 if clang_format_stdin == subprocess.PIPE: [all …]
|
/external/skia/gn/ |
D | run_sksllex.py | 9 import subprocess 16 subprocess.check_output([sksllex, src + "/sksl/lex/sksl.lex", "Lexer", 19 subprocess.check_call(clangFormat + " -i \"" + src + "/sksl/SkSLLexer.h\"", 21 subprocess.check_call(clangFormat + " -i \"" + src + 23 subprocess.check_output([sksllex, src + "/sksl/lex/layout.lex", 27 subprocess.check_call(clangFormat + " -i \"" + src + 29 subprocess.check_call(clangFormat + " -i \"" + src + 31 except subprocess.CalledProcessError as err:
|
/external/skqp/gn/ |
D | run_sksllex.py | 9 import subprocess 16 subprocess.check_output([sksllex, src + "/sksl/lex/sksl.lex", "Lexer", 19 subprocess.check_call(clangFormat + " -i \"" + src + "/sksl/SkSLLexer.h\"", 21 subprocess.check_call(clangFormat + " -i \"" + src + 23 subprocess.check_output([sksllex, src + "/sksl/lex/layout.lex", 27 subprocess.check_call(clangFormat + " -i \"" + src + 29 subprocess.check_call(clangFormat + " -i \"" + src + 31 except subprocess.CalledProcessError as err:
|
/external/skia/tools/ |
D | build_command_buffer.py | 18 import subprocess 96 subprocess.check_call(['git', 'fetch'], cwd=chrome_src_dir) 97 except subprocess.CalledProcessError as error: 102 subprocess.check_call(['git', 'checkout', args.chrome_revision], 104 except subprocess.CalledProcessError as error: 110 subprocess.check_call([gclient, 'sync', '--reset', '--force', 113 except subprocess.CalledProcessError as error: 119 subprocess.check_call([gclient, 'runhooks'], cwd=chrome_src_dir) 120 except subprocess.CalledProcessError as error: 134 subprocess.check_call([gn, 'gen', chrome_target_dir_rel, '--args='+gnargs], [all …]
|
/external/skqp/tools/ |
D | build_command_buffer.py | 18 import subprocess 96 subprocess.check_call(['git', 'fetch'], cwd=chrome_src_dir) 97 except subprocess.CalledProcessError as error: 102 subprocess.check_call(['git', 'checkout', args.chrome_revision], 104 except subprocess.CalledProcessError as error: 110 subprocess.check_call([gclient, 'sync', '--reset', '--force', 113 except subprocess.CalledProcessError as error: 119 subprocess.check_call([gclient, 'runhooks'], cwd=chrome_src_dir) 120 except subprocess.CalledProcessError as error: 134 subprocess.check_call([gn, 'gen', chrome_target_dir_rel, '--args='+gnargs], [all …]
|
/external/skqp/tools/calmbench/ |
D | calmbench.py | 10 import subprocess 137 subprocess.check_call(command, cwd=args.skiadir) 142 subprocess.check_call( 144 subprocess.check_call( 149 stash_output = subprocess.check_output(['git', 'stash'], cwd=args.skiadir) 151 subprocess.check_call(['git', 'reset', 'HEAD^', '--soft']) 152 subprocess.check_call(['git', 'stash']) 154 subprocess.check_call(['gclient', 'sync'], cwd=args.skiadir) 155 subprocess.check_call( 157 subprocess.check_call( [all …]
|
/external/skia/tools/calmbench/ |
D | calmbench.py | 10 import subprocess 137 subprocess.check_call(command, cwd=args.skiadir) 142 subprocess.check_call( 144 subprocess.check_call( 149 stash_output = subprocess.check_output(['git', 'stash'], cwd=args.skiadir) 151 subprocess.check_call(['git', 'reset', 'HEAD^', '--soft']) 152 subprocess.check_call(['git', 'stash']) 154 subprocess.check_call(['gclient', 'sync'], cwd=args.skiadir) 155 subprocess.check_call( 157 subprocess.check_call( [all …]
|
/external/skqp/tools/rebaseline/ |
D | toggle_legacy_flag.py | 23 import subprocess 44 branch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD']) 48 stash_output = subprocess.check_output(['git', 'stash']).strip() 54 subprocess.check_call(['git', 'stash', 'pop']) 58 subprocess.check_call(['git', 'pull']) 59 subprocess.check_call(['gclient', 'sync']); 64 subprocess.check_call(['git', 'checkout', '-b', 'legacyflag_%d' % random]) 92 subprocess.check_call('git commit -a -m "%s"' % message, shell=True) 93 subprocess.check_call('git cl upload -m "%s" -f' % message, 96 subprocess.check_call(['git', 'checkout', 'master']) [all …]
|