Lines Matching refs:trial
490 Line lower, upper, trial, toAdd, helper; in detectContractions() local
554 trial = *firstRep[i]; in detectContractions()
555 trial.append(*UB[UCOL_PRIMARY]); in detectContractions()
556 trial.append(*secondRep[j]); in detectContractions()
566 trial.setToConcat(secondRep[j], firstRep[i]); in detectContractions()
568 trial.setToConcat(firstRep[i], secondRep[j]); in detectContractions()
572 NFCTrialLen = unorm_normalize(trial.name, trial.len, UNORM_NFC, 0, NFCTrial, 256, &status); in detectContractions()
573 …if((u_strcmp(trial.name, NFCTrial) == 0) || u_strFindLast(NFCTrial, NFCTrialLen, secondRep[j]->nam… in detectContractions()
592 if (probe.compare(lower, trial) >= 0) { // if lower is bigger than trial in detectContractions()
600 else if (probe.compare(trial, upper) > 0) { // trial is bigger than upper?? in detectContractions()
607 if(getExpansionLine(trial, *firstRep[i], *secondRep[j], expansionLine) && in detectContractions()
613 …else if(firstRep[i]->strengthFromEmpty == UCOL_PRIMARY && probe.getStrength(lower, trial) < second… in detectContractions()
683 … trial.len = unorm_normalize(toAdd.name, toAdd.len, UNORM_NFC, 0, trial.name, 25, &status); in detectContractions()
685 if(trial == toAdd) { in detectContractions()
816 Line trial; in getExpansionLine() local
854 trial = previous; in getExpansionLine()
855 trial.append(expansionLine); in getExpansionLine()
856 trial.append(*toSort[k]); in getExpansionLine()
860 comparisonResult = probe.compare(trial, expansion); in getExpansionLine()
876 trial = previous; in getExpansionLine()
877 trial.append(expansionLine); in getExpansionLine()
878 trial.append(*toSort[i]); in getExpansionLine()
879 if(probe.compare(trial, expansion) > 0) { in getExpansionLine()
887 if(contractionsTable->get(UnicodeString(trial.name, trial.len)) == NULL) { in getExpansionLine()
916 Line trial, prefix, suffix; in gooseUp() local
924 trial.setToConcat(toSort[k], &expLine); in gooseUp()
925 if(probe.compare(trial, *toSort[i]) > 0) { in gooseUp()
945 trial.setToConcat(&prefix, toSort[k]); in gooseUp()
946 trial.append(suffix); in gooseUp()
947 if(probe.compare(trial, *toSort[i]) > 0) { in gooseUp()
975 trial.setToConcat(&prefix, toSort[k]); in gooseUp()
976 trial.append(suffix); in gooseUp()
977 lastStr = probe.getStrength(trial, *toSort[i]); in gooseUp()
990 if(probe.compare(trial, *toSort[i]) > 0) { in gooseUp()
1002 UColAttributeValue str = probe.getStrength(trial, *toSort[i]); in gooseUp()
1008 lastStr = probe.getStrength(trial, *toSort[i]); in gooseUp()
1033 Line *previous, trial, expansionLine; in detectExpansions() local
1097 trial.setToConcat(previous, UB[probe.getStrength(*toSort[j], *toSort[i])]); in detectExpansions()
1098 if(probe.compare(trial, *toSort[i]) > 0) { in detectExpansions()
1141 trial = *previous; in detectExpansions()
1142 trial.append(expansionLine); in detectExpansions()
1143 trial.append(*toSort[k]); in detectExpansions()
1147 if(probe.compare(trial, *toSort[i]) > 0) { in detectExpansions()
1153 if(contractionsTable->get(UnicodeString(trial.name, trial.len)) == NULL) { in detectExpansions()
1176 trial.setToConcat(toSort[j], &expansionLine); in detectExpansions()
1177 expStrength = probe.getStrength(trial, *toSort[i]); in detectExpansions()
1181 trial.setToConcat(toSort[j], &expansionLine); in detectExpansions()
1182 expStrength = probe.getStrength(trial, *toSort[i]); in detectExpansions()
1190 trial.setToConcat(toSort[j], &expansionLine); in detectExpansions()
1191 expStrength = probe.getStrength(trial, *toSort[i]); in detectExpansions()
1202 trial.setTo(UnicodeString(toSort[i]->name + diffLen, toSort[i]->len - diffLen)); in detectExpansions()
1204 trial = *toSort[i]; in detectExpansions()
1206 UColAttributeValue s1 = probe.getStrength(trial, expansionLine); in detectExpansions()
1208 s1 = probe.getStrength(expansionLine, trial); in detectExpansions()