Home
last modified time | relevance | path

Searched refs:unicode_encodedecimal (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_unicode.py1829 from _testcapi import unicode_encodedecimal
1830 self.assertEqual(unicode_encodedecimal(u'123'),
1832 self.assertEqual(unicode_encodedecimal(u'\u0663.\u0661\u0664'),
1834 self.assertEqual(unicode_encodedecimal(u"\N{EM SPACE}3.14\N{EN SPACE}"),
1837 unicode_encodedecimal, u"123\u20ac", "strict")
1838 self.assertEqual(unicode_encodedecimal(u"123\u20ac", "replace"),
1840 self.assertEqual(unicode_encodedecimal(u"123\u20ac", "ignore"),
1842 self.assertEqual(unicode_encodedecimal(u"123\u20ac", "xmlcharrefreplace"),
1844 self.assertEqual(unicode_encodedecimal(u"123\u20ac", "backslashreplace"),
1846 self.assertEqual(unicode_encodedecimal(u"123\u20ac\N{EM SPACE}", "replace"),
[all …]
/external/python/cpython3/Lib/test/
Dtest_unicode.py2832 from _testcapi import unicode_encodedecimal
2833 self.assertEqual(unicode_encodedecimal('123'),
2835 self.assertEqual(unicode_encodedecimal('\u0663.\u0661\u0664'),
2837 self.assertEqual(unicode_encodedecimal("\N{EM SPACE}3.14\N{EN SPACE}"),
2840 unicode_encodedecimal, "123\u20ac", "strict")
2844 unicode_encodedecimal, "123\u20ac", "replace")
/external/python/cpython2/Modules/
D_testcapimodule.c1738 unicode_encodedecimal(PyObject *self, PyObject *args) in unicode_encodedecimal() function
2754 {"unicode_encodedecimal", unicode_encodedecimal, METH_VARARGS},
/external/python/cpython3/Modules/
D_testcapimodule.c1946 unicode_encodedecimal(PyObject *self, PyObject *args) in unicode_encodedecimal() function
4691 {"unicode_encodedecimal", unicode_encodedecimal, METH_VARARGS},