Searched refs:sortingArray (Results 1 – 2 of 2) sorted by relevance
/third_party/icu/tools/colprobe/ |
D | sortedlines.h | 61 void sort(Line **sortingArray, int32_t sizeToSort, UBool setStrengths = true, UBool link = false); 89 void setSortingArray(Line **sortingArray, Line *elements, int32_t sizeToSort); 90 int32_t setSortingArray(Line **sortingArray, Hashtable *table);
|
D | sortedlines.cpp | 260 SortedLines::setSortingArray(Line **sortingArray, Line *elements, int32_t sizeToSort) { in setSortingArray() argument 263 sortingArray[i] = &elements[i]; in setSortingArray() 268 SortedLines::setSortingArray(Line **sortingArray, Hashtable *table) { in setSortingArray() argument 274 sortingArray[count++] = (Line *)hashElement->value.pointer; in setSortingArray() 280 SortedLines::sort(Line **sortingArray, int32_t sizeToSort, UBool setStrengths, UBool link) { in sort() argument 285 qsort(sortingArray, sizeToSort, sizeof(Line *), probe.comparer); in sort() 289 sortingArray[i]->strength = probe.getStrength(*sortingArray[i-1], *sortingArray[i]); in sort() 296 if(sortingArray[i]->strength == UCOL_IDENTICAL) { in sort() 298 equalStrength = sortingArray[equalStart]->strength; in sort() 299 sortingArray[equalStart]->strength = UCOL_IDENTICAL; in sort() [all …]
|