/libcore/benchmarks/src/benchmarks/regression/ |
DefaultCharsetBenchmark.java | 19 import java.nio.charset.Charset; 26 Charset.defaultCharset();
|
/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")
|
test_email_renamed.py | 16 from email.charset import Charset 85 charset = Charset('iso-8859-1') 86 msg.set_charset(charset) 89 eq(msg['content-type'], 'text/plain; charset="iso-8859-1"') 90 eq(msg.get_param('charset'), 'iso-8859-1') 93 # Remove the charset 97 # Try adding a charset when there's already MIME headers present 102 msg.set_charset(charset) [all...] |
test_email.py | 17 from email.Charset import Charset 85 charset = Charset('iso-8859-1') 86 msg.set_charset(charset) 89 eq(msg['content-type'], 'text/plain; charset="iso-8859-1"') 90 eq(msg.get_param('charset'), 'iso-8859-1') 93 # Remove the charset 97 # Try adding a charset when there's already MIME headers present 102 msg.set_charset(charset) [all...] |
/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")
|
test_email_renamed.py | 16 from email.charset import Charset 85 charset = Charset('iso-8859-1') 86 msg.set_charset(charset) 89 eq(msg['content-type'], 'text/plain; charset="iso-8859-1"') 90 eq(msg.get_param('charset'), 'iso-8859-1') 93 # Remove the charset 97 # Try adding a charset when there's already MIME headers present 102 msg.set_charset(charset) [all...] |
test_email.py | 17 from email.Charset import Charset 85 charset = Charset('iso-8859-1') 86 msg.set_charset(charset) 89 eq(msg['content-type'], 'text/plain; charset="iso-8859-1"') 90 eq(msg.get_param('charset'), 'iso-8859-1') 93 # Remove the charset 97 # Try adding a charset when there's already MIME headers present 102 msg.set_charset(charset) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLMetaCharsetParser.h | 64 Charset,
|
/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...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
StyleRule.h | 43 Charset, // Not used. These are internally strings owned by the style sheet. 58 bool isCharsetRule() const { return type() == Charset; }
|
/libcore/luni/src/main/java/java/nio/charset/ |
Charset.java | 18 package java.nio.charset; 23 import java.nio.charset.spi.CharsetProvider; 36 * A charset is a named mapping between Unicode characters and byte sequences. Every 37 * {@code Charset} can <i>decode</i>, converting a byte sequence into a sequence of characters, 39 * Use the method {@link #canEncode} to find out whether a charset supports both. 45 * all characters can necessarily be represented by a given charset. The method {@link #contains} 46 * can be used to determine whether every character representable by one charset can also be 92 * <tr> <th>Charset</th> <th>Encoder writes</th> </tr> 107 * <tr> <th>Charset</th> <th>BE BOM</th> <th>LE BOM</th> <th>No BOM</th> </tr> 113 * <h4>Charset names</h4 225 Charset charset = NativeConverter.charsetForName(charsetName); local 226 charsets.put(charset.name(), charset); local [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...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/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; 185 Charset cs = Charset.forName("utf-8"); 186 assertEquals(cs, Charset.forName(reader.getEncoding())); 243 assertEquals(Charset.forName(reader2.getEncoding()), Charset [all...] |
OutputStreamWriterTest.java | 30 import java.nio.charset.Charset; 31 import java.nio.charset.CharsetEncoder; 343 assertEquals(Charset.forName("ascii"), Charset.forName(writer2 352 Charset cs = Charset.forName("ascii"); 360 writer = new OutputStreamWriter(out, (Charset) null); 366 assertEquals(cs, Charset.forName(writer2.getEncoding())); 375 Charset cs = Charset.forName("ascii") [all...] |
/libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/ |
CharsetTest.java | 17 package tests.api.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; 41 * Test class java.nio.Charset [all...] |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/4/ |
android.jar | |