Searched refs:maxlinelen (Results 1 – 7 of 7) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/ |
D | header.py | 121 def make_header(decoded_seq, maxlinelen=None, header_name=None, argument 133 h = Header(maxlinelen=maxlinelen, header_name=header_name, 146 maxlinelen=None, header_name=None, argument 184 if maxlinelen is None: 185 maxlinelen = MAXLINELEN 189 self._firstlinelen = maxlinelen 193 self._firstlinelen = maxlinelen - len(header_name) - 2 196 self._maxlinelen = maxlinelen - cws_expanded_len 288 def _split(self, s, charset, maxlinelen, splitchars): argument 294 if elen <= maxlinelen: [all …]
|
D | base64mime.py | 65 maxlinelen=76, eol=NL): argument 101 max_encoded = maxlinelen - len(charset) - MISC_LEN 122 def encode(s, binary=True, maxlinelen=76, eol=NL): argument 143 max_unencoded = maxlinelen * 3 // 4
|
D | quoprimime.py | 115 maxlinelen=76, eol=NL): argument 153 if maxlinelen is None: 157 max_encoded = maxlinelen - len(charset) - MISC_LEN - 1 178 def encode(body, binary=False, maxlinelen=76, eol=NL): argument 233 if len(encoded_line) + len(c) >= maxlinelen: 242 if len(encoded_line) + len(prev) > maxlinelen:
|
D | charset.py | 367 return email.quoprimime.header_encode(s, cset, maxlinelen=None) 374 return email.quoprimime.header_encode(s, cset, maxlinelen=None)
|
D | generator.py | 164 v, maxlinelen=self._maxheaderlen, header_name=h).encode()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/ |
D | test_email_renamed.py | 708 h = Header(hstr, maxlinelen=78, header_name='Received', 2592 eq(base64mime.encode('xxxx ' * 20, maxlinelen=40), """\ 2599 eq(base64mime.encode('xxxx ' * 20, maxlinelen=40, eol='\r\n'), """\ 2617 eq(he('xxxx ' * 20, maxlinelen=40), """\ 2625 eq(he('xxxx ' * 20, maxlinelen=40, eol='\r\n'), """\ 2697 eq(he('xxxx ' * 20, maxlinelen=40), """\ 2704 eq(he('xxxx ' * 20, maxlinelen=40, eol='\r\n'), """\ 2726 eq(quoprimime.encode('xxxx ' * 20, maxlinelen=40), """\ 2731 eq(quoprimime.encode('xxxx ' * 20, maxlinelen=40, eol='\r\n'), """\ 2825 maxlinelen=76) [all …]
|
D | test_email.py | 771 h = Header(hstr, maxlinelen=78, header_name='Received', 2763 eq(base64MIME.encode('xxxx ' * 20, maxlinelen=40), """\ 2770 eq(base64MIME.encode('xxxx ' * 20, maxlinelen=40, eol='\r\n'), """\ 2788 eq(he('xxxx ' * 20, maxlinelen=40), """\ 2796 eq(he('xxxx ' * 20, maxlinelen=40, eol='\r\n'), """\ 2868 eq(he('xxxx ' * 20, maxlinelen=40), """\ 2875 eq(he('xxxx ' * 20, maxlinelen=40, eol='\r\n'), """\ 2897 eq(quopriMIME.encode('xxxx ' * 20, maxlinelen=40), """\ 2902 eq(quopriMIME.encode('xxxx ' * 20, maxlinelen=40, eol='\r\n'), """\ 2999 maxlinelen=76) [all …]
|