Lines Matching refs:utf16buf
53793 var utf16buf = new Array(len * 2);
53799 utf16buf[out++] = c;
53806 utf16buf[out++] = 0xfffd;
53821 utf16buf[out++] = 0xfffd;
53826 utf16buf[out++] = c;
53829 utf16buf[out++] = 0xd800 | c >> 10 & 0x3ff;
53830 utf16buf[out++] = 0xdc00 | c & 0x3ff;
53835 if (utf16buf.length !== out) {
53836 if (utf16buf.subarray) {
53837 utf16buf = utf16buf.subarray(0, out);
53839 utf16buf.length = out;
53844 return utils.applyFromCharCode(utf16buf);
62852 var utf16buf = new Array(len * 2);
62858 utf16buf[out++] = c;
62865 utf16buf[out++] = 0xfffd;
62880 utf16buf[out++] = 0xfffd;
62885 utf16buf[out++] = c;
62888 utf16buf[out++] = 0xd800 | c >> 10 & 0x3ff;
62889 utf16buf[out++] = 0xdc00 | c & 0x3ff;
62893 return buf2binstring(utf16buf, out);