Home
last modified time | relevance | path

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

1234

/libcore/luni/src/test/java/tests/support/
DPlatformVersions.java43 String buildCodenameUpper = buildCodename.toUpperCase(Locale.ROOT); in isAtLeastPreReleaseCodename()
44 String codenameUpper = codename.toUpperCase(Locale.ROOT); in isAtLeastPreReleaseCodename()
/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/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 CaseMapperNative.toUpperCase(s, locale); in toUpperCase()
160 return CaseMapperNative.toUpperCase(s, locale); in toUpperCase()
169 char upch = Character.toUpperCase(ch); in toUpperCase()
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java220 assertEquals(LATIN_CAPITAL_I, LATIN_CAPITAL_I.toUpperCase(tr_TR)); in testCaseMapping_tr_TR()
221 … assertEquals(LATIN_CAPITAL_I_WITH_DOT_ABOVE, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toUpperCase(tr_TR)); in testCaseMapping_tr_TR()
222 assertEquals(LATIN_CAPITAL_I_WITH_DOT_ABOVE, LATIN_SMALL_I.toUpperCase(tr_TR)); in testCaseMapping_tr_TR()
224 assertEquals(LATIN_CAPITAL_I, LATIN_SMALL_DOTLESS_I.toUpperCase(tr_TR)); in testCaseMapping_tr_TR()
230 assertEquals(LATIN_CAPITAL_I, LATIN_SMALL_I.toUpperCase(en_US)); in testCaseMapping_en_US()
231 assertEquals(LATIN_CAPITAL_I, LATIN_CAPITAL_I.toUpperCase(en_US)); in testCaseMapping_en_US()
232 … assertEquals(LATIN_CAPITAL_I_WITH_DOT_ABOVE, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toUpperCase(en_US)); in testCaseMapping_en_US()
238 assertEquals(LATIN_CAPITAL_I, LATIN_SMALL_DOTLESS_I.toUpperCase(en_US)); in testCaseMapping_en_US()
246 assertEquals("ΟΔΟΣ ΟΔΟΣ ΣΟ ΣΟ OΣ ΟΣ Σ ΕΞ", "ΟΔΌΣ Οδός Σο ΣΟ oΣ ΟΣ σ ἕξ".toUpperCase(el_GR)); in testCaseMapping_el()
247 assertEquals("ΟΔΟΣ ΟΔΟΣ ΣΟ ΣΟ OΣ ΟΣ Σ ΕΞ", "ΟΔΌΣ Οδός Σο ΣΟ oΣ ΟΣ σ ἕξ".toUpperCase(el_GR)); in testCaseMapping_el()
[all …]
/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/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/javax/crypto/
DKeyGeneratorTest.java87 validValues[1] = defaultAlgorithm.toUpperCase();
424 String dAl = defaultAlgorithm.toUpperCase(); in testGenerateKey()
431 .toUpperCase(), dAl); in testGenerateKey()
435 .toUpperCase(), dAl); in testGenerateKey()
439 .toUpperCase(), dAl); in testGenerateKey()
443 .toUpperCase(), dAl); in testGenerateKey()
/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DString2Test.java824 assertTrue("Returned string is not UpperCase", hwlc.toUpperCase() in test_toUpperCase()
827 assertEquals("Wrong conversion", "SS", "\u00df".toUpperCase()); in test_toUpperCase()
830 assertTrue("Invalid conversion", !s.toUpperCase().equals(s)); in test_toUpperCase()
833 "\uD801\uDC1C", "\uD801\uDC44".toUpperCase()); in test_toUpperCase()
842 assertTrue("Returned string is not UpperCase", hwlc.toUpperCase() in test_toUpperCaseLjava_util_Locale()
845 .toUpperCase(Locale.ENGLISH)); in test_toUpperCaseLjava_util_Locale()
847 .toUpperCase(new Locale("tr", ""))); in test_toUpperCaseLjava_util_Locale()
/libcore/ojluni/src/main/java/sun/security/x509/
DAVA.java283 int cVal = hexDigits.indexOf(Character.toUpperCase((char)c)); in parseHexString()
535 if (hexDigits.indexOf(Character.toUpperCase((char)c1)) >= 0) { in getEmbeddedHexPair()
539 if (hexDigits.indexOf(Character.toUpperCase((char)c2)) >= 0) { in getEmbeddedHexPair()
841 sbuffer.append(Character.toUpperCase(hexChar)); in toRFC2253String()
844 sbuffer.append(Character.toUpperCase(hexChar)); in toRFC2253String()
1022 canon = canon.toUpperCase(Locale.US).toLowerCase(Locale.US); in toRFC2253CanonicalString()
1149 sbuffer.append(Character.toUpperCase(hexChar)); in toKeywordValueString()
1152 sbuffer.append(Character.toUpperCase(hexChar)); in toKeywordValueString()
1243 keyword = keyword.toUpperCase(Locale.ENGLISH); in getOID()
DAlgorithmId.java575 return oidTable.get(name.toUpperCase(Locale.ENGLISH)); in algOID()
589 String upperCaseAlias = alias.toUpperCase(Locale.ENGLISH); in reinitializeMappingTableLocked()
601 stdAlgName = stdAlgName.toUpperCase(Locale.ENGLISH); in reinitializeMappingTableLocked()
635 stdAlgName = stdAlgName.toUpperCase(Locale.ENGLISH); in reinitializeMappingTableLocked()
1011 signatureAlgorithm = signatureAlgorithm.toUpperCase(Locale.ENGLISH); in getEncAlgFromSigAlg()
1033 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/test/java/lang/String/CompactString/
DToUpperCase.java63 assertEquals(data.toUpperCase(), expected, String.format( in testToUpperCase()
/libcore/tools/crypto/src/java/libcore/java/security/
DProviderOverlap.java57 result.add(key.toUpperCase(Locale.US)); in getAlgorithms()
/libcore/luni/src/main/java/libcore/internal/
DJava11LanguageFeatures.java34 .map((var item) -> item.toUpperCase()) in collectUpperCaseStrings()
/libcore/ojluni/src/main/java/java/lang/
DString.java1541 c1 = Character.toUpperCase(c1); in compare()
1542 c2 = Character.toUpperCase(c2); in compare()
1754 char u1 = Character.toUpperCase(c1); in regionMatches()
1755 char u2 = Character.toUpperCase(c2); in regionMatches()
3288 public String toUpperCase(Locale locale) { in toUpperCase() method in String
3294 return CaseMapper.toUpperCase(locale, this, length()); in toUpperCase()
3317 public String toUpperCase() { in toUpperCase() method in String
3318 return toUpperCase(Locale.getDefault()); in toUpperCase()
/libcore/ojluni/src/test/java/lang/String/
DTransform.java44 simpleTransform("toUpperCase", "abc", s -> s.toUpperCase()); in test1()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DFormatterTest.java1177 f.format(((String) triple[i][pattern]).toUpperCase(Locale.US), triple[i][input]); in test_format_LString$LObject_GeneralConversionB()
1180 .toUpperCase(Locale.US), f.toString()); in test_format_LString$LObject_GeneralConversionB()
1241 f.format(((String) triple[i][pattern]).toUpperCase(Locale.US), triple[i][input]); in test_format_LString$LObject_GeneralConversionS()
1244 .toUpperCase(Locale.US), f.toString()); in test_format_LString$LObject_GeneralConversionS()
1279 Integer.toHexString(input[i].hashCode()).toUpperCase(Locale.US), f.toString()); in test_format_LString$LObject_GeneralConversionH()
2046 .toUpperCase(Locale.US), f.toString()); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
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()
2395 .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()
[all …]
/libcore/ojluni/src/main/java/java/util/
DPropertyResourceBundle.java148 .toUpperCase(Locale.ROOT);
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestAccessModeMethodNames.java62 s.setCharAt(i, Character.toUpperCase(s.charAt(i))); in toMethodName()

1234