HomeSort by relevance Sort by last modified time
    Searched defs:Charset (Results 1 - 25 of 47) sorted by null

1 2

  /libcore/benchmarks/src/benchmarks/regression/
DefaultCharsetBenchmark.java 19 import java.nio.charset.Charset;
24 Charset.defaultCharset();
  /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...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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 default
    [all...]
  /external/python/cpython2/Lib/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...]
  /external/python/cpython3/Lib/email/
charset.py 6 'Charset',
28 # In "=?charset?q?hello_world?=", the =?, ?q?, and ?= add up to 7
112 def add_charset(charset, header_enc=None, body_enc=None, output_charset=None):
115 charset is the input character set, and must be the canonical name of a
118 Optional header_enc and body_enc is either Charset.QP for
119 quoted-printable, Charset.BASE64 for base64 encoding, Charset.SHORTEST for
122 message bodies in the input charset are to be encoded. Default is no
126 in. Conversions will proceed from input charset, to Unicode, to the
127 output charset when the method Charset.convert() is called. The defaul
    [all...]
header.py 20 from email import charset as _charset
21 Charset = _charset.Charset
31 USASCII = Charset('us-ascii')
32 UTF8 = Charset('utf-8')
34 # Match encoded-word strings in the form =?charset?q?Hello_World?=
37 (?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 (string, charset) pairs containing each of the decode
    [all...]
message.py 18 from email import charset as _charset
20 Charset = _charset.Charset
44 three tuple (charset, language, value), it will be encoded according
46 be encoded according to RFC2231 rules, using the utf-8 charset and
51 # are (charset, language, value). charset is a string, not a Charset
269 payload = bpayload.decode(self.get_param('charset', 'ascii'), 'replace')
305 def set_payload(self, payload, charset=None)
    [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...]
  /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...]
  /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...]
  /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...]
  /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 * <h2>Charset names</h2>
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...]
  /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...]
  /libcore/luni/src/test/java/libcore/java/nio/file/
Files2Test.java 35 import java.nio.charset.MalformedInputException;
36 import java.nio.charset.StandardCharsets;
    [all...]
  /external/pdfium/core/fxge/
cfx_fontmapper.cpp 150 uint8_t charset; member in struct:__anon31163::CODEPAGE_MAP
178 [](const CODEPAGE_MAP& charset, uint16_t page) {
179 return charset.codepage < page;
182 return pCharmap->charset;
313 void CFX_FontMapper::AddInstalledFont(const ByteString& name, int charset) {
317 m_FaceArray.push_back({name, static_cast<uint32_t>(charset)});
543 int Charset = FX_CHARSET_ANSI;
545 Charset = GetCharsetFromCodePage(WindowCP);
547 Charset = FX_CHARSET_Symbol;
549 bool bCJK = (Charset == FX_CHARSET_ShiftJIS |
    [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...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/
Expression.c     [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;
22 import java.nio.charset.Charset;
23 import java.nio.charset.CharsetDecoder;
24 import java.nio.charset.CharsetEncoder;
25 import java.nio.charset.CoderResult;
26 import java.nio.charset.IllegalCharsetNameException;
27 import java.nio.charset.spi.CharsetProvider;
28 import java.nio.charset.UnsupportedCharsetException;
36 import libcore.java.nio.charset.SettableCharsetProvider
    [all...]
  /prebuilts/misc/common/robolectric/android-all/
android-all-4.1.2_r1-robolectric-r1.jar 
android-all-4.2.2_r1.2-robolectric-r1.jar 
android-all-4.3_r2-robolectric-r1.jar 
android-all-4.4_r1-robolectric-r2.jar 
android-all-5.0.2_r3-robolectric-r0.jar 
android-all-5.1.1_r9-robolectric-r2.jar 

Completed in 236 milliseconds

1 2