• Home
  • Raw
  • Download

Lines Matching refs:strength

175                                             uint32_t strength)  in ucol_inv_getNextCE()  argument
187 CE &= strengthMask[strength]; in ucol_inv_getNextCE()
188 contCE &= strengthMask[strength]; in ucol_inv_getNextCE()
193 while((*nextCE & strengthMask[strength]) == CE in ucol_inv_getNextCE()
194 && (*nextContCE & strengthMask[strength]) == contCE) in ucol_inv_getNextCE()
206 uint32_t strength) in ucol_inv_getPrevCE() argument
218 CE &= strengthMask[strength]; in ucol_inv_getPrevCE()
219 contCE &= strengthMask[strength]; in ucol_inv_getPrevCE()
224 while((*prevCE & strengthMask[strength]) == CE in ucol_inv_getPrevCE()
225 && (*prevContCE & strengthMask[strength])== contCE in ucol_inv_getPrevCE()
289 inline int32_t ucol_inv_getNext(UColTokenParser *src, UColTokListHeader *lh, uint32_t strength) { in ucol_inv_getNext() argument
303 CE &= strengthMask[strength]; in ucol_inv_getNext()
304 SecondCE &= strengthMask[strength]; in ucol_inv_getNext()
309 while((nextCE & strengthMask[strength]) == CE in ucol_inv_getNext()
310 && (nextContCE & strengthMask[strength]) == SecondCE) in ucol_inv_getNext()
331 uint32_t tokStrength = tok->strength; in ucol_inv_getGapPositions()
389 while(tok != NULL && tok->strength >= tokStrength) { in ucol_inv_getGapPositions()
405 tokStrength = tok->strength; in ucol_inv_getGapPositions()
451 static uint32_t ucol_getSimpleCEGenerator(ucolCEGenerator *g, UColToken *tok, uint32_t strength, UE… in ucol_getSimpleCEGenerator() argument
454 uint32_t maxByte = (strength == UCOL_TERTIARY)?0x3F:0xFF; in ucol_getSimpleCEGenerator()
456 if(strength == UCOL_SECONDARY) { in ucol_getSimpleCEGenerator()
466 if(tok->next != NULL && tok->next->strength == strength) { in ucol_getSimpleCEGenerator()
480 uint32_t strength = tok->strength; in ucol_getCEGenerator() local
481 uint32_t low = lows[fStrength*3+strength]; in ucol_getCEGenerator()
482 uint32_t high = highs[fStrength*3+strength]; in ucol_getCEGenerator()
484 if(strength == UCOL_TERTIARY) { in ucol_getCEGenerator()
486 } else if(strength == UCOL_PRIMARY) { in ucol_getCEGenerator()
494 if(low >= high && strength > UCOL_PRIMARY) { in ucol_getCEGenerator()
495 int32_t s = strength; in ucol_getCEGenerator()
499 if(strength == UCOL_SECONDARY) { in ucol_getCEGenerator()
527 if(strength == UCOL_SECONDARY) { /* similar as simple */ in ucol_getCEGenerator()
731 …fprintf(stderr, "%04X str: %i, [%08X, %08X, %08X]: tok: ", tok->debugSource, tok->strength, CEpart… in ucol_doCE()
754 t[tok->strength] = 1; in ucol_initBuffers()
757 if(tok->previous->strength < tok->strength) { /* going up */ in ucol_initBuffers()
758 t[tok->strength] = 0; in ucol_initBuffers()
759 t[tok->previous->strength]++; in ucol_initBuffers()
760 } else if(tok->previous->strength > tok->strength) { /* going down */ in ucol_initBuffers()
761 t[tok->previous->strength] = 1; in ucol_initBuffers()
763 t[tok->strength]++; in ucol_initBuffers()
766 tok->toInsert = t[tok->strength]; in ucol_initBuffers()
769 tok->toInsert = t[tok->strength]; in ucol_initBuffers()
782 fprintf(stderr,"%i", tok->strength); in ucol_initBuffers()
805 fStrength = tok->strength; in ucol_initBuffers()
834 if(tok->strength == UCOL_TERTIARY) { in ucol_initBuffers()
836 } else if(tok->strength == UCOL_SECONDARY) { in ucol_initBuffers()
839 } else if(tok->strength == UCOL_PRIMARY) { in ucol_initBuffers()
874 …f((expt = (UColToken *)uhash_get(src->tailored, &exp)) != NULL && expt->strength != UCOL_TOK_RESET… in ucol_createElements()