Lines Matching defs:arg

1013     PyObject *arg, *res;
1015 arg = PyList_New(0);
1016 if (arg == NULL) {
1020 Py_INCREF(arg);
1021 res = Py_BuildValue(fmt, return_none, NULL, arg);
1026 if (Py_REFCNT(arg) != 1) {
1028 "arg was not decrefed in successful "
1033 Py_INCREF(arg);
1034 res = Py_BuildValue(fmt, raise_error, NULL, arg);
1041 if (Py_REFCNT(arg) != 1) {
1043 "arg was not decrefed in failed "
1047 Py_DECREF(arg);
1054 PyObject *arg, *res;
1056 arg = PyList_New(0);
1057 if (arg == NULL) {
1060 Py_INCREF(arg);
1061 res = Py_BuildValue("N", arg);
1065 if (res != arg) {
1069 if (Py_REFCNT(arg) != 2) {
1071 "arg was not decrefed in Py_BuildValue(\"N\")");
1074 Py_DECREF(arg);
1816 PyObject *arg, *result;
1820 if (!PyArg_ParseTuple(args, "O|s", &arg, &encoding))
1822 if (!PyArg_Parse(arg, "es", encoding, &str))
1832 PyObject *arg, *result;
1836 if (!PyArg_ParseTuple(args, "O|s", &arg, &encoding))
1838 if (!PyArg_Parse(arg, "et", encoding, &str))
1848 PyObject *arg, *result;
1854 if (!PyArg_ParseTuple(args, "O|sY", &arg, &encoding, &buffer))
1860 if (!PyArg_Parse(arg, "es#", encoding, &str, &size))
1871 PyObject *arg, *result;
1877 if (!PyArg_ParseTuple(args, "O|sY", &arg, &encoding, &buffer))
1883 if (!PyArg_Parse(arg, "et#", encoding, &str, &size))
3103 static int _pending_callback(void *arg)
3106 PyObject *callable = (PyObject *)arg;
3117 pending_threadfunc(PyObject *self, PyObject *arg)
3121 if (PyArg_ParseTuple(arg, "O", &callable) == 0)
3578 failing_converter(PyObject *obj, void *arg)
6304 record_func(PyObject *obj, PyFrameObject *f, int what, PyObject *arg)
6320 tuple = PyTuple_Pack(3, what_obj, line_obj, arg);
6349 error_func(PyObject *obj, PyFrameObject *f, int what, PyObject *arg)
7466 heapgcctype_traverse(HeapCTypeObject *self, visitproc visit, void *arg)