Home | History | Annotate | Download | only in i18n

Lines Matching refs:ce

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