/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
UTFCharsetEncoderTest.java | 17 package org.apache.harmony.tests.java.nio.charset; 20 import java.nio.charset.CharacterCodingException; 21 import java.nio.charset.Charset; 24 * test case specific activity of utf-8 charset encoder 28 // charset for UTF-8 29 private static final Charset CS = Charset.forName("utf-8");
|
ASCCharsetDecoderTest.java | 17 package org.apache.harmony.tests.java.nio.charset; 21 import java.nio.charset.Charset; 26 cs = Charset.forName("ascii");
|
CharacterCodingExceptionTest.java | 17 package org.apache.harmony.tests.java.nio.charset; 20 import java.nio.charset.CharacterCodingException;
|
CoderMalfunctionErrorTest.java | 17 package org.apache.harmony.tests.java.nio.charset; 19 import java.nio.charset.CoderMalfunctionError;
|
GBCharsetDecoderTest.java | 17 package org.apache.harmony.tests.java.nio.charset; 21 import java.nio.charset.Charset; 29 cs = Charset.forName("gb18030");
|
UTF16BECharsetDecoderTest.java | 17 package org.apache.harmony.tests.java.nio.charset; 21 import java.nio.charset.Charset; 29 cs = Charset.forName("utf-16be");
|
UTF16LECharsetDecoderTest.java | 17 package org.apache.harmony.tests.java.nio.charset; 21 import java.nio.charset.Charset; 29 cs = Charset.forName("utf-16le");
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
Charset_TestGenerator.java | 16 package libcore.java.nio.charset; 20 import java.nio.charset.CharacterCodingException; 21 import java.nio.charset.Charset; 22 import java.nio.charset.CharsetDecoder; 23 import java.nio.charset.CharsetEncoder; 24 import java.nio.charset.CodingErrorAction; 27 * Super class for concrete charset test suites. 31 Charset charset; field in class:Charset_TestGenerator [all...] |
/packages/apps/Email/src/com/beetstra/jutf7/ |
UTF7StyleCharset.java | 27 import java.nio.charset.Charset;
28 import java.nio.charset.CharsetDecoder;
29 import java.nio.charset.CharsetEncoder;
40 abstract class UTF7StyleCharset extends Charset {
58 * @param canonicalName The name as defined in java.nio.charset.Charset
59 * @param aliases The aliases as defined in java.nio.charset.Charset
72 * @see java.nio.charset.Charset#contains(java.nio.charset.Charset) [all...] |
/external/apache-http/src/org/apache/commons/codec/net/ |
RFC1522Codec.java | 49 * given charset. This method constructs the "encoded-word" header common to all the 54 * @param charset a charset to be used 60 * @throws UnsupportedEncodingException thrown if charset is not supported 65 protected String encodeText(final String text, final String charset) 73 buffer.append(charset); 77 byte [] rawdata = doEncoding(text.getBytes(charset)); 92 * @throws UnsupportedEncodingException thrown if charset specified in the "encoded-word" 108 throw new DecoderException("RFC 1522 violation: charset token not found"); 110 String charset = text.substring(from, to) local [all...] |
/external/pdfium/core/src/fxge/apple/ |
fx_mac_imp.cpp | 32 virtual void* MapFont(int weight, FX_BOOL bItalic, int charset, int pitch_family, FX_LPCSTR family, FX_BOOL& bExact);
48 void* CFX_MacFontInfo::MapFont(int weight, FX_BOOL bItalic, int charset, int pitch_family, FX_LPCSTR cstr_face, FX_BOOL& bExact)
65 if (charset == FXFONT_ANSI_CHARSET && (pitch_family & FXFONT_FF_FIXEDPITCH)) {
68 if (charset == FXFONT_ANSI_CHARSET || charset == FXFONT_SYMBOL_CHARSET) {
71 switch (charset) {
|
/external/chromium_org/ppapi/cpp/private/ |
flash_font_file.cc | 30 PP_PrivateFontCharset charset) { 33 instance.pp_instance(), description, charset));
|
flash_font_file.h | 25 PP_PrivateFontCharset charset);
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
TextResource.cpp | 13 TextResource::TextResource(const ResourceRequest& resourceRequest, Resource::Type type, const String& mimeType, const String& charset) 15 , m_decoder(TextResourceDecoder::create(mimeType, charset))
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebCachedURLRequest.cpp | 57 WebString WebCachedURLRequest::charset() const function in class:blink::WebCachedURLRequest 59 return WebString(m_private->charset());
|
/external/guava/guava/src/com/google/common/hash/ |
HashFunction.java | 20 import java.nio.charset.Charset; 186 * Shortcut for {@code newHasher().putString(input, charset).hash()}. Characters are encoded 187 * using the given {@link Charset}. The implementation <i>might</i> perform better than its 190 HashCode hashString(CharSequence input, Charset charset);
|
/external/pdfium/core/src/fxge/android/ |
fx_android_font.h | 22 virtual void* MapFont(int weight, FX_BOOL bItalic, int charset, int pitch_family, FX_LPCSTR face, FX_BOOL& bExact); 27 virtual FX_BOOL GetFontCharset(void* hFont, int& charset);
|
/libcore/luni/src/main/java/java/net/ |
URLEncoder.java | 21 import java.nio.charset.Charset; 22 import java.nio.charset.StandardCharsets; 54 * Encodes {@code s} using the {@link Charset} named by {@code charsetName}. 57 return ENCODER.encode(s, Charset.forName(charsetName));
|
/external/guava/guava/src/com/google/common/io/ |
Files.java | 42 import java.nio.charset.Charset; 69 * @param charset the character set used when writing the file 72 public static BufferedReader newReader(File file, Charset charset) 75 new InputStreamReader(new FileInputStream(file), charset)); 83 * @param charset the character set used when writing the file 86 public static BufferedWriter newWriter(File file, Charset charset) 89 new OutputStreamWriter(new FileOutputStream(file), charset)); [all...] |
/external/oauth/core/src/main/java/net/oauth/http/ |
HttpMessage.java | 132 Matcher m = CHARSET.matcher(mimeType); 134 String charset = m.group(1); local 135 if (charset.length() >= 2 && charset.charAt(0) == '"' 136 && charset.charAt(charset.length() - 1) == '"') { 137 charset = charset.substring(1, charset.length() - 1); 138 charset = charset.replace("\\\"", "\"") [all...] |
/external/pdfium/fpdfsdk/src/ |
fpdf_sysfontinfo.cpp | 31 virtual void* MapFont(int weight, FX_BOOL bItalic, int charset, int pitch_family, FX_LPCSTR family, FX_BOOL& bExact) 34 return m_pInfo->MapFont(m_pInfo, weight, bItalic, charset, pitch_family, family, &bExact); 64 virtual FX_BOOL GetFontCharset(void* hFont, int& charset) 67 charset = m_pInfo->GetFontCharset(m_pInfo, hFont); 80 DLLEXPORT void STDCALL FPDF_AddInstalledFont(void* mapper, const char* name, int charset) 82 ((CFX_FontMapper*)mapper)->AddInstalledFont(name, charset); 109 static void* DefaultMapFont(struct _FPDF_SYSFONTINFO* pThis, int weight, int bItalic, int charset, int pitch_family, const char* family, int* bExact) 111 return ((FPDF_SYSFONTINFO_DEFAULT*)pThis)->m_pFontInfo->MapFont(weight, bItalic, charset, pitch_family, family, *bExact); 136 int charset; local 137 if (!((FPDF_SYSFONTINFO_DEFAULT*)pThis)->m_pFontInfo->GetFontCharset(hFont, charset)) return 0 [all...] |
/external/chromium_org/chrome/utility/importer/ |
bookmark_html_reader.h | 63 std::string* charset); 65 const std::string& charset, 73 const std::string& charset, 89 const std::string& charset,
|
/external/chromium_org/net/url_request/ |
url_request_data_job.h | 23 std::string* charset,
|
/external/chromium_org/ppapi/c/private/ |
ppb_flash_font_file.h | 40 PP_PrivateFontCharset charset);
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSParserMode.cpp | 43 CSSParserContext::CSSParserContext(const Document& document, UseCounter* useCounter, const KURL& baseURL, const String& charset) 45 , m_charset(charset) 84 if (charset().isEmpty()) 86 return KURL(baseURL(), url, charset());
|