Lines Matching full:limits
148 PyObject *limits, *curobj, *maxobj;
150 if (!PyArg_ParseTuple(args, "iO:setrlimit", &resource, &limits))
159 limits = PySequence_Tuple(limits);
160 if (!limits)
161 /* Here limits is a borrowed reference */
164 if (PyTuple_GET_SIZE(limits) != 2) {
169 curobj = PyTuple_GET_ITEM(limits, 0);
170 maxobj = PyTuple_GET_ITEM(limits, 1);
180 /* The limits are probably bigger than a long */
204 Py_DECREF(limits);
209 Py_DECREF(limits);