Lines Matching defs:childpos
72 Py_ssize_t startpos, endpos, childpos, limit;
88 /* Set childpos to index of smaller child. */
89 childpos = 2*pos + 1; /* leftmost child position */
90 if (childpos + 1 < endpos) {
91 PyObject* a = arr[childpos];
92 PyObject* b = arr[childpos + 1];
100 childpos += ((unsigned)cmp ^ 1); /* increment when cmp==0 */
109 tmp1 = arr[childpos];
111 arr[childpos] = tmp2;
113 pos = childpos;
441 Py_ssize_t startpos, endpos, childpos, limit;
457 /* Set childpos to index of smaller child. */
458 childpos = 2*pos + 1; /* leftmost child position */
459 if (childpos + 1 < endpos) {
460 PyObject* a = arr[childpos + 1];
461 PyObject* b = arr[childpos];
469 childpos += ((unsigned)cmp ^ 1); /* increment when cmp==0 */
478 tmp1 = arr[childpos];
480 arr[childpos] = tmp2;
482 pos = childpos;