Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dcodecs.c957 static _PyUnicode_Name_CAPI *ucnhash_CAPI = NULL; variable
979 if (!ucnhash_CAPI) { in PyCodec_NameReplaceErrors()
981 ucnhash_CAPI = (_PyUnicode_Name_CAPI *)PyCapsule_Import( in PyCodec_NameReplaceErrors()
983 if (!ucnhash_CAPI) in PyCodec_NameReplaceErrors()
989 if (ucnhash_CAPI->getname(NULL, c, buffer, sizeof(buffer), 1)) { in PyCodec_NameReplaceErrors()
1012 if (ucnhash_CAPI->getname(NULL, c, buffer, sizeof(buffer), 1)) { in PyCodec_NameReplaceErrors()
/external/python/cpython3/Tools/c-analyzer/
Dignored-globals.txt315 ucnhash_CAPI # slight performance-only race
Dknown.tsv1868 Objects/unicodeobject.c - ucnhash_CAPI variable static _PyUnicode_Name_CAPI *ucnhash_CAPI
1869 Python/codecs.c - ucnhash_CAPI variable static _PyUnicode_Name_CAPI *ucnhash_CAPI
/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.c6227 static _PyUnicode_Name_CAPI *ucnhash_CAPI = NULL; variable
6380 if (ucnhash_CAPI == NULL) { in _PyUnicode_DecodeUnicodeEscape()
6382 ucnhash_CAPI = (_PyUnicode_Name_CAPI *)PyCapsule_Import( in _PyUnicode_DecodeUnicodeEscape()
6384 if (ucnhash_CAPI == NULL) { in _PyUnicode_DecodeUnicodeEscape()
6406 ucnhash_CAPI->getcode(NULL, start, (int)namelen, in _PyUnicode_DecodeUnicodeEscape()
/external/python/cpython2/Doc/whatsnew/
D2.7.rst2259 and :mod:`unicodedata` exposes ``ucnhash_CAPI``. Other extensions
/external/python/cpython3/Doc/whatsnew/
D2.7.rst2283 and :mod:`unicodedata` exposes ``ucnhash_CAPI``. Other extensions