/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetProviderICU.java | 13 import java.nio.charset.Charset; 35 private static List<Charset> icuCharsets = Collections.<Charset>emptyList(); 52 public final Charset charsetForName(String charsetName){ in charsetForName() 89 public final Charset charsetForName(String charsetName, String classPath) { in charsetForName() 102 public Charset charsetForName(String charsetName, String classPath, ClassLoader loader) { in charsetForName() 158 private static final Charset getCharset(String icuCanonicalName, String optionsString) in getCharset() 272 List<Charset> icucs = new LinkedList<Charset>(); in loadAvailableICUCharsets() 277 Charset cs = getCharset(name, ""); in loadAvailableICUCharsets() 295 public final Iterator<Charset> charsets() { in charsets() 311 for (Charset cs : icuCharsets) { in getAvailableNames()
|
D | CharsetICU.java | 14 import java.nio.charset.Charset; 66 public abstract class CharsetICU extends Charset{ 133 public boolean contains(Charset cs){ in contains() 198 …/*public*/ static final Charset getCharset(String icuCanonicalName, String javaCanonicalName, Stri… in getCharset() 261 …public static Charset forNameICU(String charsetName) throws IllegalCharsetNameException, Unsupport… in forNameICU() 267 return Charset.forName(charsetName); in forNameICU()
|
D | CharsetSelector.java | 22 import java.nio.charset.Charset; 58 Charset testCharset = CharsetICU.forNameICU(encodings[i]); in generateSelectorData()
|
/third_party/python/Doc/library/ |
D | email.charset.rst | 16 This module provides a class :class:`Charset` for representing character sets 19 Instances of :class:`Charset` are used in several other modules within the 25 .. class:: Charset(input_charset=DEFAULT_CHARSET) 49 :class:`Charset` instances have the following data attributes: 61 header, this attribute will be set to ``Charset.QP`` (for 62 quoted-printable), ``Charset.BASE64`` (for base64 encoding), or 63 ``Charset.SHORTEST`` for the shortest of QP or BASE64 encoding. Otherwise, 71 ``Charset.SHORTEST`` is not allowed for *body_encoding*. 96 :class:`Charset` instances also have the following methods: 146 The :class:`Charset` class also provides a number of methods to support [all …]
|
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
D | ConverterPerformanceTest.java | 18 import java.nio.charset.Charset; 44 CharsetEncoder encoder = Charset.forName(encoding).newEncoder(); in setup() 209 Charset myCharset = Charset.forName(testName); 238 Charset myCharset = Charset.forName(testName); 267 Charset myCharset = new CharsetProviderICU().charsetForName(testName); 296 Charset myCharset = new CharsetProviderICU().charsetForName(testName);
|
/third_party/python/Lib/email/ |
D | header.py | 21 Charset = _charset.Charset variable 31 USASCII = Charset('us-ascii') 32 UTF8 = Charset('utf-8') 172 if charset is not None and not isinstance(charset, Charset): 173 charset = Charset(charset) 211 elif not isinstance(charset, Charset): 212 charset = Charset(charset) 288 elif not isinstance(charset, Charset): 289 charset = Charset(charset)
|
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/common/ |
D | StringCodec.java | 8 import java.nio.charset.Charset; 18 private static final Charset UTF8 = Charset.forName("UTF8");
|
/third_party/python/Lib/test/test_email/ |
D | test_asian_codecs.py | 8 from email.charset import Charset 26 j = Charset(jcode) 27 g = Charset(gcode)
|
/third_party/mindspore/mindspore/lite/java/java/fl_client/src/main/java/com/mindspore/flclient/cipher/ |
D | BaseUtil.java | 21 import java.nio.charset.Charset; 66 byte[] source = str.getBytes(Charset.forName("UTF-8")); in hexString2ByteArray() 69 … byte bh = Byte.decode("0x" + new String(new byte[]{source[i * 2]}, Charset.forName("UTF-8"))); in hexString2ByteArray() 71 … byte bl = Byte.decode("0x" + new String(new byte[]{source[i * 2 + 1]}, Charset.forName("UTF-8"))); in hexString2ByteArray()
|
/third_party/icu/icu4j/main/tests/charset/ |
D | manifest.stub | 4 Specification-Title: ICU for Java Charset Tests 7 Implementation-Title: ICU for Java Charset Tests
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
D | InputFile.java | 19 import java.nio.charset.Charset; 37 private Charset charset; 111 charset = Charset.forName(encoding); in setEncoding()
|
/third_party/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
D | TestCharset.java | 16 import java.nio.charset.Charset; 48 Charset cs1 = icu.charsetForName("UTF-16BE"); in TestUTF16Converter() 52 Charset cs2 = icu.charsetForName("UTF-16LE"); in TestUTF16Converter() 141 Charset cs1 = icu.charsetForName("UTF-32BE"); in TestUTF32Converter() 145 Charset cs2 = icu.charsetForName("UTF-32LE"); in TestUTF32Converter() 230 Charset icuChar = icu.charsetForName(converter); in runTestASCIIBasedConverter() 484 Charset icuChar = icu.charsetForName(converter); in TestUTF8Converter() 630 Charset icuChar = icu.charsetForName(converter); in TestHZ() 731 Charset icuChar = icu.charsetForName(converter); in TestUTF8Surrogates() 815 Charset icuChar = icu.charsetForName(converter); in TestSurrogateBehavior() [all …]
|
D | TestSelection.java | 24 import java.nio.charset.Charset; 104 Charset testCharset = CharsetICU.forNameICU(enc); in verifyResultUTF16()
|
/third_party/libphonenumber/tools/java/cpp-build/src/com/google/i18n/phonenumbers/ |
D | BuildMetadataCppFromXml.java | 28 import java.nio.charset.Charset; 219 private static final Charset UTF_8 = Charset.forName("UTF-8");
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-cff1-table.hh | 436 struct Charset { struct 454 bool serialize (hb_serialize_context_t *c, const Charset &src, unsigned int num_glyphs) in serialize() argument 458 Charset *dest = c->allocate_size<Charset> (size); in serialize() 471 Charset *dest = c->extend_min (*this); in serialize() 1032 charset = &Null(Charset); in init() 1035 charset = &StructAtOffsetOrNull<Charset> (cff, topDict.CharsetOffset); in init() 1036 if (unlikely ((charset == &Null (Charset)) || !charset->sanitize (&sc))) { fini (); return; } in init() 1145 if (charset != &Null(Charset)) in std_code_to_glyph() 1157 const Charset *charset; 1191 if (unlikely (charset == &Null(Charset))) { fini (); return; } in init() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-cff1-table.hh | 440 struct Charset struct 443 bool serialize (hb_serialize_context_t *c, const Charset &src, unsigned int num_glyphs) in serialize() argument 447 Charset *dest = c->allocate_size<Charset> (size); in serialize() 460 Charset *dest = c->extend_min (this); in serialize() 1036 charset = &Null (Charset); in init() 1039 charset = &StructAtOffsetOrNull<Charset> (cff, topDict.CharsetOffset); in init() 1040 if (unlikely ((charset == &Null (Charset)) || !charset->sanitize (&sc))) { fini (); return; } in init() 1063 if (unlikely (charset == &Null (Charset))) { fini (); return; } in init() 1164 if (charset != &Null (Charset)) in std_code_to_glyph() 1199 if (charset != &Null (Charset)) in glyph_to_sid() [all …]
|
/third_party/harfbuzz/src/ |
D | hb-ot-cff1-table.hh | 440 struct Charset struct 443 bool serialize (hb_serialize_context_t *c, const Charset &src, unsigned int num_glyphs) in serialize() argument 447 Charset *dest = c->allocate_size<Charset> (size); in serialize() 460 Charset *dest = c->extend_min (*this); in serialize() 1035 charset = &Null (Charset); in init() 1038 charset = &StructAtOffsetOrNull<Charset> (cff, topDict.CharsetOffset); in init() 1039 if (unlikely ((charset == &Null (Charset)) || !charset->sanitize (&sc))) { fini (); return; } in init() 1062 if (unlikely (charset == &Null (Charset))) { fini (); return; } in init() 1163 if (charset != &Null (Charset)) in std_code_to_glyph() 1198 if (charset != &Null (Charset)) in glyph_to_sid() [all …]
|
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/ |
D | MetadataFilterCoverageTest.java | 23 import java.nio.charset.Charset; 38 Charset.forName("UTF-8")));
|
/third_party/libphonenumber/tools/java/cpp-build/test/com/google/i18n/phonenumbers/ |
D | BuildMetadataCppFromXmlTest.java | 33 import java.nio.charset.Charset; 143 private static final Charset UTF_8 = Charset.forName("UTF-8");
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Internal.java | 36 import java.nio.charset.Charset; 58 static final Charset UTF_8 = Charset.forName("UTF-8"); 59 static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
|
D | ByteString.java | 47 import java.nio.charset.Charset; 450 public static ByteString copyFrom(String text, Charset charset) { in copyFrom() 784 return toString(Charset.forName(charsetName)); in toString() 799 public final String toString(Charset charset) { in toString() 809 protected abstract String toStringInternal(Charset charset); in toStringInternal() 1396 protected final String toStringInternal(Charset charset) { in toStringInternal()
|
/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/buildtools/ |
D | GenerateTimeZonesMapData.java | 31 import java.nio.charset.Charset; 68 new BufferedInputStream(input), Charset.forName("UTF-8"))); in parseTextFile()
|
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/testutils/ |
D | TestUtils.java | 33 import java.nio.charset.Charset; 163 Charset cs = CharsetICU.forNameICU(charsetName); in getEncoder()
|
/third_party/flutter/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/testutils/ |
D | TestUtils.java | 33 import java.nio.charset.Charset; 163 Charset cs = CharsetICU.forNameICU(charsetName); in getEncoder()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/ |
D | XCldrStub.java | 11 import java.nio.charset.Charset; 380 public static final Charset UTF8 = Charset.forName("utf-8"); 386 public static BufferedReader openFile(Class<?> class1, String file, Charset charset) { in openFile()
|