Home
last modified time | relevance | path

Searched refs:parentIndex (Results 1 – 7 of 7) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DMinMaxPriorityQueue.java623 int parentIndex = getParentIndex(index); in crossOverUp() local
624 E parentElement = elementData(parentIndex); in crossOverUp()
625 if (parentIndex != 0) { in crossOverUp()
630 int grandparentIndex = getParentIndex(parentIndex); in crossOverUp()
632 if (uncleIndex != parentIndex && getLeftChildIndex(uncleIndex) >= size) { in crossOverUp()
635 parentIndex = uncleIndex; in crossOverUp()
642 queue[parentIndex] = x; in crossOverUp()
643 return parentIndex; in crossOverUp()
659 int parentIndex = getParentIndex(size); in swapWithConceptuallyLastElement() local
660 if (parentIndex != 0) { in swapWithConceptuallyLastElement()
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DMinMaxPriorityQueue.java623 int parentIndex = getParentIndex(index); in crossOverUp() local
624 E parentElement = elementData(parentIndex); in crossOverUp()
625 if (parentIndex != 0) { in crossOverUp()
630 int grandparentIndex = getParentIndex(parentIndex); in crossOverUp()
632 if (uncleIndex != parentIndex && getLeftChildIndex(uncleIndex) >= size) { in crossOverUp()
635 parentIndex = uncleIndex; in crossOverUp()
642 queue[parentIndex] = x; in crossOverUp()
643 return parentIndex; in crossOverUp()
659 int parentIndex = getParentIndex(size); in swapWithConceptuallyLastElement() local
660 if (parentIndex != 0) { in swapWithConceptuallyLastElement()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/
DDOM2DTM.java182 protected int addNode(Node node, int parentIndex, in addNode() argument
251 m_parent.setElementAt(parentIndex,nodeIndex); in addNode()
253 if(DTM.NULL != parentIndex && in addNode()
258 if(NOTPROCESSED == m_firstch.elementAt(parentIndex)) in addNode()
259 m_firstch.setElementAt(nodeIndex,parentIndex); in addNode()
306 declareNamespaceInContext(parentIndex,nodeIndex); in addNode()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/
DSAX2DTM.java868 int parentIndex, int previousSibling, in addNode() argument
882 m_parent.addElement(parentIndex); in addNode()
905 declareNamespaceInContext(parentIndex,nodeIndex); in addNode()
910 if (DTM.NULL == previousSibling && DTM.NULL != parentIndex) { in addNode()
911 m_firstch.setElementAt(nodeIndex,parentIndex); in addNode()
DSAX2DTM2.java2335 int parentIndex, int previousSibling, in addNode() argument
2351 m_parent.addElement(parentIndex); in addNode()
2370 declareNamespaceInContext(parentIndex,nodeIndex); in addNode()
2378 else if (DTM.NULL != parentIndex) { in addNode()
2379 m_firstch.setElementAt(nodeIndex,parentIndex); in addNode()
/external/lzma/CPP/7zip/UI/Common/
DOpenArchive.cpp824 UInt32 parentIndex; in GetItem() local
825 RINOK(GetRawProps->GetParent(index, &parentIndex, &parentType)); in GetItem()
844 item.ParentIndex = parentIndex; in GetItem()
845 mainIndex = parentIndex; in GetItem()
847 if (parentIndex == (UInt32)(Int32)-1) in GetItem()
854 RINOK(GetItemPath2(parentIndex, item.MainPath)); in GetItem()
855 RINOK(Archive_IsItem_Dir(Archive, parentIndex, item.MainIsDir)); in GetItem()
/external/icu/icu4c/source/i18n/
Dtznames_impl.cpp323 int32_t parentIndex = (int32_t)(parent - fNodes); in addChildNode() local
328 parent = fNodes + parentIndex; in addChildNode()