Lines Matching refs:heapSize
6656 uint32_t heapSize = 0; in assignPointerIds() local
6672 heap[heapSize].currentPointerIndex = currentPointerIndex; in assignPointerIds()
6673 heap[heapSize].lastPointerIndex = lastPointerIndex; in assignPointerIds()
6674 heap[heapSize].distance = distance; in assignPointerIds()
6675 heapSize += 1; in assignPointerIds()
6681 for (uint32_t startIndex = heapSize / 2; startIndex != 0; ) { in assignPointerIds()
6685 if (childIndex >= heapSize) { in assignPointerIds()
6689 if (childIndex + 1 < heapSize in assignPointerIds()
6704 ALOGD("assignPointerIds - initial distance min-heap: size=%d", heapSize); in assignPointerIds()
6705 for (size_t i = 0; i < heapSize; i++) { in assignPointerIds()
6720 for (uint32_t i = min(currentPointerCount, lastPointerCount); heapSize > 0 && i > 0; i--) { in assignPointerIds()
6721 while (heapSize > 0) { in assignPointerIds()
6729 heap[0] = heap[heapSize]; in assignPointerIds()
6732 if (childIndex >= heapSize) { in assignPointerIds()
6736 if (childIndex + 1 < heapSize in assignPointerIds()
6750 ALOGD("assignPointerIds - reduced distance min-heap: size=%d", heapSize); in assignPointerIds()
6751 for (size_t i = 0; i < heapSize; i++) { in assignPointerIds()
6759 heapSize -= 1; in assignPointerIds()