Lines Matching refs:heapSize
5729 uint32_t heapSize = 0;
5745 heap[heapSize].currentPointerIndex = currentPointerIndex;
5746 heap[heapSize].lastPointerIndex = lastPointerIndex;
5747 heap[heapSize].distance = distance;
5748 heapSize += 1;
5754 for (uint32_t startIndex = heapSize / 2; startIndex != 0; ) {
5758 if (childIndex >= heapSize) {
5762 if (childIndex + 1 < heapSize
5777 ALOGD("assignPointerIds - initial distance min-heap: size=%d", heapSize);
5778 for (size_t i = 0; i < heapSize; i++) {
5793 for (uint32_t i = min(currentPointerCount, lastPointerCount); heapSize > 0 && i > 0; i--) {
5794 while (heapSize > 0) {
5802 heap[0] = heap[heapSize];
5805 if (childIndex >= heapSize) {
5809 if (childIndex + 1 < heapSize
5823 ALOGD("assignPointerIds - reduced distance min-heap: size=%d", heapSize);
5824 for (size_t i = 0; i < heapSize; i++) {
5832 heapSize -= 1;