Home
last modified time | relevance | path

Searched refs:unicode_escape_decode (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Lib/encodings/
Dunicode_escape.py18 decode = codecs.unicode_escape_decode
26 return codecs.unicode_escape_decode(input, errors, final)
33 return codecs.unicode_escape_decode(input, errors, False)
/external/python/cpython2/Lib/encodings/
Dunicode_escape.py18 decode = codecs.unicode_escape_decode
26 return codecs.unicode_escape_decode(input, self.errors)[0]
/external/python/cpython3/Lib/test/
Dtest_codecs.py2328 self.assertEqual(codecs.unicode_escape_decode(r"\u1234"), ("\u1234", 6))
2329 self.assertEqual(codecs.unicode_escape_decode(br"\u1234"), ("\u1234", 6))
2333 self.assertRaises(UnicodeDecodeError, codecs.unicode_escape_decode, br"\U00110000")
2334 self.assertEqual(codecs.unicode_escape_decode(r"\U00110000", "replace"), ("\ufffd", 10))
2335 self.assertEqual(codecs.unicode_escape_decode(r"\U00110000", "backslashreplace"),
2351 self.assertEqual(codecs.unicode_escape_decode(b""), ("", 0))
2360 decode = codecs.unicode_escape_decode
2381 decode = codecs.unicode_escape_decode
2420 decode = codecs.unicode_escape_decode
/external/libxml2/python/
Ddrv_libxml2.py44 __author__ = codecs.unicode_escape_decode(__author__)[0]
/external/python/cpython2/Modules/
D_codecsmodule.c485 unicode_escape_decode(PyObject *self, in unicode_escape_decode() function
1086 {"unicode_escape_decode", unicode_escape_decode, METH_VARARGS},
/external/python/cpython2/Lib/test/
Dtest_codecs.py2011 self.assertEqual(codecs.unicode_escape_decode(""), (u"", 0))
2020 decode = codecs.unicode_escape_decode
2041 decode = codecs.unicode_escape_decode
2070 decode = codecs.unicode_escape_decode