Home | History | Annotate | Download | only in i18n

Lines Matching defs:ce

92      * (1=BAIL_OUT, 2=one CE, 3=two CEs).
103 * The higher a mini CE value, the easier it is to process.
108 * Encodes one CE with a long/low mini primary (there are 128).
116 * Encodes one CE with a short/high primary (there are 60),
117 * plus a secondary CE if the secondary weight is high.
179 * 1=bail out, 2=one mini CE, 3=two mini CEs
226 static uint32_t nextPair(const uint16_t *table, UChar32 c, uint32_t ce,
230 uint32_t ce = pair & 0xffff;
231 if(ce >= MIN_SHORT) { return pair & TWO_SHORT_PRIMARIES_MASK; }
232 if(ce > variableTop) { return pair & TWO_LONG_PRIMARIES_MASK; }
233 if(ce >= MIN_LONG) { return 0; } // variable
234 return pair; // special mini CE
236 static inline uint32_t getSecondariesFromOneShortCE(uint32_t ce) {
237 ce &= SECONDARY_MASK;
238 if(ce < MIN_SEC_HIGH) {
239 return ce + SEC_OFFSET;
241 return ((ce + SEC_OFFSET) << 16) | COMMON_SEC_PLUS_OFFSET;
280 * has a short mini primary and the second one is a secondary CE, i.e., primary == 0),