Lines Matching refs:strength
174 uint32_t strength) in ucol_inv_getNextCE() argument
186 CE &= strengthMask[strength]; in ucol_inv_getNextCE()
187 contCE &= strengthMask[strength]; in ucol_inv_getNextCE()
192 while((*nextCE & strengthMask[strength]) == CE in ucol_inv_getNextCE()
193 && (*nextContCE & strengthMask[strength]) == contCE) in ucol_inv_getNextCE()
205 uint32_t strength) in ucol_inv_getPrevCE() argument
217 CE &= strengthMask[strength]; in ucol_inv_getPrevCE()
218 contCE &= strengthMask[strength]; in ucol_inv_getPrevCE()
223 while((*prevCE & strengthMask[strength]) == CE in ucol_inv_getPrevCE()
224 && (*prevContCE & strengthMask[strength])== contCE in ucol_inv_getPrevCE()
288 inline int32_t ucol_inv_getNext(UColTokenParser *src, UColTokListHeader *lh, uint32_t strength) { in ucol_inv_getNext() argument
302 CE &= strengthMask[strength]; in ucol_inv_getNext()
303 SecondCE &= strengthMask[strength]; in ucol_inv_getNext()
308 while((nextCE & strengthMask[strength]) == CE in ucol_inv_getNext()
309 && (nextContCE & strengthMask[strength]) == SecondCE) in ucol_inv_getNext()
330 uint32_t tokStrength = tok->strength; in ucol_inv_getGapPositions()
388 while(tok != NULL && tok->strength >= tokStrength) { in ucol_inv_getGapPositions()
404 tokStrength = tok->strength; in ucol_inv_getGapPositions()
450 static uint32_t ucol_getSimpleCEGenerator(ucolCEGenerator *g, UColToken *tok, uint32_t strength, UE… in ucol_getSimpleCEGenerator() argument
453 uint32_t maxByte = (strength == UCOL_TERTIARY)?0x3F:0xFF; in ucol_getSimpleCEGenerator()
455 if(strength == UCOL_SECONDARY) { in ucol_getSimpleCEGenerator()
465 if(tok->next != NULL && tok->next->strength == strength) { in ucol_getSimpleCEGenerator()
479 uint32_t strength = tok->strength; in ucol_getCEGenerator() local
480 uint32_t low = lows[fStrength*3+strength]; in ucol_getCEGenerator()
481 uint32_t high = highs[fStrength*3+strength]; in ucol_getCEGenerator()
483 if(strength == UCOL_TERTIARY) { in ucol_getCEGenerator()
485 } else if(strength == UCOL_PRIMARY) { in ucol_getCEGenerator()
493 if(low >= high && strength > UCOL_PRIMARY) { in ucol_getCEGenerator()
494 int32_t s = strength; in ucol_getCEGenerator()
498 if(strength == UCOL_SECONDARY) { in ucol_getCEGenerator()
526 if(strength == UCOL_SECONDARY) { /* similar as simple */ in ucol_getCEGenerator()
728 …fprintf(stderr, "%04X str: %i, [%08X, %08X, %08X]: tok: ", tok->debugSource, tok->strength, CEpart… in ucol_doCE()
746 t[tok->strength] = 1; in ucol_initBuffers()
749 if(tok->previous->strength < tok->strength) { /* going up */ in ucol_initBuffers()
750 t[tok->strength] = 0; in ucol_initBuffers()
751 t[tok->previous->strength]++; in ucol_initBuffers()
752 } else if(tok->previous->strength > tok->strength) { /* going down */ in ucol_initBuffers()
753 t[tok->previous->strength] = 1; in ucol_initBuffers()
755 t[tok->strength]++; in ucol_initBuffers()
758 tok->toInsert = t[tok->strength]; in ucol_initBuffers()
761 tok->toInsert = t[tok->strength]; in ucol_initBuffers()
774 fprintf(stderr,"%i", tok->strength); in ucol_initBuffers()
797 fStrength = tok->strength; in ucol_initBuffers()
826 if(tok->strength == UCOL_TERTIARY) { in ucol_initBuffers()
828 } else if(tok->strength == UCOL_SECONDARY) { in ucol_initBuffers()
831 } else if(tok->strength == UCOL_PRIMARY) { in ucol_initBuffers()
867 …f((expt = (UColToken *)uhash_get(src->tailored, &exp)) != NULL && expt->strength != UCOL_TOK_RESET… in ucol_createElements()