Home
last modified time | relevance | path

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

123

/libcore/benchmarks/src/benchmarks/regression/
DIcuBenchmark.java51 ICU.toUpperCase(ASCII_LOWERCASE, Locale.US); in time_toUpperCaseAsciiUS()
65 ICU.toUpperCase(LAT_1_SUPPLEMENT, Locale.FRANCE); in time_toUpperCaseLat1SuplFr()
72 ICU.toUpperCase(LAT_EXTENDED_A, CZECH_LOCALE); in time_toUpperCaseLatExtACz()
79 ICU.toUpperCase(LAT_EXTENDED_B, PINYIN_LOCALE); in time_toUpperCaseLatExtBPinyin()
DStringCaseMappingBenchmark.java76 s.value.toUpperCase(Locale.US); in timeToUpperCase_US()
84 s.value.toUpperCase(el_GR); in timeToUpperCase_el_GR()
108 libcore.icu.ICU.toUpperCase(s.value, Locale.US); in timeToUpperCase_ICU()
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java210 assertEquals(LATIN_CAPITAL_I, LATIN_CAPITAL_I.toUpperCase(tr_TR)); in testCaseMapping_tr_TR()
211 … assertEquals(LATIN_CAPITAL_I_WITH_DOT_ABOVE, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toUpperCase(tr_TR)); in testCaseMapping_tr_TR()
212 assertEquals(LATIN_CAPITAL_I_WITH_DOT_ABOVE, LATIN_SMALL_I.toUpperCase(tr_TR)); in testCaseMapping_tr_TR()
214 assertEquals(LATIN_CAPITAL_I, LATIN_SMALL_DOTLESS_I.toUpperCase(tr_TR)); in testCaseMapping_tr_TR()
220 assertEquals(LATIN_CAPITAL_I, LATIN_SMALL_I.toUpperCase(en_US)); in testCaseMapping_en_US()
221 assertEquals(LATIN_CAPITAL_I, LATIN_CAPITAL_I.toUpperCase(en_US)); in testCaseMapping_en_US()
222 … assertEquals(LATIN_CAPITAL_I_WITH_DOT_ABOVE, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toUpperCase(en_US)); in testCaseMapping_en_US()
228 assertEquals(LATIN_CAPITAL_I, LATIN_SMALL_DOTLESS_I.toUpperCase(en_US)); in testCaseMapping_en_US()
236 assertEquals("ΟΔΟΣ ΟΔΟΣ ΣΟ ΣΟ OΣ ΟΣ Σ ΕΞ", "ΟΔΌΣ Οδός Σο ΣΟ oΣ ΟΣ σ ἕξ".toUpperCase(el_GR)); in testCaseMapping_el()
237 assertEquals("ΟΔΟΣ ΟΔΟΣ ΣΟ ΣΟ OΣ ΟΣ Σ ΕΞ", "ΟΔΌΣ Οδός Σο ΣΟ oΣ ΟΣ σ ἕξ".toUpperCase(el_GR)); in testCaseMapping_el()
[all …]
/libcore/luni/src/test/java/libcore/javax/crypto/
DKeyGeneratorTest.java84 algorithm = algorithm.toUpperCase(); in putKeySize()
93 algorithm = algorithm.toUpperCase(); in getKeySizes()
163 assertEquals(kg.getAlgorithm().toUpperCase(), sk.getAlgorithm().toUpperCase()); in test_SecretKey()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeParseContext.java224 if (ch1 != ch2 && Character.toUpperCase(ch1) != Character.toUpperCase(ch2) && in subSequenceEquals()
257 Character.toUpperCase(c1) == Character.toUpperCase(c2) || in charEqualsIgnoreCase()
/libcore/libart/src/main/java/java/lang/
DCaseMapper.java146 public static String toUpperCase(Locale locale, String s, int count) { in toUpperCase() method in CaseMapper
149 return ICU.toUpperCase(s, locale); in toUpperCase()
160 return ICU.toUpperCase(s, locale); in toUpperCase()
169 char upch = Character.toUpperCase(ch); in toUpperCase()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTestCase.java364 framework.assertEquals(this, assertID, expected.toUpperCase(), actual); in assertEqualsAutoCase()
377 private List toUpperCase(Collection expected) { in toUpperCase() method in DOMTestCase
381 upperd.add(iter.next().toString().toUpperCase()); in toUpperCase()
408 framework.assertEquals(this, assertID, toUpperCase(expected), actual); in assertEqualAutoCase()
439 framework.assertEquals(this, assertID, toUpperCase(expected), actual); in assertEqualsAutoCase()
586 framework.assertNotEquals(this, assertID, expected.toUpperCase(), in assertNotEqualsAutoCase()
836 return framework.equals(expected.toUpperCase(), actual); in equalsAutoCase()
858 return framework.equals(toUpperCase(expected), actual); in equalsAutoCase()
879 return framework.equals(toUpperCase(expected), actual); in equalsAutoCase()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyPairGenerator2Test.java205 .toUpperCase(), (mode <= 2 ? resAlg : alg).toUpperCase()); in GetInstance01()
266 .toUpperCase(), (mode <= 2 ? resAlg : alg).toUpperCase()); in GetInstance02()
313 .toUpperCase(), (mode <= 2 ? resAlg : alg).toUpperCase()); in GetInstance03()
DKeyPairGenerator1Test.java128 assertEquals("Incorrect algorithm ", kpg.getAlgorithm().toUpperCase(), in testKeyPairGenerator02()
129 algs[i].toUpperCase()); in testKeyPairGenerator02()
230 assertEquals("Incorrect algorithm", kpg.getAlgorithm().toUpperCase(), in testKeyPairGenerator06()
231 algs[i].toUpperCase()); in testKeyPairGenerator06()
300 assertEquals("Incorrect algorithm", kpg.getAlgorithm().toUpperCase(), in testKeyPairGenerator09()
301 algs[i].toUpperCase()); in testKeyPairGenerator09()
DSecurity2Test.java60 String aliasName = key.substring("ALG.ALIAS.".length()).toUpperCase(); in test_getProvidersLjava_lang_String()
97 return key.toUpperCase().startsWith("PROVIDER."); in isProviderData()
101 return key.toUpperCase().startsWith("ALG.ALIAS."); in isAlias()
105 String key = k.toUpperCase(); in addOrIncrementTable()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/
DMapTest.java89 map.replaceAll((k, v) -> {return v.toUpperCase();}); in testReplaceAll()
91 assertEquals(entry.getValue(), EXPECTED.get(entry.getKey()).toUpperCase()); in testReplaceAll()
DFillableStringTest.java39 .map(String::toUpperCase); in generate()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DEncryptedPrivateKeyInfoData.java1197 String algNameUC = algName.toUpperCase(); in getValidEncryptedPrivateKeyInfoEncoding()
1220 String algNameUC = algName.toUpperCase(); in getParametersEncoding()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyGeneratorTest.java87 validValues[1] = defaultAlgorithm.toUpperCase();
421 String dAl = defaultAlgorithm.toUpperCase(); in testGenerateKey()
428 .toUpperCase(), dAl); in testGenerateKey()
432 .toUpperCase(), dAl); in testGenerateKey()
436 .toUpperCase(), dAl); in testGenerateKey()
440 .toUpperCase(), dAl); in testGenerateKey()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DString2Test.java821 assertTrue("Returned string is not UpperCase", hwlc.toUpperCase() in test_toUpperCase()
824 assertEquals("Wrong conversion", "SS", "\u00df".toUpperCase()); in test_toUpperCase()
827 assertTrue("Invalid conversion", !s.toUpperCase().equals(s)); in test_toUpperCase()
830 "\uD801\uDC1C", "\uD801\uDC44".toUpperCase()); in test_toUpperCase()
839 assertTrue("Returned string is not UpperCase", hwlc.toUpperCase() in test_toUpperCaseLjava_util_Locale()
842 .toUpperCase(Locale.ENGLISH)); in test_toUpperCaseLjava_util_Locale()
844 .toUpperCase(new Locale("tr", ""))); in test_toUpperCaseLjava_util_Locale()
/libcore/ojluni/src/main/java/sun/security/x509/
DAVA.java286 int cVal = hexDigits.indexOf(Character.toUpperCase((char)c)); in parseHexString()
532 if (hexDigits.indexOf(Character.toUpperCase((char)c1)) >= 0) { in getEmbeddedHexPair()
536 if (hexDigits.indexOf(Character.toUpperCase((char)c2)) >= 0) { in getEmbeddedHexPair()
838 sbuffer.append(Character.toUpperCase(hexChar)); in toRFC2253String()
841 sbuffer.append(Character.toUpperCase(hexChar)); in toRFC2253String()
1017 canon = canon.toUpperCase(Locale.US).toLowerCase(Locale.US); in toRFC2253CanonicalString()
1144 sbuffer.append(Character.toUpperCase(hexChar)); in toKeywordValueString()
1147 sbuffer.append(Character.toUpperCase(hexChar)); in toKeywordValueString()
1238 keyword = keyword.toUpperCase(Locale.ENGLISH); in getOID()
DAlgorithmId.java571 return oidTable.get(name.toUpperCase(Locale.ENGLISH)); in algOID()
585 String upperCaseAlias = alias.toUpperCase(Locale.ENGLISH); in reinitializeMappingTableLocked()
597 stdAlgName = stdAlgName.toUpperCase(Locale.ENGLISH); in reinitializeMappingTableLocked()
631 stdAlgName = stdAlgName.toUpperCase(Locale.ENGLISH); in reinitializeMappingTableLocked()
1002 signatureAlgorithm = signatureAlgorithm.toUpperCase(Locale.ENGLISH); in getEncAlgFromSigAlg()
1024 signatureAlgorithm = signatureAlgorithm.toUpperCase(Locale.ENGLISH); in getDigAlgFromSigAlg()
/libcore/ojluni/src/main/java/sun/security/util/
DSignatureFileVerifier.java74 ("-DIGEST-" + ManifestDigester.MF_MAIN_ATTRS).toUpperCase
125 .toUpperCase(Locale.ENGLISH); in SignatureFileVerifier()
189 name = name.toUpperCase(Locale.ENGLISH); in isSigningRelated()
364 if (key.toUpperCase(Locale.ENGLISH).endsWith("-DIGEST-MANIFEST")) { in verifyManifestHash()
408 if (key.toUpperCase(Locale.ENGLISH).endsWith(ATTR_DIGEST)) { in verifyManifestMainAttrs()
483 if (key.toUpperCase(Locale.ENGLISH).endsWith("-DIGEST")) { in verifySection()
/libcore/luni/src/test/java/libcore/java/net/
DOldAndroidDatagramTest.java69 stringToPacket(s.toUpperCase(), packet); in run()
154 assertEquals(s.toUpperCase(), t); in testDatagram()
/libcore/ojluni/src/main/java/java/lang/
DString.java1147 c1 = Character.toUpperCase(c1); in compare()
1148 c2 = Character.toUpperCase(c2); in compare()
1311 char u1 = Character.toUpperCase(c1); in regionMatches()
1312 char u2 = Character.toUpperCase(c2); in regionMatches()
2640 public String toUpperCase(Locale locale) { in toUpperCase() method in String
2641 return CaseMapper.toUpperCase(locale, this, length()); in toUpperCase()
2663 public String toUpperCase() { in toUpperCase() method in String
2664 return toUpperCase(Locale.getDefault()); in toUpperCase()
/libcore/luni/src/test/java/libcore/net/
DUriCodecTest.java46 String stringOKUpperCase = VALID_ENCODED_STRING.toUpperCase(); in testValidate_stringUppercaseOK_passes()
135 UriCodec.validateSimple(VALID_ENCODED_STRING.toUpperCase(), "$%"); in testValidateSimple_stringUppercaseOK_passes()
/libcore/ojluni/src/main/java/java/util/jar/
DJarFile.java327 String name = names[i].toUpperCase(Locale.ENGLISH); in maybeInstantiateVerifier()
359 String uname = names[i].toUpperCase(Locale.ENGLISH); in initializeVerifier()
493 names[i].toUpperCase(Locale.ENGLISH))) { in getManEntry()
/libcore/luni/src/test/java/libcore/java/security/
DKeyPairGeneratorTest.java185 algorithm = algorithm.toUpperCase(); in putKeySize()
194 algorithm = algorithm.toUpperCase(); in getKeySizes()
280 String expectedAlgorithm = kpg.getAlgorithm().toUpperCase(Locale.ROOT); in test_Key()
284 assertEquals(expectedAlgorithm, k.getAlgorithm().toUpperCase()); in test_Key()
/libcore/ojluni/src/main/java/java/security/
DKeyRep.java141 this.format = format.toUpperCase(Locale.ENGLISH); in KeyRep()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DFormatterTest.java1184 f.format(((String) triple[i][pattern]).toUpperCase(Locale.US), triple[i][input]); in test_format_LString$LObject_GeneralConversionB()
1187 .toUpperCase(Locale.US), f.toString()); in test_format_LString$LObject_GeneralConversionB()
1248 f.format(((String) triple[i][pattern]).toUpperCase(Locale.US), triple[i][input]); in test_format_LString$LObject_GeneralConversionS()
1251 .toUpperCase(Locale.US), f.toString()); in test_format_LString$LObject_GeneralConversionS()
1286 Integer.toHexString(input[i].hashCode()).toUpperCase(Locale.US), f.toString()); in test_format_LString$LObject_GeneralConversionH()
2053 .toUpperCase(Locale.US), f.toString()); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
2060 .toUpperCase(Locale.US), f.toString()); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
2067 .toUpperCase(Locale.US), f.toString()); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
2402 .toUpperCase(Locale.US), f.toString()); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
2409 .toUpperCase(Locale.US), f.toString()); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
[all …]

123