Lines Matching refs:charCodeAt
208 const code = url.charCodeAt(i);
311 slashes = rest.charCodeAt(0) === CHAR_FORWARD_SLASH &&
312 rest.charCodeAt(1) === CHAR_FORWARD_SLASH;
338 switch (rest.charCodeAt(i)) {
473 const code = rest.charCodeAt(i);
528 const code = hostname.charCodeAt(i);
569 const escapedChar = escapedCodes[rest.charCodeAt(i)];
680 if (protocol && protocol.charCodeAt(protocol.length - 1) !== 58/* : */)
686 switch (pathname.charCodeAt(i)) {
712 if (pathname && pathname.charCodeAt(0) !== CHAR_FORWARD_SLASH)
716 protocol.charCodeAt(0) === 102/* f */ &&
717 protocol.charCodeAt(1) === 105/* i */ &&
718 protocol.charCodeAt(2) === 108/* l */ &&
719 protocol.charCodeAt(3) === 101/* e */) {
726 if (hash && hash.charCodeAt(0) !== CHAR_HASH)
728 if (search && search.charCodeAt(0) !== CHAR_QUESTION_MARK)