Home | History | Annotate | Download | only in common

Lines Matching refs:c16

176 /** Internal trie getter from an offset (0 if c16 is a BMP/lead units) and a 16-bit unit */
177 #define _UTRIE_GET_RAW(trie, data, offset, c16) \
179 ((int32_t)((trie)->index[(offset)+((c16)>>UTRIE_SHIFT)])<<UTRIE_INDEX_SHIFT)+ \
180 ((c16)&UTRIE_MASK) \
200 #define _UTRIE_GET_FROM_BMP(trie, data, c16) \
201 _UTRIE_GET_RAW(trie, data, 0xd800<=(c16) && (c16)<=0xdbff ? UTRIE_LEAD_INDEX_DISP : 0, c16);
287 * c16 may be a lead surrogate, which may have a value including a folding offset.
290 * @param c16 (UChar, in) the input BMP code point
293 #define UTRIE_GET16_FROM_LEAD(trie, c16) _UTRIE_GET_RAW(trie, index, 0, c16)
297 * c16 may be a lead surrogate, which may have a value including a folding offset.
300 * @param c16 (UChar, in) the input BMP code point
303 #define UTRIE_GET32_FROM_LEAD(trie, c16) _UTRIE_GET_RAW(trie, data32, 0, c16)
311 * @param c16 (UChar, in) the input BMP code point
314 #define UTRIE_GET16_FROM_BMP(trie, c16) _UTRIE_GET_FROM_BMP(trie, index, c16)
322 * @param c16 (UChar, in) the input BMP code point
325 #define UTRIE_GET32_FROM_BMP(trie, c16) _UTRIE_GET_FROM_BMP(trie, data32, c16)