Lines Matching full:childpos
77 Py_ssize_t startpos, endpos, childpos, rightpos, limit;
92 /* Set childpos to index of smaller child. */
93 childpos = 2*pos + 1; /* leftmost child position */
94 rightpos = childpos + 1;
97 PyList_GET_ITEM(heap, childpos),
102 childpos = rightpos;
110 tmp1 = PyList_GET_ITEM(heap, childpos);
112 PyList_SET_ITEM(heap, childpos, tmp2);
114 pos = childpos;
418 Py_ssize_t startpos, endpos, childpos, rightpos, limit;
435 /* Set childpos to index of smaller child. */
436 childpos = 2*pos + 1; /* leftmost child position */
437 rightpos = childpos + 1;
441 PyList_GET_ITEM(heap, childpos));
447 childpos = rightpos;
450 tmp = PyList_GET_ITEM(heap, childpos);
454 pos = childpos;