Searched refs:TextEncoding (Results 1 - 25 of 88) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DTextEncoding.h36 class WTF_EXPORT TextEncoding { class in namespace:WTF
38 TextEncoding() : m_name(0) { } function in class:WTF::TextEncoding
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
[all...]
H A DTextEncoding.cpp29 #include "wtf/text/TextEncoding.h"
40 static const TextEncoding& UTF7Encoding()
42 static TextEncoding globalUTF7Encoding("UTF-7");
46 TextEncoding::TextEncoding(const char* name) function in class:WTF::TextEncoding
52 TextEncoding::TextEncoding(const String& name) function in class:WTF::TextEncoding
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
[all...]
H A DTextEncodingRegistry.h37 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.
H A DTextCodec.h39 class TextEncoding;
83 typedef PassOwnPtr<TextCodec> (*NewTextCodecFunction)(const TextEncoding&, const void* additionalData);
H A DTextCodecICU.h32 #include "wtf/text/TextEncoding.h"
48 TextCodecICU(const TextEncoding&);
49 static PassOwnPtr<TextCodec> create(const TextEncoding&, const void*);
67 TextEncoding m_encoding;
H A DTextCodecUTF8Test.cpp37 #include "wtf/text/TextEncoding.h"
48 TextEncoding encoding("UTF-8");
65 TextEncoding encoding("UTF-8");
82 TextEncoding encoding("UTF-8");
H A DTextCodecUTF8.h39 static PassOwnPtr<TextCodec> create(const TextEncoding&, const void*);
H A DTextCodecUTF16.cpp53 static PassOwnPtr<TextCodec> newStreamingTextDecoderUTF16LE(const TextEncoding&, const void*) argument
58 static PassOwnPtr<TextCodec> newStreamingTextDecoderUTF16BE(const TextEncoding&, const void*) argument
/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DTextEncodingDetector.h37 class TextEncoding;
47 const char* hintEncodingName, WTF::TextEncoding* detectedEncoding);
H A DTextEncodingDetector.cpp34 #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);
H A DDecodeEscapeSequences.h36 #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/dom/
H A DDocumentEncodingData.h34 #include "wtf/text/TextEncoding.h"
45 WTF::TextEncoding encoding;
/external/chromium_org/third_party/WebKit/Source/core/fetch/
H A DTextResourceDecoder.h27 #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_encodin
[all...]
H A DTextResourceDecoder.cpp83 static WTF::TextEncoding findTextEncoding(const char* encodingName, int length)
102 const WTF::TextEncoding& TextResourceDecoder::defaultEncoding(ContentType contentType, const WTF::TextEncoding& specifiedDefaultEncoding)
113 TextResourceDecoder::TextResourceDecoder(const String& mimeType, const WTF::TextEncoding& specifiedDefaultEncoding, bool usesEncodingDetector)
132 void TextResourceDecoder::setEncoding(const WTF::TextEncoding& encoding, EncodingSource source)
399 WTF::TextEncoding detectedEncoding;
422 WTF::TextEncoding detectedEncoding;
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DDOMFormData.h40 class TextEncoding;
51 static PassRefPtr<DOMFormData> create(const WTF::TextEncoding& encoding) { return adoptRef(new DOMFormData(encoding)); }
57 explicit DOMFormData(const WTF::TextEncoding&);
H A DFormDataList.h28 #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;
H A DDOMFormData.cpp36 #include "wtf/text/TextEncoding.h"
41 DOMFormData::DOMFormData(const WTF::TextEncoding& encoding)
H A DFormDataList.cpp30 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/core/html/parser/
H A DHTMLMetaCharsetParser.h33 #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/platform/network/
H A DFormDataBuilder.h28 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);
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebPageSerializerImpl.h48 class TextEncoding;
123 const WTF::TextEncoding& textEncoding;
141 SerializeDomParam(const WebCore::KURL&, const WTF::TextEncoding&, WebCore::Document*, const WTF::String& directoryName);
H A DWebSearchableFormData.cpp46 #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;
/external/chromium_org/third_party/WebKit/Source/modules/encoding/
H A DTextEncoder.h38 #include "wtf/text/TextEncoding.h"
61 WTF::TextEncoding m_encoding;
H A DTextDecoder.h38 #include "wtf/text/TextEncoding.h"
61 WTF::TextEncoding m_encoding;
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
H A DKURL.h38 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&);

Completed in 463 milliseconds

1234