Home
last modified time | relevance | path

Searched refs:a2b_qp (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_binascii.py180 a2b_qp = binascii.a2b_qp
183 a2b_qp(data=b"", header=False) # Keyword arguments allowed
187 a2b_qp(b"", **{1:1})
193 self.assertEqual(a2b_qp(type2test(b"=")), b"")
194 self.assertEqual(a2b_qp(type2test(b"= ")), b"= ")
195 self.assertEqual(a2b_qp(type2test(b"==")), b"=")
196 self.assertEqual(a2b_qp(type2test(b"=\nAB")), b"AB")
197 self.assertEqual(a2b_qp(type2test(b"=\r\nAB")), b"AB")
198 self.assertEqual(a2b_qp(type2test(b"=\rAB")), b"") # ?
199 self.assertEqual(a2b_qp(type2test(b"=\rAB\nCD")), b"CD") # ?
[all …]
Dtest_quopri.py52 if quopri.b2a_qp is not None or quopri.a2b_qp is not None:
54 olddecode = quopri.a2b_qp
57 quopri.a2b_qp = None
61 quopri.a2b_qp = olddecode
/external/python/cpython3/Lib/test/
Dtest_binascii.py262 a2b_qp = binascii.a2b_qp
265 a2b_qp(data=b"", header=False) # Keyword arguments allowed
269 a2b_qp(b"", **{1:1})
275 self.assertEqual(a2b_qp(type2test(b"=")), b"")
276 self.assertEqual(a2b_qp(type2test(b"= ")), b"= ")
277 self.assertEqual(a2b_qp(type2test(b"==")), b"=")
278 self.assertEqual(a2b_qp(type2test(b"=\nAB")), b"AB")
279 self.assertEqual(a2b_qp(type2test(b"=\r\nAB")), b"AB")
280 self.assertEqual(a2b_qp(type2test(b"=\rAB")), b"") # ?
281 self.assertEqual(a2b_qp(type2test(b"=\rAB\nCD")), b"CD") # ?
[all …]
Dtest_quopri.py51 if quopri.b2a_qp is not None or quopri.a2b_qp is not None:
53 olddecode = quopri.a2b_qp
56 quopri.a2b_qp = None
60 quopri.a2b_qp = olddecode
/external/python/cpython2/Lib/
Dquopri.py15 from binascii import a2b_qp, b2a_qp
17 a2b_qp = None variable
121 if a2b_qp is not None:
123 odata = a2b_qp(data, header = header)
160 if a2b_qp is not None:
161 return a2b_qp(s, header = header)
/external/python/cpython3/Lib/
Dquopri.py15 from binascii import a2b_qp, b2a_qp
17 a2b_qp = None variable
122 if a2b_qp is not None:
124 odata = a2b_qp(data, header=header)
161 if a2b_qp is not None:
162 return a2b_qp(s, header=header)
/external/python/cpython2/Doc/library/
Dbinascii.rst54 .. function:: a2b_qp(string[, header])
/external/python/cpython3/Doc/library/
Dbinascii.rst69 .. function:: a2b_qp(data, header=False)
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b2.rst578 Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
D3.5.3rc1.rst879 Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
D3.7.0a1.rst4571 Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
/external/python/cpython2/Misc/NEWS.d/
D2.7.13rc1.rst386 Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
D2.6a1.rst4373 don't parse "= " as a soft line break in binascii's a2b_qp() function,
/external/python/cpython2/Misc/
DHISTORY6495 - binascii has now two quopri support functions, a2b_qp and b2a_qp.
/external/python/cpython3/Misc/
DHISTORY23874 - binascii has now two quopri support functions, a2b_qp and b2a_qp.