Lines Matching refs:child_index
10759 int child_index = 2 * parent_index + 1; in Sort() local
10760 uint32_t child_hash = GetSortedKey(child_index)->Hash(); in Sort()
10761 if (child_index + 1 < len) { in Sort()
10762 uint32_t right_child_hash = GetSortedKey(child_index + 1)->Hash(); in Sort()
10764 child_index++; in Sort()
10769 SwapSortedKeys(parent_index, child_index); in Sort()
10771 parent_index = child_index; // parent_hash remains correct. in Sort()
10784 int child_index = parent_index * 2 + 1; in Sort() local
10785 uint32_t child_hash = GetSortedKey(child_index)->Hash(); in Sort()
10786 if (child_index + 1 < i) { in Sort()
10787 uint32_t right_child_hash = GetSortedKey(child_index + 1)->Hash(); in Sort()
10789 child_index++; in Sort()
10794 SwapSortedKeys(parent_index, child_index); in Sort()
10795 parent_index = child_index; in Sort()