Searched refs:raw_unicode_escape_decode (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Lib/encodings/ |
D | raw_unicode_escape.py | 18 decode = codecs.raw_unicode_escape_decode 26 return codecs.raw_unicode_escape_decode(input, self.errors)[0]
|
/external/python/cpython2/Lib/encodings/ |
D | raw_unicode_escape.py | 18 decode = codecs.raw_unicode_escape_decode 26 return codecs.raw_unicode_escape_decode(input, self.errors)[0]
|
/external/python/cpython3/Lib/test/ |
D | test_codecs.py | 2316 self.assertEqual(codecs.raw_unicode_escape_decode(r"\u1234"), ("\u1234", 6)) 2317 self.assertEqual(codecs.raw_unicode_escape_decode(br"\u1234"), ("\u1234", 6)) 2324 self.assertRaises(UnicodeDecodeError, codecs.raw_unicode_escape_decode, br"\U00110000") 2325 self.assertEqual(codecs.raw_unicode_escape_decode(r"\U00110000", "replace"), ("\ufffd", 10)) 2326 self.assertEqual(codecs.raw_unicode_escape_decode(r"\U00110000", "backslashreplace"), 2421 self.assertEqual(codecs.raw_unicode_escape_decode(b""), ("", 0)) 2429 decode = codecs.raw_unicode_escape_decode 2443 decode = codecs.raw_unicode_escape_decode 2452 decode = codecs.raw_unicode_escape_decode
|
/external/python/cpython2/Modules/ |
D | _codecsmodule.c | 502 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/ |
D | test_codecs.py | 2089 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
|