Lines Matching refs:characters

243 // Copies the source to the destination, assuming all the source characters are
244 // ASCII. The destination buffer must be large enough. Null characters are allowed
255 copyASCII(base.characters(), base.length(), buffer.data());
261 // Returns the index of the first index in string |s| of any of the characters
262 // in |toFind|. |toFind| should be a null-terminated string, all characters up
346 // characters from URLs. Note that c is an *unsigned* char here
347 // so this comparison should only catch control characters.
369 bool allASCII = charactersAreAllASCII(rel.characters(), rel.length());
376 copyASCII(rel.characters(), len, strBuffer.data());
386 // Get rid of leading whitespace and control characters.
393 // Get rid of trailing whitespace and control characters.
479 const UChar* baseCharacters = base.m_string.characters();
597 const UChar* stringData = m_string.characters();
633 const UChar* pos = m_string.characters() + m_pathEnd + 1;
634 const UChar* end = m_string.characters() + m_queryEnd;
698 return !protocol[m_schemeEnd]; // We should have consumed all characters in the argument.
737 // FIXME: Non-ASCII characters must be encoded and escaped to match parse() expectations,
768 // FIXME: Non-ASCII characters must be encoded and escaped to match parse() expectations,
781 // FIXME: Non-ASCII characters must be encoded and escaped to match parse() expectations,
805 // FIXME: Non-ASCII characters must be encoded and escaped to match parse() expectations,
829 // FIXME: Non-ASCII characters must be encoded and escaped to match parse() expectations.
845 // FIXME: '#' and non-ASCII characters must be encoded and escaped.
950 const UChar* q = str.characters() + encodedRunPosition;
956 // Decode the bytes into Unicode characters.
962 result.append(str.characters() + decodedPosition, encodedRunPosition - decodedPosition);
963 result.append(decoded.characters(), decoded.length());
967 result.append(str.characters() + decodedPosition, length - decodedPosition);
1012 // Chrome and IE allow non-ascii characters in fragments, however doing
1098 copyASCII(string.characters(), string.length(), buffer.data());
1210 // FIXME: Authority characters may be scanned twice, and it would be nice to be faster.
1422 // add path, escaping bad characters
1444 // add query, escaping bad characters
1448 // add fragment, escaping bad characters
1570 // Skip quoted strings so that characters in them don't confuse us.
1633 // It comes after a "://" sequence, with scheme characters preceding, and
1642 // Check that all characters before the :// are valid scheme characters.
1684 findHostnamesInMailToURL(str.characters(), str.length(), hostnameRanges);
1689 output.append(&str.characters()[p], r.first - p);
1690 appendEncodedHostname(output, &str.characters()[r.first], r.second - r.first);
1695 output.append(&str.characters()[p], str.length() - p);
1698 if (findHostnameInHierarchicalURL(str.characters(), str.length(), hostStart, hostEnd)) {
1699 output.append(str.characters(), hostStart); // Before hostname.
1700 appendEncodedHostname(output, &str.characters()[hostStart], hostEnd - hostStart);
1701 output.append(&str.characters()[hostEnd], str.length() - hostEnd); // After hostname.
1704 output.append(str.characters(), str.length());
1728 // Unencodable characters in URLs are represented by converting
1729 // them to XML entities and escaping non-alphanumeric characters.
1765 // FIXME: This throws away the high bytes of all the characters in the string!
1768 copyASCII(m_string.characters(), m_string.length(), buffer.data());