Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DKeyGeneratorThread.java33 if(kg.getAlgorithm().toLowerCase().equals(k.getAlgorithm().toLowerCase()) != true) { in test()
37 if(kg.getAlgorithm().toLowerCase().equals(algName.toLowerCase()) != true) { in test()
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java247 assertEquals(LATIN_SMALL_I, LATIN_SMALL_I.toLowerCase(trTR)); in testCaseMapping_tr_TR()
248 assertEquals(LATIN_SMALL_I, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toLowerCase(trTR)); in testCaseMapping_tr_TR()
249 assertEquals(LATIN_SMALL_DOTLESS_I, LATIN_SMALL_DOTLESS_I.toLowerCase(trTR)); in testCaseMapping_tr_TR()
256 assertEquals(LATIN_SMALL_DOTLESS_I, LATIN_CAPITAL_I.toLowerCase(trTR)); in testCaseMapping_tr_TR()
265 assertEquals(LATIN_SMALL_I, LATIN_SMALL_I.toLowerCase(enUs)); in testCaseMapping_en_US()
266 assertEquals(LATIN_SMALL_I, LATIN_CAPITAL_I.toLowerCase(enUs)); in testCaseMapping_en_US()
267 assertEquals(LATIN_SMALL_DOTLESS_I, LATIN_SMALL_DOTLESS_I.toLowerCase(enUs)); in testCaseMapping_en_US()
272 …ssertEquals(LATIN_SMALL_I + COMBINING_DOT_ABOVE, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toLowerCase(enUs)); in testCaseMapping_en_US()
DOldCharacterTest.java139 assertEquals("Failed to change case", 't', Character.toLowerCase('t')); in test_toLowerCaseC()
140 assertEquals("Failed to change case", '1', Character.toLowerCase('1')); in test_toLowerCaseC()
/libcore/benchmarks/src/benchmarks/regression/
DSchemePrefixBenchmark.java43 return spec.substring(0, colon).toLowerCase(Locale.US); in JAVA()
63 return matcher.group(1).toLowerCase(Locale.US); in REGEX()
DCharacterBenchmark.java272 Character.toLowerCase(chars[ch]); in timeToLowerCase()
278 Character.toLowerCase((int) chars[ch]); in timeToLowerCase()
DStringCaseMappingBenchmark.java107 libcore.icu.ICU.toLowerCase(s.value, Locale.US.toString()); in timeToLowerCase_ICU()
/libcore/luni/src/main/java/java/lang/
DCaseMapper.java46 public static String toLowerCase(Locale locale, String s, char[] value, int offset, int count) { in toLowerCase() method in CaseMapper
50 return ICU.toLowerCase(s, locale.toString()); in toLowerCase()
60 return ICU.toLowerCase(s, locale.toString()); in toLowerCase()
64 newCh = Character.toLowerCase(ch); in toLowerCase()
DString.java601 return Character.toLowerCase(Character.toUpperCase(ch)); in foldCase()
1484 public String toLowerCase() { in toLowerCase() method in String
1485 return CaseMapper.toLowerCase(Locale.getDefault(), this, value, offset, count); in toLowerCase()
1501 public String toLowerCase(Locale locale) { in toLowerCase() method in String
1502 return CaseMapper.toLowerCase(locale, this, value, offset, count); in toLowerCase()
/libcore/luni/src/main/java/java/net/
DHttpCookie.java94 String a = host.toLowerCase(Locale.US); in domainMatches()
95 String b = domainPattern.toLowerCase(Locale.US); in domainMatches()
230 this.inputLowerCase = input.toLowerCase(Locale.US); in CookieParser()
460 || RESERVED_NAMES.contains(n.toLowerCase(Locale.US)));
603 domain = pattern == null ? null : pattern.toLowerCase(Locale.US);
694 return name.toLowerCase(Locale.US).hashCode()
695 + (domain == null ? 0 : domain.toLowerCase(Locale.US).hashCode())
DDefaultFileNameMap.java40 return MimeUtils.guessMimeTypeFromExtension(ext.toLowerCase(Locale.US)); in getContentTypeFor()
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
DX509KeyManagerTest.java701 assertEquals("Incorrect aliase", "serverkey_00", resArray[0].toLowerCase()); in test_getServerAliases()
713 assertEquals("serverkey_00", res.toLowerCase()); in test_chooseServerAlias()
716 assertEquals("serverkey_00", res.toLowerCase()); in test_chooseServerAlias()
748 String a = alias.toLowerCase(); in assertKnownAlias()
DTrustManagerFactory2Test.java51 validValues[1] = defaultAlg.toLowerCase();
DKeyManagerFactory2Test.java54 validValues[1] = defaultAlg.toLowerCase();
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
DGeneralName.java349 return ((String) gname.getName()).toLowerCase(Locale.US) in isAcceptable()
350 .endsWith(((String) name).toLowerCase(Locale.US)); in isAcceptable()
360 return _dns.toLowerCase(Locale.US).endsWith("." + dns.toLowerCase(Locale.US)); in isAcceptable()
382 return _host.toLowerCase(Locale.US).endsWith(host.toLowerCase(Locale.US)); in isAcceptable()
562 String string = dns.toLowerCase(Locale.US); in checkDNS()
/libcore/luni/src/test/java/tests/support/
DMockFunction.java38 fc.set_result(args[0].toLowerCase()); in function()
/libcore/luni/src/test/java/tests/java/sql/
DDatabaseMetaDataNotSupportedTest.java149 DatabaseCreator.TEST_TABLE1.toLowerCase(), userTab.getString( in test_allTablesAreSelectable()
150 "TABLE_NAME").toLowerCase()); in test_allTablesAreSelectable()
164 DatabaseCreator.TEST_TABLE1.toLowerCase(), userTab.getString( in test_allTablesAreSelectable()
165 "TABLE_NAME").toLowerCase()); in test_allTablesAreSelectable()
281 "INDEX_NAME").toLowerCase()); in test_getIndexInfoLjava_lang_StringLjava_lang_StringLjava_lang_StringZZ()
288 "ASC_OR_DESC").toLowerCase()); in test_getIndexInfoLjava_lang_StringLjava_lang_StringLjava_lang_StringZZ()
323 .getString("TABLE_CAT").toLowerCase()); in test_getColumnPrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String()
327 .getString("TABLE_NAME").toLowerCase()); in test_getColumnPrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String()
329 .toLowerCase()); in test_getColumnPrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String()
331 + Support_SQL.sqlHost, rs.getString("GRANTOR").toLowerCase()); in test_getColumnPrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String()
[all …]
/libcore/luni/src/main/java/javax/net/ssl/
DDefaultHostnameVerifier.java72 hostName = hostName.toLowerCase(Locale.US); in verifyHostName()
134 cn = cn.toLowerCase(Locale.US); in verifyHostName()
/libcore/luni/src/main/java/libcore/net/url/
DUrlUtils.java115 return spec.substring(0, colon).toLowerCase(Locale.US); in getSchemePrefix()
/libcore/luni/src/test/java/tests/api/java/util/
DLocaleTest.java281 && isoLang[length / 2].toLowerCase().equals(isoLang[length / 2])); in test_getISOLanguages()
328 String res2 = "\u0049".toLowerCase(); in test_setDefaultLjava_util_Locale()
/libcore/luni/src/main/java/libcore/icu/
DICU.java149 public static native String toLowerCase(String s, String localeName); in toLowerCase() method in ICU
/libcore/luni/src/main/java/org/apache/harmony/security/x501/
DName.java205 sName = sName.toLowerCase(Locale.US); in getName0()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DSecretKeyFactoryTest.java78 validValues[1] = defaultAlgorithm.toLowerCase();
87 validValues[2] = defaultAlgorithm.toLowerCase();
/libcore/luni/src/main/java/java/util/jar/
DAttributes.java172 return name.toLowerCase(Locale.US).hashCode(); in hashCode()
/libcore/xml/src/main/java/org/kxml2/io/
DKXmlSerializer.java336 if (encoding != null && encoding.toLowerCase(Locale.US).startsWith("utf")) { in setOutput()
346 if (encoding.toLowerCase(Locale.US).startsWith("utf")) { in startDocument()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DAlgorithmParameterGenerator2Test.java56 validValues[1] = defaultAlg.toLowerCase();

12