Home
last modified time | relevance | path

Searched refs:popen (Results 1 – 25 of 48) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_popen.py21 data = os.popen(cmd).read() + '\n'
26 self.assertRaises(TypeError, os.popen)
42 self.assertEqual(os.popen("exit 0").close(), None)
44 self.assertEqual(os.popen("exit 42").close(), 42)
46 self.assertEqual(os.popen("exit 42").close(), 42 << 8)
Dtest_popen2.py27 from os import popen
28 del popen
Dtest_unicodedata.py234 popen = subprocess.Popen(args, stderr=subprocess.PIPE)
235 popen.wait()
236 self.assertEqual(popen.returncode, 1)
239 self.assertIn(error, popen.stderr.read())
Dtest_select.py33 p = os.popen(cmd, 'r')
Dtest_poll.py119 p = os.popen(cmd, 'r')
Dtest_tcl.py148 f = os.popen('%s -c "import Tkinter; print Tkinter"' % (unc_name,))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dplatform.py419 def popen(cmd, mode='r', bufsize=None): function
425 popen = None
434 popen = win32pipe.popen
435 if popen is None:
437 popen = os.popen
442 popen('')
444 popen = _popen
446 popen = _popen
448 return popen(cmd,mode)
450 return popen(cmd,mode,bufsize)
[all …]
Dcommands.py59 pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r')
Dpipes.py173 return os.popen(cmd, 'r')
182 return os.popen(cmd, 'w')
Dmimetools.py225 pipe = os.popen(command, 'w')
234 pipe = os.popen(command + ' <' + tempname, 'r')
Duuid.py305 with os.popen(cmd) as pipe:
353 pipe = os.popen(os.path.join(dir, 'ipconfig') + ' /all')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dplatform.py419 def popen(cmd, mode='r', bufsize=None): function
425 popen = None
434 popen = win32pipe.popen
435 if popen is None:
437 popen = os.popen
442 popen('')
444 popen = _popen
446 popen = _popen
448 return popen(cmd,mode)
450 return popen(cmd,mode,bufsize)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
Dlpwatch.py32 clearhome = os.popen('clear', 'r').read()
42 pipe = os.popen('lpq -P' + name + ' 2>&1', 'r')
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
DStubFunctions.c75 popen (const char *cmd, const char *type) in popen() function
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Dcygwinccompiler.py415 out = os.popen(gcc_exe + ' -dumpversion','r')
427 out = os.popen(ld_exe + ' -v','r')
439 out = os.popen(dllwrap_exe + ' --version','r')
Dmsvc9compiler.py273 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()
Demxccompiler.py304 out = os.popen(gcc_exe + ' -dumpversion','r')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dgetcwd.c66 if ((fp = popen(PWD_CMD, "r")) == NULL) in getcwd()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dnm2def.py45 lines = os.popen(NM % lib).readlines()
Ddutree.py7 p = os.popen('du ' + ' '.join(sys.argv[1:]), 'r')
/device/google/marlin/sepolicy/
Dims.te38 # Runs /system/bin/sh for executing ndc commands via popen
/device/google/cuttlefish_common/host/commands/stop_cvd/
Dmain.cc60 std::shared_ptr<FILE> cmd_out(popen(cmd.c_str(), "r"), pclose); in GetCandidateProcessGroups()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/
Dgopher.py202 p = os.popen('${PAGER-more}', 'w')
308 p = os.popen(cmd, 'w')
/device/google/cuttlefish_common/host/commands/kernel_log_monitor/
Dkernel_log_server.cc150 FILE* log = popen("/usr/bin/sudo /usr/bin/tee /dev/kmsg", "w"); in HandleIncomingMessage()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/
Dfaqwiz.py233 p = os.popen(command)
623 output = os.popen(command).read()
687 output = os.popen(command).read()
790 p = os.popen(command)
817 p = os.popen(command)

12