/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 | 234 popen = subprocess.Popen(args, stderr=subprocess.PIPE) 235 popen.wait() 236 self.assertEqual(popen.returncode, 1) 239 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 | 49 def popen(arguments): function 91 java_version_out, _ = popen([java_path, '-version']).communicate() 102 check_server_proc = popen(exec_command + ['-version']) 130 injected_script_compile_proc = popen(command) 140 debugger_script_compile_proc = popen(command) 145 validate_injected_script_proc = popen([sys.executable,
|
/external/autotest/client/cros/audio/ |
D | alsa_utils.py | 77 p = cmd_utils.popen(cmd, stdout=subprocess.PIPE) 110 p = cmd_utils.popen(cmd, stdout=subprocess.PIPE) 172 p = cmd_utils.popen(cmd, stdout=subprocess.PIPE) 222 p = cmd_utils.popen(cmd, stdout=subprocess.PIPE) 238 p = cmd_utils.popen(cmd, stdout=subprocess.PIPE) 346 p = cmd_utils.popen(cmd, stdout=subprocess.PIPE)
|
/external/python/cpython2/Lib/ |
D | platform.py | 421 def popen(cmd, mode='r', bufsize=None): function 427 popen = None 436 popen = win32pipe.popen 437 if popen is None: 439 popen = os.popen 444 popen('') 446 popen = _popen 448 popen = _popen 450 return popen(cmd,mode) 452 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/python/cpython3/Lib/test/libregrtest/ |
D | runtest_mp.py | 53 popen = Popen(cmd, 58 with popen: 59 stdout, stderr = popen.communicate() 60 retcode = popen.wait()
|
/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/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')
|
D | msvc9compiler.py | 273 popen = subprocess.Popen('"%s" %s & set' % (vcvarsall, arch), 277 stdout, stderr = popen.communicate() 278 if popen.wait() != 0: 295 popen.stdout.close() 296 popen.stderr.close()
|
/external/python/cpython2/Demo/curses/ |
D | repeat.py | 33 p = os.popen(cmd, "r") 49 p = os.popen(cmd, "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/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/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/tensorflow/tensorflow/core/platform/profile_utils/ |
D | cpu_utils.cc | 71 FILE* fp = popen("grep '^bogomips' /proc/cpuinfo | head -1", "r"); in GetCycleCounterFrequencyImpl() 89 popen("sysctl hw | grep hw.cpufrequency_max: | cut -d' ' -f 2", "r"); in GetCycleCounterFrequencyImpl()
|
/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/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_CRASFormatConversion/ |
D | audio_CRASFormatConversion.py | 33 p1 = cmd_utils.popen( 37 p2 = cmd_utils.popen(
|
/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 | 30 FILE *cmdfile = popen(cmd, "r"); in read_memory_info() 41 cmdfile = popen(cmd, "r"); in read_memory_info()
|
/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`
|
/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`
|