Home
last modified time | relevance | path

Searched refs:ucnhash_CAPI (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Python/
Dcodecs.c962 static _PyUnicode_Name_CAPI *ucnhash_CAPI = NULL; variable
984 if (!ucnhash_CAPI) { in PyCodec_NameReplaceErrors()
986 ucnhash_CAPI = (_PyUnicode_Name_CAPI *)PyCapsule_Import( in PyCodec_NameReplaceErrors()
988 if (!ucnhash_CAPI) in PyCodec_NameReplaceErrors()
994 if (ucnhash_CAPI->getname(NULL, c, buffer, sizeof(buffer), 1)) { in PyCodec_NameReplaceErrors()
1017 if (ucnhash_CAPI->getname(NULL, c, buffer, sizeof(buffer), 1)) { in PyCodec_NameReplaceErrors()
/external/python/cpython3/Tools/c-globals/
Dignored-globals.txt315 ucnhash_CAPI # slight performance-only race
/external/python/cpython2/Objects/
Dunicodeobject.c2803 static _PyUnicode_Name_CAPI *ucnhash_CAPI = NULL; variable
2947 if (ucnhash_CAPI == NULL) { in PyUnicode_DecodeUnicodeEscape()
2949ucnhash_CAPI = (_PyUnicode_Name_CAPI *)PyCapsule_Import(PyUnicodeData_CAPSULE_NAME, 1); in PyUnicode_DecodeUnicodeEscape()
2950 if (ucnhash_CAPI == NULL) in PyUnicode_DecodeUnicodeEscape()
2963 ucnhash_CAPI->getcode(NULL, start, (int)(s-start-1), &chr)) in PyUnicode_DecodeUnicodeEscape()
/external/python/cpython3/Objects/
Dunicodeobject.c5911 static _PyUnicode_Name_CAPI *ucnhash_CAPI = NULL; variable
6064 if (ucnhash_CAPI == NULL) { in _PyUnicode_DecodeUnicodeEscape()
6066 ucnhash_CAPI = (_PyUnicode_Name_CAPI *)PyCapsule_Import( in _PyUnicode_DecodeUnicodeEscape()
6068 if (ucnhash_CAPI == NULL) { in _PyUnicode_DecodeUnicodeEscape()
6090 ucnhash_CAPI->getcode(NULL, start, (int)namelen, in _PyUnicode_DecodeUnicodeEscape()
/external/python/cpython3/Doc/whatsnew/
D2.7.rst2283 and :mod:`unicodedata` exposes ``ucnhash_CAPI``. Other extensions
/external/python/cpython2/Doc/whatsnew/
D2.7.rst2259 and :mod:`unicodedata` exposes ``ucnhash_CAPI``. Other extensions