Lines Matching defs:size
259 /* The deque's size limit is d.maxlen. The limit can be zero or positive.
262 * After an item is added to a deque, we check to see if the size has
263 * grown past the limit. If it has, we get the size back down to the limit
589 /* Remember the old size, leftblock, and leftindex */
604 /* Now the old size, leftblock, and leftindex are disconnected from
652 Py_ssize_t i, m, size;
656 size = Py_SIZE(deque);
657 if (size == 0 || n == 1) {
668 if (size == 1) {
705 if ((size_t)size > PY_SSIZE_T_MAX / (size_t)n) {
714 if (deque->maxlen >= 0 && n * size > deque->maxlen)
715 n = (deque->maxlen + size - 1) / size;
1133 PyErr_SetString(PyExc_IndexError, "deque already at its maximum size");
1537 "D.__sizeof__() -- size of D in memory, in bytes");
1552 "maximum size of a deque or None if unbounded"},