Home | History | Annotate | Download | only in html

Lines Matching refs:currentIndex

156     unsigned currentIndex = cachedNodeIndex();
157 ASSERT(currentIndex > index);
160 bool firstIsCloser = index < currentIndex - index;
170 NodeType* currentNode = collection.traverseBackwardToOffset(index, *cachedNode(), currentIndex);
172 setCachedNode(currentNode, currentIndex);
180 unsigned currentIndex = cachedNodeIndex();
181 ASSERT(currentIndex < index);
184 bool lastIsCloser = isCachedNodeCountValid() && cachedNodeCount() - index < index - currentIndex;
195 NodeType* currentNode = collection.traverseForwardToOffset(index, *cachedNode(), currentIndex);
198 setCachedNodeCount(currentIndex + 1);
201 setCachedNode(currentNode, currentIndex);