Home | History | Annotate | Download | only in _ctypes

Lines Matching defs:callargs

3738  This function builds and returns a new tuple 'callargs' which contains the
3743 bitmasks containing indexes into the callargs tuple specifying which
3753 PyObject *callargs;
3777 callargs = PyTuple_New(len); /* the argument tuple we build */
3778 if (callargs == NULL)
3812 PyTuple_SET_ITEM(callargs, i, defval);
3824 PyTuple_SET_ITEM(callargs, i, ob);
3839 PyTuple_SET_ITEM(callargs, i, defval);
3875 PyTuple_SET_ITEM(callargs, i, ob);
3906 /* outmask is a bitmask containing indexes into callargs. Items at
3909 return callargs;
3911 Py_DECREF(callargs);
3921 Consumes the refcount on result and callargs.
3924 _build_result(PyObject *result, PyObject *callargs,
3931 if (callargs == NULL)
3934 Py_DECREF(callargs);
3944 Py_DECREF(callargs);
3953 v = PyTuple_GET_ITEM(callargs, i);
3956 Py_DECREF(callargs);
3962 v = PyTuple_GET_ITEM(callargs, i);
3965 Py_DECREF(callargs);
3975 Py_DECREF(callargs);
3988 PyObject *callargs;
4040 callargs = _build_callargs(self, argtypes,
4043 if (callargs == NULL)
4049 int actual = Py_SAFE_DOWNCAST(PyTuple_GET_SIZE(callargs),
4057 Py_DECREF(callargs);
4066 Py_DECREF(callargs);
4077 callargs,
4091 callargs,
4094 If the errcheck function returned callargs unchanged,
4099 if (v == NULL || v != callargs) {
4101 Py_DECREF(callargs);
4107 return _build_result(result, callargs,