Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Dftplib.py106 maxline = MAXLINE variable in FTP
186 line = self.file.readline(self.maxline + 1)
187 if len(line) > self.maxline:
188 raise Error("got more than %d bytes" % self.maxline)
440 line = fp.readline(self.maxline + 1)
441 if len(line) > self.maxline:
442 raise Error("got more than %d bytes" % self.maxline)
495 buf = fp.readline(self.maxline + 1)
496 if len(buf) > self.maxline:
497 raise Error("got more than %d bytes" % self.maxline)
[all …]
/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.py573 'x' * self.client.maxline * 2)
576 self.client.sendcmd('SETLONGRETR %d' % (self.client.maxline * 2))
582 f = StringIO.StringIO('x' * self.client.maxline * 2)