/external/guava/android/guava/src/com/google/common/base/ |
D | Charsets.java | 19 import java.nio.charset.Charset; 45 public static final Charset US_ASCII = Charset.forName("US-ASCII"); 54 public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1"); 63 public static final Charset UTF_8 = Charset.forName("UTF-8"); 73 public static final Charset UTF_16BE = Charset.forName("UTF-16BE"); 83 public static final Charset UTF_16LE = Charset.forName("UTF-16LE"); 94 public static final Charset UTF_16 = Charset.forName("UTF-16");
|
/external/guava/guava/src/com/google/common/base/ |
D | Charsets.java | 19 import java.nio.charset.Charset; 45 public static final Charset US_ASCII = Charset.forName("US-ASCII"); 54 public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1"); 63 public static final Charset UTF_8 = Charset.forName("UTF-8"); 73 public static final Charset UTF_16BE = Charset.forName("UTF-16BE"); 83 public static final Charset UTF_16LE = Charset.forName("UTF-16LE"); 94 public static final Charset UTF_16 = Charset.forName("UTF-16");
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/ |
D | Charsets.java | 21 import java.nio.charset.Charset; 72 public static Charset toCharset(final Charset charset) { in toCharset() 73 return charset == null ? Charset.defaultCharset() : charset; in toCharset() 87 public static Charset toCharset(final String charset) { in toCharset() 88 return charset == null ? Charset.defaultCharset() : Charset.forName(charset); in toCharset() 100 public static final Charset ISO_8859_1 = StandardCharsets.ISO_8859_1; 113 public static final Charset US_ASCII = StandardCharsets.US_ASCII; 127 public static final Charset UTF_16 = StandardCharsets.UTF_16; 140 public static final Charset UTF_16BE = StandardCharsets.UTF_16BE; 153 public static final Charset UTF_16LE = StandardCharsets.UTF_16LE; [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/ |
D | CharsetsTest.java | 20 import java.nio.charset.Charset; 34 Assert.assertEquals(Charset.defaultCharset(), Charsets.toCharset((String) null)); in testToCharset() 35 Assert.assertEquals(Charset.defaultCharset(), Charsets.toCharset((Charset) null)); in testToCharset() 36 Assert.assertEquals(Charset.defaultCharset(), Charsets.toCharset(Charset.defaultCharset())); in testToCharset() 37 Assert.assertEquals(Charset.forName("UTF-8"), Charsets.toCharset(Charset.forName("UTF-8"))); in testToCharset()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/fakes/ |
D | RoboCharsets.java | 3 import java.nio.charset.Charset; 10 public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1"); 15 public static final Charset US_ASCII = Charset.forName("US-ASCII"); 20 public static final Charset UTF_8 = Charset.forName("UTF-8");
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/reader/ |
D | UnicodeReader.java | 45 import java.nio.charset.Charset; 54 private static final Charset UTF8 = Charset.forName("UTF-8"); 55 private static final Charset UTF16BE = Charset.forName("UTF-16BE"); 56 private static final Charset UTF16LE = Charset.forName("UTF-16LE"); 87 Charset encoding; in init()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | CharsetsTest.java | 21 import java.nio.charset.Charset; 35 assertEquals(Charset.forName("US-ASCII"), Charsets.US_ASCII); in testUsAscii() 40 assertEquals(Charset.forName("ISO-8859-1"), Charsets.ISO_8859_1); in testIso88591() 44 assertEquals(Charset.forName("UTF-8"), Charsets.UTF_8); in testUtf8() 49 assertEquals(Charset.forName("UTF-16BE"), Charsets.UTF_16BE); in testUtf16be() 54 assertEquals(Charset.forName("UTF-16LE"), Charsets.UTF_16LE); in testUtf16le() 59 assertEquals(Charset.forName("UTF-16"), Charsets.UTF_16); in testUtf16()
|
/external/guava/android/guava-tests/test/com/google/common/base/ |
D | CharsetsTest.java | 21 import java.nio.charset.Charset; 35 assertEquals(Charset.forName("US-ASCII"), Charsets.US_ASCII); in testUsAscii() 40 assertEquals(Charset.forName("ISO-8859-1"), Charsets.ISO_8859_1); in testIso88591() 44 assertEquals(Charset.forName("UTF-8"), Charsets.UTF_8); in testUtf8() 49 assertEquals(Charset.forName("UTF-16BE"), Charsets.UTF_16BE); in testUtf16be() 54 assertEquals(Charset.forName("UTF-16LE"), Charsets.UTF_16LE); in testUtf16le() 59 assertEquals(Charset.forName("UTF-16"), Charsets.UTF_16); in testUtf16()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | Providers.java | 25 import java.nio.charset.Charset; 36 public static final Charset UTF8 = Charset.forName("utf-8"); 45 public static Provider provider(InputStream input, Charset encoding) { in provider() 61 public static Provider provider(File file, Charset encoding) throws FileNotFoundException { in provider() 69 public static Provider provider(Path path, Charset encoding) throws IOException { in provider() 86 …public static Provider resourceProvider(ClassLoader classLoader, String pathToResource, Charset en… in resourceProvider() 98 …public static Provider resourceProvider(String pathToResource, Charset encoding) throws IOExceptio… in resourceProvider()
|
/external/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()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/ |
D | com_github_javaparser_Providers.txt | 1 Line 16) Charset.forName("utf-8") ==> java.nio.charset.Charset.forName(java.lang.String) 5 Line 29) encoding.name() ==> java.nio.charset.Charset.name() 6 …, UTF8) ==> com.github.javaparser.Providers.provider(java.io.InputStream, java.nio.charset.Charset) 7 …oding)) ==> com.github.javaparser.Providers.provider(java.io.InputStream, java.nio.charset.Charset) 10 …l(file), UTF8) ==> com.github.javaparser.Providers.provider(java.io.File, java.nio.charset.Charset) 12 …oding)) ==> com.github.javaparser.Providers.provider(java.io.InputStream, java.nio.charset.Charset) 16 …), UTF8) ==> com.github.javaparser.Providers.provider(java.nio.file.Path, java.nio.charset.Charset)
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ |
D | Providers.java | 4 import java.nio.charset.Charset; 16 public static final Charset UTF8 = Charset.forName("utf-8"); 25 public static Provider provider(InputStream input, Charset encoding) { in provider() 41 public static Provider provider(File file, Charset encoding) throws FileNotFoundException { in provider() 49 public static Provider provider(Path path, Charset encoding) throws IOException { in provider()
|
/external/guava/android/guava-tests/benchmark/com/google/common/io/ |
D | ByteSourceAsCharSourceReadBenchmark.java | 24 import java.nio.charset.Charset; 36 String read(ByteSource byteSource, Charset cs) throws IOException { in read() 42 String read(ByteSource byteSource, Charset cs) throws IOException { in read() 57 String read(ByteSource byteSource, Charset cs) throws IOException { in read() 97 abstract String read(ByteSource byteSource, Charset cs) throws IOException; in read() 108 Charset charset; 113 charset = Charset.forName(charsetName); in setUp() 129 final Charset localCharset = charset; in timeCopy()
|
/external/guava/guava-tests/benchmark/com/google/common/io/ |
D | ByteSourceAsCharSourceReadBenchmark.java | 24 import java.nio.charset.Charset; 36 String read(ByteSource byteSource, Charset cs) throws IOException { in read() 42 String read(ByteSource byteSource, Charset cs) throws IOException { in read() 57 String read(ByteSource byteSource, Charset cs) throws IOException { in read() 97 abstract String read(ByteSource byteSource, Charset cs) throws IOException; in read() 108 Charset charset; 113 charset = Charset.forName(charsetName); in setUp() 129 final Charset localCharset = charset; in timeCopy()
|
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/ |
D | Util.java | 24 import java.nio.charset.Charset; 28 static final Charset US_ASCII = Charset.forName("US-ASCII"); 29 static final Charset UTF_8 = Charset.forName("UTF-8");
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | ZipEncodingHelper.java | 22 import java.nio.charset.Charset; 55 Charset cs = Charset.defaultCharset(); in getZipEncoding() 58 cs = Charset.forName(name); in getZipEncoding() 74 charsetName = Charset.defaultCharset().name(); in isUTF8()
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/common/ |
D | FileUtil.java | 28 import java.nio.charset.Charset; 51 return loadLabels(context, filePath, Charset.defaultCharset()); in loadLabels() 69 @NonNull Context context, @NonNull String filePath, Charset cs) throws IOException { in loadLabels() 87 return loadLabels(inputStream, Charset.defaultCharset()); in loadLabels() 100 public static List<String> loadLabels(@NonNull InputStream inputStream, Charset cs) in loadLabels() 127 @NonNull Context context, @NonNull String filePath, Charset cs) throws IOException { in loadSingleColumnTextFile() 141 public static List<String> loadSingleColumnTextFile(@NonNull InputStream inputStream, Charset cs) in loadSingleColumnTextFile()
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
D | FinalHashCodeAndEqualsRaiseNPEInInitMocksTest.java | 12 import java.nio.charset.Charset; 16 @Mock private Charset charset; 26 private Charset charset; 30 public ConstructorCharsetHolder(Charset charset) { in ConstructorCharsetHolder()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | MediaType.java | 19 import java.nio.charset.Charset; 98 public Charset charset() { in charset() 99 return charset != null ? Charset.forName(charset) : null; in charset() 106 public Charset charset(Charset defaultValue) { in charset() 107 return charset != null ? Charset.forName(charset) : defaultValue; in charset()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | MediaType.java | 18 import java.nio.charset.Charset; 96 public Charset charset() { in charset() 97 return charset != null ? Charset.forName(charset) : null; in charset() 104 public Charset charset(Charset defaultValue) { in charset() 105 return charset != null ? Charset.forName(charset) : defaultValue; in charset()
|
/external/exoplayer/tree/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/offline/ |
D | HlsDownloadTestData.java | 19 import java.nio.charset.Charset; 52 .getBytes(Charset.forName(C.UTF8_NAME)); 67 .getBytes(Charset.forName(C.UTF8_NAME)); 86 .getBytes(Charset.forName(C.UTF8_NAME));
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
D | EncodingPreference.java | 7 import java.nio.charset.Charset; 20 for (Entry<String, Charset> entry : Charset.availableCharsets().entrySet()) { in EncodingPreference() 21 Charset c = entry.getValue(); in EncodingPreference()
|
/external/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);
|
/external/python/cpython3/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 …]
|
/external/guava/guava/src/com/google/common/hash/ |
D | Funnels.java | 21 import java.nio.charset.Charset; 84 public static Funnel<CharSequence> stringFunnel(Charset charset) { in stringFunnel() 89 private final Charset charset; 91 StringCharsetFunnel(Charset charset) { in StringCharsetFunnel() 126 SerializedForm(Charset charset) { in SerializedForm() 131 return stringFunnel(Charset.forName(charsetCanonicalName)); in readResolve()
|