/third_party/python/Lib/test/ |
D | test_subprocess.py | 7 import subprocess 75 subprocess.run([shell_true]).returncode == 0): 89 for inst in subprocess._active: 91 subprocess._cleanup() 93 subprocess._active, "subprocess._active not empty" 103 class PopenExecuteChildRaises(subprocess.Popen): 114 p = subprocess.Popen(ZERO_RETURN_CMD, 115 stdin=subprocess.PIPE, stdout=subprocess.PIPE, 116 stderr=subprocess.PIPE) 128 p = subprocess.Popen(ZERO_RETURN_CMD, [all …]
|
D | test_cmd_line.py | 6 import subprocess 79 out = subprocess.check_output(args) 96 PIPE = subprocess.PIPE 97 p = subprocess.Popen(cmd, stdout=PIPE, stderr=PIPE) 180 p = subprocess.Popen( 182 stdout=subprocess.PIPE, stderr=subprocess.STDOUT, 217 return subprocess.run(cmd, stdout=subprocess.PIPE, text=True) 223 return subprocess.run(cmd, stdout=subprocess.PIPE, 228 return subprocess.run(cmd, stdout=subprocess.PIPE, text=True) 262 p = subprocess.Popen( [all …]
|
/third_party/glib/patch/ |
D | backport-gtestutils-Add-G_TEST_SUBPROCESS_DEFAULT.patch | 177 …child_name = g_strdup_printf ("/gschema/%s%s/subprocess/do_compile", test->name, test->opt ? "/opt… 236 - g_test_trap_subprocess ("/gsettings/no-read-binding/subprocess/fail", 0, 0); 237 + g_test_trap_subprocess ("/gsettings/no-read-binding/subprocess/fail", 0, 243 - g_test_trap_subprocess ("/gsettings/no-read-binding/subprocess/pass", 0, 0); 244 + g_test_trap_subprocess ("/gsettings/no-read-binding/subprocess/pass", 0, 253 - g_test_trap_subprocess ("/gsettings/no-write-binding/subprocess/fail", 0, 0); 254 + g_test_trap_subprocess ("/gsettings/no-write-binding/subprocess/fail", 0, 260 - g_test_trap_subprocess ("/gsettings/no-write-binding/subprocess/pass", 0, 0); 261 + g_test_trap_subprocess ("/gsettings/no-write-binding/subprocess/pass", 0, 270 - g_test_trap_subprocess ("/gsettings/enums/subprocess/non-enum-key", 0, 0); [all …]
|
/third_party/skia/infra/bots/ |
D | git_utils.py | 11 import subprocess 26 prev = subprocess.check_output(['git', 'config', '--local', k]).rstrip() 29 except subprocess.CalledProcessError: 32 subprocess.check_call(['git', 'config', '--local', k, v]) 37 subprocess.check_call( 40 subprocess.check_call(['git', 'config', '--local', '--unset', k]) 61 subprocess.check_call(['git', 'reset', '--hard', 'HEAD']) 62 subprocess.check_call(['git', 'checkout', 'main']) 63 if self._branch_name in subprocess.check_output(['git', 'branch']).split(): 64 subprocess.check_call(['git', 'branch', '-D', self._branch_name]) [all …]
|
D | utils.py | 15 import subprocess 25 GIT = subprocess.check_output([WHICH, 'git']).splitlines()[0] 79 subprocess.check_call([GIT, 'clone', repo_url, dest_dir]) 93 output = subprocess.check_output([GIT, 'stash']) 97 self._orig_branch = subprocess.check_output([ 100 self._orig_branch = subprocess.check_output([ 104 subprocess.check_call([GIT, 'fetch', 'origin']) 106 subprocess.check_call([GIT, 'checkout', '-b', self._branch, 111 subprocess.check_call([GIT, 'reset', '--hard', 'HEAD']) 112 subprocess.check_call([GIT, 'checkout', self._orig_branch]) [all …]
|
/third_party/skia/third_party/externals/angle2/android/ |
D | compress_symbols.py | 11 import subprocess 31 result = subprocess.call(copy_cmd) 33 nm_cmd = subprocess.Popen([args.nm, '-D', args.output, '--format=posix', '--defined-only'], 34 stdout=subprocess.PIPE) 36 awk_cmd = subprocess.Popen(['awk', '{ print $1}'], stdin=nm_cmd.stdout, stdout=subprocess.PIPE) 39 sort_cmd = subprocess.Popen(['sort'], stdin=awk_cmd.stdout, stdout=dynsym_out) 44 nm_cmd = subprocess.Popen([args.nm, args.output, '--format=posix', '--defined-only'], 45 stdout=subprocess.PIPE) 47 awk_cmd = subprocess.Popen(['awk', '{ if ($2 == "T" || $2 == "t" || $2 == "D") print $1 }'], 49 stdout=subprocess.PIPE) [all …]
|
/third_party/node/test/parallel/ |
D | test-child-process-spawn-event.js | 6 const subprocess = spawn('echo', ['ok']); constant 9 subprocess.on('spawn', function() { 18 subprocess.on('error', common.mustNotCall()); 19 subprocess.on('spawn', common.mustCall()); 20 subprocess.stdout.on('data', mustCallAfterSpawn()); 21 subprocess.stdout.on('end', mustCallAfterSpawn()); 22 subprocess.stdout.on('close', mustCallAfterSpawn()); 23 subprocess.stderr.on('data', common.mustNotCall()); 24 subprocess.stderr.on('end', mustCallAfterSpawn()); 25 subprocess.stderr.on('close', mustCallAfterSpawn()); [all …]
|
/third_party/skia/infra/bots/assets/clang_linux/ |
D | create.py | 14 import subprocess 27 subprocess.check_call(["git", "clone", "--depth", "1", "-b", BRANCH, 32 subprocess.check_call(["cmake", "../llvm", "-G", "Ninja", 39 subprocess.check_call(["ninja", "install"]) 42 subprocess.check_call(["cp", "bin/llvm-symbolizer", target_dir + "/bin"]) 43 subprocess.check_call(["cp", "bin/llvm-profdata", target_dir + "/bin"]) 44 subprocess.check_call(["cp", "bin/llvm-cov", target_dir + "/bin"]) 45 libstdcpp = subprocess.check_output(["c++", 47 subprocess.check_call(["cp", libstdcpp.strip(), target_dir + "/lib"]) 53 subprocess.check_call( [all …]
|
/third_party/node/tools/gyp/pylib/gyp/ |
D | win_tool.py | 16 import subprocess 135 link = subprocess.Popen( 139 stdout=subprocess.PIPE, 140 stderr=subprocess.STDOUT, 189 subprocess.check_call( 194 subprocess.check_call( 198 subprocess.check_call( 203 subprocess.check_call(ldcmd + add_to_ld) 213 subprocess.check_call( 253 popen = subprocess.Popen( [all …]
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
D | win_tool.py | 16 import subprocess 135 link = subprocess.Popen( 139 stdout=subprocess.PIPE, 140 stderr=subprocess.STDOUT, 189 subprocess.check_call( 194 subprocess.check_call( 198 subprocess.check_call( 203 subprocess.check_call(ldcmd + add_to_ld) 213 subprocess.check_call( 253 popen = subprocess.Popen( [all …]
|
/third_party/python/Lib/ctypes/ |
D | util.py | 3 import subprocess 124 proc = subprocess.Popen(args, 125 stdout=subprocess.PIPE, 126 stderr=subprocess.STDOUT, 159 proc = subprocess.Popen(("/usr/ccs/bin/dump", "-Lpv", f), 160 stdout=subprocess.PIPE, 161 stderr=subprocess.DEVNULL) 181 proc = subprocess.Popen((objdump, '-p', '-j', '.dynamic', f), 182 stdout=subprocess.PIPE, 183 stderr=subprocess.DEVNULL) [all …]
|
/third_party/mesa3d/bin/ |
D | commit_in_branch.py | 4 import subprocess 42 ret = subprocess.call(['git', 'cat-file', '-e', commit], 43 stdout=subprocess.DEVNULL, 44 stderr=subprocess.DEVNULL) 52 ret = subprocess.call(['git', 'merge-base', '--is-ancestor', 54 stdout=subprocess.DEVNULL, 55 stderr=subprocess.DEVNULL) 64 out = subprocess.check_output(['git', 'log', '--format=%H', 67 stderr=subprocess.DEVNULL) 80 out = subprocess.check_output(['git', 'rev-parse', commit], [all …]
|
/third_party/typescript/tests/ts_extra_tests/tool/ |
D | testcfg.py | 21 import subprocess 163 …process = subprocess.Popen(self.__get_es2abc_cmd(filename), stdin=subprocess.PIPE, stdout=subproce… 164 stderr=subprocess.PIPE) 196 … process = subprocess.Popen(self.__get_tsc_cmd(), stdin=subprocess.PIPE, stdout=subprocess.PIPE, 197 stderr=subprocess.PIPE) 219 … process = subprocess.Popen(self.__get_node_cmd(), stdin=subprocess.PIPE, stdout=subprocess.PIPE, 220 stderr=subprocess.PIPE) 241 …process = subprocess.Popen(self.__get_es2abc_cmd(self.path), stdin=subprocess.PIPE, stdout=subproc… 242 stderr=subprocess.PIPE) 260 … process = subprocess.Popen(self._get_ark_js_cmd(), stdin=subprocess.PIPE, stdout=subprocess.PIPE, [all …]
|
/third_party/skia/resources/sksl/ |
D | update_fuzzer.py | 17 import subprocess 52 output = subprocess.check_output( 55 stderr=subprocess.STDOUT) 57 output = subprocess.check_output( 60 stderr=subprocess.STDOUT) 63 output = subprocess.check_output( 66 stderr=subprocess.STDOUT) 68 output = subprocess.check_output( 71 stderr=subprocess.STDOUT) 73 except subprocess.CalledProcessError as err:
|
/third_party/skia/tools/android/ |
D | upload_to_android.py | 36 import subprocess 93 subprocess.check_call( 99 subprocess.check_call('%s sync %s tools/repohooks -j 32 -c' % ( 104 subprocess.check_call( 106 subprocess.check_call( 108 subprocess.check_call( 133 subprocess.check_call( 136 subprocess.check_call('git cherry-pick FETCH_HEAD', shell=True) 144 subprocess.check_call('git add %s' % SK_USER_CONFIG_PATH, shell=True) 157 subprocess.check_call('git commit --amend -m "%s"' % new_commit_message, [all …]
|
/third_party/skia/infra/bots/assets/gcloud_linux/ |
D | create.py | 16 import subprocess 30 subprocess.check_call(['curl', GCLOUD_URL, '-o', GCLOUD_ARCHIVE]) 33 subprocess.check_call(['tar', '-xzf', GCLOUD_ARCHIVE, 42 subprocess.check_call([gcloud_exe, 'components', 45 subprocess.check_call([gcloud_exe, 'components', 48 subprocess.check_call([gcloud_exe, 'components', 51 subprocess.check_call([gcloud_exe, 'components', 57 subprocess.check_call(['chmod', '+x', os.path.join(target_dir, fs_jar)]) 58 subprocess.check_call([gcloud_exe, 'components','update', '--quiet'], env=env)
|
/third_party/skia/third_party/externals/abseil-cpp/ |
D | roll_abseil.py | 9 import subprocess 17 subprocess.check_call(['git', 'clone', ABSL_URI], 22 subprocess.check_call(['git', 'checkout', 'main'], cwd=chromium_dir) 23 subprocess.check_call(['git', 'pull', '--rebase'], cwd=chromium_dir) 24 subprocess.check_call(['gclient', 'sync'], cwd=chromium_dir) 30 stdout = subprocess.check_output(['git', 'log', '-n1', '--pretty=short'], 70 subprocess.check_call(params, cwd=chromium_dir) 76 …subprocess.check_call(['patch', '--strip', '1', '-i', os.path.join(abseil_in_chromium_dir, 'patche… 92 subprocess.check_call(['git', 'add', 'third_party/abseil-cpp'], cwd=chromium_dir) 93 subprocess.check_call(['git', 'commit', '-m', desc], cwd=chromium_dir) [all …]
|
/third_party/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 …]
|
/third_party/ltp/testcases/network/nfsv4/acl/ |
D | test_acl.py | 7 import subprocess 19 u = subprocess.getoutput('mkdir ' + path + "/" + testdir) 20 u = subprocess.getoutput('getfacl ' + path + "/" + testdir) 28 u = subprocess.getoutput('touch ' + path + "/" + testdir + testfile) 30 u = subprocess.getoutput('getfacl ' + path + "/" + testdir + testfile) 59 u = subprocess.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + test_file) 72 u = subprocess.getoutput('touch ' + path + "/" + testfile) 77 u = subprocess.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + testfile) 88 u = subprocess.getoutput('rm ' + path + "/*") # clean directory 96 u = subprocess.getoutput('touch ' + path + "/" + testfile) [all …]
|
/third_party/mbedtls/tests/scripts/ |
D | test_psa_compliance.py | 28 import subprocess 57 subprocess.check_call(['make', '-C', 'library', 'libmbedcrypto.a']) 65 subprocess.check_call(['git', 'init']) 66 subprocess.check_call(['git', 'fetch', PSA_ARCH_TESTS_REPO, PSA_ARCH_TESTS_REF]) 67 subprocess.check_call(['git', 'checkout', 'FETCH_HEAD']) 78 subprocess.check_call([ 87 subprocess.check_call(['cmake', '--build', '.']) 89 proc = subprocess.Popen(['./psa-arch-tests-crypto'], 90 bufsize=1, stdout=subprocess.PIPE, universal_newlines=True)
|
/third_party/python/Doc/library/ |
D | asyncio-subprocess.rst | 3 .. _asyncio-subprocess: 9 **Source code:** :source:`Lib/asyncio/subprocess.py`, 27 stdout=asyncio.subprocess.PIPE, 28 stderr=asyncio.subprocess.PIPE) 46 Because all asyncio subprocess functions are asynchronous and asyncio 67 Create a subprocess. 71 (if :attr:`subprocess.PIPE` is passed to *stdout* and *stderr* arguments). 73 Return a :class:`~asyncio.subprocess.Process` instance. 93 (if :attr:`subprocess.PIPE` is passed to *stdout* and *stderr* arguments). 95 Return a :class:`~asyncio.subprocess.Process` instance. [all …]
|
/third_party/skia/tools/calmbench/ |
D | calmbench.py | 12 import subprocess 138 subprocess.check_call(command, cwd=args.skiadir) 143 subprocess.check_call( 145 subprocess.check_call( 150 stash_output = subprocess.check_output(['git', 'stash'], cwd=args.skiadir) 152 subprocess.check_call(['git', 'reset', 'HEAD^', '--soft']) 153 subprocess.check_call(['git', 'stash']) 155 subprocess.check_call(['gclient', 'sync'], cwd=args.skiadir) 156 subprocess.check_call( 158 subprocess.check_call( [all …]
|
/third_party/skia/infra/bots/assets/skp/ |
D | create.py | 17 import subprocess 54 subprocess.check_call(['bash', 'build.sh']) 100 xvfb_proc = subprocess.Popen([ 121 subprocess.check_call(webpages_playback_cmd) 130 subprocess.check_call(['sudo', 'kill', '-9', str(xvfb_proc.pid)]) 131 except subprocess.CalledProcessError as e: 137 procs = subprocess.check_output(['ps', 'ax']).decode() 145 subprocess.check_call(['kill', '-9', str(pid)]) 146 except subprocess.CalledProcessError as e: 155 subprocess.check_call(['sudo', 'kill', '-9', str(pid)]) [all …]
|
/third_party/gn/misc/vim/ |
D | gn-format.py | 19 import subprocess 37 startupinfo = subprocess.STARTUPINFO() 38 startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW 39 startupinfo.wShowWindow = subprocess.SW_HIDE 42 p = subprocess.Popen([binary, 'format', '--stdin'], 43 stdout=subprocess.PIPE, stderr=subprocess.PIPE, 44 stdin=subprocess.PIPE, startupinfo=startupinfo,
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | test_shaders.py | 21 import subprocess 89 …p = subprocess.Popen(['malisc', get_shader_type(shader), '--core', 'Mali-T760', '-V', shader], std… 103 subprocess.check_call(['xcrun', '--sdk', 'iphoneos', 'metal', '--version']) 109 except subprocess.CalledProcessError: 114 …subprocess.check_call(['xcrun', '--sdk', 'macosx', 'metal', '-x', 'metal', '-std=macos-metal' + ve… 115 … stdin = subprocess.DEVNULL, stdout = subprocess.DEVNULL, stderr = subprocess.DEVNULL) 121 except subprocess.CalledProcessError: 176 …subprocess.check_call(['xcrun', '--sdk', msl_os, 'metal', '-x', 'metal', path_to_msl_standard(msl_… 181 except subprocess.CalledProcessError: 196 subprocess.check_call(spirv_cmd) [all …]
|