Lines Matching refs:weight16
377 uint32_t weight16 = weight16FromNode(node); in addReset() local
378 if(weight16 == 0) { in addReset()
387 U_ASSERT(weight16 > Collation::BEFORE_WEIGHT16); in addReset()
391 weight16 = getWeight16Before(index, node, strength); in addReset()
399 U_ASSERT(weight16 >= Collation::COMMON_WEIGHT16 || i == previousIndex); in addReset()
412 if(previousWeight16 == weight16) { in addReset()
419 node = nodeFromWeight16(weight16) | nodeFromStrength(strength); in addReset()
424 uint32_t weight16 = getWeight16Before(index, node, strength); in addReset() local
425 index = findOrInsertWeakNode(index, weight16, strength, errorCode); in addReset()
471 uint32_t weight16; in getWeight16Before() local
473 weight16 = rootElements.getSecondaryBefore(p, s); in getWeight16Before()
475 weight16 = rootElements.getTertiaryBefore(p, s, t); in getWeight16Before()
476 U_ASSERT((weight16 & ~Collation::ONLY_TERTIARY_MASK) == 0); in getWeight16Before()
478 return weight16; in getWeight16Before()
872 CollationBuilder::findOrInsertWeakNode(int32_t index, uint32_t weight16, int32_t level, UErrorCode … in findOrInsertWeakNode() argument
877 if(weight16 == Collation::COMMON_WEIGHT16) { in findOrInsertWeakNode()
885 if(weight16 != 0 && weight16 < Collation::COMMON_WEIGHT16) { in findOrInsertWeakNode()
900 node = nodeFromWeight16(weight16) | nodeFromStrength(level); in findOrInsertWeakNode()
923 if(nextWeight16 == weight16) { in findOrInsertWeakNode()
928 if(nextWeight16 > weight16) { break; } in findOrInsertWeakNode()
934 node = nodeFromWeight16(weight16) | nodeFromStrength(level); in findOrInsertWeakNode()