Home
last modified time | relevance | path

Searched refs:unicode_asucs4 (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_unicode.py2750 from _testcapi import unicode_asucs4
2754 self.assertEqual(unicode_asucs4(s, l, 1), s+'\0')
2755 self.assertEqual(unicode_asucs4(s, l, 0), s+'\uffff')
2756 self.assertEqual(unicode_asucs4(s, l+1, 1), s+'\0\uffff')
2757 self.assertEqual(unicode_asucs4(s, l+1, 0), s+'\0\uffff')
2758 self.assertRaises(SystemError, unicode_asucs4, s, l-1, 1)
2759 self.assertRaises(SystemError, unicode_asucs4, s, l-2, 0)
2761 self.assertEqual(unicode_asucs4(s, len(s), 1), s+'\0')
2762 self.assertEqual(unicode_asucs4(s, len(s), 0), s+'\uffff')
/external/python/cpython3/Modules/
D_testcapimodule.c1866 unicode_asucs4(PyObject *self, PyObject *args) in unicode_asucs4() function
4688 {"unicode_asucs4", unicode_asucs4, METH_VARARGS},