Lines Matching refs:maxsize
695 def recv(self, maxsize=None):
696 return self._recv('stdout', maxsize)
698 def recv_err(self, maxsize=None):
699 return self._recv('stderr', maxsize)
701 def send_recv(self, input='', maxsize=None):
702 return self.send(input), self.recv(maxsize), self.recv_err(maxsize)
704 def get_conn_maxsize(self, which, maxsize):
705 if maxsize is None:
706 maxsize = 1024
707 elif maxsize < 1:
708 maxsize = 1
709 return getattr(self, which), maxsize
732 def _recv(self, which, maxsize):
733 conn, maxsize = self.get_conn_maxsize(which, maxsize)
740 if maxsize < nAvail:
741 nAvail = maxsize
772 def _recv(self, which, maxsize):
773 conn, maxsize = self.get_conn_maxsize(which, maxsize)
789 r = conn.read(maxsize)