HomeSort by relevance Sort by last modified time
    Searched refs:TextEncoding (Results 1 - 25 of 89) sorted by null

1 2 3 4

  /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/wtf/text/
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...]
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...]
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.
TextCodec.h 39 class TextEncoding;
83 typedef PassOwnPtr<TextCodec> (*NewTextCodecFunction)(const TextEncoding&, const void* additionalData);
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;
TextCodecUTF8Test.cpp 37 #include "wtf/text/TextEncoding.h"
48 TextEncoding encoding("UTF-8");
65 TextEncoding encoding("UTF-8");
82 TextEncoding encoding("UTF-8");
TextCodecUTF8.h 39 static PassOwnPtr<TextCodec> create(const TextEncoding&, const void*);
TextCodecUTF16.cpp 53 static PassOwnPtr<TextCodec> newStreamingTextDecoderUTF16LE(const TextEncoding&, const void*)
58 static PassOwnPtr<TextCodec> newStreamingTextDecoderUTF16BE(const TextEncoding&, const void*)
  /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/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...]
TextResourceDecoder.cpp 83 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/
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&);
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.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/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/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);
  /external/chromium_org/third_party/WebKit/Source/modules/encoding/
TextEncoder.h 38 #include "wtf/text/TextEncoding.h"
61 WTF::TextEncoding m_encoding;
TextDecoder.h 38 #include "wtf/text/TextEncoding.h"
61 WTF::TextEncoding m_encoding;
  /external/chromium_org/third_party/WebKit/Source/web/
WebPageSerializerImpl.h 48 class TextEncoding;
123 const WTF::TextEncoding& textEncoding;
141 SerializeDomParam(const WebCore::KURL&, const WTF::TextEncoding&, WebCore::Document*, const WTF::String& directoryName);
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;
  /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&);

Completed in 331 milliseconds

1 2 3 4