Lines Matching defs:func

272 method_check_args(PyObject *func, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames)
276 PyObject *funcstr = _PyObject_FunctionStr(func);
285 if (descr_check((PyDescrObject *)func, self) < 0) {
289 PyObject *funcstr = _PyObject_FunctionStr(func);
303 method_enter_call(PyThreadState *tstate, PyObject *func)
308 return (funcptr)((PyMethodDescrObject *)func)->d_method->ml_meth;
314 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
318 if (method_check_args(func, args, nargs, kwnames)) {
325 PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
339 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
343 if (method_check_args(func, args, nargs, NULL)) {
360 method_enter_call(tstate, func);
375 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
379 if (method_check_args(func, args, nargs, NULL)) {
382 PyCMethod meth = (PyCMethod) method_enter_call(tstate, func);
387 ((PyMethodDescrObject *)func)->d_common.d_type,
395 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
399 if (method_check_args(func, args, nargs, kwnames)) {
403 method_enter_call(tstate, func);
414 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
418 if (method_check_args(func, args, nargs, NULL)) {
422 method_enter_call(tstate, func);
433 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
437 if (method_check_args(func, args, nargs, kwnames)) {
441 PyObject *funcstr = _PyObject_FunctionStr(func);
449 PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
460 PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
464 if (method_check_args(func, args, nargs, kwnames)) {
468 PyObject *funcstr = _PyObject_FunctionStr(func);
477 PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
1637 PyObject *func, *res;
1640 func = gs->prop_del;
1643 func = gs->prop_set;
1646 if (func == NULL) {
1677 res = PyObject_CallOneArg(func, obj);
1681 res = PyObject_Vectorcall(func, args, 2, NULL);