Searched refs:maxlinelength (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/ |
D | plistlib.py | 265 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/fonttools/Lib/fontTools/misc/plistlib/ |
D | __init__.py | 111 def asBase64(self, maxlinelength: int = 76, indent_level: int = 1) -> bytes: 113 self.data, maxlinelength=maxlinelength, indent_level=indent_level 129 data: bytes, maxlinelength: Optional[int] = 76, indent_level: int = 1 132 if data and maxlinelength: 135 max_length = max(16, maxlinelength - len(indent)) 396 maxlinelength=(76 if ctx.pretty_print else None),
|
/external/python/cpython3/Mac/Tools/ |
D | plistlib_generate_testdata.py | 98 def _encode_base64(s, maxlinelength=60): argument 99 maxbinsize = (maxlinelength//4)*3
|
/external/python/cpython3/Lib/ |
D | plistlib.py | 112 def _encode_base64(s, maxlinelength=76): argument 114 maxbinsize = (maxlinelength//4)*3 365 maxlinelength = max( 369 for line in _encode_base64(data, maxlinelength).split(b"\n"):
|