Searched refs:b2a_qp (Results 1 – 17 of 17) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_binascii.py | 181 b2a_qp = binascii.b2a_qp 209 self.assertRaises(TypeError, b2a_qp, foo="bar") 211 self.assertEqual(b2a_qp(type2test(b"\xff\r\n\xff\n\xff")), 213 self.assertEqual(b2a_qp(type2test(b"0"*75+b"\xff\r\n\xff\r\n\xff")), 216 self.assertEqual(b2a_qp(type2test(b'\x7f')), b'=7F') 217 self.assertEqual(b2a_qp(type2test(b'=')), b'=3D') 219 self.assertEqual(b2a_qp(type2test(b'_')), b'_') 220 self.assertEqual(b2a_qp(type2test(b'_'), header=True), b'=5F') 221 self.assertEqual(b2a_qp(type2test(b'x y'), header=True), b'x_y') 222 self.assertEqual(b2a_qp(type2test(b'x '), header=True), b'x=20') [all …]
|
D | test_quopri.py | 52 if quopri.b2a_qp is not None or quopri.a2b_qp is not None: 53 oldencode = quopri.b2a_qp 56 quopri.b2a_qp = None 60 quopri.b2a_qp = oldencode
|
/external/python/cpython3/Lib/test/ |
D | test_binascii.py | 263 b2a_qp = binascii.b2a_qp 291 self.assertRaises(TypeError, b2a_qp, foo="bar") 293 self.assertEqual(b2a_qp(type2test(b"\xff\r\n\xff\n\xff")), 295 self.assertEqual(b2a_qp(type2test(b"0"*75+b"\xff\r\n\xff\r\n\xff")), 298 self.assertEqual(b2a_qp(type2test(b'\x7f')), b'=7F') 299 self.assertEqual(b2a_qp(type2test(b'=')), b'=3D') 301 self.assertEqual(b2a_qp(type2test(b'_')), b'_') 302 self.assertEqual(b2a_qp(type2test(b'_'), header=True), b'=5F') 303 self.assertEqual(b2a_qp(type2test(b'x y'), header=True), b'x_y') 304 self.assertEqual(b2a_qp(type2test(b'x '), header=True), b'x=20') [all …]
|
D | test_quopri.py | 51 if quopri.b2a_qp is not None or quopri.a2b_qp is not None: 52 oldencode = quopri.b2a_qp 55 quopri.b2a_qp = None 59 quopri.b2a_qp = oldencode
|
/external/python/cpython2/Lib/ |
D | quopri.py | 15 from binascii import a2b_qp, b2a_qp 18 b2a_qp = None variable 53 if b2a_qp is not None: 55 odata = b2a_qp(data, quotetabs = quotetabs, header = header) 106 if b2a_qp is not None: 107 return b2a_qp(s, quotetabs = quotetabs, header = header)
|
/external/python/cpython3/Lib/ |
D | quopri.py | 15 from binascii import a2b_qp, b2a_qp 18 b2a_qp = None variable 53 if b2a_qp is not None: 55 odata = b2a_qp(data, quotetabs=quotetabs, header=header) 107 if b2a_qp is not None: 108 return b2a_qp(s, quotetabs=quotetabs, header=header)
|
/external/python/cpython3/Lib/email/ |
D | contentmanager.py | 238 data = binascii.b2a_qp(data, istext=False, header=False, quotetabs=True)
|
/external/python/cpython2/Doc/library/ |
D | binascii.rst | 61 .. function:: b2a_qp(data[, quotetabs, istext, header])
|
/external/python/cpython3/Doc/library/ |
D | binascii.rst | 76 .. function:: b2a_qp(data, quotetabs=False, istext=True, header=False)
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.13rc1.rst | 386 Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp(). 562 Fix possible integer overflow in binascii.b2a_qp.
|
D | 2.6a1.rst | 4230 binascii.b2a_qp() now correctly quotes binary characters with ASCII value
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0a4.rst | 344 Fix possible integer overflow in binascii.b2a_qp.
|
D | 3.6.0b2.rst | 578 Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
|
D | 3.5.3rc1.rst | 879 Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp(). 1214 Fix possible integer overflow in binascii.b2a_qp.
|
D | 3.7.0a1.rst | 4571 Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
|
/external/python/cpython3/Misc/ |
D | HISTORY | 46 - Issue #27760: Fix possible integer overflow in binascii.b2a_qp. 23874 - binascii has now two quopri support functions, a2b_qp and b2a_qp.
|
/external/python/cpython2/Misc/ |
D | HISTORY | 6495 - binascii has now two quopri support functions, a2b_qp and b2a_qp.
|