/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
MimeUtility.java | 219 * Reads the Part's body and returns a String based on any charset conversion that needed 243 String charset = getHeaderParameter(part.getContentType(), "charset"); local 244 if (charset != null) { 246 * See if there is conversion from the MIME charset to the Java one. 248 charset = CharsetUtil.toJavaCharset(charset); 253 if (charset == null) { 254 charset = "ASCII"; 259 String result = out.toString(charset); [all...] |
/external/fonttools/Lib/fontTools/ |
cffLib.py | 68 if not hasattr(topDict, "charset") or topDict.charset is None: 69 charset = otFont.getGlyphOrder() 70 topDict.charset = charset 105 topDict.charset = None # gets filled in later 499 def __init__(self, file, charset, globalSubrs, private, fdSelect, fdArray): 503 for i in range(len(charset)): 504 charStrings[charset[i]] = i 757 charset = parent.charse [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
PduPart.java | 229 * @param charset the value 231 public void setCharset(int charset) { 232 mPartHeader.put(P_CHARSET, charset); 238 * @return the charset value. Return 0 if charset was not set. 241 Integer charset = (Integer) mPartHeader.get(P_CHARSET); local 242 if(charset == null) { 245 return charset.intValue();
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
quoprimime.py | 54 # See also Charset.py 116 def header_encode(header, charset="iso-8859-1", keep_eols=False, 125 charset names the character set to use to encode the header. It defaults 130 "=?charset?q?I_f=E2rt_in_your_g=E8n=E8ral_dire=E7tion?\\n 131 =?charset?q?Silly_=C8nglish_Kn=EEghts?=" 159 max_encoded = maxlinelen - len(charset) - MISC_LEN - 1 176 return joiner.join(['=?%s?q?%s?=' % (charset, line) for line in quoted])
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
quoprimime.py | 54 # See also Charset.py 116 def header_encode(header, charset="iso-8859-1", keep_eols=False, 125 charset names the character set to use to encode the header. It defaults 130 "=?charset?q?I_f=E2rt_in_your_g=E8n=E8ral_dire=E7tion?\\n 131 =?charset?q?Silly_=C8nglish_Kn=EEghts?=" 159 max_encoded = maxlinelen - len(charset) - MISC_LEN - 1 176 return joiner.join(['=?%s?q?%s?=' % (charset, line) for line in quoted])
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/ |
DesignerPlugin.java | 31 import java.nio.charset.Charset; 93 * @param charset the charset to use 96 public static String readFile(InputStream inputStream, Charset charset) { 102 final InputStreamReader isr = new InputStreamReader(inputStream, charset);
|
/external/guava/guava/src/com/google/common/hash/ |
AbstractStreamingHashFunction.java | 23 import java.nio.charset.Charset; 40 @Override public HashCode hashString(CharSequence input, Charset charset) { 41 return newHasher().putString(input, charset).hash();
|
MessageDigestHashFunction.java | 27 import java.nio.charset.Charset; 150 @Override public Hasher putString(CharSequence charSequence, Charset charset) { 152 return putBytes(charSequence.toString().getBytes(charset.name()));
|
/external/pdfium/core/src/fpdfapi/fpdf_font/ |
font_int.h | 15 CPDF_CID2UnicodeMap* GetCID2UnicodeMap(int charset, FX_BOOL bPrompt);
19 CPDF_CID2UnicodeMap* LoadCID2UnicodeMap(int charset, FX_BOOL bPrompt);
175 void Load(CPDF_CMapManager* pMgr, int charset, FX_BOOL bPromptCJK);
|
fpdf_font_cid.cpp | 83 int charset = 1;
local 84 while (g_CharsetNames[charset] && Ordering != CFX_ByteStringC(g_CharsetNames[charset])) {
85 charset ++;
87 if (g_CharsetNames[charset] == NULL) {
90 return charset;
124 CPDF_CID2UnicodeMap* CPDF_CMapManager::GetCID2UnicodeMap(int charset, FX_BOOL bPromptCJK)
126 if (m_CID2UnicodeMaps[charset] == NULL) {
127 m_CID2UnicodeMaps[charset] = LoadCID2UnicodeMap(charset, bPromptCJK); [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
Channels.java | 29 import java.nio.charset.Charset; 30 import java.nio.charset.CharsetDecoder; 31 import java.nio.charset.CharsetEncoder; 123 * the Charset decoder to be used. 145 * the name of the charset. 147 * @throws java.nio.charset.UnsupportedCharsetException 148 * if the given charset name is not supported. 155 return newReader(channel, Charset.forName(charsetName).newDecoder(), -1); 188 * the name of the charset [all...] |
/external/chromium_org/android_webview/native/ |
aw_web_resource_response_impl.cc | 49 JNIEnv* env, std::string* charset) const { 54 *charset = ConvertJavaStringToUTF8(jstring_charset);
|
/external/chromium_org/content/browser/loader/ |
sync_resource_handler.cc | 89 result_.charset = response->head.charset;
|
/external/chromium_org/content/browser/ |
tcmalloc_internals_request_job.cc | 108 std::string* charset, 112 charset->assign("UTF8");
|
/external/chromium_org/net/url_request/ |
url_request_file_dir_job.cc | 92 bool URLRequestFileDirJob::GetCharset(std::string* charset) { 94 *charset = "utf-8";
|
url_request_simple_job_unittest.cc | 36 std::string* charset, 40 charset->assign("US-ASCII");
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
CSSStyleSheetResource.cpp | 39 CSSStyleSheetResource::CSSStyleSheetResource(const ResourceRequest& resourceRequest, const String& charset) 40 : StyleSheetResource(resourceRequest, CSSStyleSheet, "text/css", charset)
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.apache.commons.codec_1.3.0.v20100518-1140.jar | |
/external/guava/guava-tests/test/com/google/common/hash/ |
AbstractNonStreamingHashFunctionTest.java | 12 import java.nio.charset.Charset; 98 public HashCode hashString(CharSequence input, Charset charset) {
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
BluetoothMapBmessage.java | 131 public BluetoothMapBmessage setCharset(String charset) { 132 mBbodyCharset = charset;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
ASCIICharsetEncoderTest.java | 17 package org.apache.harmony.tests.java.nio.charset; 22 import java.nio.charset.CharacterCodingException; 23 import java.nio.charset.Charset; 24 import java.nio.charset.CharsetEncoder; 25 import java.nio.charset.CoderResult; 26 import java.nio.charset.CodingErrorAction; 27 import java.nio.charset.MalformedInputException; 28 import java.nio.charset.UnmappableCharacterException; 32 // charset for asci [all...] |
AbstractCharsetTestCase.java | 18 package org.apache.harmony.tests.java.nio.charset; 22 import java.nio.charset.Charset; 27 * Super class for concrete charset test suites. 31 // the canonical name of this charset 43 // charset instance 44 protected Charset testingCharset; 53 this.testingCharset = Charset.forName(this.canonicalName); 105 Charset c = Charset.forName(this.aliases[i]) [all...] |
/packages/apps/Email/src/com/beetstra/jutf7/ |
UTF7StyleCharsetDecoder.java | 29 import java.nio.charset.CharsetDecoder;
30 import java.nio.charset.CoderResult;
34 * The CharsetDecoder used to decode both variants of the UTF-7 charset and the
35 * modified-UTF-7 charset.
61 * @see java.nio.charset.CharsetDecoder#decodeLoop(java.nio.ByteBuffer,
146 * @see java.nio.charset.CharsetDecoder#implFlush(java.nio.CharBuffer)
156 * @see java.nio.charset.CharsetDecoder#implReset()
|
UTF7StyleCharsetEncoder.java | 29 import java.nio.charset.CharsetEncoder;
30 import java.nio.charset.CoderResult;
34 * The CharsetEncoder used to encode both variants of the UTF-7 charset and the
35 * modified-UTF-7 charset.
41 * {@link java.nio.charset.CharsetEncoder#encode(CharBuffer)}. Unfortunately,
79 * @see java.nio.charset.CharsetEncoder#implReset()
94 * {@link java.nio.charset.CharsetEncoder#flush(ByteBuffer)} causing it to
122 * {@link java.nio.charset.CharsetEncoder#encode(CharBuffer)} to call flush
160 * earlier into flushing when using Charset.encode(String),
161 * Charset.encode(CharBuffer) or CharsetEncoder.encode(CharBuffer) [all...] |
/cts/tools/signature-tools/ |
sig-check | 74 java.nio.charset \ 75 java.nio.charset.spi \
|