Lines Matching defs:ce
123 * Single mini CE or a pair.
124 * The current mini CE is in the lower 16 bits, the next one is in the upper 16 bits.
459 * Single mini CE or a pair.
460 * The current mini CE is in the lower 16 bits, the next one is in the upper 16 bits.
854 CollationFastLatin::nextPair(const uint16_t *table, UChar32 c, uint32_t ce,
856 if(ce >= MIN_LONG || ce < CONTRACTION) {
857 return ce; // simple or special mini CE
858 } else if(ce >= EXPANSION) {
859 int32_t index = NUM_FAST_CHARS + (ce & INDEX_MASK);
861 } else /* ce >= CONTRACTION */ {
868 int32_t index = NUM_FAST_CHARS + (ce & INDEX_MASK);
930 // Return the CE or CEs for the default or contraction mapping.
935 ce = table[index + 1];
937 return ce;
939 return ((uint32_t)table[index + 2] << 16) | ce;
947 // one mini CE
955 // else special mini CE
957 uint32_t ce = pair & 0xffff;
958 if(ce >= MIN_SHORT) {
960 } else if(ce > variableTop) {
963 U_ASSERT(ce >= MIN_LONG);
977 // one mini CE
980 // a primary CE and a secondary CE.
981 uint32_t ce = pair;
982 pair &= CASE_MASK; // explicit weight of primary CE
983 if(!strengthIsPrimary && (ce & SECONDARY_MASK) >= MIN_SEC_HIGH) {
984 pair |= LOWER_CASE << 16; // implied weight of secondary CE
991 // else special mini CE
994 uint32_t ce = pair & 0xffff;
995 if(ce >= MIN_SHORT) {
1001 } else if(ce > variableTop) {
1004 U_ASSERT(ce >= MIN_LONG);
1014 // one mini CE
1017 // a primary CE and a secondary CE.
1018 uint32_t ce = pair;
1021 if((ce & SECONDARY_MASK) >= MIN_SEC_HIGH) {
1026 if((ce & SECONDARY_MASK) >= MIN_SEC_HIGH) {
1038 // else special mini CE
1041 uint32_t ce = pair & 0xffff;
1042 if(ce >= MIN_SHORT) {
1049 } else if(ce > variableTop) {
1055 U_ASSERT(ce >= MIN_LONG);
1064 // Return the primary weight of a variable CE,
1065 // or the maximum primary weight for a non-variable, not-completely-ignorable CE.
1067 // one mini CE
1070 // a primary CE and a secondary CE.
1081 // else special mini CE
1084 uint32_t ce = pair & 0xffff;
1085 if(ce > variableTop) {
1088 U_ASSERT(ce >= MIN_LONG);