Home
last modified time | relevance | path

Searched refs:raw_unicode_escape_decode (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/encodings/
Draw_unicode_escape.py18 decode = codecs.raw_unicode_escape_decode
26 return codecs.raw_unicode_escape_decode(input, self.errors)[0]
/external/python/cpython3/Lib/encodings/
Draw_unicode_escape.py18 decode = codecs.raw_unicode_escape_decode
26 return codecs.raw_unicode_escape_decode(input, self.errors)[0]
/external/python/cpython3/Lib/test/
Dtest_codecs.py2412 self.assertEqual(codecs.raw_unicode_escape_decode(r"\u1234"), ("\u1234", 6))
2413 self.assertEqual(codecs.raw_unicode_escape_decode(br"\u1234"), ("\u1234", 6))
2420 self.assertRaises(UnicodeDecodeError, codecs.raw_unicode_escape_decode, br"\U00110000")
2421 self.assertEqual(codecs.raw_unicode_escape_decode(r"\U00110000", "replace"), ("\ufffd", 10))
2422 self.assertEqual(codecs.raw_unicode_escape_decode(r"\U00110000", "backslashreplace"),
2517 self.assertEqual(codecs.raw_unicode_escape_decode(b""), ("", 0))
2525 decode = codecs.raw_unicode_escape_decode
2539 decode = codecs.raw_unicode_escape_decode
2548 decode = codecs.raw_unicode_escape_decode
/external/python/cpython2/Modules/
D_codecsmodule.c502 raw_unicode_escape_decode(PyObject *self, in raw_unicode_escape_decode() function
1090 {"raw_unicode_escape_decode", raw_unicode_escape_decode, METH_VARARGS},
/external/python/cpython2/Lib/test/
Dtest_codecs.py2089 self.assertEqual(codecs.raw_unicode_escape_decode(""), (u"", 0))
2097 decode = codecs.raw_unicode_escape_decode
2111 decode = codecs.raw_unicode_escape_decode
2120 decode = codecs.raw_unicode_escape_decode