Searched refs:PyCFunction_NewEx (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython2/Include/ |
D | methodobject.h | 48 #define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL) 49 PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
|
/external/python/cpython3/Include/ |
D | methodobject.h | 65 #define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL) 66 PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
|
/external/python/cpython3/Objects/ |
D | methodobject.c | 24 return PyCFunction_NewEx(ml, self, NULL); in PyCFunction_New() 28 PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module) in PyCFunction_NewEx() function
|
D | descrobject.c | 125 return PyCFunction_NewEx(descr->d_method, type, NULL); in classmethod_get() 135 return PyCFunction_NewEx(descr->d_method, obj, NULL); in method_get()
|
D | moduleobject.c | 159 func = PyCFunction_NewEx(fdef, (PyObject*)module, name); in _add_methods_to_object()
|
D | typeobject.c | 4793 PyObject *cfunc = PyCFunction_NewEx(meth, (PyObject*)type, NULL); in add_methods() 5936 func = PyCFunction_NewEx(tp_new_methoddef, (PyObject *)type, NULL); in add_tp_new_wrapper()
|
/external/python/cpython2/Objects/ |
D | methodobject.c | 17 PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module) in PyCFunction_NewEx() function 426 return PyCFunction_NewEx(ml, self, NULL); in PyCFunction_New()
|
/external/python/cpython2/Python/ |
D | modsupport.c | 81 v = PyCFunction_NewEx(ml, passthrough, n); in Py_InitModule4()
|
/external/python/cpython3/Modules/ |
D | _abc.c | 150 destroy_cb = PyCFunction_NewEx(&_destroy_def, wr, NULL); in _add_to_weak_set()
|
D | _threadmodule.c | 741 self->wr_callback = PyCFunction_NewEx(&wr_callback_def, wr, NULL); in local_new()
|
D | _testcapimodule.c | 3260 return PyCFunction_NewEx(&ml, self, NULL); in create_cfunction()
|
/external/python/cpython3/PC/ |
D | python3.def | 43 PyCFunction_NewEx=python37.PyCFunction_NewEx
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 430 "PyCFunction_NewEx"
|
/external/python/cpython3/Python/ |
D | codecs.c | 1512 PyObject *func = PyCFunction_NewEx(&methods[i].def, NULL, NULL); in _PyCodecRegistry_Init()
|