Searched refs:unicode_asucs4 (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_unicode.py | 2854 from _testcapi import unicode_asucs4 2858 self.assertEqual(unicode_asucs4(s, l, True), s+'\0') 2859 self.assertEqual(unicode_asucs4(s, l, False), s+'\uffff') 2860 self.assertEqual(unicode_asucs4(s, l+1, True), s+'\0\uffff') 2861 self.assertEqual(unicode_asucs4(s, l+1, False), s+'\0\uffff') 2862 self.assertRaises(SystemError, unicode_asucs4, s, l-1, True) 2863 self.assertRaises(SystemError, unicode_asucs4, s, l-2, False) 2865 self.assertEqual(unicode_asucs4(s, len(s), True), s+'\0') 2866 self.assertEqual(unicode_asucs4(s, len(s), False), s+'\uffff')
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 2044 unicode_asucs4(PyObject *self, PyObject *args) in unicode_asucs4() function 5760 {"unicode_asucs4", unicode_asucs4, METH_VARARGS},
|