Home
last modified time | relevance | path

Searched refs:intern (Results 1 – 25 of 25) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/locale/
DBaseLocale.java59 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/
DX500Name.java1136 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 …]
DX509CRLImpl.java1235 return X509Factory.intern(crl); in toImpl()
DAVA.java624 oid = X500Name.intern(derval.data.getOID()); in AVA()
DX509CertImpl.java1935 return X509Factory.intern(cert); in toImpl()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DParserAdapter.java492 contentHandler.startElement("", "", qName.intern(), in startElement()
563 attQName.intern(), type, value); in startElement()
566 attQName.intern(), type, value); in startElement()
617 contentHandler.endElement("", "", qName.intern()); in endElement()
755 parts[2] = qName.intern(); in processName()
951 return qAtts.getName(i).intern(); in getQName()
963 return qAtts.getType(i).intern(); in getType()
1033 return qAtts.getType(qName).intern(); in getType()
DNamespaceSupport.java616 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/
DX509Factory.java36 public static synchronized sun.security.x509.X509CertImpl intern( in intern() method in X509Factory
42 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/
DObjectStreamField.java94 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/
DTestMethods.java132 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/
DX509Factory.java151 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/
DStringEqualsBenchmark.java190 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/
DX509CertificatePair.java242 forward = X509Factory.intern in parse()
253 reverse = X509Factory.intern in parse()
/libcore/ojluni/src/main/java/java/security/
DProvider.java901 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/
DAbstractMapTest.java39 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/
DString2Test.java576 assertTrue("Intern returned incorrect result", hw1.intern() == hw2 in test_intern()
577 .intern()); in test_intern()
/libcore/luni/src/main/java/libcore/reflect/
DGenericSignatureParser.java264 String name = identifier.intern(); // FIXME: is this o.k.? in parseFormalTypeParameter()
/libcore/ojluni/src/main/java/java/util/jar/
DAttributes.java466 this.name = name.intern(); in Name()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DString.java445 public native java.lang.String intern(); in intern() method in String
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DString.annotated.java204 @libcore.util.NonNull public native java.lang.String intern(); in intern() method in String
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DX500Name.java278 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/
DX509CRLTest.java171 X509CRLImpl interned = X509Factory.intern(crlRsa); in test_X509CRLImpl_verify()
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java187 String programmatic = Arrays.asList("5058", "9962", "1563", "5744").toString().intern(); in testInternBeforeLiteralIsLoaded()
/libcore/ojluni/src/main/java/java/lang/
DString.java3103 public native String intern(); in intern() method in String
/libcore/ojluni/src/main/java/java/util/
DLocale.java2682 language = LocaleUtils.toLowerString(language).intern(); in convertOldISOCodes()