/third_party/python/Lib/test/ |
H A D | test_popen.py | 1 """Basic tests for os.popen() 3 Particularly useful for platforms that fake popen. 10 if not hasattr(os, 'popen'): 11 raise unittest.SkipTest("need os.popen()") 28 with os.popen(cmd) as p: 34 self.assertRaises(TypeError, os.popen) 50 self.assertEqual(os.popen("exit 0").close(), None) 51 status = os.popen("exit 42").close() 58 with os.popen("echo hello") as f: 62 with os.popen("ech [all...] |
H A D | test_site.py | 494 popen = subprocess.Popen([sys.executable, '-X', 'utf8', '-I', 499 stdout = popen.communicate()[0] 500 self.assertEqual(popen.returncode, 0, repr(stdout)) 513 popen = subprocess.Popen([sys.executable, '-X', 'utf8', '-I', '-v', 519 stdout, stderr = popen.communicate() 520 self.assertEqual(popen.returncode, 0, (stdout, stderr))
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | win_tool.py | 253 popen = subprocess.Popen( 256 out = popen.communicate()[0].decode("utf-8") 260 return popen.returncode 297 popen = subprocess.Popen( 300 out = popen.communicate()[0].decode("utf-8") 311 return popen.returncode 316 popen = subprocess.Popen( 319 out = popen.communicate()[0].decode("utf-8") 328 return popen.returncode 334 popen [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | win_tool.py | 252 popen = subprocess.Popen( 255 out = popen.communicate()[0].decode("utf-8") 259 return popen.returncode 296 popen = subprocess.Popen( 299 out = popen.communicate()[0].decode("utf-8") 310 return popen.returncode 315 popen = subprocess.Popen( 318 out = popen.communicate()[0].decode("utf-8") 327 return popen.returncode 333 popen [all...] |
/third_party/python/Lib/test/libregrtest/ |
H A D | runtest_mp.py | 161 popen = self._popen 162 if popen is not None: 169 popen = self._popen 170 if popen is None: 185 os.killpg(popen.pid, signal.SIGKILL) 187 popen.kill() 189 # popen.kill(): the process completed, the TestWorkerProcess thread 215 popen = run_test_in_subprocess(test_name, self.ns, stdout_fh) 218 self._popen = popen 233 retcode = popen [all...] |
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_generic.c | 1325 struct usb_fs_open *popen; in ugen_ioctl() member 1420 u.popen = &open.fs_open; in ugen_ioctl() 1421 if (u.popen->ep_index >= f->fs_ep_max) { in ugen_ioctl() 1425 if (f->fs_xfer[u.popen->ep_index] != NULL) { in ugen_ioctl() 1429 if (u.popen->max_bufsize > USB_FS_MAX_BUFSIZE) { in ugen_ioctl() 1430 u.popen->max_bufsize = USB_FS_MAX_BUFSIZE; in ugen_ioctl() 1432 if (u.popen->max_frames & USB_FS_MAX_FRAMES_PRE_SCALE) { in ugen_ioctl() 1434 u.popen->max_frames &= ~USB_FS_MAX_FRAMES_PRE_SCALE; in ugen_ioctl() 1438 if (u.popen->max_frames > USB_FS_MAX_FRAMES) { in ugen_ioctl() 1439 u.popen in ugen_ioctl() [all...] |
/third_party/musl/libc-test/src/functional/ |
H A D | popen.c | 32 TEST_E(f = popen("echo hello", "r")); in main() 41 TEST_E(f = popen(cmd, "w")); in main()
|
/third_party/skia/buildtools/checkdeps/ |
H A D | builddeps.py | 61 popen = subprocess.Popen(git_ls_files_cmd, 66 for line in popen.stdout.read().decode('utf-8').splitlines(): 75 popen.stdout.close() 77 popen.wait()
|
/third_party/python/Lib/distutils/ |
H A D | msvc9compiler.py | 262 popen = subprocess.Popen('"%s" %s & set' % (vcvarsall, arch), 266 stdout, stderr = popen.communicate() 267 if popen.wait() != 0: 284 popen.stdout.close() 285 popen.stderr.close()
|
/third_party/lz4/tests/ |
H A D | test-lz4-speed.py | 51 popen = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=param_shell, cwd=execute.cwd) 52 stdout_lines, stderr_lines = popen.communicate(timeout=args.timeout) 60 if popen.returncode is not None and popen.returncode != 0:
|
H A D | test-lz4-list.py | 217 popen = subprocess.Popen(command.split(" "), stdout=subprocess.PIPE, stderr=subprocess.PIPE) 218 stdout_lines, stderr_lines = popen.communicate() 226 if popen.returncode is not None and popen.returncode != 0:
|
/third_party/googletest/googletest/scripts/ |
H A D | common.py | 49 f = os.popen(command, 'r')
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_debug.c | 51 p = popen(command, "r"); in v3dv_print_spirv()
|
/third_party/cups-filters/filter/foomatic-rip/ |
H A D | pdf.c | 55 FILE *pd = popen(gscommand, "r"); in pdf_count_pages() 147 FILE *pd = popen(gscommand, "r"); in pdf_extract_pages()
|
/third_party/python/Lib/ |
H A D | pipes.py | 53 for the built-in function open() or for os.popen(). 163 return os.popen(cmd, 'r') 171 return os.popen(cmd, 'w')
|
/third_party/python/Lib/tkinter/test/test_tkinter/ |
H A D | test_loadtk.py | 35 with os.popen('echo $DISPLAY') as pipe:
|
/third_party/python/Mac/BuildScript/ |
H A D | build-installer.py | 516 fd = os.popen(commandline, 'r') 527 fd = os.popen(commandline, 'r') 736 fp = os.popen("tar zxf %s 2>&1"%(shellQuote(archiveName),), 'r') 742 fp = os.popen("tar jxf %s 2>&1"%(shellQuote(archiveName),), 'r') 748 fp = os.popen("tar xf %s 2>&1"%(shellQuote(archiveName),), 'r') 754 fp = os.popen("unzip %s 2>&1"%(shellQuote(archiveName),), 'r') 1646 fd = os.popen(cmd, 'r')
|
/third_party/musl/src/stdio/ |
H A D | popen.c | 12 FILE *popen(const char *cmd, const char *mode) in popen() function
|
/third_party/musl/porting/liteos_a/user/src/stdio/ |
H A D | popen.c | 12 FILE *popen(const char *cmd, const char *mode) in popen() function
|
/third_party/python/Tools/scripts/ |
H A D | nm2def.py | 45 with os.popen(NM % lib) as pipe:
|
/third_party/pulseaudio/src/ |
H A D | depmod.py | 24 f = os.popen("nm '%s'" % fn, "r")
|
/third_party/protobuf/php/ext/google/protobuf/ |
H A D | make-preload.php | 7 $handle = popen($cmd, 'r');
|
/third_party/icu/tools/scripts/ |
H A D | icu-file-utf8-check.py | 48 output_file = os.popen(cmd);
|
/third_party/json/tests/thirdparty/Fuzzer/ |
H A D | FuzzerUtilPosix.cpp | 107 return popen(Command, Mode); in OpenProcessPipe()
|
/third_party/ltp/lib/ |
H A D | tst_virt.c | 119 f = popen("systemd-detect-virt", "r"); in try_systemd_detect_virt()
|