Searched refs:maxlinelen (Results 1 – 8 of 8) sorted by relevance
/third_party/python/Lib/email/ |
D | header.py | 156 def make_header(decoded_seq, maxlinelen=None, header_name=None, argument 168 h = Header(maxlinelen=maxlinelen, header_name=header_name, 181 maxlinelen=None, header_name=None, argument 218 if maxlinelen is None: 219 maxlinelen = MAXLINELEN 220 self._maxlinelen = maxlinelen 313 def encode(self, splitchars=';, \t', maxlinelen=None, linesep='\n'): argument 347 if maxlinelen is None: 348 maxlinelen = self._maxlinelen 352 if maxlinelen == 0: [all …]
|
D | quoprimime.py | 152 def body_encode(body, maxlinelen=76, eol=NL): argument 171 if maxlinelen < 4: 181 maxlinelen1 = maxlinelen - 1 189 laststart = len(line) - 1 - maxlinelen
|
D | _policybase.py | 366 maxlinelen = 0 368 maxlinelen = self.max_line_length 369 parts.append(h.encode(linesep=self.linesep, maxlinelen=maxlinelen))
|
D | base64mime.py | 76 def body_encode(s, maxlinelen=76, eol=NL): argument 90 max_unencoded = maxlinelen * 3 // 4
|
/third_party/popt/src/ |
D | poptparse.c | 141 size_t maxlinelen = sizeof(line); in poptConfigFileToString() local 157 while (fgets(line, (int)maxlinelen, fp) != NULL) { in poptConfigFileToString() 165 if (linelen >= maxlinelen-1) { in poptConfigFileToString()
|
/third_party/python/Doc/library/ |
D | email.header.rst | 60 .. class:: Header(s=None, charset=None, maxlinelen=None, header_name=None, continuation_ws=' ', err… 77 The maximum line length can be specified explicitly via *maxlinelen*. For 80 field in *header_name*. The default *maxlinelen* is 76, and the default value 119 .. method:: encode(splitchars=';, \\t', maxlinelen=None, linesep='\\n') 135 *maxlinelen*, if given, overrides the instance's value for the maximum 193 .. function:: make_header(decoded_seq, maxlinelen=None, header_name=None, continuation_ws=' ') 203 :class:`Header` instance. Optional *maxlinelen*, *header_name*, and
|
/third_party/python/Lib/test/test_email/ |
D | test_email.py | 946 eq(h.encode(maxlinelen=76), """\ 1229 h = Header(hstr, maxlinelen=78, header_name='Received', 1244 eq(h.encode(maxlinelen=76), """\ 1301 eq(h.encode(maxlinelen=76), """\ 1322 eq(h.encode(maxlinelen=76), """\ 2322 self.ndiffAssertEqual(header.encode(maxlinelen=76), """\ 4291 eq(base64mime.body_encode(b'xxxx ' * 20, maxlinelen=40), """\ 4298 eq(base64mime.body_encode(b'xxxx ' * 20, maxlinelen=40, eol='\r\n'), 4514 def _test_encode(self, body, expected_encoded_body, maxlinelen=None, eol=None): argument 4516 if maxlinelen is None: [all …]
|
/third_party/python/Misc/ |
D | HISTORY | 23037 has changed slightly so that an explicit maxlinelen value is always
|