Home
last modified time | relevance | path

Searched refs:Py_UCS4 (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Modules/
Dunicodedata.c46 _getrecord_ex(Py_UCS4 code) in _getrecord_ex()
63 const change_record* (*getrecord)(Py_UCS4);
64 Py_UCS4 (*normalization)(Py_UCS4);
78 new_previous_version(const char*name, const change_record* (*getrecord)(Py_UCS4), in new_previous_version() argument
79 Py_UCS4 (*normalization)(Py_UCS4)) in new_previous_version() argument
92 static Py_UCS4 getuchar(PyUnicodeObject *obj) in getuchar()
106 return (Py_UCS4)-1; in getuchar()
125 Py_UCS4 c; in unicodedata_decimal()
130 if (c == (Py_UCS4)-1) in unicodedata_decimal()
175 Py_UCS4 c; in unicodedata_digit()
[all …]
Dunicodedata_db.h6180 static const change_record* get_change_3_2_0(Py_UCS4 n) in get_change_3_2_0()
6191 static Py_UCS4 normalization_3_2_0(Py_UCS4 n) in normalization_3_2_0()
Dsre.h19 # define SRE_CODE Py_UCS4
DcPickle.c1356 Py_UCS4 ucs; in modified_EncodeRawUnicodeEscape()
/external/python/cpython2/Include/
Ducnhash.h22 int (*getname)(PyObject *self, Py_UCS4 code, char* buffer, int buflen);
26 int (*getcode)(PyObject *self, const char* name, int namelen, Py_UCS4* code);
Dunicodeobject.h100 # define PY_UNICODE_TYPE Py_UCS4
128 typedef unsigned int Py_UCS4; typedef
130 typedef unsigned long Py_UCS4; typedef
/external/python/cpython2/Python/
Dcodecs.c734 Py_UCS4 ch = *p++; in PyCodec_XMLCharRefReplaceErrors()
740 ((Py_UCS4)*p++ & 0x03FF)) + 0x10000); in PyCodec_XMLCharRefReplaceErrors()
768 Py_UCS4 ch = *p++; in PyCodec_XMLCharRefReplaceErrors()
774 ((Py_UCS4)*p++ & 0x03FF)) + 0x10000); in PyCodec_XMLCharRefReplaceErrors()
/external/python/cpython2/Objects/
Dunicodeobject.c567 (((((Py_UCS4)(high) & 0x03FF) << 10) | \
568 ((Py_UCS4)(low) & 0x03FF)) + 0x10000)
577 (Py_UCS4)*(ptr)++)
1999 Py_UCS4 ch = (unsigned char)*s; in PyUnicode_DecodeUTF8Stateful()
2188 Py_UCS4 ch = s[i++]; in PyUnicode_EncodeUTF8()
2204 Py_UCS4 ch2 = s[i]; in PyUnicode_EncodeUTF8()
2311 const Py_UCS4 bom = ((unsigned int)q[iorder[3]] << 24) | (q[iorder[2]] << 16) | in PyUnicode_DecodeUTF32Stateful()
2369 Py_UCS4 ch; in PyUnicode_DecodeUTF32Stateful()
2501 Py_UCS4 ch = *s++; in PyUnicode_EncodeUTF32()
2504 Py_UCS4 ch2 = *s; in PyUnicode_EncodeUTF32()
[all …]