Searched refs:canonicalName (Results 1 – 8 of 8) sorted by relevance
/libcore/luni/src/main/java/java/nio/charset/ |
D | Charset.java | 160 private final String canonicalName; field in Charset 177 protected Charset(String canonicalName, String[] aliases) { in Charset() argument 179 checkCharsetName(canonicalName); in Charset() 180 this.canonicalName = canonicalName; in Charset() 247 String canonicalName = cs.name(); in cacheCharset() local 248 Charset canonicalCharset = CACHED_CHARSETS.get(canonicalName); in cacheCharset() 254 CACHED_CHARSETS.put(canonicalName, canonicalCharset); in cacheCharset() 383 return this.canonicalName; in name() 400 return this.canonicalName; in displayName() 410 return this.canonicalName; in displayName() [all …]
|
D | CharsetICU.java | 17 protected CharsetICU(String canonicalName, String icuCanonName, String[] aliases) { in CharsetICU() argument 18 super(canonicalName, aliases); in CharsetICU()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | AbstractCharsetTestCase.java | 32 protected final String canonicalName; field in AbstractCharsetTestCase 53 this.testingCharset = Charset.forName(this.canonicalName); in setUp() 67 public AbstractCharsetTestCase(String arg0, String canonicalName, in AbstractCharsetTestCase() argument 70 this.canonicalName = canonicalName; in AbstractCharsetTestCase() 94 assertEquals(this.canonicalName, this.testingCharset.name()); in testName() 106 assertEquals(this.canonicalName, c.name()); in testAliases()
|
D | CharsetEncoder2Test.java | 123 public MockMalfunctionCharset(String canonicalName, String[] aliases) { in MockMalfunctionCharset() argument 124 super(canonicalName, aliases); in MockMalfunctionCharset()
|
D | CharsetDecoder2Test.java | 133 public MockMalfunctionCharset(String canonicalName, String[] aliases) { in MockMalfunctionCharset() argument 134 super(canonicalName, aliases); in MockMalfunctionCharset()
|
D | CharsetTest.java | 757 public MockCharset(String canonicalName, String[] aliases) { 758 super(canonicalName, aliases); 775 public MockCharset2(String canonicalName, String[] aliases) { 776 super(canonicalName, aliases);
|
/libcore/luni/src/main/native/ |
D | libcore_icu_NativeConverter.cpp | 64 static bool collectStandardNames(JNIEnv* env, const char* canonicalName, const char* standard, in collectStandardNames() argument 67 UStringEnumeration e(ucnv_openStandardNames(canonicalName, standard, &status)); in collectStandardNames() 94 const char* canonicalName = NULL; in getICUCanonicalName() local 95 if ((canonicalName = ucnv_getCanonicalName(name, "MIME", &error)) != NULL) { in getICUCanonicalName() 96 return canonicalName; in getICUCanonicalName() 97 } else if ((canonicalName = ucnv_getCanonicalName(name, "IANA", &error)) != NULL) { in getICUCanonicalName() 98 return canonicalName; in getICUCanonicalName() 99 } else if ((canonicalName = ucnv_getCanonicalName(name, "", &error)) != NULL) { in getICUCanonicalName() 100 return canonicalName; in getICUCanonicalName() 101 } else if ((canonicalName = ucnv_getAlias(name, 0, &error)) != NULL) { in getICUCanonicalName() [all …]
|
/libcore/luni/src/main/java/javax/security/auth/x500/ |
D | X500Principal.java | 152 private transient String canonicalName; field in X500Principal 154 if (canonicalName == null) { in getCanonicalName() 155 canonicalName = dn.getName(CANONICAL); in getCanonicalName() 157 return canonicalName; in getCanonicalName()
|