• Home
  • Raw
  • Download

Lines Matching refs:U_ASSERT

295     U_ASSERT(!str.isEmpty());  in addReset()
300 U_ASSERT((ces[0] & Collation::CASE_AND_QUATERNARY_MASK) == 0); in addReset()
318 U_ASSERT(UCOL_PRIMARY <= strength && strength <= UCOL_TERTIARY); in addReset()
385 U_ASSERT(weight16 > Collation::BEFORE_WEIGHT16); in addReset()
397 U_ASSERT(weight16 >= Collation::COMMON_WEIGHT16 || i == previousIndex); in addReset()
438 U_ASSERT(strengthFromNode(node) < level || !isTailoredNode(node)); in getWeight16Before()
474 U_ASSERT((weight16 & ~Collation::ONLY_TERTIARY_MASK) == 0); in getWeight16Before()
482 U_ASSERT(str.length() == 2); in getSpecialResetPosition()
487 U_ASSERT(0 <= pos && pos <= CollationRuleParser::LAST_TRAILING); in getSpecialResetPosition()
502 U_ASSERT(strengthFromNode(node) <= UCOL_TERTIARY); in getSpecialResetPosition()
527 U_ASSERT(isTailoredNode(nodes.elementAti(index))); in getSpecialResetPosition()
578 U_ASSERT(FALSE); in getSpecialResetPosition()
597 U_ASSERT(isTailoredNode(node)); in getSpecialResetPosition()
600 U_ASSERT(strength == UCOL_PRIMARY); in getSpecialResetPosition()
620 U_ASSERT(isTailoredNode(nodes.elementAti(index))); in getSpecialResetPosition()
698 U_ASSERT(cesLength > 0); in addRelation()
764 U_ASSERT(UCOL_PRIMARY <= strength && strength <= UCOL_QUATERNARY); in findOrInsertNodeForCEs()
798 U_ASSERT((uint8_t)(ce >> 56) != Collation::UNASSIGNED_IMPLICIT_BYTE); in findOrInsertNodeForRootCE()
803 U_ASSERT((ce & 0xc0) == 0); in findOrInsertNodeForRootCE()
873 U_ASSERT(0 <= index && index < nodes.size()); in findOrInsertWeakNode()
874 U_ASSERT(UCOL_SECONDARY <= level && level <= UCOL_TERTIARY); in findOrInsertWeakNode()
883 U_ASSERT(strengthFromNode(node) < level); // parent node is stronger in findOrInsertWeakNode()
940 U_ASSERT(0 <= index && index < nodes.size()); in insertTailoredNodeAfter()
965 U_ASSERT(previousIndexFromNode(node) == 0); in insertNodeBetween()
966 U_ASSERT(nextIndexFromNode(node) == 0); in insertNodeBetween()
967 U_ASSERT(nextIndexFromNode(nodes.elementAti(index)) == nextIndex); in insertNodeBetween()
986 U_ASSERT(UCOL_SECONDARY <= strength && strength <= UCOL_TERTIARY); in findCommonNode()
998 U_ASSERT(!isTailoredNode(node) && strengthFromNode(node) == strength && in findCommonNode()
1004 U_ASSERT(strengthFromNode(node) >= strength); in findCommonNode()
1007 U_ASSERT(weight16FromNode(node) == Collation::COMMON_WEIGHT16); in findCommonNode()
1022 U_ASSERT(numTailoredPrimaries <= 31); in setCaseBits()
1033 U_ASSERT(baseCEsLength >= 0 && baseCEs.getCE(baseCEsLength) == Collation::NO_CE); in setCaseBits()
1042 U_ASSERT(c == 0 || c == 2); // lowercase or uppercase, no mixed case in any base CE in setCaseBits()
1177 U_ASSERT(!iter.isString()); in addTailComposites()
1220 U_ASSERT(nfdString.char32At(indexAfterLastStarter - 1) == decomp.char32At(0)); in mergeCompositeIntoString()
1256 U_ASSERT(sourceCC != 0); in mergeCompositeIntoString()
1295 U_ASSERT(nfd.isNormalized(newNFDString, errorCode)); in mergeCompositeIntoString()
1296 U_ASSERT(fcd.isNormalized(newString, errorCode)); in mergeCompositeIntoString()
1297 U_ASSERT(nfd.normalize(newString, errorCode) == newNFDString); // canonically equivalent in mergeCompositeIntoString()
1329 U_ASSERT(!iter.isString()); in closeOverComposites()
1365 U_ASSERT(ces1Length <= Collation::MAX_EXPANSION_LENGTH); in sameCEs()
1415 U_ASSERT(isTailoredNode(node)); in makeTailoredCEs()
1447 U_ASSERT(t == Collation::COMMON_WEIGHT16); in makeTailoredCEs()
1450U_ASSERT(tLimit == 0x4000 || (tLimit & ~Collation::ONLY_TERTIARY_MASK) == 0); in makeTailoredCEs()
1460 U_ASSERT(t != 0xffffffff); in makeTailoredCEs()
1490 U_ASSERT(s == Collation::COMMON_WEIGHT16); in makeTailoredCEs()
1512 U_ASSERT(s != 0xffffffff); in makeTailoredCEs()
1521 U_ASSERT(isTailoredNode(node)); in makeTailoredCEs()
1541 U_ASSERT(p != 0xffffffff); in makeTailoredCEs()
1584 U_ASSERT(!Collation::isSpecialCE32(ce32)); in modifyCE32()