Lines Matching refs:a
154 void downheap (hash_entry a[], sal_uInt16 n, sal_uInt16 k);
155 void heapsort (hash_entry a[], sal_uInt16 n);
258 void INetURLHistory_Impl::downheap (hash_entry a[], sal_uInt16 n, sal_uInt16 k) in downheap() argument
260 hash_entry h = a[k]; in downheap()
264 if (((i + 1) < n) && (a[i] < a[i + 1])) i++; in downheap()
265 if (!(h < a[i])) break; in downheap()
266 a[k] = a[i]; in downheap()
269 a[k] = h; in downheap()
275 void INetURLHistory_Impl::heapsort (hash_entry a[], sal_uInt16 n) in heapsort() argument
280 downheap (a, n, k - 1); in heapsort()
284 h = a[0 ]; in heapsort()
285 a[0 ] = a[n - 1]; in heapsort()
286 a[n - 1] = h; in heapsort()
287 downheap (a, --n, 0); in heapsort()