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
362 line = self.file.readline(_MAXLINE + 1)
372 if len(line) > _MAXLINE:
Dimaplib.py45 _MAXLINE = 1000000 variable
251 line = self.file.readline(_MAXLINE + 1)
252 if len(line) > _MAXLINE:
253 raise self.error("got more than %d bytes" % _MAXLINE)
/external/python/cpython3/Lib/http/
Dclient.py112 _MAXLINE = 65536 variable
205 line = fp.readline(_MAXLINE + 1)
206 if len(line) > _MAXLINE:
257 line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
258 if len(line) > _MAXLINE:
301 skip = self.fp.readline(_MAXLINE + 1)
302 if len(skip) > _MAXLINE:
504 line = self.fp.readline(_MAXLINE + 1)
505 if len(line) > _MAXLINE:
522 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
387 line = self.file.readline(_MAXLINE + 1)
397 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
310 line = self.file.readline(_MAXLINE + 1)
311 if len(line) > _MAXLINE:
312 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.py301 'echo +%s' % ((poplib._MAXLINE + 10) * 'a'))
Dtest_imaplib.py857 self.wfile.write(b'* OK ' + imaplib._MAXLINE * b'x' + b'\r\n')
Dtest_smtplib.py630 respdata = b'250 OK' + (b'.' * smtplib._MAXLINE * 2) + b'\n'