HomeSort by relevance Sort by last modified time
    Searched refs:popen (Results 1 - 25 of 354) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/python/cpython3/Lib/test/
test_popen.py 1 """Basic tests for os.popen()
3 Particularly useful for platforms that fake popen.
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)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_popen.py 2 """Basic tests for os.popen()
4 Particularly useful for platforms that fake popen.
21 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)
  /external/python/cpython2/Lib/test/
test_popen.py 1 """Basic tests for os.popen()
3 Particularly useful for platforms that fake popen.
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)
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_popen.py 2 """Basic tests for os.popen()
4 Particularly useful for platforms that fake popen.
21 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)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_popen.py 2 """Basic tests for os.popen()
4 Particularly useful for platforms that fake popen.
21 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)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_popen.py 2 """Basic tests for os.popen()
4 Particularly useful for platforms that fake popen.
21 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)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_popen.py 2 """Basic tests for os.popen()
4 Particularly useful for platforms that fake popen.
21 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)
  /tools/test/connectivity/acts/framework/tests/
acts_job_test.py 34 """A fake version of the object returned from subprocess.Popen()."""
63 'acts.libs.proc.job.subprocess.Popen',
65 def test_run_success(self, popen):
71 'acts.libs.proc.job.subprocess.Popen',
73 def test_run_stderr(self, popen):
81 'acts.libs.proc.job.subprocess.Popen',
83 def test_run_error(self, popen):
88 'acts.libs.proc.job.subprocess.Popen',
90 def test_run_with_ignored_error(self, popen):
96 'acts.libs.proc.job.subprocess.Popen',
    [all...]
  /external/python/cpython2/Demo/curses/
repeat.py 33 p = os.popen(cmd, "r")
49 p = os.popen(cmd, "r")
  /external/v8/src/inspector/build/
compile-scripts.py 49 def popen(arguments): function
50 return subprocess.Popen(arguments, stdout=subprocess.PIPE,
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/ltp/lib/
tst_pid.c 44 f = popen("ps -eT | wc -l", "r");
  /external/autotest/contrib/
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 '
  /prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/
util.py 112 f = os.popen(cmd)
137 f = os.popen(cmd)
153 f = os.popen(cmd)
158 f = os.popen(cmd)
186 f = os.popen('/sbin/ldconfig -r 2>/dev/null')
208 for line in os.popen(cmd).readlines():
245 f = os.popen('/sbin/ldconfig -p 2>/dev/null')
  /prebuilts/gdb/linux-x86/lib/python2.7/ctypes/
util.py 112 f = os.popen(cmd)
137 f = os.popen(cmd)
153 f = os.popen(cmd)
158 f = os.popen(cmd)
186 f = os.popen('/sbin/ldconfig -r 2>/dev/null')
208 for line in os.popen(cmd).readlines():
245 f = os.popen('/sbin/ldconfig -p 2>/dev/null')
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/
util.py 112 f = os.popen(cmd)
137 f = os.popen(cmd)
153 f = os.popen(cmd)
158 f = os.popen(cmd)
186 f = os.popen('/sbin/ldconfig -r 2>/dev/null')
208 for line in os.popen(cmd).readlines():
245 f = os.popen('/sbin/ldconfig -p 2>/dev/null')
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/
util.py 112 f = os.popen(cmd)
137 f = os.popen(cmd)
153 f = os.popen(cmd)
158 f = os.popen(cmd)
186 f = os.popen('/sbin/ldconfig -r 2>/dev/null')
208 for line in os.popen(cmd).readlines():
245 f = os.popen('/sbin/ldconfig -p 2>/dev/null')
  /cts/tests/tests/drm/jni/
android_drm_cts_NativeCodeTest.cpp 34 FILE *f = popen("service call drm.drmManager 6 i32 0 i32 31 i32 1937339183 i32 795698548 "
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
commands.py 1 """Execute shell commands via os.popen() and return status, output.
15 pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r')
59 pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r')
  /device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
StubFunctions.c 75 popen (const char *cmd, const char *type) function
  /external/autotest/client/profilers/powertop/src/
xrandr.c 54 file = popen("xrandr 2> /dev/null", "r");
  /external/autotest/client/tests/kernel_sysrq_info/
kernel_sysrq_info.py 30 with os.popen("dmesg --raw") as f:
  /external/e2fsprogs/include/nonunix/
unistd.h 15 #define popen _popen macro
  /external/googletest/googletest/scripts/
common.py 49 f = os.popen(command, 'r')
  /external/ltp/testcases/kernel/containers/netns/
netns_helper.h 41 ipf = popen("ip -V", "r");
  /external/python/cpython2/Lib/
commands.py 1 """Execute shell commands via os.popen() and return status, output.
15 pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r')
59 pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r')

Completed in 414 milliseconds

1 2 3 4 5 6 7 8 91011>>