Home
last modified time | relevance | path

Searched refs:_MAXLINE (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Lib/
Dhttplib.py217 _MAXLINE = 65536 variable
316 line = self.fp.readline(_MAXLINE + 1)
317 if len(line) > _MAXLINE:
394 line = self.fp.readline(_MAXLINE + 1)
395 if len(line) > _MAXLINE:
443 skip = self.fp.readline(_MAXLINE + 1)
444 if len(skip) > _MAXLINE:
615 line = self.fp.readline(_MAXLINE + 1)
616 if len(line) > _MAXLINE:
652 line = self.fp.readline(_MAXLINE + 1)
[all …]
Dpoplib.py39 _MAXLINE = 2048 variable
112 line = self.file.readline(_MAXLINE + 1)
113 if len(line) > _MAXLINE:
376 if len(self.buffer) > _MAXLINE:
Dnntplib.py44 _MAXLINE = 2048 variable
210 line = self.file.readline(_MAXLINE + 1)
211 if len(line) > _MAXLINE:
Dsmtplib.py60 _MAXLINE = 8192 # more than 8 times larger than RFC 821, 4.5.3 variable
361 line = self.file.readline(_MAXLINE + 1)
371 if len(line) > _MAXLINE:
Dimaplib.py45 _MAXLINE = 1000000 variable
250 line = self.file.readline(_MAXLINE + 1)
251 if len(line) > _MAXLINE:
252 raise self.error("got more than %d bytes" % _MAXLINE)
/external/python/cpython3/Lib/http/
Dclient.py113 _MAXLINE = 65536 variable
206 line = fp.readline(_MAXLINE + 1)
207 if len(line) > _MAXLINE:
258 line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
259 if len(line) > _MAXLINE:
302 skip = self.fp.readline(_MAXLINE + 1)
303 if len(skip) > _MAXLINE:
506 line = self.fp.readline(_MAXLINE + 1)
507 if len(line) > _MAXLINE:
524 line = self.fp.readline(_MAXLINE + 1)
[all …]
/external/python/cpython3/Lib/
Dpoplib.py47 _MAXLINE = 2048 variable
128 line = self.file.readline(_MAXLINE + 1)
129 if len(line) > _MAXLINE:
Dsmtplib.py66 _MAXLINE = 8192 # more than 8 times larger than RFC 821, 4.5.3 variable
386 line = self.file.readline(_MAXLINE + 1)
396 if len(line) > _MAXLINE:
Dnntplib.py92 _MAXLINE = 2048 variable
432 line = self.file.readline(_MAXLINE +1)
433 if len(line) > _MAXLINE:
Dimaplib.py53 _MAXLINE = 1000000 variable
305 line = self.file.readline(_MAXLINE + 1)
306 if len(line) > _MAXLINE:
307 raise self.error("got more than %d bytes" % _MAXLINE)
/external/python/cpython2/Lib/test/
Dtest_imaplib.py172 self.wfile.write('* OK ' + imaplib._MAXLINE*'x' + '\r\n')
Dtest_poplib.py203 'echo +%s' % ((poplib._MAXLINE + 10) * 'a'))
Dtest_smtplib.py297 respdata = '250 OK' + ('.' * smtplib._MAXLINE * 2) + '\n'
/external/python/cpython3/Lib/test/
Dtest_poplib.py293 'echo +%s' % ((poplib._MAXLINE + 10) * 'a'))
Dtest_imaplib.py827 self.wfile.write(b'* OK ' + imaplib._MAXLINE * b'x' + b'\r\n')
Dtest_smtplib.py595 respdata = b'250 OK' + (b'.' * smtplib._MAXLINE * 2) + b'\n'