Home | History | Annotate | Download | only in lib

Lines Matching refs:charNum

1230 XmlUtf16Encode(int charNum, unsigned short *buf)
1232 if (charNum < 0)
1234 if (charNum < 0x10000) {
1235 buf[0] = (unsigned short)charNum;
1238 if (charNum < 0x110000) {
1239 charNum -= 0x10000;
1240 buf[0] = (unsigned short)((charNum >> 10) + 0xD800);
1241 buf[1] = (unsigned short)((charNum & 0x3FF) + 0xDC00);