Lines Matching defs:arg
55 #define Py_DECREF(arg) \
57 PyObject *op = _PyObject_CAST(arg); \
65 #define Py_XDECREF(arg) \
67 PyObject *xop = _PyObject_CAST(arg); \
78 #define _Py_DECREF_SPECIALIZED(arg, dealloc) \
80 PyObject *op = _PyObject_CAST(arg); \
588 int (*func)(void *), void *arg)
596 pending->calls[i].arg = arg;
604 int (**func)(void *), void **arg)
612 *arg = pending->calls[i].arg;
623 int (*func)(void *), void *arg)
632 int result = _push_pending_call(pending, func, arg);
641 Py_AddPendingCall(int (*func)(void *), void *arg)
668 return _PyEval_AddPendingCall(interp, func, arg);
712 void *arg = NULL;
716 _pop_pending_call(pending, &func, &arg);
723 res = func(arg);
3126 // "initial" is probably NULL but not if it's an arg (or set
4944 PyObject *arg = TOP();
4945 PyObject *res = PyObject_Str(arg);
4946 Py_DECREF(arg);
4965 PyObject *arg = TOP();
4966 PyObject *res = PySequence_Tuple(arg);
4967 Py_DECREF(arg);
5024 PyObject *arg = TOP();
5025 PyObject *res = _PyCFunction_TrampolineCall(cfunc, PyCFunction_GET_SELF(callable), arg);
5029 Py_DECREF(arg);
5131 PyObject *arg = TOP();
5132 Py_ssize_t len_i = PyObject_Length(arg);
5142 Py_DECREF(arg);
5192 PyObject *arg = POP();
5193 if (_PyList_AppendTakeRef((PyListObject *)list, arg) < 0) {
5215 PyObject *arg = TOP();
5226 PyObject *res = _PyCFunction_TrampolineCall(cfunc, self, arg);
5230 Py_DECREF(arg);
5601 // to trace properly (and shouldn't have an extended arg anyways):
6784 PyObject *type, *value, *traceback, *orig_traceback, *arg;
6793 arg = PyTuple_Pack(3, type, value, traceback);
6794 if (arg == NULL) {
6798 err = call_trace(func, self, tstate, f, PyTrace_EXCEPTION, arg);
6799 Py_DECREF(arg);
6813 int what, PyObject *arg)
6818 err = call_trace(func, obj, tstate, frame, what, arg);
6860 int what, PyObject *arg)
6878 result = func(obj, f, what, arg);
6948 _PyEval_SetProfile(PyThreadState *tstate, Py_tracefunc func, PyObject *arg)
6979 Py_XINCREF(arg);
6980 tstate->c_profileobj = arg;
6990 PyEval_SetProfile(Py_tracefunc func, PyObject *arg)
6993 if (_PyEval_SetProfile(tstate, func, arg) < 0) {
7000 _PyEval_SetTrace(PyThreadState *tstate, Py_tracefunc func, PyObject *arg)
7030 Py_XINCREF(arg);
7032 tstate->c_traceobj = arg;
7043 PyEval_SetTrace(Py_tracefunc func, PyObject *arg)
7046 if (_PyEval_SetTrace(tstate, func, arg) < 0) {