Searched refs:icuCanonicalName (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/main/java/java/nio/charset/ |
D | CharsetICU.java | 18 private final String icuCanonicalName; field in CharsetICU 22 icuCanonicalName = icuCanonName; in CharsetICU() 26 return CharsetDecoderICU.newInstance(this, icuCanonicalName); in newDecoder() 30 return CharsetEncoderICU.newInstance(this, icuCanonicalName); in newEncoder()
|
D | CharsetEncoderICU.java | 67 public static CharsetEncoderICU newInstance(Charset cs, String icuCanonicalName) { in newInstance() argument 73 address = NativeConverter.openConverter(icuCanonicalName); in newInstance() 76 byte[] replacement = makeReplacement(icuCanonicalName, address); in newInstance() 90 private static byte[] makeReplacement(String icuCanonicalName, long address) { in makeReplacement() argument 92 byte[] replacement = DEFAULT_REPLACEMENTS.get(icuCanonicalName); in makeReplacement()
|
D | CharsetDecoderICU.java | 52 public static CharsetDecoderICU newInstance(Charset cs, String icuCanonicalName) { in newInstance() argument 58 address = NativeConverter.openConverter(icuCanonicalName); in newInstance()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_NativeConverter.cpp | 124 static jstring getJavaCanonicalName(JNIEnv* env, const char* icuCanonicalName) { in getJavaCanonicalName() argument 129 if ((cName = ucnv_getStandardName(icuCanonicalName, "MIME", &status)) != NULL) { in getJavaCanonicalName() 131 } else if ((cName = ucnv_getStandardName(icuCanonicalName, "IANA", &status)) != NULL) { in getJavaCanonicalName() 137 int32_t aliasCount = ucnv_countAliases(icuCanonicalName, &status); in getJavaCanonicalName() 139 const char* name = ucnv_getAlias(icuCanonicalName, i, &status); in getJavaCanonicalName() 147 const char* name = ucnv_getStandardName(icuCanonicalName, "UTR22", &status); in getJavaCanonicalName() 148 if (name == NULL && strchr(icuCanonicalName, ',') != NULL) { in getJavaCanonicalName() 149 name = ucnv_getAlias(icuCanonicalName, 1, &status); in getJavaCanonicalName() 153 name = icuCanonicalName; in getJavaCanonicalName() 164 static char const * getVersionedIcuCanonicalName(char const * icuCanonicalName) { in getVersionedIcuCanonicalName() argument [all …]
|