Home
last modified time | relevance | path

Searched refs:maxline (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/
Dftplib.py106 maxline = MAXLINE variable in FTP
188 line = self.file.readline(self.maxline + 1)
189 if len(line) > self.maxline:
190 raise Error("got more than %d bytes" % self.maxline)
446 line = fp.readline(self.maxline + 1)
447 if len(line) > self.maxline:
448 raise Error("got more than %d bytes" % self.maxline)
506 buf = fp.readline(self.maxline + 1)
507 if len(buf) > self.maxline:
508 raise Error("got more than %d bytes" % self.maxline)
[all …]
/external/python/cpython3/Lib/
Dftplib.py101 maxline = MAXLINE variable in FTP
204 line = self.file.readline(self.maxline + 1)
205 if len(line) > self.maxline:
206 raise Error("got more than %d bytes" % self.maxline)
471 line = fp.readline(self.maxline + 1)
472 if len(line) > self.maxline:
473 raise Error("got more than %d bytes" % self.maxline)
532 buf = fp.readline(self.maxline + 1)
533 if len(buf) > self.maxline:
534 raise Error("got more than %d bytes" % self.maxline)
/external/python/cpython2/Lib/test/
Dtest_cgi.py281 maxline = 1 << 16
298 check('x' * (maxline - 1))
299 check('x' * (maxline - 1) + '\r')
300 check('x' * (maxline - 1) + '\r' + 'y' * (maxline - 1))
Dtest_ftplib.py582 'x' * self.client.maxline * 2)
585 self.client.sendcmd('SETLONGRETR %d' % (self.client.maxline * 2))
591 f = StringIO.StringIO('x' * self.client.maxline * 2)
/external/python/cpython3/Lib/test/
Dtest_cgi.py306 maxline = 1 << 16
323 check('x' * (maxline - 1))
324 check('x' * (maxline - 1) + '\r')
325 check('x' * (maxline - 1) + '\r' + 'y' * (maxline - 1))
Dtest_ftplib.py784 'x' * self.client.maxline * 2)
787 self.client.sendcmd('SETLONGRETR %d' % (self.client.maxline * 2))
793 f = io.BytesIO(b'x' * self.client.maxline * 2)