Lines Matching refs:parent_index
3369 int parent_index = ((child_index + 1) >> 1) - 1;
3370 uint32_t parent_hash = GetKey(parent_index)->Hash();
3373 Swap(parent_index, child_index);
3377 child_index = parent_index;
3386 int parent_index = 0;
3388 int child_index = ((parent_index + 1) << 1) - 1;
3392 uint32_t parent_hash = GetKey(parent_index)->Hash();
3395 Swap(parent_index, child_index);
3396 parent_index = child_index;
3399 Swap(parent_index, child_index + 1);
3400 parent_index = child_index + 1;
6376 int parent_index = ((child_index + 1) >> 1) - 1;
6377 uint32_t parent_value = NumberToUint32(numbers->get(parent_index));
6380 content->SwapPairs(numbers, parent_index, child_index);
6384 child_index = parent_index;
6393 int parent_index = 0;
6395 int child_index = ((parent_index + 1) << 1) - 1;
6399 uint32_t parent_value = NumberToUint32(numbers->get(parent_index));
6402 content->SwapPairs(numbers, parent_index, child_index);
6403 parent_index = child_index;
6406 content->SwapPairs(numbers, parent_index, child_index + 1);
6407 parent_index = child_index + 1;