Lines Matching refs:parent_index
5845 int parent_index = i;
5847 while (parent_index <= max_parent_index) {
5848 int child_index = 2 * parent_index + 1;
5858 NoIncrementalWriteBarrierSwapDescriptors(parent_index, child_index);
5860 parent_index = child_index; // parent_hash remains correct.
5869 int parent_index = 0;
5870 const uint32_t parent_hash = GetKey(parent_index)->Hash();
5872 while (parent_index <= max_parent_index) {
5873 int child_index = parent_index * 2 + 1;
5883 NoIncrementalWriteBarrierSwapDescriptors(parent_index, child_index);
5884 parent_index = child_index;
10214 int parent_index = ((child_index + 1) >> 1) - 1;
10215 uint32_t parent_value = NumberToUint32(numbers->get(parent_index));
10218 content->SwapPairs(numbers, parent_index, child_index);
10222 child_index = parent_index;
10231 int parent_index = 0;
10233 int child_index = ((parent_index + 1) << 1) - 1;
10237 uint32_t parent_value = NumberToUint32(numbers->get(parent_index));
10240 content->SwapPairs(numbers, parent_index, child_index);
10241 parent_index = child_index;
10244 content->SwapPairs(numbers, parent_index, child_index + 1);
10245 parent_index = child_index + 1;