Home
last modified time | relevance | path

Searched refs:getParentIndex (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DMinMaxPriorityQueue.java537 parent = elementData(getParentIndex(removeIndex)); in tryCrossOverAndBubbleUp()
622 int parentIndex = getParentIndex(index); in crossOverUp()
629 int grandparentIndex = getParentIndex(parentIndex); in crossOverUp()
658 int parentIndex = getParentIndex(size); in swapWithConceptuallyLastElement()
660 int grandparentIndex = getParentIndex(parentIndex); in swapWithConceptuallyLastElement()
715 if ((i > 0) && (compareElements(i, getParentIndex(i)) > 0)) { in verifyIndex()
734 private int getParentIndex(int i) { in getParentIndex() method in MinMaxPriorityQueue.Heap
739 return getParentIndex(getParentIndex(i)); // (i - 3) / 4 in getGrandparentIndex()
/external/guava/android/guava/src/com/google/common/collect/
DMinMaxPriorityQueue.java537 parent = elementData(getParentIndex(removeIndex)); in tryCrossOverAndBubbleUp()
622 int parentIndex = getParentIndex(index); in crossOverUp()
629 int grandparentIndex = getParentIndex(parentIndex); in crossOverUp()
658 int parentIndex = getParentIndex(size); in swapWithConceptuallyLastElement()
660 int grandparentIndex = getParentIndex(parentIndex); in swapWithConceptuallyLastElement()
715 if ((i > 0) && (compareElements(i, getParentIndex(i)) > 0)) { in verifyIndex()
734 private int getParentIndex(int i) { in getParentIndex() method in MinMaxPriorityQueue.Heap
739 return getParentIndex(getParentIndex(i)); // (i - 3) / 4 in getGrandparentIndex()
/external/llvm-project/openmp/libomptarget/src/
Domptarget.cpp205 static int32_t getParentIndex(int64_t type) { in getParentIndex() function
290 if (getParentIndex(arg_types[i]) < 0 && next_i < arg_num && in targetDataBegin()
291 getParentIndex(arg_types[next_i]) == i) { in targetDataBegin()
383 int32_t parent_idx = getParentIndex(arg_types[i]); in targetDataBegin()
486 if (getParentIndex(ArgTypes[I]) < 0 && NextI < ArgNum && in targetDataEnd()
487 getParentIndex(ArgTypes[NextI]) == I) { in targetDataEnd()
549 int32_t ParentIdx = getParentIndex(ArgTypes[I]); in targetDataEnd()
1082 unsigned Idx = getParentIndex(ArgTypes[I]); in processDataBefore()