/external/lldb/test/pexpect-2.4/examples/ |
ssh_tunnel.py | 16 import pexpect namespace 30 ps = pexpect.run ('ps ax -O ppid') 34 ssh_tunnel = pexpect.spawn (tunnel_command % globals()) 39 ssh_tunnel.expect (pexpect.EOF) 47 ps = pexpect.spawn ('ps') 49 index = ps.expect (['/usr/bin/ssh', pexpect.EOF, pexpect.TIMEOUT])
|
df.py | 10 import pexpect namespace 12 child = pexpect.spawn ('df') 18 i = child.expect ([pattern, pexpect.EOF])
|
python.py | 7 # c = pexpect.spawn ('/usr/bin/env python ./python.py') 9 import pexpect namespace 10 c = pexpect.spawn ('/usr/bin/env python')
|
sshls.py | 9 import pexpect namespace 16 This returns a pexpect.spawn object. This handles the case when you try to 21 child = pexpect.spawn('ssh -l %s %s %s'%(user, host, command)) 22 i = child.expect([pexpect.TIMEOUT, ssh_newkey, 'password: ']) 31 i = child.expect([pexpect.TIMEOUT, 'password: ']) 46 child.expect(pexpect.EOF)
|
ftp.py | 9 import pexpect namespace 12 child = pexpect.spawn('ftp ftp.openbsd.org') 16 child.sendline('pexpect@sourceforge.net')
|
uptime.py | 9 import pexpect namespace 32 p = pexpect.spawn ('uptime')
|
passmass.py | 6 import pexpect namespace 17 child = pexpect.spawn('ssh -l %s %s'%(user, host)) 21 i = child.expect([pexpect.TIMEOUT, SSH_NEWKEY, '[Pp]assword: ']) 88 except pexpect.ExceptionPexpect, e:
|
fix_cvs_files.py | 21 import pexpect namespace 45 s = pexpect.spawn ('cvs status %s' % filename) 64 s = pexpect.run ('cvs admin -kb %s' % filename)
|
monitor.py | 28 import pexpect namespace 79 child = pexpect.spawn('ssh -l %s %s'%(user, host)) 80 i = child.expect([pexpect.TIMEOUT, SSH_NEWKEY, COMMAND_PROMPT, '(?i)password']) 105 COMMAND_PROMPT = "\[PEXPECT\]\$ " 106 child.sendline ("PS1='[PEXPECT]\$ '") # In case of sh-style 107 i = child.expect ([pexpect.TIMEOUT, COMMAND_PROMPT], timeout=10) 110 child.sendline ("set prompt='[PEXPECT]\$ '") 111 i = child.expect ([pexpect.TIMEOUT, COMMAND_PROMPT], timeout=10) 195 index = child.expect([pexpect.EOF, "(?i)there are stopped jobs"])
|
/external/lldb/test/functionalities/command_regex/ |
TestCommandRegex.py | 8 import pexpect namespace 21 child = pexpect.spawn('%s %s' % (self.lldbHere, self.lldbOption))
|
/external/lldb/test/functionalities/connect_remote/ |
TestConnectRemote.py | 8 import pexpect namespace 19 fakeserver = pexpect.spawn('./EchoServer.py')
|
/external/chromium_org/build/android/pylib/ |
pexpect.py | 12 _PEXPECT_PATH = os.path.join(_CHROME_SRC, 'third_party', 'pexpect') 16 # pexpect is not available on all platforms. We allow this file to be imported 17 # on platforms without pexpect and only fail when pexpect is actually used. 19 from pexpect import * # pylint: disable=W0401,W0614
|
/external/lldb/test/benchmarks/stepping/ |
TestRunHooksThenSteppings.py | 6 import pexpect namespace 31 self.child = pexpect.spawn('%s %s' % (self.lldbHere, self.lldbOption)) 55 self.child.expect(pexpect.EOF)
|
TestSteppingSpeed.py | 6 import pexpect namespace 44 self.child = pexpect.spawn('%s %s %s' % (self.lldbHere, self.lldbOption, exe)) 67 self.child.expect(pexpect.EOF)
|
/external/lldb/test/benchmarks/expression/ |
TestExpressionCmd.py | 6 import pexpect namespace 42 self.child = pexpect.spawn('%s %s %s' % (self.lldbHere, self.lldbOption, exe)) 65 self.child.expect(pexpect.EOF)
|
TestRepeatedExprs.py | 6 import pexpect namespace 44 self.child = pexpect.spawn('%s %s %s' % (self.lldbExec, self.lldbOption, exe)) 72 self.child.expect(pexpect.EOF) 89 self.child = pexpect.spawn('gdb --nx %s' % exe) 119 self.child.expect(pexpect.EOF)
|
/external/lldb/test/benchmarks/frame_variable/ |
TestFrameVariableResponse.py | 6 import pexpect namespace 44 self.child = pexpect.spawn('%s %s %s' % (self.lldbHere, self.lldbOption, exe)) 66 self.child.expect(pexpect.EOF)
|
/external/lldb/test/benchmarks/startup/ |
TestStartupDelays.py | 6 import pexpect namespace 52 self.child = pexpect.spawn('%s %s' % (self.lldbHere, self.lldbOption)) 76 self.child.expect(pexpect.EOF)
|
/external/lldb/test/functionalities/single-quote-in-filename-to-lldb/ |
TestSingleQuoteInFilename.py | 8 import pexpect namespace 36 self.child = pexpect.spawn('%s %s "%s"' % (self.lldbHere, self.lldbOption, self.myexe))
|
/external/lldb/test/benchmarks/disassembly/ |
TestDisassembly.py | 6 import pexpect namespace 74 self.child = pexpect.spawn('%s %s %s' % (self.lldbExec, self.lldbOption, exe)) 99 self.child.expect(pexpect.EOF) 114 self.child = pexpect.spawn('%s --nx %s' % (self.gdbExec, exe)) 141 self.child.expect(pexpect.EOF)
|
TestXcode41Vs42GDBDisassembly.py | 6 import pexpect namespace 55 self.child = pexpect.spawn('%s --nx %s' % (gdb_exe_path, exe)) 82 self.child.expect(pexpect.EOF)
|
/external/lldb/test/benchmarks/turnaround/ |
TestCompileRunToBreakpointTurnaround.py | 6 import pexpect namespace 40 self.child = pexpect.spawn('%s %s %s' % (self.lldbExec, self.lldbOption, exe)) 68 self.child.expect(pexpect.EOF) 80 self.child = pexpect.spawn('gdb --nx %s' % exe) 110 self.child.expect(pexpect.EOF)
|
/external/chromium_org/tools/android/adb_profile_chrome/ |
chrome_controller.py | 12 from pylib import pexpect namespace 43 except pexpect.TIMEOUT: 81 except pexpect.TIMEOUT:
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/ |
iprofiler_profiler.py | 13 # pexpect is not available on all platforms so use the third_party version. 14 util.AddDirToPythonPath(util.GetChromiumSrcDir(), 'third_party', 'pexpect') 16 import pexpect # pylint: disable=F0401 namespace 27 self._proc = pexpect.spawn( 57 except pexpect.ExceptionPexpect:
|
/external/lldb/utils/test/ |
run-until-faulted.py | 31 import pexpect, time namespace 34 lldb = pexpect.spawn(lldb_command) 54 pexpect.TIMEOUT]) 69 # This is to set up the Python path to include the pexpect-2.4 dir. 72 sys.path.append(os.path.join(scriptPath, os.pardir, os.pardir, 'test', 'pexpect-2.4'))
|