/external/webkit/Source/WebCore/platform/text/qt/ |
TextCodecQt.cpp | 86 m_codec = QTextCodec::codecForName(m_encoding.name()); 111 QString decoded = m_codec->toUnicode(buf, size, &m_state); 135 QByteArray ba = m_codec->fromUnicode(reinterpret_cast<const QChar*>(characters), length, &state); 146 QByteArray tba = m_codec->fromUnicode(reinterpret_cast<const QChar*>(characters), ++len, &state);
|
TextCodecQt.h | 48 QTextCodec *m_codec; member in class:WebCore::TextCodecQt
|
/external/webkit/Source/WebCore/loader/ |
TextResourceDecoder.cpp | 337 m_codec.clear(); 654 if (!m_codec) 655 m_codec = newTextCodec(m_encoding); 658 return m_codec->decode(data + lengthOfBOM, len - lengthOfBOM, false, m_contentType == XML, m_sawError); 666 String result = m_codec->decode(m_buffer.data() + lengthOfBOM, m_buffer.size() - lengthOfBOM, false, m_contentType == XML && !m_useLenientXMLDecoding, m_sawError); 684 if (!m_codec) 685 m_codec = newTextCodec(m_encoding); 687 String result = m_codec->decode(m_buffer.data(), m_buffer.size(), true, m_contentType == XML && !m_useLenientXMLDecoding, m_sawError); 689 m_codec.clear();
|
TextResourceDecoder.h | 85 OwnPtr<TextCodec> m_codec; member in class:WebCore::TextResourceDecoder
|