OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:icuCanonicalName
(Results
1 - 4
of
4
) sorted by null
/libcore/luni/src/main/java/java/nio/charset/
CharsetICU.java
15
private final String
icuCanonicalName
;
19
icuCanonicalName
= icuCanonName;
23
return CharsetDecoderICU.newInstance(this,
icuCanonicalName
);
27
return CharsetEncoderICU.newInstance(this,
icuCanonicalName
);
CharsetEncoderICU.java
66
public static CharsetEncoderICU newInstance(Charset cs, String
icuCanonicalName
) {
71
address = NativeConverter.openConverter(
icuCanonicalName
);
74
byte[] replacement = makeReplacement(
icuCanonicalName
, address);
85
private static byte[] makeReplacement(String
icuCanonicalName
, long address) {
87
byte[] replacement = DEFAULT_REPLACEMENTS.get(
icuCanonicalName
);
CharsetDecoderICU.java
51
public static CharsetDecoderICU newInstance(Charset cs, String
icuCanonicalName
) {
56
address = NativeConverter.openConverter(
icuCanonicalName
);
/libcore/luni/src/main/native/
libcore_icu_NativeConverter.cpp
238
static jstring getJavaCanonicalName(JNIEnv* env, const char*
icuCanonicalName
) {
243
if ((cName = ucnv_getStandardName(
icuCanonicalName
, "MIME", &status)) != NULL) {
245
} else if ((cName = ucnv_getStandardName(
icuCanonicalName
, "IANA", &status)) != NULL) {
251
int32_t aliasCount = ucnv_countAliases(
icuCanonicalName
, &status);
253
const char* name = ucnv_getAlias(
icuCanonicalName
, i, &status);
261
const char* name = ucnv_getStandardName(
icuCanonicalName
, "UTR22", &status);
262
if (name == NULL && strchr(
icuCanonicalName
, ',') != NULL) {
263
name = ucnv_getAlias(
icuCanonicalName
, 1, &status);
267
name =
icuCanonicalName
;
295
static jobjectArray getAliases(JNIEnv* env, const char*
icuCanonicalName
) {
[
all
...]
Completed in 85 milliseconds