Lines Matching refs:newitem
23 PyObject *newitem, *parent, **arr; in siftdown() local
37 newitem = arr[pos]; in siftdown()
41 Py_INCREF(newitem); in siftdown()
43 cmp = PyObject_RichCompareBool(newitem, parent, Py_LT); in siftdown()
45 Py_DECREF(newitem); in siftdown()
57 newitem = arr[pos]; in siftdown()
58 arr[parentpos] = newitem; in siftdown()
392 PyObject *newitem, *parent, **arr; in siftdown_max() local
406 newitem = arr[pos]; in siftdown_max()
411 Py_INCREF(newitem); in siftdown_max()
412 cmp = PyObject_RichCompareBool(parent, newitem, Py_LT); in siftdown_max()
414 Py_DECREF(newitem); in siftdown_max()
426 newitem = arr[pos]; in siftdown_max()
427 arr[parentpos] = newitem; in siftdown_max()