Lines Matching full:contraction
820 // long. Although this table could quite easily mimic complete contraction stuff
870 // the first codepoint is also unsafe, as it forms a 'contraction' with the prefix
885 // Add the last char of the contraction to the contraction-end hash table.
895 // If there are any Jamos in the contraction, we should turn on special
904 /* if it wasn't contraction, we wouldn't end up here*/
911 } else { /* we are adding to existing contraction */
912 /* there were already some elements in the table, so we need to add a new contraction */
932 // or leading surrogates in a contraction. If a surrogate is somewhere else
933 // in the contraction, it is going to be handled as a pair of code units,
948 if(cpsize<element->cSize) { // This is a real contraction, if there are other characters after the first
950 for (j=1; j<element->cSize; j++) { /* First add contraction chars to unsafe CP hash table */
957 // Add the last char of the contraction to the contraction-end hash table.
964 // If there are any Jamos in the contraction, we should turn on special
974 /* if it wasn't contraction, we wouldn't end up here*/
981 } else { /* we are adding to existing contraction */
982 /* there were already some elements in the table, so we need to add a new contraction */
998 } else if(!isContraction(CE)) { /* this is just a surrogate, and there is no contraction */
1001 } else { /* fill out the first stage of the contraction with the surrogate CE */
1024 return element->mapCE; /*can't do just that. existingCe might be a contraction, meaning that we need to do another step */
1031 /* we encountered either an empty space or a non-contraction element */
1032 /* this means we are constructing a new contraction sequence */
1036 /* if it wasn't contraction, we wouldn't end up here*/
1042 } else { /* we are adding to existing contraction */
1043 /* there were already some elements in the table, so we need to add a new contraction */
1073 if(element->cSize > 1) { /* we're adding a contraction */
1087 if(isCntTableElement(CE) /*isContraction(CE)*/) { /* adding a non contraction element (thai, expansion, single) to already existing contraction */
1091 /* This loop has to change the CE at the end of contraction REDO!*/
1240 // I will try to process it as a reverse contraction, if possible.
1288 // for the contraction and then add the sequences that pass FCD check
1289 if(element->cSize > 1 && !(element->cSize==2 && UTF16_IS_LEAD(element->cPoints[0]) && UTF16_IS_TRAIL(element->cPoints[1]))) { // this is a contraction, we should check whether a composed form should also be included
1470 paddedsize(UCOL_UNSAFECP_TABLE_SIZE)); /* Contraction Ending chars */
1512 /* copy contraction index */
1518 /* copy contraction collation elements */
1577 /* Finish building Contraction Ending chars hash table and then copy it out. */
1936 // character at the end of contraction string.
2015 return context.noOfClosures; // no extra contraction needed to add