Home | History | Annotate | Download | only in common

Lines Matching refs:c16

175 /** Internal trie getter from an offset (0 if c16 is a BMP/lead units) and a 16-bit unit */
176 #define _UTRIE_GET_RAW(trie, data, offset, c16) \
178 ((int32_t)((trie)->index[(offset)+((c16)>>UTRIE_SHIFT)])<<UTRIE_INDEX_SHIFT)+ \
179 ((c16)&UTRIE_MASK) \
199 #define _UTRIE_GET_FROM_BMP(trie, data, c16) \
200 _UTRIE_GET_RAW(trie, data, 0xd800<=(c16) && (c16)<=0xdbff ? UTRIE_LEAD_INDEX_DISP : 0, c16);
286 * c16 may be a lead surrogate, which may have a value including a folding offset.
289 * @param c16 (UChar, in) the input BMP code point
292 #define UTRIE_GET16_FROM_LEAD(trie, c16) _UTRIE_GET_RAW(trie, index, 0, c16)
296 * c16 may be a lead surrogate, which may have a value including a folding offset.
299 * @param c16 (UChar, in) the input BMP code point
302 #define UTRIE_GET32_FROM_LEAD(trie, c16) _UTRIE_GET_RAW(trie, data32, 0, c16)
310 * @param c16 (UChar, in) the input BMP code point
313 #define UTRIE_GET16_FROM_BMP(trie, c16) _UTRIE_GET_FROM_BMP(trie, index, c16)
321 * @param c16 (UChar, in) the input BMP code point
324 #define UTRIE_GET32_FROM_BMP(trie, c16) _UTRIE_GET_FROM_BMP(trie, data32, c16)