Home | History | Annotate | Download | only in i18n

Lines Matching refs:strength

174                                             uint32_t strength)
186 CE &= strengthMask[strength];
187 contCE &= strengthMask[strength];
192 while((*nextCE & strengthMask[strength]) == CE
193 && (*nextContCE & strengthMask[strength]) == contCE)
205 uint32_t strength)
217 CE &= strengthMask[strength];
218 contCE &= strengthMask[strength];
223 while((*prevCE & strengthMask[strength]) == CE
224 && (*prevContCE & strengthMask[strength])== contCE
256 inline int32_t ucol_inv_getPrevious(UColTokenParser *src, UColTokListHeader *lh, uint32_t strength) {
271 CE &= strengthMask[strength];
272 SecondCE &= strengthMask[strength];
277 while((previousCE & strengthMask[strength]) == CE && (previousContCE & strengthMask[strength])== SecondCE) {
288 inline int32_t ucol_inv_getNext(UColTokenParser *src, UColTokListHeader *lh, uint32_t strength) {
302 CE &= strengthMask[strength];
303 SecondCE &= strengthMask[strength];
308 while((nextCE & strengthMask[strength]) == CE
309 && (nextContCE & strengthMask[strength]) == SecondCE)
330 uint32_t tokStrength = tok->strength;
388 while(tok != NULL && tok->strength >= tokStrength) {
404 tokStrength = tok->strength;
450 static uint32_t ucol_getSimpleCEGenerator(ucolCEGenerator *g, UColToken *tok, uint32_t strength, UErrorCode *status) {
453 uint32_t maxByte = (strength == UCOL_TERTIARY)?0x3F:0xFF;
455 if(strength == UCOL_SECONDARY) {
465 if(tok->next != NULL && tok->next->strength == strength) {
479 uint32_t strength = tok->strength;
480 uint32_t low = lows[fStrength*3+strength];
481 uint32_t high = highs[fStrength*3+strength];
483 if(strength == UCOL_TERTIARY) {
485 } else if(strength == UCOL_PRIMARY) {
493 strength > UCOL_PRIMARY) {
494 int32_t s = strength;
498 if(strength == UCOL_SECONDARY) {
526 if(strength == UCOL_SECONDARY) { /* similar as simple */
728 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]));
746 t[tok->strength] = 1;
749 if(tok->previous->strength < tok->strength) { /* going up */
750 t[tok->strength] = 0;
751 t[tok->previous->strength]++;
752 } else if(tok->previous->strength > tok->strength) { /* going down */
753 t[tok->previous->strength] = 1;
755 t[tok->strength]++;
758 tok->toInsert = t[tok->strength];
761 tok->toInsert = t[tok->strength];
774 fprintf(stderr,"%i", tok->strength);
797 fStrength = tok->strength;
826 if(tok->strength == UCOL_TERTIARY) {
828 } else if(tok->strength == UCOL_SECONDARY) {
831 } else if(tok->strength == UCOL_PRIMARY) {
867 if((expt = (UColToken *)uhash_get(src->tailored, &exp)) != NULL && expt->strength != UCOL_TOK_RESET) { /* expansion is tailored */
1081 o reverse the list, add to the end of X's positive list. Reset the strength of the
1082 first item you add, based on the stronger strength levels of the two lists.
1089 next/previous CE, at the strength of the first token. Add these to the
1103 strongest strength.
1127 /* According to strength */
1173 /* According to strength */