Home | History | Annotate | Download | only in i18n

Lines Matching defs:weight16

375             uint32_t weight16 = weight16FromNode(node);
376 if(weight16 == 0) {
385 U_ASSERT(weight16 > Collation::BEFORE_WEIGHT16);
389 weight16 = getWeight16Before(index, node, strength);
397 U_ASSERT(weight16 >= Collation::COMMON_WEIGHT16 || i == previousIndex);
410 if(previousWeight16 == weight16) {
417 node = nodeFromWeight16(weight16) | nodeFromStrength(strength);
422 uint32_t weight16 = getWeight16Before(index, node, strength);
423 index = findOrInsertWeakNode(index, weight16, strength, errorCode);
469 uint32_t weight16;
471 weight16 = rootElements.getSecondaryBefore(p, s);
473 weight16 = rootElements.getTertiaryBefore(p, s, t);
474 U_ASSERT((weight16 & ~Collation::ONLY_TERTIARY_MASK) == 0);
476 return weight16;
871 CollationBuilder::findOrInsertWeakNode(int32_t index, uint32_t weight16, int32_t level, UErrorCode &errorCode) {
876 if(weight16 == Collation::COMMON_WEIGHT16) {
884 if(weight16 != 0 && weight16 < Collation::COMMON_WEIGHT16) {
899 node = nodeFromWeight16(weight16) | nodeFromStrength(level);
922 if(nextWeight16 == weight16) {
927 if(nextWeight16 > weight16) { break; }
933 node = nodeFromWeight16(weight16) | nodeFromStrength(level);