Lines Matching refs:max_line_length
134 # routines that accepted a max_line_length parameter.
135 def _encode_base64(data, max_line_length):
137 unencoded_bytes_per_line = max_line_length // 4 * 3
151 if max((len(x) for x in lines), default=0) <= policy.max_line_length:
160 policy.max_line_length)
175 policy.max_line_length)
177 data = _encode_base64(embedded_body(lines), policy.max_line_length)
235 data = _encode_base64(data, max_line_length=msg.policy.max_line_length)
238 # so we can't use it. This means max_line_length is ignored. Another