OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999-2004, International Business Machines Corporation and oth
ers. All Rights Reserved. | 2 * Copyright (C) 1999-2004, International Business Machines Corporation and oth
ers. All Rights Reserved. |
3 * | 3 * |
4 */ | 4 */ |
5 | 5 |
6 #ifndef UnicodeMacrosFromICU_h | 6 #ifndef UnicodeMacrosFromICU_h |
7 #define UnicodeMacrosFromICU_h | 7 #define UnicodeMacrosFromICU_h |
8 | 8 |
9 // some defines from ICU | 9 // some defines from ICU |
10 | 10 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 } else { \ | 91 } else { \ |
92 (s)[(i)++]=(uint8_t)(((c)>>18)|0xf0); \ | 92 (s)[(i)++]=(uint8_t)(((c)>>18)|0xf0); \ |
93 (s)[(i)++]=(uint8_t)((((c)>>12)&0x3f)|0x80); \ | 93 (s)[(i)++]=(uint8_t)((((c)>>12)&0x3f)|0x80); \ |
94 } \ | 94 } \ |
95 (s)[(i)++]=(uint8_t)((((c)>>6)&0x3f)|0x80); \ | 95 (s)[(i)++]=(uint8_t)((((c)>>6)&0x3f)|0x80); \ |
96 } \ | 96 } \ |
97 (s)[(i)++]=(uint8_t)(((c)&0x3f)|0x80); \ | 97 (s)[(i)++]=(uint8_t)(((c)&0x3f)|0x80); \ |
98 } \ | 98 } \ |
99 } | 99 } |
100 #endif | 100 #endif |
OLD | NEW |