/external/python/cpython3/Lib/test/ |
D | test_popen.py | 24 with os.popen(cmd) as p: 30 self.assertRaises(TypeError, os.popen) 46 self.assertEqual(os.popen("exit 0").close(), None) 48 self.assertEqual(os.popen("exit 42").close(), 42) 50 self.assertEqual(os.popen("exit 42").close(), 42 << 8) 53 with os.popen("echo hello") as f: 57 with os.popen("echo hello") as f: 61 with os.popen(cmd="exit 0", mode="w", buffering=-1):
|
/external/python/cpython2/Lib/test/ |
D | test_popen.py | 20 data = os.popen(cmd).read() + '\n' 25 self.assertRaises(TypeError, os.popen) 41 self.assertEqual(os.popen("exit 0").close(), None) 43 self.assertEqual(os.popen("exit 42").close(), 42) 45 self.assertEqual(os.popen("exit 42").close(), 42 << 8)
|
D | test_unicodedata.py | 247 popen = subprocess.Popen(args, stderr=subprocess.PIPE) 248 popen.wait() 249 self.assertEqual(popen.returncode, 1) 252 self.assertIn(error, popen.stderr.read())
|
/external/scapy/scapy/arch/ |
D | unix.py | 36 with os.popen('%s -l' % conf.prog.ifconfig) as fdesc: 46 f=os.popen("netstat -rvn") # -f inet 48 f=os.popen("netstat -rnW") # -W to handle long interface names 50 f=os.popen("netstat -rn") # -f inet 154 f = os.popen("%s %s" % (conf.prog.ifconfig, ifname)) 194 f = os.popen("%s" % conf.prog.ifconfig) 208 f = os.popen("%s -l" % conf.prog.ifconfig) 226 fd_netstat = os.popen("netstat -rn -f inet6")
|
/external/v8/src/inspector/build/ |
D | compile-scripts.py | 45 def popen(arguments): function 87 java_version_out, _ = popen([java_path, '-version']).communicate() 98 check_server_proc = popen(exec_command + ['-version']) 126 injected_script_compile_proc = popen(command) 131 validate_injected_script_proc = popen([sys.executable,
|
/external/autotest/client/cros/audio/ |
D | alsa_utils.py | 79 p = cmd_utils.popen(cmd, stdout=subprocess.PIPE) 112 p = cmd_utils.popen(cmd, stdout=subprocess.PIPE) 174 p = cmd_utils.popen(cmd, stdout=subprocess.PIPE) 224 p = cmd_utils.popen(cmd, stdout=subprocess.PIPE) 240 p = cmd_utils.popen(cmd, stdout=subprocess.PIPE) 348 p = cmd_utils.popen(cmd, stdout=subprocess.PIPE)
|
/external/python/cpython2/Lib/ |
D | platform.py | 450 def popen(cmd, mode='r', bufsize=None): function 456 popen = None 465 popen = win32pipe.popen 466 if popen is None: 468 popen = os.popen 473 popen('') 475 popen = _popen 477 popen = _popen 479 return popen(cmd,mode) 481 return popen(cmd,mode,bufsize) [all …]
|
/external/scapy/scapy/arch/bpf/ |
D | core.py | 41 fd = os.popen("%s %s" % (conf.prog.ifconfig, ifname)) 68 fd = os.popen("%s %s" % (conf.prog.ifconfig, ifname)) 107 f = os.popen(command) 130 fd = os.popen("%s -a" % conf.prog.ifconfig)
|
/external/opencensus-java/scripts/ |
D | check-git-history.py | 33 for line in os.popen(git_command): 47 with os.popen(command, 'r') as fd:
|
/external/bcc/tests/python/ |
D | test_percpu.py | 45 f = os.popen("hostname") 75 f = os.popen("hostname") 111 f = os.popen("hostname")
|
/external/python/cpython2/Demo/curses/ |
D | repeat.py | 33 p = os.popen(cmd, "r") 49 p = os.popen(cmd, "r")
|
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
D | list_ports_linux.py | 19 def popen(argv): function 26 def popen(argv): function 84 desc = popen(['lsusb', '-v', '-s', '%s:%s' % (bus, dev)])
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | runtest_mp.py | 50 popen = Popen(cmd, 55 with popen: 56 stdout, stderr = popen.communicate() 57 retcode = popen.wait()
|
/external/autotest/contrib/ |
D | poolhistory.py | 17 return os.popen("/usr/local/autotest/cli/atest host list | " 47 print os.popen('/usr/local/autotest/contrib/onerous_tasks.py host -name %s '
|
/external/python/cpython2/Lib/distutils/ |
D | cygwinccompiler.py | 420 out = os.popen(gcc_exe + ' -dumpversion','r') 432 out = os.popen(ld_exe + ' -v','r') 444 out = os.popen(dllwrap_exe + ' --version','r') 458 out = os.popen('gcc -dumpmachine', 'r')
|
/external/python/cpython2/PC/os2vacpp/ |
D | readme.txt | 31 -- os.popen() Usage Warnings 33 With respect to my implementation of popen() under OS/2: 37 fd = os.popen("pkzip.exe -@ junk.zip", 'wb') 48 using popen() in read mode. 50 One other slight difference with my popen() is that I return None
|
/external/autotest/client/profilers/powertop/src/ |
D | wireless.c | 95 file = popen(line, "r"); in check_unused_wiresless_up() 122 file = popen(line, "r"); in need_wireless_suggest() 218 file = popen("/sbin/iwpriv -a 2> /dev/null", "r"); in find_wireless_nic()
|
/external/python/cpython2/Demo/scripts/ |
D | lpwatch.py | 32 clearhome = os.popen('clear', 'r').read() 42 pipe = os.popen('lpq -P' + name + ' 2>&1', 'r')
|
/external/autotest/client/site_tests/desktopui_AudioFeedback/ |
D | desktopui_AudioFeedback.py | 67 p1 = cmd_utils.popen(cras_utils.capture_cmd( 69 p2 = cmd_utils.popen(cras_utils.loopback_cmd(
|
/external/autotest/client/site_tests/audio_CRASFormatConversion/ |
D | audio_CRASFormatConversion.py | 33 p1 = cmd_utils.popen( 37 p2 = cmd_utils.popen(
|
/external/autotest/client/site_tests/desktopui_MediaAudioFeedback/ |
D | desktopui_MediaAudioFeedback.py | 53 p1 = cmd_utils.popen(cras_utils.capture_cmd( 55 p2 = cmd_utils.popen(cras_utils.loopback_cmd(
|
/external/autotest/client/site_tests/audio_SeekAudioFeedback/ |
D | audio_SeekAudioFeedback.py | 56 p1 = cmd_utils.popen(cras_utils.capture_cmd( 58 p2 = cmd_utils.popen(cras_utils.loopback_cmd(
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | compaction_test.c | 32 FILE *cmdfile = popen(cmd, "r"); in read_memory_info() 43 cmdfile = popen(cmd, "r"); in read_memory_info()
|
/external/python/cpython3/Doc/library/ |
D | platform.rst | 218 .. function:: popen(cmd, mode='r', bufsize=-1) 220 Portable :func:`popen` interface. Find a working popen implementation 221 preferring :func:`win32pipe.popen`. On Windows NT, :func:`win32pipe.popen`
|
/external/python/cpython2/Doc/library/ |
D | platform.rst | 220 .. function:: popen(cmd, mode='r', bufsize=None) 222 Portable :func:`popen` interface. Find a working popen implementation 223 preferring :func:`win32pipe.popen`. On Windows NT, :func:`win32pipe.popen`
|