/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetProviderICU.java | 52 public final Charset charsetForName(String charsetName){ in charsetForName() argument 56 if (charsetName.endsWith(UConverterConstants.OPTION_SWAP_LFNL_STRING)) { in charsetForName() 59 … charsetName = charsetName.substring(0, charsetName.length() - optionsString.length()); in charsetForName() 62 String icuCanonicalName = getICUCanonicalName(charsetName); in charsetForName() 68 icuCanonicalName = charsetName; in charsetForName() 89 public final Charset charsetForName(String charsetName, String classPath) { in charsetForName() argument 90 return charsetForName(charsetName, classPath, null); in charsetForName() 102 public Charset charsetForName(String charsetName, String classPath, ClassLoader loader) { in charsetForName() argument 105 cs = new CharsetMBCS(charsetName, charsetName, new String[0], classPath, loader); in charsetForName() 176 public static String getJavaCanonicalName(String charsetName){ in getJavaCanonicalName() argument [all …]
|
D | CharsetICU.java | 261 …public static Charset forNameICU(String charsetName) throws IllegalCharsetNameException, Unsupport… in forNameICU() argument 263 CharsetICU cs = (CharsetICU) icuProvider.charsetForName(charsetName); in forNameICU() 267 return Charset.forName(charsetName); in forNameICU()
|
/external/sl4a/Common/src/org/apache/commons/codec/binary/ |
D | StringUtils.java | 150 public static byte[] getBytesUnchecked(String string, String charsetName) { in getBytesUnchecked() argument 155 return string.getBytes(charsetName); in getBytesUnchecked() 157 throw StringUtils.newIllegalStateException(charsetName, e); in getBytesUnchecked() 161 …private static IllegalStateException newIllegalStateException(String charsetName, UnsupportedEncod… in newIllegalStateException() argument 162 return new IllegalStateException(charsetName + ": " + e); in newIllegalStateException() 183 public static String newString(byte[] bytes, String charsetName) { in newString() argument 188 return new String(bytes, charsetName); in newString() 190 throw StringUtils.newIllegalStateException(charsetName, e); in newString()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | ZipEncodingHelper.java | 71 static boolean isUTF8(String charsetName) { in isUTF8() argument 72 if (charsetName == null) { in isUTF8() 74 charsetName = Charset.defaultCharset().name(); in isUTF8() 76 if (StandardCharsets.UTF_8.name().equalsIgnoreCase(charsetName)) { in isUTF8() 80 if (alias.equalsIgnoreCase(charsetName)) { in isUTF8()
|
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/ |
D | ByteStringMicro.java | 100 public static ByteStringMicro copyFrom(final String text, final String charsetName) in copyFrom() argument 102 return new ByteStringMicro(text.getBytes(charsetName)); in copyFrom() 158 public String toString(final String charsetName) in toString() argument 160 return new String(bytes, charsetName); in toString()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/arj/ |
D | ArjArchiveInputStream.java | 46 private final String charsetName; field in ArjArchiveInputStream 59 final String charsetName) throws ArchiveException { in ArjArchiveInputStream() argument 61 this.charsetName = charsetName; in ArjArchiveInputStream() 115 if (charsetName != null) { in readString() 116 return new String(buffer.toByteArray(), charsetName); in readString()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/ |
D | StreamProvider.java | 39 public StreamProvider(InputStream stream, String charsetName) throws IOException { in StreamProvider() argument 40 _reader = new BufferedReader(new InputStreamReader(stream, charsetName)); in StreamProvider()
|
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/ |
D | StreamProvider.java | 47 public StreamProvider(InputStream stream, String charsetName) throws IOException { in StreamProvider() argument 48 _reader = new BufferedReader(new InputStreamReader(stream, charsetName)); in StreamProvider()
|
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/charset/ |
D | CharsetICU.java | 28 public static Charset charsetForName(String charsetName) { in charsetForName() argument 29 return NativeConverter.charsetForName(charsetName); in charsetForName()
|
D | NativeConverter.java | 30 /* package */ static native long openConverter(String charsetName); in openConverter() argument 50 /* package */ static native Charset charsetForName(String charsetName); in charsetForName() argument
|
/external/guava/guava-tests/benchmark/com/google/common/io/ |
D | ByteSourceAsCharSourceReadBenchmark.java | 101 String charsetName; field in ByteSourceAsCharSourceReadBenchmark 113 charset = Charset.forName(charsetName); in setUp()
|
/external/guava/android/guava-tests/benchmark/com/google/common/io/ |
D | ByteSourceAsCharSourceReadBenchmark.java | 101 String charsetName; field in ByteSourceAsCharSourceReadBenchmark 113 charset = Charset.forName(charsetName); in setUp()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/comments/ |
D | CommentsParser.java | 48 …public CommentsCollection parse(final InputStream in, final String charsetName) throws IOException… in parse() argument 50 BufferedReader br = new BufferedReader(new InputStreamReader(in, charsetName)); in parse()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ByteString.java | 428 public static ByteString copyFrom(String text, String charsetName) in copyFrom() argument 430 return new LiteralByteString(text.getBytes(charsetName)); in copyFrom() 773 public final String toString(String charsetName) throws UnsupportedEncodingException { in toString() argument 775 return toString(Charset.forName(charsetName)); in toString() 777 UnsupportedEncodingException exception = new UnsupportedEncodingException(charsetName); in toString()
|
/external/sfntly/cpp/src/test/ |
D | test_utils.h | 97 static UConverter* GetEncoder(const char* charsetName);
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/ |
D | com_github_javaparser_ast_comments_CommentsParser.txt | 10 …Line 50) BufferedReader br = new BufferedReader(new InputStreamReader(in, charsetName)) ==> java.i… 11 Line 50) new BufferedReader(new InputStreamReader(in, charsetName)) ==> java.io.BufferedReader
|
/external/icu/android_icu4j/libcore_bridge/src/native/ |
D | com_android_icu_charset_NativeConverter.cpp | 596 static jobject NativeConverter_charsetForName(JNIEnv* env, jclass, jstring charsetName) { in NativeConverter_charsetForName() argument 597 ScopedUtfChars charsetNameChars(env, charsetName); in NativeConverter_charsetForName()
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/metadata/id3/ |
D | Id3Decoder.java | 821 private static String decodeStringIfValid(byte[] data, int from, int to, String charsetName) in decodeStringIfValid() argument 826 return new String(data, from, to - from, charsetName); in decodeStringIfValid()
|
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
D | TestCharset.java | 2722 String charsetName = null; in TestCharsetICUNullCharsetName() local 2725 CharsetICU.forNameICU(charsetName); in TestCharsetICUNullCharsetName() 5091 String charsetName = "test4"; in TestCharsetTestData() local 5093 …Charset charset = ((CharsetProviderICU)provider).charsetForName(charsetName, "com/ibm/icu/dev/data… in TestCharsetTestData() 5114 errln("Error occurred while decoding: " + charsetName + " with error: " + result); in TestCharsetTestData() 5120 errln("Error occurred while decoding: " + charsetName + " with error: " + result); in TestCharsetTestData() 5126 errln("Error occurred while decoding: " + charsetName + " with error: " + result); in TestCharsetTestData() 5142 errln("Error occurred while encoding: " + charsetName + " with error: " + result); in TestCharsetTestData() 5147 errln("Error occurred while encoding: " + charsetName + " with error: " + result); in TestCharsetTestData() 5152 errln("Error should have occurred while encoding: " + charsetName); in TestCharsetTestData() [all …]
|