Home | History | Annotate | Download | only in collationperf

Lines Matching refs:guess

499                     int  guess = -1;
502 if (newGuess == guess)
504 guess = newGuess;
506 r = (*pf)((gSortedLines[line])->name, (gSortedLines[guess])->name);
512 hi = guess;
514 lo = guess;
537 int guess = -1;
540 if (newGuess == guess)
542 guess = newGuess;
546 ri = strcmp((gSortedLines[line])->icuSortKey, (gSortedLines[guess])->icuSortKey);
554 guessLen = (gSortedLines[guess])->len;
557 r = ucol_strcoll(gCol, (gSortedLines[line])->name, lineLen, (gSortedLines[guess])->name, guessLen);
564 hi = guess;
566 lo = guess;
588 int guess = -1;
591 if (newGuess == guess)
593 guess = newGuess;
596 r = strcmp((gSortedLines[line])->winSortKey, (gSortedLines[guess])->winSortKey);
604 guessLen = (gSortedLines[guess])->len;
607 r = CompareStringW(gWinLCID, 0, (gSortedLines[line])->name, lineLen, (gSortedLines[guess])->name, guessLen);
619 if (r == 1) // line < guess
620 hi = guess;
621 else // line > guess
622 lo = guess;
639 int guess = -1;
642 if (newGuess == guess)
644 guess = newGuess;
647 r = strcmp((gSortedLines[line])->unixSortKey, (gSortedLines[guess])->unixSortKey);
654 r = strcoll((gSortedLines[line])->unixName, (gSortedLines[guess])->unixName);
665 if (r < 0) // line < guess
666 hi = guess;
667 else // line > guess
668 lo = guess;