Lines Matching refs:charCodeAt
182 const code = url.charCodeAt(i);
287 slashes = rest.charCodeAt(0) === CHAR_FORWARD_SLASH &&
288 rest.charCodeAt(1) === CHAR_FORWARD_SLASH;
314 switch (rest.charCodeAt(i)) {
429 const code = rest.charCodeAt(i);
485 const code = hostname.charCodeAt(i);
530 const escapedChar = escapedCodes[rest.charCodeAt(i)];
619 if (protocol && protocol.charCodeAt(protocol.length - 1) !== 58/* : */)
625 switch (pathname.charCodeAt(i)) {
651 if (pathname && pathname.charCodeAt(0) !== CHAR_FORWARD_SLASH)
655 protocol.charCodeAt(0) === 102/* f */ &&
656 protocol.charCodeAt(1) === 105/* i */ &&
657 protocol.charCodeAt(2) === 108/* l */ &&
658 protocol.charCodeAt(3) === 101/* e */) {
665 if (hash && hash.charCodeAt(0) !== CHAR_HASH)
667 if (search && search.charCodeAt(0) !== CHAR_QUESTION_MARK)