Home | History | Annotate | Download | only in src

Lines Matching refs:parent_index

8110     int parent_index = i;
8112 while (parent_index <= max_parent_index) {
8113 int child_index = 2 * parent_index + 1;
8123 SwapSortedKeys(parent_index, child_index);
8125 parent_index = child_index; // parent_hash remains correct.
8134 int parent_index = 0;
8135 const uint32_t parent_hash = GetSortedKey(parent_index)->Hash();
8137 while (parent_index <= max_parent_index) {
8138 int child_index = parent_index * 2 + 1;
8148 SwapSortedKeys(parent_index, child_index);
8149 parent_index = child_index;
13481 int parent_index = ((child_index + 1) >> 1) - 1;
13482 uint32_t parent_value = NumberToUint32(numbers->get(parent_index));
13485 content->SwapPairs(numbers, parent_index, child_index);
13489 child_index = parent_index;
13498 int parent_index = 0;
13500 int child_index = ((parent_index + 1) << 1) - 1;
13504 uint32_t parent_value = NumberToUint32(numbers->get(parent_index));
13507 content->SwapPairs(numbers, parent_index, child_index);
13508 parent_index = child_index;
13511 content->SwapPairs(numbers, parent_index, child_index + 1);
13512 parent_index = child_index + 1;