Home | History | Annotate | Download | only in i18n

Lines Matching refs:strength

169                                             uint32_t strength)
181 CE &= strengthMask[strength];
182 contCE &= strengthMask[strength];
187 while((*nextCE & strengthMask[strength]) == CE
188 && (*nextContCE & strengthMask[strength]) == contCE)
200 uint32_t strength)
212 CE &= strengthMask[strength];
213 contCE &= strengthMask[strength];
218 while((*prevCE & strengthMask[strength]) == CE
219 && (*prevContCE & strengthMask[strength])== contCE
251 inline int32_t ucol_inv_getPrevious(UColTokenParser *src, UColTokListHeader *lh, uint32_t strength) {
266 CE &= strengthMask[strength];
267 SecondCE &= strengthMask[strength];
272 while((previousCE & strengthMask[strength]) == CE && (previousContCE & strengthMask[strength])== SecondCE) {
283 inline int32_t ucol_inv_getNext(UColTokenParser *src, UColTokListHeader *lh, uint32_t strength) {
297 CE &= strengthMask[strength];
298 SecondCE &= strengthMask[strength];
303 while((nextCE & strengthMask[strength]) == CE
304 && (nextContCE & strengthMask[strength]) == SecondCE)
325 uint32_t tokStrength = tok->strength;
383 while(tok != NULL && tok->strength >= tokStrength) {
399 tokStrength = tok->strength;
445 static uint32_t ucol_getSimpleCEGenerator(ucolCEGenerator *g, UColToken *tok, uint32_t strength, UErrorCode *status) {
448 uint32_t maxByte = (strength == UCOL_TERTIARY)?0x3F:0xFF;
450 if(strength == UCOL_SECONDARY) {
460 if(tok->next != NULL && tok->next->strength == strength) {
474 uint32_t strength = tok->strength;
475 uint32_t low = lows[fStrength*3+strength];
476 uint32_t high = highs[fStrength*3+strength];
478 if(strength == UCOL_TERTIARY) {
480 } else if(strength == UCOL_PRIMARY) {
488 if(low >= high && strength > UCOL_PRIMARY) {
489 int32_t s = strength;
493 if(strength == UCOL_SECONDARY) {
519 if(strength == UCOL_SECONDARY) { /* similar as simple */
721 fprintf(stderr, "%04X str: %i, [%08X, %08X, %08X]: tok: ", tok->debugSource, tok->strength, CEparts[0] >> (32-8*noOfBytes[0]), CEparts[1] >> (32-8*noOfBytes[1]), CEparts[2]>> (32-8*noOfBytes[2]));
739 t[tok->strength] = 1;
742 if(tok->previous->strength < tok->strength) { /* going up */
743 t[tok->strength] = 0;
744 t[tok->previous->strength]++;
745 } else if(tok->previous->strength > tok->strength) { /* going down */
746 t[tok->previous->strength] = 1;
748 t[tok->strength]++;
751 tok->toInsert = t[tok->strength];
754 tok->toInsert = t[tok->strength];
767 fprintf(stderr,"%i", tok->strength);
790 fStrength = tok->strength;
819 if(tok->strength == UCOL_TERTIARY) {
821 } else if(tok->strength == UCOL_SECONDARY) {
824 } else if(tok->strength == UCOL_PRIMARY) {
860 if((expt = (UColToken *)uhash_get(src->tailored, &exp)) != NULL && expt->strength != UCOL_TOK_RESET) { /* expansion is tailored */
1073 o reverse the list, add to the end of X's positive list. Reset the strength of the
1074 first item you add, based on the stronger strength levels of the two lists.
1081 next/previous CE, at the strength of the first token. Add these to the
1095 strongest strength.
1119 /* According to strength */
1165 /* According to strength */