Home
last modified time | relevance | path

Searched refs:canonical (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/test/java/lang/String/
DLiteralReplace.java52 String canonical = canonicalReplace(source, target, replacement); in testExpected() local
53 if (!canonical.equals(expected)) { in testExpected()
54 fail("Canonical: " + canonical + " != " + expected); in testExpected()
63 String canonical = canonicalReplace(source, target, replacement); in testCanonical() local
64 test0(source, target, replacement, canonical); in testCanonical()
/libcore/ojluni/src/main/java/sun/security/x509/
DRDN.java416 public String toRFC2253String(boolean canonical) { in toRFC2253String() argument
417 if (canonical == false) { in toRFC2253String()
431 (boolean canonical, Map<String, String> oidMap) { in toRFC2253StringInternal() argument
444 return canonical ? assertion[0].toRFC2253CanonicalString() : in toRFC2253StringInternal()
449 if (canonical) { in toRFC2253StringInternal()
457 sj.add(canonical ? ava.toRFC2253CanonicalString() in toRFC2253StringInternal()
DAVA.java1029 private static boolean isDerString(DerValue value, boolean canonical) { in isDerString() argument
1030 if (canonical) { in isDerString()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/
DX500PrincipalTest.java308 String canonical = principal.getName(X500Principal.CANONICAL); in test_getNameLjava_lang_String() local
311 canonical); in test_getNameLjava_lang_String()
2575 String canonical = (String) obj[3]; in testValidDN() local
2603 if (canonical != null) { in testValidDN()
2604 if (!canonical.equals(p.getName(X500Principal.CANONICAL))) { in testValidDN()
2609 errorMsg.append("\t\texpected: '" + canonical + "'"); in testValidDN()
3003 String canonical = (String) values[3]; in testValidEncoding() local
3028 if (!canonical.equals(p.getName(X500Principal.CANONICAL))) { in testValidEncoding()
3031 errorMsg.append("\t\texpected: " + canonical + "'"); in testValidEncoding()
3064 String canonical) { in add() argument
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DRDN.java118 public java.lang.String toRFC2253String(boolean canonical) { in toRFC2253String() argument
123 boolean canonical, java.util.Map<java.lang.String, java.lang.String> oidMap) { in toRFC2253StringInternal() argument
DAVA.java167 private static boolean isDerString(sun.security.util.DerValue value, boolean canonical) { in isDerString() argument
/libcore/luni/src/test/java/libcore/java/util/
DTimeZoneTest.java407 TimeZone canonical = TimeZone.getTimeZone("Europe/London"); in testDisplayNameForNonCanonicalTimezones() local
411 assertTrue(canonical.hasSameRules(nonCanonical)); in testDisplayNameForNonCanonicalTimezones()
413 assertEquals(canonical.getDisplayName(true, TimeZone.LONG, Locale.ENGLISH), in testDisplayNameForNonCanonicalTimezones()