Lines Matching refs:p
64 self.p = console.p
65 self.orig_timeout = self.p.timeout
66 self.p.timeout = timeout
72 self.p.timeout = self.orig_timeout
109 self.p = None
136 if self.p:
137 self.p.close()
191 self.p.send(chunk)
196 m = self.p.expect([chunk] + self.bad_patterns)
203 m = self.p.expect([self.prompt_compiled] + self.bad_patterns)
212 return self.p.before.strip('\r\n')
270 m = self.p.expect([text] + self.bad_patterns)
297 if not self.p:
300 orig_timeout = self.p.timeout
303 self.p.timeout = 1000
306 self.p.expect(['This should never match U-Boot output'])
320 self.p.timeout = orig_timeout
337 if self.p:
342 self.p = self.get_spawn()
348 self.p.timeout = 30000
349 self.p.logfile_read = self.logstream
357 m = self.p.expect([pattern_u_boot_spl_signon] +
362 m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
366 self.u_boot_version_string = self.p.after
368 m = self.p.expect([self.prompt_compiled,
373 self.p.send(' ')
403 if self.p:
404 self.p.close()
407 self.p = None
420 if self.p:
421 return self.p.get_expect_output()