/libcore/benchmarks/src/benchmarks/regression/ |
DefaultCharsetBenchmark.java | 19 import java.nio.charset.Charset; 24 Charset.defaultCharset();
|
/prebuilts/gdb/darwin-x86/lib/python2.7/email/test/ |
test_email_codecs.py | 9 from email.charset import Charset 26 j = Charset("euc-jp") 27 g = Charset("iso-8859-1")
|
test_email_codecs_renamed.py | 9 from email.charset import Charset 26 j = Charset("euc-jp") 27 g = Charset("iso-8859-1")
|
/prebuilts/gdb/linux-x86/lib/python2.7/email/test/ |
test_email_codecs.py | 9 from email.charset import Charset 26 j = Charset("euc-jp") 27 g = Charset("iso-8859-1")
|
test_email_codecs_renamed.py | 9 from email.charset import Charset 26 j = Charset("euc-jp") 27 g = Charset("iso-8859-1")
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/test/ |
test_email_codecs.py | 9 from email.charset import Charset 26 j = Charset("euc-jp") 27 g = Charset("iso-8859-1")
|
test_email_codecs_renamed.py | 9 from email.charset import Charset 26 j = Charset("euc-jp") 27 g = Charset("iso-8859-1")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/test/ |
test_email_codecs.py | 9 from email.charset import Charset 26 j = Charset("euc-jp") 27 g = Charset("iso-8859-1")
|
test_email_codecs_renamed.py | 9 from email.charset import Charset 26 j = Charset("euc-jp") 27 g = Charset("iso-8859-1")
|
/external/guava/guava-gwt/src-super/java/nio/charset/ |
Charset.java | 17 package java.nio.charset; 24 * A minimal GWT emulation of {@link Charset}. 28 public abstract class Charset implements Comparable<Charset> { 29 private static final Charset UTF_8 = new Charset("UTF-8") {}; 31 private static final SortedMap<String, Charset> AVAILABLE_CHARSETS = 32 new TreeMap<String, Charset>(); 37 public static SortedMap<String, Charset> availableCharsets() { 41 public static Charset forName(String charsetName) 62 Charset charset = AVAILABLE_CHARSETS.get(charsetName.toUpperCase()); local [all...] |
/libcore/ojluni/src/main/java/java/nio/charset/ |
Charset.java | 27 package java.nio.charset; 33 import java.nio.charset.spi.CharsetProvider; 59 * for retrieving the various names associated with a charset. Instances of 63 * charset is supported, for locating charset instances by name, and for 64 * constructing a map that contains every charset for which support is 67 * java.nio.charset.spi.CharsetProvider} class. 74 * <h4>Charset names</h4> 106 * A charset name must begin with either a letter or a digit. The empty string 107 * is not a legal charset name. Charset names are not case-sensitive; that is [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/email/ |
charset.py | 6 'Charset', 27 # In "=?charset?q?hello_world?=", the =?, ?q?, and ?= add up to 7 111 def add_charset(charset, header_enc=None, body_enc=None, output_charset=None): 114 charset is the input character set, and must be the canonical name of a 117 Optional header_enc and body_enc is either Charset.QP for 118 quoted-printable, Charset.BASE64 for base64 encoding, Charset.SHORTEST for 121 message bodies in the input charset are to be encoded. Default is no 125 in. Conversions will proceed from input charset, to Unicode, to the 126 output charset when the method Charset.convert() is called. The defaul [all...] |
header.py | 20 from email.charset import Charset 30 USASCII = Charset('us-ascii') 31 UTF8 = Charset('utf-8') 33 # Match encoded-word strings in the form =?charset?q?Hello_World?= 36 (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset 64 """Decode a message header value without converting charset. 66 Returns a list of (decoded_string, charset) pairs containing each of the 67 decoded parts of the header. Charset is None for non-encoded parts of th [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/email/ |
charset.py | 6 'Charset', 27 # In "=?charset?q?hello_world?=", the =?, ?q?, and ?= add up to 7 111 def add_charset(charset, header_enc=None, body_enc=None, output_charset=None): 114 charset is the input character set, and must be the canonical name of a 117 Optional header_enc and body_enc is either Charset.QP for 118 quoted-printable, Charset.BASE64 for base64 encoding, Charset.SHORTEST for 121 message bodies in the input charset are to be encoded. Default is no 125 in. Conversions will proceed from input charset, to Unicode, to the 126 output charset when the method Charset.convert() is called. The defaul [all...] |
header.py | 20 from email.charset import Charset 30 USASCII = Charset('us-ascii') 31 UTF8 = Charset('utf-8') 33 # Match encoded-word strings in the form =?charset?q?Hello_World?= 36 (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset 64 """Decode a message header value without converting charset. 66 Returns a list of (decoded_string, charset) pairs containing each of the 67 decoded parts of the header. Charset is None for non-encoded parts of th [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
charset.py | 6 'Charset', 27 # In "=?charset?q?hello_world?=", the =?, ?q?, and ?= add up to 7 111 def add_charset(charset, header_enc=None, body_enc=None, output_charset=None): 114 charset is the input character set, and must be the canonical name of a 117 Optional header_enc and body_enc is either Charset.QP for 118 quoted-printable, Charset.BASE64 for base64 encoding, Charset.SHORTEST for 121 message bodies in the input charset are to be encoded. Default is no 125 in. Conversions will proceed from input charset, to Unicode, to the 126 output charset when the method Charset.convert() is called. The defaul [all...] |
header.py | 20 from email.charset import Charset 30 USASCII = Charset('us-ascii') 31 UTF8 = Charset('utf-8') 33 # Match encoded-word strings in the form =?charset?q?Hello_World?= 36 (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset 64 """Decode a message header value without converting charset. 66 Returns a list of (decoded_string, charset) pairs containing each of the 67 decoded parts of the header. Charset is None for non-encoded parts of th [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
charset.py | 6 'Charset', 27 # In "=?charset?q?hello_world?=", the =?, ?q?, and ?= add up to 7 111 def add_charset(charset, header_enc=None, body_enc=None, output_charset=None): 114 charset is the input character set, and must be the canonical name of a 117 Optional header_enc and body_enc is either Charset.QP for 118 quoted-printable, Charset.BASE64 for base64 encoding, Charset.SHORTEST for 121 message bodies in the input charset are to be encoded. Default is no 125 in. Conversions will proceed from input charset, to Unicode, to the 126 output charset when the method Charset.convert() is called. The defaul [all...] |
header.py | 20 from email.charset import Charset 30 USASCII = Charset('us-ascii') 31 UTF8 = Charset('utf-8') 33 # Match encoded-word strings in the form =?charset?q?Hello_World?= 36 (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset 64 """Decode a message header value without converting charset. 66 Returns a list of (decoded_string, charset) pairs containing each of the 67 decoded parts of the header. Charset is None for non-encoded parts of th [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
CharsetUtil.java | 23 import java.nio.charset.IllegalCharsetNameException; 24 import java.nio.charset.UnsupportedCharsetException; 36 * the Java 1.4 <code>java.nio.charset.Charset</code> class but knows many 797 private static class Charset implements Comparable<Charset> { 802 private Charset(String canonical, String mime, String[] aliases) { 808 public int compareTo(Charset c) { 813 private static Charset[] JAVA_CHARSETS = { 814 new Charset("ISO8859_1", "ISO-8859-1" [all...] |
/packages/services/Telephony/src/org/apache/james/mime4j/util/ |
CharsetUtil.java | 23 import java.nio.charset.IllegalCharsetNameException; 24 import java.nio.charset.UnsupportedCharsetException; 36 * the Java 1.4 <code>java.nio.charset.Charset</code> class but knows many 797 private static class Charset implements Comparable<Charset> { 802 private Charset(String canonical, String mime, String[] aliases) { 808 public int compareTo(Charset c) { 813 private static Charset[] JAVA_CHARSETS = { 814 new Charset("ISO8859_1", "ISO-8859-1" [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
InputStreamReaderTest.java | 29 import java.nio.charset.Charset; 30 import java.nio.charset.CharsetDecoder; 31 import java.nio.charset.CodingErrorAction; 32 import java.nio.charset.MalformedInputException; 183 Charset cs = Charset.forName("utf-8"); 184 assertEquals(cs, Charset.forName(reader.getEncoding())); 241 assertEquals(Charset.forName(reader2.getEncoding()), Charset [all...] |
OutputStreamWriterTest.java | 31 import java.nio.charset.Charset; 32 import java.nio.charset.CharsetEncoder; 342 assertEquals(Charset.forName("ascii"), Charset.forName(writer2 351 Charset cs = Charset.forName("ascii"); 359 writer = new OutputStreamWriter(out, (Charset) null); 365 assertEquals(cs, Charset.forName(writer2.getEncoding())); 374 Charset cs = Charset.forName("ascii") [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetTest.java | 17 package org.apache.harmony.tests.java.nio.charset; 21 import java.nio.charset.Charset; 22 import java.nio.charset.CharsetDecoder; 23 import java.nio.charset.CharsetEncoder; 24 import java.nio.charset.CoderResult; 25 import java.nio.charset.IllegalCharsetNameException; 26 import java.nio.charset.spi.CharsetProvider; 27 import java.nio.charset.UnsupportedCharsetException; 35 import libcore.java.nio.charset.SettableCharsetProvider [all...] |
/external/pdfium/core/src/fxge/ge/ |
fx_ge_fontmap.cpp | 201 uint8_t charset; member in struct:__anon22028::CHARSET_MAP 291 return cp.charset; 370 FX_DWORD GetCharset(int charset) { 371 switch (charset) { 721 void CFX_FontMapper::AddInstalledFont(const CFX_ByteString& name, int charset) { 725 if (m_CharsetArray.Find((FX_DWORD)charset) == -1) { 726 m_CharsetArray.Add((FX_DWORD)charset); 1009 int Charset = FXFONT_ANSI_CHARSET; 1011 Charset = GetCharsetFromCodePage(WindowCP); 1013 Charset = FXFONT_SYMBOL_CHARSET [all...] |