Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/cjkcodecs/
Dcjkcodecs.h288 codecobj = PyCapsule_New((void *)codec, PyMultibyteCodec_CAPSULE_NAME, NULL); in getcodec()
313 PyCapsule_New((void *)h, PyMultibyteCodec_CAPSULE_NAME, NULL)); in register_maps()
372 else if (!PyCapsule_IsValid(o, PyMultibyteCodec_CAPSULE_NAME)) { in importmap()
379 map = PyCapsule_GetPointer(o, PyMultibyteCodec_CAPSULE_NAME); in importmap()
Dmultibytecodec.h130 #define PyMultibyteCodec_CAPSULE_NAME "multibytecodec.__map_*" macro
Dmultibytecodec.c1863 if (!PyCapsule_IsValid(arg, PyMultibyteCodec_CAPSULE_NAME)) { in _multibytecodec___create_codec()
1868 codec = PyCapsule_GetPointer(arg, PyMultibyteCodec_CAPSULE_NAME); in _multibytecodec___create_codec()
/external/python/cpython2/Modules/cjkcodecs/
Dcjkcodecs.h285 codecobj = PyCapsule_New((void *)codec, PyMultibyteCodec_CAPSULE_NAME, NULL); in getcodec()
310 PyCapsule_New((void *)h, PyMultibyteCodec_CAPSULE_NAME, NULL)); in register_maps()
369 else if (!PyCapsule_IsValid(o, PyMultibyteCodec_CAPSULE_NAME)) { in importmap()
376 map = PyCapsule_GetPointer(o, PyMultibyteCodec_CAPSULE_NAME); in importmap()
Dmultibytecodec.h135 #define PyMultibyteCodec_CAPSULE_NAME "multibytecodec.__map_*" macro
Dmultibytecodec.c1782 if (!PyCapsule_IsValid(arg, PyMultibyteCodec_CAPSULE_NAME)) { in __create_codec()
1787 codec = PyCapsule_GetPointer(arg, PyMultibyteCodec_CAPSULE_NAME); in __create_codec()