Lines Matching full:limits
129 py2rlimit(PyObject *limits, struct rlimit *rl_out) in py2rlimit() argument
132 limits = PySequence_Tuple(limits); in py2rlimit()
133 if (!limits) in py2rlimit()
134 /* Here limits is a borrowed reference */ in py2rlimit()
137 if (PyTuple_GET_SIZE(limits) != 2) { in py2rlimit()
142 curobj = PyTuple_GET_ITEM(limits, 0); in py2rlimit()
143 maxobj = PyTuple_GET_ITEM(limits, 1); in py2rlimit()
152 /* The limits are probably bigger than a long */ in py2rlimit()
161 Py_DECREF(limits); in py2rlimit()
167 Py_DECREF(limits); in py2rlimit()
213 limits: object
219 resource_setrlimit_impl(PyObject *module, int resource, PyObject *limits) in resource_setrlimit_impl() argument
230 if (py2rlimit(limits, &rl) < 0) { in resource_setrlimit_impl()
255 limits: object
263 int group_right_1, PyObject *limits) in resource_prlimit_impl() argument
276 if (py2rlimit(limits, &new_limit) < 0) { in resource_prlimit_impl()