/libcore/ojluni/src/main/java/sun/util/locale/ |
D | BaseLocale.java | 59 this.language = (language != null) ? LocaleUtils.toLowerString(language).intern() : ""; in BaseLocale() 60 this.script = (script != null) ? LocaleUtils.toTitleString(script).intern() : ""; in BaseLocale() 61 this.region = (region != null) ? LocaleUtils.toUpperString(region).intern() : ""; in BaseLocale() 62 this.variant = (variant != null) ? variant.intern() : ""; in BaseLocale() 180 assert language.intern() == language in Key() 181 && region.intern() == region; in Key() 285 String lang = LocaleUtils.toLowerString(key.lang.get()).intern(); in normalize() 286 String scrt = LocaleUtils.toTitleString(key.scrt.get()).intern(); in normalize() 287 String regn = LocaleUtils.toUpperString(key.regn.get()).intern(); in normalize() 288 String vart = key.vart.get().intern(); // preserve upper/lower cases in normalize()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X500Name.java | 1136 static ObjectIdentifier intern(ObjectIdentifier oid) { in intern() method in X500Name 1191 commonName_oid = intern(ObjectIdentifier.newInternal(commonName_data)); 1196 SERIALNUMBER_OID = intern(ObjectIdentifier.newInternal(SERIALNUMBER_DATA)); 1199 countryName_oid = intern(ObjectIdentifier.newInternal(countryName_data)); 1202 localityName_oid = intern(ObjectIdentifier.newInternal(localityName_data)); 1205 orgName_oid = intern(ObjectIdentifier.newInternal(orgName_data)); 1208 orgUnitName_oid = intern(ObjectIdentifier.newInternal(orgUnitName_data)); 1211 stateName_oid = intern(ObjectIdentifier.newInternal(stateName_data)); 1214 streetAddress_oid = intern(ObjectIdentifier.newInternal(streetAddress_data)); 1217 title_oid = intern(ObjectIdentifier.newInternal(title_data)); [all …]
|
D | X509CRLImpl.java | 1235 return X509Factory.intern(crl); in toImpl()
|
D | AVA.java | 624 oid = X500Name.intern(derval.data.getOID()); in AVA()
|
D | X509CertImpl.java | 1935 return X509Factory.intern(cert); in toImpl()
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | ParserAdapter.java | 490 contentHandler.startElement("", "", qName.intern(), in startElement() 561 attQName.intern(), type, value); in startElement() 564 attQName.intern(), type, value); in startElement() 615 contentHandler.endElement("", "", qName.intern()); in endElement() 753 parts[2] = qName.intern(); in processName() 949 return qAtts.getName(i).intern(); in getQName() 961 return qAtts.getType(i).intern(); in getType() 1031 return qAtts.getType(qName).intern(); in getType()
|
D | NamespaceSupport.java | 616 prefix = prefix.intern(); in declarePrefix() 617 uri = uri.intern(); in declarePrefix() 671 name[2] = qName.intern(); in processName() 705 name[1] = local.intern(); in processName()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/provider/ |
D | X509Factory.java | 38 public static synchronized sun.security.x509.X509CertImpl intern( in intern() method in X509Factory 44 public static synchronized sun.security.x509.X509CRLImpl intern(java.security.cert.X509CRL c) in intern() method in X509Factory
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamField.java | 94 signature = getClassSignature(type).intern(); in ObjectStreamField() 107 this.signature = signature.intern(); in ObjectStreamField() 140 signature = getClassSignature(ftype).intern(); in ObjectStreamField()
|
/libcore/luni/src/test/etc/loading-test-jar/ |
D | TestMethods.java | 132 assertSame("Muffins are tasty!\n", s.intern()); in test_getResourceAsStream() 188 assertSame("Who doesn't like a good biscuit?\n", s.intern()); in test_diff_getResourceAsStream()
|
/libcore/ojluni/src/main/java/sun/security/provider/ |
D | X509Factory.java | 151 public static synchronized X509CertImpl intern(X509Certificate c) in intern() method in X509Factory 187 public static synchronized X509CRLImpl intern(X509CRL c) in intern() method in X509Factory
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | StringEqualsBenchmark.java | 190 Assert.assertSame("abc", "abc".intern()); in setUp() 191 Assert.assertSame("abc", new String("abc").intern()); in setUp()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | X509CertificatePair.java | 242 forward = X509Factory.intern in parse() 253 reverse = X509Factory.intern in parse()
|
/libcore/ojluni/src/main/java/java/security/ |
D | Provider.java | 901 private ServiceKey(String type, String algorithm, boolean intern) { in ServiceKey() argument 905 this.algorithm = intern ? algorithm.intern() : algorithm; in ServiceKey() 990 String aliasAlg = typeAndAlg[1].intern(); in parseLegacyPut() 1010 String stdAlg = typeAndAlg[1].intern(); in parseLegacyPut() 1026 String stdAlg = attributeString.substring(0, i).intern(); in parseLegacyPut() 1032 attributeName = attributeName.intern(); in parseLegacyPut()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | AbstractMapTest.java | 39 static final String specialKey = "specialKey".intern(); 41 static final String specialValue = "specialValue".intern();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | String2Test.java | 576 assertTrue("Intern returned incorrect result", hw1.intern() == hw2 in test_intern() 577 .intern()); in test_intern()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | GenericSignatureParser.java | 264 String name = identifier.intern(); // FIXME: is this o.k.? in parseFormalTypeParameter()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | Attributes.java | 467 this.name = name.intern(); in Name()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | String.java | 445 public native java.lang.String intern(); in intern() method in String
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | String.annotated.java | 204 @libcore.util.NonNull public native java.lang.String intern(); in intern() method in String
|
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/ |
D | X500Name.java | 282 static sun.security.util.ObjectIdentifier intern(sun.security.util.ObjectIdentifier oid) { in intern() method in X500Name
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CRLTest.java | 176 X509CRLImpl interned = X509Factory.intern(crlRsa); in test_X509CRLImpl_verify()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringTest.java | 188 String programmatic = Arrays.asList("5058", "9962", "1563", "5744").toString().intern(); in testInternBeforeLiteralIsLoaded()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | String.java | 3103 public native String intern(); in intern() method in String
|