Lines Matching defs:trial
490 Line lower, upper, trial, toAdd, helper;
536 // end of lower and in the middle of trial, so we will have
537 // lower = Thai + UB, trial Thai + UB + x, resolving to
540 // upper = Thai + UB + UB, trial = Thai + UB + x,
554 trial = *firstRep[i];
555 trial.append(*UB[UCOL_PRIMARY]);
556 trial.append(*secondRep[j]);
566 trial.setToConcat(secondRep[j], firstRep[i]);
568 trial.setToConcat(firstRep[i], secondRep[j]);
570 // Now let's check the trial. The problem is that when you combine characters,
572 NFCTrialLen = unorm_normalize(trial.name, trial.len, UNORM_NFC, 0, NFCTrial, 256, &status);
573 if((u_strcmp(trial.name, NFCTrial) == 0) || u_strFindLast(NFCTrial, NFCTrialLen, secondRep[j]->name, secondRep[j]->len)) {
592 if (probe.compare(lower, trial) >= 0) { // if lower is bigger than trial
600 else if (probe.compare(trial, upper) > 0) { // trial is bigger than upper??
607 if(getExpansionLine(trial, *firstRep[i], *secondRep[j], expansionLine) &&
613 else if(firstRep[i]->strengthFromEmpty == UCOL_PRIMARY && probe.getStrength(lower, trial) < secondRep[j]->strengthFromEmpty) {
683 trial.len = unorm_normalize(toAdd.name, toAdd.len, UNORM_NFC, 0, trial.name, 25, &status);
684 //UColAttributeValue strength = probe.getStrength(*firstRep[i], trial);
685 if(trial == toAdd) {
816 Line trial;
854 trial = previous;
855 trial.append(expansionLine);
856 trial.append(*toSort[k]);
860 comparisonResult = probe.compare(trial, expansion);
876 trial = previous;
877 trial.append(expansionLine);
878 trial.append(*toSort[i]);
879 if(probe.compare(trial, expansion) > 0) {
887 if(contractionsTable->get(UnicodeString(trial.name, trial.len)) == NULL) {
916 Line trial, prefix, suffix;
924 trial.setToConcat(toSort[k], &expLine);
925 if(probe.compare(trial, *toSort[i]) > 0) {
945 trial.setToConcat(&prefix, toSort[k]);
946 trial.append(suffix);
947 if(probe.compare(trial, *toSort[i]) > 0) {
975 trial.setToConcat(&prefix, toSort[k]);
976 trial.append(suffix);
977 lastStr = probe.getStrength(trial, *toSort[i]);
990 if(probe.compare(trial, *toSort[i]) > 0) {
1002 UColAttributeValue str = probe.getStrength(trial, *toSort[i]);
1008 lastStr = probe.getStrength(trial, *toSort[i]);
1033 Line *previous, trial, expansionLine;
1096 //trial.setToConcat(previous, UB[strength]);
1097 trial.setToConcat(previous, UB[probe.getStrength(*toSort[j], *toSort[i])]);
1098 if(probe.compare(trial, *toSort[i]) > 0) {
1141 trial = *previous;
1142 trial.append(expansionLine);
1143 trial.append(*toSort[k]);
1147 if(probe.compare(trial, *toSort[i]) > 0) {
1153 if(contractionsTable->get(UnicodeString(trial.name, trial.len)) == NULL) {
1176 trial.setToConcat(toSort[j], &expansionLine);
1177 expStrength = probe.getStrength(trial, *toSort[i]);
1181 trial.setToConcat(toSort[j], &expansionLine);
1182 expStrength = probe.getStrength(trial, *toSort[i]);
1190 trial.setToConcat(toSort[j], &expansionLine);
1191 expStrength = probe.getStrength(trial, *toSort[i]);
1202 trial.setTo(UnicodeString(toSort[i]->name + diffLen, toSort[i]->len - diffLen));
1204 trial = *toSort[i];
1206 UColAttributeValue s1 = probe.getStrength(trial, expansionLine);
1208 s1 = probe.getStrength(expansionLine, trial);