Lines Matching refs:endpos
72 Py_ssize_t startpos, endpos, childpos, limit;
77 endpos = PyList_GET_SIZE(heap);
79 if (pos >= endpos) {
86 limit = endpos >> 1; /* smallest pos that has no child */
90 if (childpos + 1 < endpos) {
102 if (endpos != PyList_GET_SIZE(heap)) {
441 Py_ssize_t startpos, endpos, childpos, limit;
446 endpos = PyList_GET_SIZE(heap);
448 if (pos >= endpos) {
455 limit = endpos >> 1; /* smallest pos that has no child */
459 if (childpos + 1 < endpos) {
471 if (endpos != PyList_GET_SIZE(heap)) {