Home | History | Annotate | Download | only in html

Lines Matching refs:currentIndex

157     unsigned currentIndex = cachedNodeIndex();
158 ASSERT(currentIndex > index);
161 bool firstIsCloser = index < currentIndex - index;
171 NodeType* currentNode = collection.traverseBackwardToOffset(index, *cachedNode(), currentIndex);
173 setCachedNode(currentNode, currentIndex);
181 unsigned currentIndex = cachedNodeIndex();
182 ASSERT(currentIndex < index);
185 bool lastIsCloser = isCachedNodeCountValid() && cachedNodeCount() - index < index - currentIndex;
196 NodeType* currentNode = collection.traverseForwardToOffset(index, *cachedNode(), currentIndex);
199 setCachedNodeCount(currentIndex + 1);
202 setCachedNode(currentNode, currentIndex);