Searched refs:cofunc (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Modules/cjkcodecs/ |
D | cjkcodecs.h | 246 static PyObject *cofunc = NULL; in getmultibytecodec() local 248 if (cofunc == NULL) { in getmultibytecodec() 252 cofunc = PyObject_GetAttrString(mod, "__create_codec"); in getmultibytecodec() 255 return cofunc; in getmultibytecodec() 261 PyObject *codecobj, *r, *cofunc; in getcodec() local 274 cofunc = getmultibytecodec(); in getcodec() 275 if (cofunc == NULL) in getcodec() 292 r = PyObject_CallFunctionObjArgs(cofunc, codecobj, NULL); in getcodec()
|
/external/python/cpython2/Modules/cjkcodecs/ |
D | cjkcodecs.h | 245 static PyObject *cofunc = NULL; in getmultibytecodec() local 247 if (cofunc == NULL) { in getmultibytecodec() 251 cofunc = PyObject_GetAttrString(mod, "__create_codec"); in getmultibytecodec() 254 return cofunc; in getmultibytecodec() 260 PyObject *codecobj, *r, *cofunc; in getcodec() local 270 cofunc = getmultibytecodec(); in getcodec() 271 if (cofunc == NULL) in getcodec() 289 r = PyObject_CallFunctionObjArgs(cofunc, codecobj, NULL); in getcodec()
|