Home
last modified time | relevance | path

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

/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/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.py2314 self.assertEqual(codecs.unicode_escape_decode(r"\u1234"), ("\u1234", 6))
2315 self.assertEqual(codecs.unicode_escape_decode(br"\u1234"), ("\u1234", 6))
2319 self.assertRaises(UnicodeDecodeError, codecs.unicode_escape_decode, br"\U00110000")
2320 self.assertEqual(codecs.unicode_escape_decode(r"\U00110000", "replace"), ("\ufffd", 10))
2321 self.assertEqual(codecs.unicode_escape_decode(r"\U00110000", "backslashreplace"),
2333 self.assertEqual(codecs.unicode_escape_decode(b""), ("", 0))
2342 decode = codecs.unicode_escape_decode
2363 decode = codecs.unicode_escape_decode
2402 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