Lines Matching defs:toAdd

371 void SortedLines::addAll(Line* toAdd, int32_t toAddSize) 
380 lines[size+i] = toAdd[i];
490 Line lower, upper, trial, toAdd, helper;
530 toAdd.setToConcat(firstRep[i], secondRep[j]);
631 toAdd.strength = probe.getStrength(xym, toAdd);
632 if(secondRep[j]->strength != toAdd.strength) {
638 if(toAdd.strength == UCOL_OFF) {
639 // check whether toAdd shifted more down
683 trial.len = unorm_normalize(toAdd.name, toAdd.len, UNORM_NFC, 0, trial.name, 25, &status);
685 if(trial == toAdd) {
713 Line toAdd;
714 toAdd.setToConcat(left, right);
715 toAdd.left = left;
716 toAdd.right = right;
727 if(probe.compare(trial1, toAdd) < 0 && probe.compare(toAdd, trial2) < 0) {
732 debug->log(toAdd.toString(false), true);
739 if(probe.compare(trial1, toAdd) < 0 && probe.compare(toAdd, trial2) < 0) {
744 debug->log(toAdd.toString(false), true);
751 if(probe.compare(trial1, toAdd) < 0 && probe.compare(toAdd, trial2) < 0) {
756 debug->log(toAdd.toString(false), true);
768 if(probe.compare(trial1, toAdd) < 0 && probe.compare(toAdd, trial2) < 0) {
773 debug->log(toAdd.toString(false), true);
778 if(contractionsTable->get(UnicodeString(toAdd.name, toAdd.len)) == NULL) {
779 if(probe.distanceFromEmptyString(toAdd) <= UCOL_TERTIARY) {
780 toAddTo[toAddToSize++] = toAdd;
781 contractionsTable->put(UnicodeString(toAdd.name, toAdd.len), &toAdd, status);
785 debug->log(toAdd.toString(false), true);
799 calculateSortKey(toAdd);
800 debug->log(toAdd.dumpSortkey(), true);
1308 Line *toAdd = &lines[size];
1311 while(current != NULL && probe.comparer(&current, &toAdd) < 0) {
1315 toAdd->previous = last;
1316 toAdd->next = NULL;
1318 last->next = toAdd;
1320 last = toAdd;
1322 first = toAdd;
1325 toAdd->next = current;
1326 toAdd->previous = current->previous;
1328 current->previous->next = toAdd;
1330 first = toAdd;
1332 current->previous = toAdd;