Lines Matching refs:u21
233 unsigned byte2, byte3, byte4, u21; in utf8sToUtf8m() local
240 u21 = (byte1 & 0x07) << 18; in utf8sToUtf8m()
241 u21 += (byte2 & 0x3F) << 12; in utf8sToUtf8m()
242 u21 += (byte3 & 0x3F) << 6; in utf8sToUtf8m()
243 u21 += (byte4 & 0x3F); in utf8sToUtf8m()
246 newString[j++] = (jbyte)(0xA0 + (((u21 >> 16) - 1) & 0x0F)); in utf8sToUtf8m()
247 newString[j++] = (jbyte)(0x80 + ((u21 >> 10) & 0x3F)); in utf8sToUtf8m()
250 newString[j++] = (jbyte)(0xB0 + ((u21 >> 6) & 0x0F)); in utf8sToUtf8m()
364 unsigned u21; in utf8mToUtf8s() local
371 u21 = ((byte2 & 0x0F) + 1) << 16; in utf8mToUtf8s()
372 u21 += (byte3 & 0x3F) << 10; in utf8mToUtf8s()
373 u21 += (byte5 & 0x0F) << 6; in utf8mToUtf8s()
374 u21 += (byte6 & 0x3F); in utf8mToUtf8s()
379 newString[j++] = 0xF0 + ((u21 >> 18) & 0x07); in utf8mToUtf8s()
380 newString[j++] = 0x80 + ((u21 >> 12) & 0x3F); in utf8mToUtf8s()
381 newString[j++] = 0x80 + ((u21 >> 6) & 0x3F); in utf8mToUtf8s()
382 newString[j++] = 0x80 + (u21 & 0x3F); in utf8mToUtf8s()