/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
TextEncoding.cpp | 29 #include "wtf/text/TextEncoding.h" 40 static const TextEncoding& UTF7Encoding() 42 static TextEncoding globalUTF7Encoding("UTF-7"); 46 TextEncoding::TextEncoding(const char* name) 52 TextEncoding::TextEncoding(const String& name) 58 String TextEncoding::decode(const char* data, size_t length, bool stopOnError, bool& sawError) const 66 CString TextEncoding::encode(const String& string, UnencodableHandling handling) const 83 CString TextEncoding::normalizeAndEncode(const String& string, UnencodableHandling handling) cons [all...] |
TextEncoding.h | 36 class WTF_EXPORT TextEncoding { 38 TextEncoding() : m_name(0) { } 39 TextEncoding(const char* name); 40 TextEncoding(const String& name); 45 const TextEncoding& closestByteBasedEquivalent() const; 46 const TextEncoding& encodingForFormSubmission() const; 71 inline bool operator==(const TextEncoding& a, const TextEncoding& b) { return a.name() == b.name(); } 72 inline bool operator!=(const TextEncoding& a, const TextEncoding& b) { return a.name() != b.name(); [all...] |
TextCodecICU.h | 32 #include "wtf/text/TextEncoding.h" 48 TextCodecICU(const TextEncoding&); 49 static PassOwnPtr<TextCodec> create(const TextEncoding&, const void*); 67 TextEncoding m_encoding;
|
TextEncodingRegistry.h | 37 class TextEncoding; 40 // Use TextEncoding::encode to encode, since it takes care of normalization. 41 WTF_EXPORT PassOwnPtr<TextCodec> newTextCodec(const TextEncoding&); 43 // Only TextEncoding should use the following functions directly.
|
TextCodecUTF8Test.cpp | 37 #include "wtf/text/TextEncoding.h" 48 TextEncoding encoding("UTF-8"); 65 TextEncoding encoding("UTF-8"); 82 TextEncoding encoding("UTF-8");
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
TextResourceDecoder.h | 27 #include "wtf/text/TextEncoding.h" 47 static PassOwnPtr<TextResourceDecoder> create(const String& mimeType, const WTF::TextEncoding& defaultEncoding = WTF::TextEncoding(), bool usesEncodingDetector = false) 53 void setEncoding(const WTF::TextEncoding&, EncodingSource); 54 const WTF::TextEncoding& encoding() const { return m_encoding; } 64 void setHintEncoding(const WTF::TextEncoding& encoding) 73 TextResourceDecoder(const String& mimeType, const WTF::TextEncoding& defaultEncoding, bool usesEncodingDetector); 77 static const WTF::TextEncoding& defaultEncoding(ContentType, const WTF::TextEncoding& defaultEncoding); 87 WTF::TextEncoding m_encoding [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
FormDataList.h | 28 #include "wtf/text/TextEncoding.h" 50 FormDataList(const WTF::TextEncoding&); 74 const WTF::TextEncoding& encoding() const { return m_encoding; } 76 PassRefPtr<FormData> createFormData(const WTF::TextEncoding&, FormData::EncodingType = FormData::FormURLEncoded); 77 PassRefPtr<FormData> createMultiPartFormData(const WTF::TextEncoding&); 80 void appendKeyValuePairItemsTo(FormData*, const WTF::TextEncoding&, bool isMultiPartForm, FormData::EncodingType = FormData::FormURLEncoded); 86 WTF::TextEncoding m_encoding;
|
DOMFormData.h | 40 class TextEncoding; 51 static PassRefPtr<DOMFormData> create(const WTF::TextEncoding& encoding) { return adoptRef(new DOMFormData(encoding)); } 57 explicit DOMFormData(const WTF::TextEncoding&);
|
DOMFormData.cpp | 36 #include "wtf/text/TextEncoding.h" 41 DOMFormData::DOMFormData(const WTF::TextEncoding& encoding)
|
FormDataList.cpp | 30 FormDataList::FormDataList(const WTF::TextEncoding& c) 51 PassRefPtr<FormData> FormDataList::createFormData(const WTF::TextEncoding& encoding, FormData::EncodingType encodingType) 58 PassRefPtr<FormData> FormDataList::createMultiPartFormData(const WTF::TextEncoding& encoding) 65 void FormDataList::appendKeyValuePairItemsTo(FormData* formData, const WTF::TextEncoding& encoding, bool isMultiPartForm, FormData::EncodingType encodingType)
|
/external/chromium_org/third_party/WebKit/Source/platform/mhtml/ |
ArchiveResource.cpp | 34 inline ArchiveResource::ArchiveResource(PassRefPtr<SharedBuffer> data, const KURL& url, const AtomicString& mimeType, const AtomicString& textEncoding, const String& frameName, const ResourceResponse& response) 39 , m_textEncoding(textEncoding) 45 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const AtomicString& mimeType, const AtomicString& textEncoding, const String& frameName, const ResourceResponse& response) 51 return adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName, 52 ResourceResponse(url, mimeType, dataSize, textEncoding, String()))); 54 return adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName, response));
|
ArchiveResource.h | 44 const AtomicString& mimeType, const AtomicString& textEncoding, const String& frameName, 51 const AtomicString& textEncoding() const { return m_textEncoding; } 55 ArchiveResource(PassRefPtr<SharedBuffer>, const KURL&, const AtomicString& mimeType, const AtomicString& textEncoding, const String& frameName, const ResourceResponse&);
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
SubstituteData.h | 40 SubstituteData(PassRefPtr<SharedBuffer> content, const AtomicString& mimeType, const AtomicString& textEncoding, const KURL& failingURL) 43 , m_textEncoding(textEncoding) 52 const AtomicString& textEncoding() const { return m_textEncoding; }
|
/external/chromium_org/third_party/WebKit/Source/platform/network/ |
FormDataBuilder.h | 28 class TextEncoding; 36 static WTF::TextEncoding encodingFromAcceptCharset(const String& acceptCharset, const String& inputEncoding, const String& defaultCharset); 42 static void addFilenameToMultiPartHeader(Vector<char>&, const WTF::TextEncoding&, const String& filename);
|
FormDataBuilder.cpp | 32 #include "wtf/text/TextEncoding.h" 77 WTF::TextEncoding FormDataBuilder::encodingFromAcceptCharset(const String& acceptCharset, const String& inputEncoding, const String& defaultCharset) 85 WTF::TextEncoding encoding; 89 if ((encoding = WTF::TextEncoding(*it)).isValid()) 166 void FormDataBuilder::addFilenameToMultiPartHeader(Vector<char>& buffer, const WTF::TextEncoding& encoding, const String& filename)
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLMetaCharsetParser.h | 33 #include "wtf/text/TextEncoding.h" 49 const WTF::TextEncoding& encoding() { return m_encoding; } 53 static WTF::TextEncoding encodingFromMetaAttributes(const AttributeList& 75 WTF::TextEncoding m_encoding;
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DocumentEncodingData.h | 34 #include "wtf/text/TextEncoding.h" 45 WTF::TextEncoding encoding;
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
TextEncodingDetector.h | 37 class TextEncoding; 47 const char* hintEncodingName, WTF::TextEncoding* detectedEncoding);
|
TextEncodingDetector.cpp | 34 #include "wtf/text/TextEncoding.h" 41 const char* hintEncodingName, WTF::TextEncoding* detectedEncoding) 43 *detectedEncoding = WTF::TextEncoding(); 72 WTF::TextEncoding hintEncoding(hintEncodingName); 95 if (WTF::TextEncoding(matchEncoding) == hintEncoding) { 108 *detectedEncoding = WTF::TextEncoding(encoding);
|
DecodeEscapeSequences.h | 36 #include "wtf/text/TextEncoding.h" 56 static String decodeRun(const CharType* run, size_t runLength, const WTF::TextEncoding&) 103 static String decodeRun(const CharType* run, size_t runLength, const WTF::TextEncoding& encoding) 126 String decodeEscapeSequences(const String& string, const WTF::TextEncoding& encoding)
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
PageSerializer.cpp | 66 #include "wtf/text/TextEncoding.h" 87 WTF::TextEncoding textEncoding = HTMLMetaCharsetParser::encodingFromMetaAttributes(attributes); 88 return textEncoding.isValid(); 204 WTF::TextEncoding textEncoding(document->charset()); 206 if (!textEncoding.isValid()) { 211 CString frameHTML = textEncoding.normalizeAndEncode(text, WTF::EntitiesForUnencodables); 283 WTF::TextEncoding textEncoding(styleSheet->contents()->charset()) [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/encoding/ |
TextDecoder.h | 38 #include "wtf/text/TextEncoding.h" 61 WTF::TextEncoding m_encoding;
|
TextEncoder.h | 38 #include "wtf/text/TextEncoding.h" 61 WTF::TextEncoding m_encoding;
|
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/ |
KURL.h | 38 class TextEncoding; 71 // TextEncoding is used to encode non-ASCII characers. The base URL can be 78 KURL(const KURL& base, const String& relative, const WTF::TextEncoding&); 185 void init(const KURL& base, const String& relative, const WTF::TextEncoding* queryEncoding); 194 void init(const KURL& base, const CHAR* relative, int relativeLength, const WTF::TextEncoding* queryEncoding); 230 PLATFORM_EXPORT String decodeURLEscapeSequences(const String&, const WTF::TextEncoding&);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebSearchableFormData.cpp | 46 #include "wtf/text/TextEncoding.h" 54 void GetFormEncoding(const HTMLFormElement* form, WTF::TextEncoding* encoding) 61 *encoding = WTF::TextEncoding(*i); 67 *encoding = WTF::TextEncoding(form->document().encoding()); 197 bool buildSearchString(const HTMLFormElement* form, Vector<char>* encodedString, WTF::TextEncoding* encoding, const HTMLInputElement* textElement) 252 WTF::TextEncoding encoding;
|