Home
last modified time | relevance | path

Searched refs:maxlinelength (Results 1 – 4 of 4) sorted by relevance

/external/fonttools/Lib/fontTools/misc/
Dplistlib.py93 def _encode_base64(data, maxlinelength=76, indent_level=1): argument
95 if data and maxlinelength:
98 max_length = max(16, maxlinelength - len(indent))
122 def asBase64(self, maxlinelength=76, indent_level=1): argument
124 self.data, maxlinelength=maxlinelength, indent_level=indent_level
358 maxlinelength=(76 if ctx.pretty_print else None),
/external/python/cpython2/Lib/
Dplistlib.py265 maxlinelength = max(16, 76 - len(self.indent.replace("\t", " " * 8) *
267 for line in data.asBase64(maxlinelength).split("\n"):
356 def _encodeBase64(s, maxlinelength=76): argument
358 maxbinsize = (maxlinelength//4)*3
378 def asBase64(self, maxlinelength=76): argument
379 return _encodeBase64(self.data, maxlinelength)
/external/python/cpython3/Mac/Tools/
Dplistlib_generate_testdata.py95 def _encode_base64(s, maxlinelength=60): argument
96 maxbinsize = (maxlinelength//4)*3
/external/python/cpython3/Lib/
Dplistlib.py157 def asBase64(self, maxlinelength=76): argument
158 return _encode_base64(self.data, maxlinelength)
195 def _encode_base64(s, maxlinelength=76): argument
197 maxbinsize = (maxlinelength//4)*3
448 maxlinelength = max(
452 for line in _encode_base64(data, maxlinelength).split(b"\n"):