Home | History | Annotate | Download | only in collationperf

Lines Matching refs:guess

503                     int  guess = -1;
506 if (newGuess == guess)
508 guess = newGuess;
510 r = (*pf)((gSortedLines[line])->name, (gSortedLines[guess])->name);
516 hi = guess;
518 lo = guess;
541 int guess = -1;
544 if (newGuess == guess)
546 guess = newGuess;
550 ri = strcmp((gSortedLines[line])->icuSortKey, (gSortedLines[guess])->icuSortKey);
558 guessLen = (gSortedLines[guess])->len;
561 r = ucol_strcoll(gCol, (gSortedLines[line])->name, lineLen, (gSortedLines[guess])->name, guessLen);
568 hi = guess;
570 lo = guess;
592 int guess = -1;
595 if (newGuess == guess)
597 guess = newGuess;
600 r = strcmp((gSortedLines[line])->winSortKey, (gSortedLines[guess])->winSortKey);
608 guessLen = (gSortedLines[guess])->len;
611 r = CompareStringW(gWinLCID, 0, (gSortedLines[line])->name, lineLen, (gSortedLines[guess])->name, guessLen);
623 if (r == 1) // line < guess
624 hi = guess;
625 else // line > guess
626 lo = guess;
643 int guess = -1;
646 if (newGuess == guess)
648 guess = newGuess;
651 r = strcmp((gSortedLines[line])->unixSortKey, (gSortedLines[guess])->unixSortKey);
658 r = strcoll((gSortedLines[line])->unixName, (gSortedLines[guess])->unixName);
669 if (r < 0) // line < guess
670 hi = guess;
671 else // line > guess
672 lo = guess;