Searched refs:unicode_asucs4 (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_unicode.py | 2828 from _testcapi import unicode_asucs4 2832 self.assertEqual(unicode_asucs4(s, l, True), s+'\0') 2833 self.assertEqual(unicode_asucs4(s, l, False), s+'\uffff') 2834 self.assertEqual(unicode_asucs4(s, l+1, True), s+'\0\uffff') 2835 self.assertEqual(unicode_asucs4(s, l+1, False), s+'\0\uffff') 2836 self.assertRaises(SystemError, unicode_asucs4, s, l-1, True) 2837 self.assertRaises(SystemError, unicode_asucs4, s, l-2, False) 2839 self.assertEqual(unicode_asucs4(s, len(s), True), s+'\0') 2840 self.assertEqual(unicode_asucs4(s, len(s), False), s+'\uffff')
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 1906 unicode_asucs4(PyObject *self, PyObject *args) in unicode_asucs4() function 5425 {"unicode_asucs4", unicode_asucs4, METH_VARARGS},
|