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, self.errors)[0]
/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.py2410 self.assertEqual(codecs.unicode_escape_decode(r"\u1234"), ("\u1234", 6))
2411 self.assertEqual(codecs.unicode_escape_decode(br"\u1234"), ("\u1234", 6))
2415 self.assertRaises(UnicodeDecodeError, codecs.unicode_escape_decode, br"\U00110000")
2416 self.assertEqual(codecs.unicode_escape_decode(r"\U00110000", "replace"), ("\ufffd", 10))
2417 self.assertEqual(codecs.unicode_escape_decode(r"\U00110000", "backslashreplace"),
2429 self.assertEqual(codecs.unicode_escape_decode(b""), ("", 0))
2438 decode = codecs.unicode_escape_decode
2459 decode = codecs.unicode_escape_decode
2498 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