Lines Matching defs:expansion

426 * Looks for the maximum length of all expansion sequences ending with the same
429 * @param endexpansion the last expansion collation element to be added
430 * @param expansionsize size of the expansion
431 * @param maxexpansion data structure to store the maximum expansion data.
488 /* using binary search to determine if last expansion element is
510 /* found the ce in expansion, we'll just modify the size if it is
560 fprintf(stderr, "expansion not found %d\n", temp);
568 * Sets the maximum length of all jamo expansion sequences ending with the same
572 * @param endexpansion the last expansion collation element to be added
573 * @param expansionsize size of the expansion
574 * @param maxexpansion data structure to store the maximum expansion data.
587 at the end of a expansion */
1096 if(isCntTableElement(CE) /*isContraction(CE)*/) { /* adding a non contraction element (thai, expansion, single) to already existing contraction */
1146 uint32_t expansion = 0;
1165 /* also, it should not be an expansion, as expansions would break with this */
1167 //if(tok->expansion == 0
1171 if(element->noOfCEs == 2 // a two CE expansion
1186 expansion = (uint32_t)(UCOL_SPECIAL_FLAG | (EXPANSION_TAG<<UCOL_TAG_SHIFT)
1194 expansion |= element->noOfCEs;
1198 element->mapCE = expansion;
1228 // one element to the expansion buffer. When we encounter a digit and we don't
1234 expansion = (uint32_t)(UCOL_SPECIAL_FLAG | (DIGIT_TAG<<UCOL_TAG_SHIFT) | 1); // prepare the element
1235 if(element->mapCE) { // if there is an expansion, we'll pick it here
1236 expansion |= ((uprv_uca_addExpansion(expansions, element->mapCE, status)+(headersize>>2))<<4);
1238 expansion |= ((uprv_uca_addExpansion(expansions, element->CEs[0], status)+(headersize>>2))<<4);
1240 element->mapCE = expansion;
1354 /* gets the max expansion in all unicode characters */
1514 /*myData->expansion = (uint32_t *)dataStart+tableOffset;*/
1515 myData->expansion = tableOffset;
1562 /* copy max expansion table */
1715 uint32_t expansion = 0;
1719 if(element->noOfCEs == 2 // a two CE expansion
1729 expansion = (uint32_t)(UCOL_SPECIAL_FLAG | (EXPANSION_TAG<<UCOL_TAG_SHIFT)
1737 expansion |= element->noOfCEs;
1741 element->mapCE = expansion;