Home
last modified time | relevance | path

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

123

/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/luni/src/test/java/libcore/java/lang/
DStringTest.java218 assertEquals(LATIN_CAPITAL_I, LATIN_CAPITAL_I.toUpperCase(tr_TR)); in testCaseMapping_tr_TR()
219 … assertEquals(LATIN_CAPITAL_I_WITH_DOT_ABOVE, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toUpperCase(tr_TR)); in testCaseMapping_tr_TR()
220 assertEquals(LATIN_CAPITAL_I_WITH_DOT_ABOVE, LATIN_SMALL_I.toUpperCase(tr_TR)); in testCaseMapping_tr_TR()
222 assertEquals(LATIN_CAPITAL_I, LATIN_SMALL_DOTLESS_I.toUpperCase(tr_TR)); in testCaseMapping_tr_TR()
228 assertEquals(LATIN_CAPITAL_I, LATIN_SMALL_I.toUpperCase(en_US)); in testCaseMapping_en_US()
229 assertEquals(LATIN_CAPITAL_I, LATIN_CAPITAL_I.toUpperCase(en_US)); in testCaseMapping_en_US()
230 … assertEquals(LATIN_CAPITAL_I_WITH_DOT_ABOVE, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toUpperCase(en_US)); in testCaseMapping_en_US()
236 assertEquals(LATIN_CAPITAL_I, LATIN_SMALL_DOTLESS_I.toUpperCase(en_US)); in testCaseMapping_en_US()
244 assertEquals("ΟΔΟΣ ΟΔΟΣ ΣΟ ΣΟ OΣ ΟΣ Σ ΕΞ", "ΟΔΌΣ Οδός Σο ΣΟ oΣ ΟΣ σ ἕξ".toUpperCase(el_GR)); in testCaseMapping_el()
245 assertEquals("ΟΔΟΣ ΟΔΟΣ ΣΟ ΣΟ OΣ ΟΣ Σ ΕΞ", "ΟΔΌΣ Οδός Σο ΣΟ oΣ ΟΣ σ ἕξ".toUpperCase(el_GR)); in testCaseMapping_el()
[all …]
/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();
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/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()
DCharacterTest.java1535 assertEquals("Incorrect upper case for a", 'A', Character.toUpperCase('a'));
1536 assertEquals("Incorrect upper case for A", 'A', Character.toUpperCase('A'));
1537 assertEquals("Incorrect upper case for 1", '1', Character.toUpperCase('1'));
1544 assertEquals('A', Character.toUpperCase((int) 'a'));
1545 assertEquals('A', Character.toUpperCase((int) 'A'));
1546 assertEquals('1', Character.toUpperCase((int) '1'));
1548 assertEquals(0x10400, Character.toUpperCase(0x10428));
1549 assertEquals(0x10400, Character.toUpperCase(0x10400));
1551 assertEquals(0x10FFFF, Character.toUpperCase(0x10FFFF));
1552 assertEquals(0x110000, Character.toUpperCase(0x110000));
/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/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.java570 return oidTable.get(name.toUpperCase(Locale.ENGLISH)); in algOID()
584 String upperCaseAlias = alias.toUpperCase(Locale.ENGLISH); in reinitializeMappingTableLocked()
596 stdAlgName = stdAlgName.toUpperCase(Locale.ENGLISH); in reinitializeMappingTableLocked()
630 stdAlgName = stdAlgName.toUpperCase(Locale.ENGLISH); in reinitializeMappingTableLocked()
1006 signatureAlgorithm = signatureAlgorithm.toUpperCase(Locale.ENGLISH); in getEncAlgFromSigAlg()
1028 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/ojluni/src/main/java/java/lang/
DString.java1202 c1 = Character.toUpperCase(c1); in compare()
1203 c2 = Character.toUpperCase(c2); in compare()
1366 char u1 = Character.toUpperCase(c1); in regionMatches()
1367 char u2 = Character.toUpperCase(c2); in regionMatches()
2740 public String toUpperCase(Locale locale) { in toUpperCase() method in String
2742 return CaseMapper.toUpperCase(locale, this, length()); in toUpperCase()
2764 public String toUpperCase() { in toUpperCase() method in String
2765 return toUpperCase(Locale.getDefault()); in toUpperCase()
/libcore/tools/crypto/src/java/libcore/java/security/
DProviderOverlap.java57 result.add(key.toUpperCase(Locale.US)); in getAlgorithms()
/libcore/ojluni/src/main/java/java/util/jar/
DJarFile.java346 String name = names[i].toUpperCase(Locale.ENGLISH); in maybeInstantiateVerifier()
378 String uname = names[i].toUpperCase(Locale.ENGLISH); in initializeVerifier()
516 names[i].toUpperCase(Locale.ENGLISH))) { in getManEntry()
/libcore/ojluni/src/main/java/java/security/
DKeyRep.java141 this.format = format.toUpperCase(Locale.ENGLISH); in KeyRep()
/libcore/luni/src/test/java/libcore/java/security/spec/
DAlgorithmParametersPSSTest.java224 return algorithm.toUpperCase(Locale.US); in getDigestAlgorithmCanonicalName()
237 return name.toUpperCase(Locale.US); in getMGFAlgorithmCanonicalName()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DFormatterTest.java1185 f.format(((String) triple[i][pattern]).toUpperCase(Locale.US), triple[i][input]); in test_format_LString$LObject_GeneralConversionB()
1188 .toUpperCase(Locale.US), f.toString()); in test_format_LString$LObject_GeneralConversionB()
1249 f.format(((String) triple[i][pattern]).toUpperCase(Locale.US), triple[i][input]); in test_format_LString$LObject_GeneralConversionS()
1252 .toUpperCase(Locale.US), f.toString()); in test_format_LString$LObject_GeneralConversionS()
1287 Integer.toHexString(input[i].hashCode()).toUpperCase(Locale.US), f.toString()); in test_format_LString$LObject_GeneralConversionH()
2054 .toUpperCase(Locale.US), f.toString()); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
2061 .toUpperCase(Locale.US), f.toString()); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
2068 .toUpperCase(Locale.US), f.toString()); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
2403 .toUpperCase(Locale.US), f.toString()); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
2410 .toUpperCase(Locale.US), f.toString()); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
[all …]
/libcore/luni/src/main/java/javax/xml/parsers/
DFilePathToURI.java68 ch = Character.toUpperCase(path.charAt(0)); in filepath2URI()
/libcore/luni/src/main/java/javax/xml/transform/stream/
DFilePathToURI.java68 ch = Character.toUpperCase(path.charAt(0)); in filepath2URI()

123