Lines Matching refs:parentpos
15 Py_ssize_t parentpos, size; in siftdown() local
30 parentpos = (pos - 1) >> 1; in siftdown()
31 parent = arr[parentpos]; in siftdown()
43 parent = arr[parentpos]; in siftdown()
45 arr[parentpos] = newitem; in siftdown()
47 pos = parentpos; in siftdown()
369 Py_ssize_t parentpos, size; in siftdown_max() local
384 parentpos = (pos - 1) >> 1; in siftdown_max()
385 parent = arr[parentpos]; in siftdown_max()
397 parent = arr[parentpos]; in siftdown_max()
399 arr[parentpos] = newitem; in siftdown_max()
401 pos = parentpos; in siftdown_max()