Home | History | Annotate | Download | only in i18n

Lines Matching defs:ce

108      * Single mini CE or a pair.
109 * The current mini CE is in the lower 16 bits, the next one is in the upper 16 bits.
445 * Single mini CE or a pair.
446 * The current mini CE is in the lower 16 bits, the next one is in the upper 16 bits.
840 CollationFastLatin::nextPair(const uint16_t *table, UChar32 c, uint32_t ce,
842 if(ce >= MIN_LONG || ce < CONTRACTION) {
843 return ce; // simple or special mini CE
844 } else if(ce >= EXPANSION) {
845 int32_t index = NUM_FAST_CHARS + (ce & INDEX_MASK);
847 } else /* ce >= CONTRACTION */ {
854 int32_t index = NUM_FAST_CHARS + (ce & INDEX_MASK);
916 // Return the CE or CEs for the default or contraction mapping.
921 ce = table[index + 1];
923 return ce;
925 return ((uint32_t)table[index + 2] << 16) | ce;
933 // one mini CE
941 // else special mini CE
943 uint32_t ce = pair & 0xffff;
944 if(ce >= MIN_SHORT) {
946 } else if(ce > variableTop) {
949 U_ASSERT(ce >= MIN_LONG);
963 // one mini CE
966 // a primary CE and a secondary CE.
967 uint32_t ce = pair;
968 pair &= CASE_MASK; // explicit weight of primary CE
969 if(!strengthIsPrimary && (ce & SECONDARY_MASK) >= MIN_SEC_HIGH) {
970 pair |= LOWER_CASE << 16; // implied weight of secondary CE
977 // else special mini CE
980 uint32_t ce = pair & 0xffff;
981 if(ce >= MIN_SHORT) {
987 } else if(ce > variableTop) {
990 U_ASSERT(ce >= MIN_LONG);
1000 // one mini CE
1003 // a primary CE and a secondary CE.
1004 uint32_t ce = pair;
1007 if((ce & SECONDARY_MASK) >= MIN_SEC_HIGH) {
1012 if((ce & SECONDARY_MASK) >= MIN_SEC_HIGH) {
1024 // else special mini CE
1027 uint32_t ce = pair & 0xffff;
1028 if(ce >= MIN_SHORT) {
1035 } else if(ce > variableTop) {
1041 U_ASSERT(ce >= MIN_LONG);
1050 // Return the primary weight of a variable CE,
1051 // or the maximum primary weight for a non-variable, not-completely-ignorable CE.
1053 // one mini CE
1056 // a primary CE and a secondary CE.
1067 // else special mini CE
1070 uint32_t ce = pair & 0xffff;
1071 if(ce > variableTop) {
1074 U_ASSERT(ce >= MIN_LONG);