Lines Matching refs:Collation

300         U_ASSERT((ces[0] & Collation::CASE_AND_QUATERNARY_MASK) == 0);  in addReset()
309 if(cesLength > Collation::MAX_EXPANSION_LENGTH) { in addReset()
348 if(p == Collation::FIRST_TRAILING_PRIMARY) { in addReset()
385 U_ASSERT(weight16 > Collation::BEFORE_WEIGHT16); in addReset()
397 U_ASSERT(weight16 >= Collation::COMMON_WEIGHT16 || i == previousIndex); in addReset()
402 previousWeight16 = Collation::COMMON_WEIGHT16; in addReset()
445 t = Collation::COMMON_WEIGHT16; // Stronger node with implied common weight. in getWeight16Before()
452 return Collation::BEFORE_WEIGHT16; in getWeight16Before()
458 s = Collation::COMMON_WEIGHT16; // Stronger node with implied common weight. in getWeight16Before()
465 return Collation::BEFORE_WEIGHT16; in getWeight16Before()
474 U_ASSERT((weight16 & ~Collation::ONLY_TERTIARY_MASK) == 0); in getWeight16Before()
570 ce = Collation::makeCE(Collation::FIRST_TRAILING_PRIMARY); in getSpecialResetPosition()
605 ce = Collation::makeCE(p); in getSpecialResetPosition()
737 if(cesLength > Collation::MAX_EXPANSION_LENGTH) { in addRelation()
744 uint32_t ce32 = Collation::UNASSIGNED_CE32; in addRelation()
787 if((uint8_t)(ce >> 56) == Collation::UNASSIGNED_IMPLICIT_BYTE) { in findOrInsertNodeForCEs()
798 U_ASSERT((uint8_t)(ce >> 56) != Collation::UNASSIGNED_IMPLICIT_BYTE); in findOrInsertNodeForRootCE()
809 index = findOrInsertWeakNode(index, lower32 & Collation::ONLY_TERTIARY_MASK, in findOrInsertNodeForRootCE()
876 if(weight16 == Collation::COMMON_WEIGHT16) { in findOrInsertWeakNode()
884 if(weight16 != 0 && weight16 < Collation::COMMON_WEIGHT16) { in findOrInsertWeakNode()
889 nodeFromWeight16(Collation::COMMON_WEIGHT16) | nodeFromStrength(level); in findOrInsertWeakNode()
999 weight16FromNode(node) < Collation::COMMON_WEIGHT16); in findCommonNode()
1006 weight16FromNode(node) < Collation::COMMON_WEIGHT16); in findCommonNode()
1007 U_ASSERT(weight16FromNode(node) == Collation::COMMON_WEIGHT16); in findCommonNode()
1033 U_ASSERT(baseCEsLength >= 0 && baseCEs.getCE(baseCEsLength) == Collation::NO_CE); in setCaseBits()
1174 int64_t newCEs[Collation::MAX_EXPANSION_LENGTH]; in addTailComposites()
1185 if(newCEsLength > Collation::MAX_EXPANSION_LENGTH) { in addTailComposites()
1205 newCEs, newCEsLength, Collation::UNASSIGNED_CE32, errorCode); in addTailComposites()
1206 if(ce32 != Collation::UNASSIGNED_CE32) { in addTailComposites()
1332 if(cesLength > Collation::MAX_EXPANSION_LENGTH) { in closeOverComposites()
1339 addIfDifferent(prefix, composite, ces, cesLength, Collation::UNASSIGNED_CE32, errorCode); in closeOverComposites()
1348 int64_t oldCEs[Collation::MAX_EXPANSION_LENGTH]; in addIfDifferent()
1351 if(ce32 == Collation::UNASSIGNED_CE32) { in addIfDifferent()
1365 U_ASSERT(ces1Length <= Collation::MAX_EXPANSION_LENGTH); in sameCEs()
1398 uint32_t s = p == 0 ? 0 : Collation::COMMON_WEIGHT16; in makeTailoredCEs()
1439 … tLimit = rootElements.getFirstTertiaryCE() & Collation::ONLY_TERTIARY_MASK; in makeTailoredCEs()
1443 } else if(t == Collation::BEFORE_WEIGHT16) { in makeTailoredCEs()
1444 tLimit = Collation::COMMON_WEIGHT16; in makeTailoredCEs()
1447 U_ASSERT(t == Collation::COMMON_WEIGHT16); in makeTailoredCEs()
1450 … U_ASSERT(tLimit == 0x4000 || (tLimit & ~Collation::ONLY_TERTIARY_MASK) == 0); in makeTailoredCEs()
1486 } else if(s == Collation::BEFORE_WEIGHT16) { in makeTailoredCEs()
1487 sLimit = Collation::COMMON_WEIGHT16; in makeTailoredCEs()
1490 U_ASSERT(s == Collation::COMMON_WEIGHT16); in makeTailoredCEs()
1493 if(s == Collation::COMMON_WEIGHT16) { in makeTailoredCEs()
1542 s = Collation::COMMON_WEIGHT16; in makeTailoredCEs()
1545 t = s == 0 ? 0 : Collation::COMMON_WEIGHT16; in makeTailoredCEs()
1551 nodesArray[i] = Collation::makeCE(p, s, t, q); in makeTailoredCEs()
1584 U_ASSERT(!Collation::isSpecialCE32(ce32)); in modifyCE32()
1589 return Collation::NO_CE; in modifyCE32()
1597 return Collation::NO_CE; in modifyCE()