Lines Matching defs:limit
119 "limit" is the maximal number of items.
121 limit. Otherwise returns the limit minus the total number of items.
125 check_complexity(PyObject *obj, Py_ssize_t limit)
129 limit -= PyTuple_GET_SIZE(obj);
130 for (i = 0; limit >= 0 && i < PyTuple_GET_SIZE(obj); i++) {
131 limit = check_complexity(PyTuple_GET_ITEM(obj, i), limit);
133 return limit;
139 limit -= PySet_GET_SIZE(obj);
140 while (limit >= 0 && _PySet_NextEntry(obj, &i, &item, &hash)) {
141 limit = check_complexity(item, limit);
144 return limit;