Searched refs:codecobj (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Modules/cjkcodecs/ |
D | cjkcodecs.h | 261 PyObject *codecobj, *r, *cofunc; in getcodec() local 288 codecobj = PyCapsule_New((void *)codec, PyMultibyteCodec_CAPSULE_NAME, NULL); in getcodec() 289 if (codecobj == NULL) in getcodec() 292 r = PyObject_CallFunctionObjArgs(cofunc, codecobj, NULL); in getcodec() 293 Py_DECREF(codecobj); in getcodec()
|
/external/python/cpython2/Modules/cjkcodecs/ |
D | cjkcodecs.h | 260 PyObject *codecobj, *r, *cofunc; in getcodec() local 285 codecobj = PyCapsule_New((void *)codec, PyMultibyteCodec_CAPSULE_NAME, NULL); in getcodec() 286 if (codecobj == NULL) in getcodec() 289 r = PyObject_CallFunctionObjArgs(cofunc, codecobj, NULL); in getcodec() 290 Py_DECREF(codecobj); in getcodec()
|