Lines Matching refs:aChar

679 		uint32 aChar = DecodeUTF8 (s, (uint32) (sEnd - s));  in Set_UTF8()  local
681 if (aChar > 0x7FFFFFFF) in Set_UTF8()
683 aChar = kREPLACEMENT_CHARACTER; in Set_UTF8()
688 if (aChar == kREPLACEMENT_CHARACTER) in Set_UTF8()
695 if (aChar < 0x00000080) in Set_UTF8()
698 *(d++) = (uint8) aChar; in Set_UTF8()
701 else if (aChar < 0x00000800) in Set_UTF8()
704 *(d++) = (uint8) ((aChar >> 6) | 0x000000C0); in Set_UTF8()
705 *(d++) = (uint8) ((aChar & 0x0000003F) | 0x00000080); in Set_UTF8()
708 else if (aChar < 0x00010000) in Set_UTF8()
711 *(d++) = (uint8) ( (aChar >> 12) | 0x000000E0); in Set_UTF8()
712 *(d++) = (uint8) (((aChar >> 6) & 0x0000003F) | 0x00000080); in Set_UTF8()
713 *(d++) = (uint8) ( (aChar & 0x0000003F) | 0x00000080); in Set_UTF8()
716 else if (aChar < 0x00200000) in Set_UTF8()
719 *(d++) = (uint8) ( (aChar >> 18) | 0x000000F0); in Set_UTF8()
720 *(d++) = (uint8) (((aChar >> 12) & 0x0000003F) | 0x00000080); in Set_UTF8()
721 *(d++) = (uint8) (((aChar >> 6) & 0x0000003F) | 0x00000080); in Set_UTF8()
722 *(d++) = (uint8) ( (aChar & 0x0000003F) | 0x00000080); in Set_UTF8()
725 else if (aChar < 0x04000000) in Set_UTF8()
728 *(d++) = (uint8) ( (aChar >> 24) | 0x000000F8); in Set_UTF8()
729 *(d++) = (uint8) (((aChar >> 18) & 0x0000003F) | 0x00000080); in Set_UTF8()
730 *(d++) = (uint8) (((aChar >> 12) & 0x0000003F) | 0x00000080); in Set_UTF8()
731 *(d++) = (uint8) (((aChar >> 6) & 0x0000003F) | 0x00000080); in Set_UTF8()
732 *(d++) = (uint8) ( (aChar & 0x0000003F) | 0x00000080); in Set_UTF8()
738 *(d++) = (uint8) ( (aChar >> 30) | 0x000000FC); in Set_UTF8()
739 *(d++) = (uint8) (((aChar >> 24) & 0x0000003F) | 0x00000080); in Set_UTF8()
740 *(d++) = (uint8) (((aChar >> 18) & 0x0000003F) | 0x00000080); in Set_UTF8()
741 *(d++) = (uint8) (((aChar >> 12) & 0x0000003F) | 0x00000080); in Set_UTF8()
742 *(d++) = (uint8) (((aChar >> 6) & 0x0000003F) | 0x00000080); in Set_UTF8()
743 *(d++) = (uint8) ( (aChar & 0x0000003F) | 0x00000080); in Set_UTF8()
936 uint32 aChar = nBuf [0]; in DecodeUTF8() local
938 uint32 aSize = gUTF8Bytes [aChar]; in DecodeUTF8()
993 return aChar; in DecodeUTF8()
1000 aChar = ((aChar << 6) + nBuf [1]) - (uint32) 0x00003080UL; in DecodeUTF8()
1009 aChar = ((((aChar << 6) + nBuf [1]) in DecodeUTF8()
1019 aChar = ((((((aChar << 6) + nBuf [1]) in DecodeUTF8()
1028 if (aChar < 0x7F || aChar > 0x0010FFFF) in DecodeUTF8()
1040 return aChar; in DecodeUTF8()
1222 uint32 aChar = *s++; in Set_UTF16() local
1226 aChar = ((aChar << 8) | (aChar >> 8)) & 0x0000FFFF; in Set_UTF16()
1229 if ((aChar >= 0x0000D800) && (aChar <= 0x0000DBFF) && (s < sEnd)) in Set_UTF16()
1242 aChar = ((aChar - 0x0000D800) << 10) + in Set_UTF16()
1252 if (aChar > 0x7FFFFFFF) in Set_UTF16()
1254 aChar = kREPLACEMENT_CHARACTER; in Set_UTF16()
1257 if (aChar < 0x00000080) in Set_UTF16()
1260 *(d++) = (uint8) aChar; in Set_UTF16()
1263 else if (aChar < 0x00000800) in Set_UTF16()
1266 *(d++) = (uint8) ((aChar >> 6) | 0x000000C0); in Set_UTF16()
1267 *(d++) = (uint8) ((aChar & 0x0000003F) | 0x00000080); in Set_UTF16()
1270 else if (aChar < 0x00010000) in Set_UTF16()
1273 *(d++) = (uint8) ( (aChar >> 12) | 0x000000E0); in Set_UTF16()
1274 *(d++) = (uint8) (((aChar >> 6) & 0x0000003F) | 0x00000080); in Set_UTF16()
1275 *(d++) = (uint8) ( (aChar & 0x0000003F) | 0x00000080); in Set_UTF16()
1278 else if (aChar < 0x00200000) in Set_UTF16()
1281 *(d++) = (uint8) ( (aChar >> 18) | 0x000000F0); in Set_UTF16()
1282 *(d++) = (uint8) (((aChar >> 12) & 0x0000003F) | 0x00000080); in Set_UTF16()
1283 *(d++) = (uint8) (((aChar >> 6) & 0x0000003F) | 0x00000080); in Set_UTF16()
1284 *(d++) = (uint8) ( (aChar & 0x0000003F) | 0x00000080); in Set_UTF16()
1287 else if (aChar < 0x04000000) in Set_UTF16()
1290 *(d++) = (uint8) ( (aChar >> 24) | 0x000000F8); in Set_UTF16()
1291 *(d++) = (uint8) (((aChar >> 18) & 0x0000003F) | 0x00000080); in Set_UTF16()
1292 *(d++) = (uint8) (((aChar >> 12) & 0x0000003F) | 0x00000080); in Set_UTF16()
1293 *(d++) = (uint8) (((aChar >> 6) & 0x0000003F) | 0x00000080); in Set_UTF16()
1294 *(d++) = (uint8) ( (aChar & 0x0000003F) | 0x00000080); in Set_UTF16()
1300 *(d++) = (uint8) ( (aChar >> 30) | 0x000000FC); in Set_UTF16()
1301 *(d++) = (uint8) (((aChar >> 24) & 0x0000003F) | 0x00000080); in Set_UTF16()
1302 *(d++) = (uint8) (((aChar >> 18) & 0x0000003F) | 0x00000080); in Set_UTF16()
1303 *(d++) = (uint8) (((aChar >> 12) & 0x0000003F) | 0x00000080); in Set_UTF16()
1304 *(d++) = (uint8) (((aChar >> 6) & 0x0000003F) | 0x00000080); in Set_UTF16()
1305 *(d++) = (uint8) ( (aChar & 0x0000003F) | 0x00000080); in Set_UTF16()