Lines Matching refs:pri
442 uint32_t pri = 0; in encodeUniqueCEs() local
452 U_ASSERT(pri <= CollationFastLatin::MAX_LONG); in encodeUniqueCEs()
455 result.setCharAt(1 + group, (UChar)pri); in encodeUniqueCEs()
464 if(pri == 0) { in encodeUniqueCEs()
465 pri = CollationFastLatin::MIN_LONG; in encodeUniqueCEs()
466 } else if(pri < CollationFastLatin::MAX_LONG) { in encodeUniqueCEs()
467 pri += CollationFastLatin::LONG_INC; in encodeUniqueCEs()
476 if(pri < CollationFastLatin::MIN_SHORT) { in encodeUniqueCEs()
477 pri = CollationFastLatin::MIN_SHORT; in encodeUniqueCEs()
478 } else if(pri < (CollationFastLatin::MAX_SHORT - CollationFastLatin::SHORT_INC)) { in encodeUniqueCEs()
480 pri += CollationFastLatin::SHORT_INC; in encodeUniqueCEs()
498 if(pri == 0) { in encodeUniqueCEs()
543 if(CollationFastLatin::MIN_LONG <= pri && pri <= CollationFastLatin::MAX_LONG) { in encodeUniqueCEs()
545 miniCEs[i] = (uint16_t)(pri | ter); in encodeUniqueCEs()
547 miniCEs[i] = (uint16_t)(pri | sec | ter); in encodeUniqueCEs()
551 printf("last mini primary: %04x\n", pri); in encodeUniqueCEs()