• Home
  • Raw
  • Download

Lines Matching refs:weight16

379             uint32_t weight16 = weight16FromNode(node);  in addReset()  local
380 if(weight16 == 0) { in addReset()
389 U_ASSERT(weight16 > Collation::BEFORE_WEIGHT16); in addReset()
393 weight16 = getWeight16Before(index, node, strength); in addReset()
401 U_ASSERT(weight16 >= Collation::COMMON_WEIGHT16 || i == previousIndex); in addReset()
414 if(previousWeight16 == weight16) { in addReset()
421 node = nodeFromWeight16(weight16) | nodeFromStrength(strength); in addReset()
426 uint32_t weight16 = getWeight16Before(index, node, strength); in addReset() local
427 index = findOrInsertWeakNode(index, weight16, strength, errorCode); in addReset()
473 uint32_t weight16; in getWeight16Before() local
475 weight16 = rootElements.getSecondaryBefore(p, s); in getWeight16Before()
477 weight16 = rootElements.getTertiaryBefore(p, s, t); in getWeight16Before()
478 U_ASSERT((weight16 & ~Collation::ONLY_TERTIARY_MASK) == 0); in getWeight16Before()
480 return weight16; in getWeight16Before()
878 CollationBuilder::findOrInsertWeakNode(int32_t index, uint32_t weight16, int32_t level, UErrorCode … in findOrInsertWeakNode() argument
883 if(weight16 == Collation::COMMON_WEIGHT16) { in findOrInsertWeakNode()
891 if(weight16 != 0 && weight16 < Collation::COMMON_WEIGHT16) { in findOrInsertWeakNode()
906 node = nodeFromWeight16(weight16) | nodeFromStrength(level); in findOrInsertWeakNode()
929 if(nextWeight16 == weight16) { in findOrInsertWeakNode()
934 if(nextWeight16 > weight16) { break; } in findOrInsertWeakNode()
940 node = nodeFromWeight16(weight16) | nodeFromStrength(level); in findOrInsertWeakNode()