Searched refs:codePoint (Results 1 – 3 of 3) sorted by relevance
153 const codePoint = value.charCodeAt(i);155 if (codePoint >= 0xd800 && codePoint < 0xe000) {156 if (codePoint < 0xdc00 && i + 1 < value.length) {165 bytes += codePoint < 0x80 ? 1 : codePoint < 0x800 ? 2 : 3;
1 …codePoint = value.charCodeAt(i);\n\n // Lone surrogates cannot be passed to encodeURI\n if (…
234 const codePoint = value.charCodeAt(i); constant237 if (codePoint >= 0xd800 && codePoint < 0xe000) {238 if (codePoint < 0xdc00 && i + 1 < value.length) {249 bytes += codePoint < 0x80 ? 1 : codePoint < 0x800 ? 2 : 3;