Lines Matching refs:Collation

102     Collation::Level parseRelationAndString(UnicodeString &s, IcuTestErrorCode &errorCode);
121 UCollationResult expectedOrder, Collation::Level expectedLevel,
177 int64_t expected = Collation::makeCE(Collation::MERGE_SEPARATOR_PRIMARY); in TestMinMax()
183 expected = Collation::makeCE(Collation::MAX_PRIMARY); in TestMinMax()
242 if(ce == Collation::NO_CE || ce2 != Collation::NO_CE) { in TestImplicits()
246 if((ce & 0xffffffff) != Collation::COMMON_SEC_AND_TER_CE) { in TestImplicits()
283 if(ce1 == Collation::NO_CE) { break; } in TestNulTerminated()
602 uint32_t c = (ctq & Collation::CASE_MASK) >> 14; in isValidCE()
603 uint32_t t = ctq & Collation::ONLY_TERTIARY_MASK; in isValidCE()
606 uint32_t q = ctq & Collation::QUATERNARY_MASK; in isValidCE()
619 if((p1 != 0 && p1 <= Collation::MERGE_SEPARATOR_BYTE) || in isValidCE()
620 s1 == Collation::LEVEL_SEPARATOR_BYTE || in isValidCE()
621 t1 == Collation::LEVEL_SEPARATOR_BYTE || t1 > 0x3f) { in isValidCE()
630 if(p2 <= Collation::PRIMARY_COMPRESSION_LOW_BYTE || in isValidCE()
631 Collation::PRIMARY_COMPRESSION_HIGH_BYTE <= p2) { in isValidCE()
635 if(p2 <= Collation::LEVEL_SEPARATOR_BYTE) { in isValidCE()
642 U_ASSERT(Collation::LEVEL_SEPARATOR_BYTE == 1); in isValidCE()
643 if(p3 == Collation::LEVEL_SEPARATOR_BYTE || p4 == Collation::LEVEL_SEPARATOR_BYTE || in isValidCE()
644 s2 == Collation::LEVEL_SEPARATOR_BYTE || t2 == Collation::LEVEL_SEPARATOR_BYTE) { in isValidCE()
670 if(s == 0 || (Collation::COMMON_WEIGHT16 < s && s <= re.getLastCommonSecondary()) || in isValidCE()
717 pri = Collation::incTwoBytePrimaryByOffset(pri, isCompressible, step); in next()
719 pri = Collation::incThreeBytePrimaryByOffset(pri, isCompressible, step); in next()
729 secTer = Collation::COMMON_SEC_AND_TER_CE; in next()
734 secTer = Collation::COMMON_SEC_AND_TER_CE; in next()
737 if(secTer > Collation::COMMON_SEC_AND_TER_CE) { in next()
739 secTer = Collation::COMMON_SEC_AND_TER_CE; in next()
794 if((secTer & Collation::CASE_AND_QUATERNARY_MASK) != 0) { in TestRootElements()
799 uint32_t ter = secTer & Collation::ONLY_TERTIARY_MASK; in TestRootElements()
811 if(prevPri == 0 || prevPri >= Collation::FFFD_PRIMARY) { in TestRootElements()
1025 Collation::Level CollationTest::parseRelationAndString(UnicodeString &s, IcuTestErrorCode &errorCod… in parseRelationAndString()
1026 Collation::Level relation; in parseRelationAndString()
1033 relation = Collation::PRIMARY_LEVEL; in parseRelationAndString()
1036 relation = Collation::SECONDARY_LEVEL; in parseRelationAndString()
1039 relation = Collation::TERTIARY_LEVEL; in parseRelationAndString()
1042 relation = Collation::QUATERNARY_LEVEL; in parseRelationAndString()
1045 relation = Collation::CASE_LEVEL; in parseRelationAndString()
1048 relation = Collation::IDENTICAL_LEVEL; in parseRelationAndString()
1051 relation = Collation::NO_LEVEL; in parseRelationAndString()
1056 relation = Collation::ZERO_LEVEL; in parseRelationAndString()
1065 return Collation::NO_LEVEL; in parseRelationAndString()
1074 return Collation::NO_LEVEL; in parseRelationAndString()
1080 return Collation::NO_LEVEL; in parseRelationAndString()
1525 return Collation::NO_LEVEL; in getDifferenceLevel()
1531 int32_t level = Collation::PRIMARY_LEVEL; in getDifferenceLevel()
1535 if(b == Collation::LEVEL_SEPARATOR_BYTE) { in getDifferenceLevel()
1537 if(level == Collation::CASE_LEVEL && !collHasCaseLevel) { in getDifferenceLevel()
1549 UCollationResult expectedOrder, Collation::Level expectedLevel, in checkCompareTwo()
1708 if(order != UCOL_EQUAL && expectedLevel != Collation::NO_LEVEL) { in checkCompareTwo()
1745 if(order != UCOL_EQUAL && expectedLevel != Collation::NO_LEVEL) { in checkCompareTwo()
1770 Collation::Level relation = parseRelationAndString(s, errorCode); in checkCompareStrings()
1781 … UCollationResult expectedOrder = (relation == Collation::ZERO_LEVEL) ? UCOL_EQUAL : UCOL_LESS; in checkCompareStrings()
1782 Collation::Level expectedLevel = relation; in checkCompareStrings()