Home
last modified time | relevance | path

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

123

/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/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.java115 libcore.icu.ICU.toLowerCase(s.value, Locale.US); in timeToLowerCase_ICU()
/libcore/luni/src/main/java/java/lang/
DCaseMapper.java47 public static String toLowerCase(Locale locale, String s, char[] value, int offset, int count) { in toLowerCase() method in CaseMapper
52 return ICU.toLowerCase(s, locale); in toLowerCase()
62 return ICU.toLowerCase(s, locale); in toLowerCase()
66 newCh = Character.toLowerCase(ch); in toLowerCase()
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java247 assertEquals(LATIN_SMALL_I, LATIN_SMALL_I.toLowerCase(tr_TR)); in testCaseMapping_tr_TR()
248 assertEquals(LATIN_SMALL_I, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toLowerCase(tr_TR)); in testCaseMapping_tr_TR()
249 assertEquals(LATIN_SMALL_DOTLESS_I, LATIN_SMALL_DOTLESS_I.toLowerCase(tr_TR)); in testCaseMapping_tr_TR()
256 assertEquals(LATIN_SMALL_DOTLESS_I, LATIN_CAPITAL_I.toLowerCase(tr_TR)); in testCaseMapping_tr_TR()
265 assertEquals(LATIN_SMALL_I, LATIN_SMALL_I.toLowerCase(en_US)); in testCaseMapping_en_US()
266 assertEquals(LATIN_SMALL_I, LATIN_CAPITAL_I.toLowerCase(en_US)); in testCaseMapping_en_US()
267 assertEquals(LATIN_SMALL_DOTLESS_I, LATIN_SMALL_DOTLESS_I.toLowerCase(en_US)); in testCaseMapping_en_US()
272 …sertEquals(LATIN_SMALL_I + COMBINING_DOT_ABOVE, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toLowerCase(en_US)); 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/luni/src/main/java/java/net/
DHttpCookie.java97 String a = host.toLowerCase(Locale.US); in domainMatches()
98 String b = domainPattern.toLowerCase(Locale.US); in domainMatches()
233 this.inputLowerCase = input.toLowerCase(Locale.US); in CookieParser()
476 || RESERVED_NAMES.contains(n.toLowerCase(Locale.US)));
619 domain = pattern == null ? null : pattern.toLowerCase(Locale.US);
710 return name.toLowerCase(Locale.US).hashCode()
711 + (domain == null ? 0 : domain.toLowerCase(Locale.US).hashCode())
DDefaultFileNameMap.java40 return MimeUtils.guessMimeTypeFromExtension(ext.toLowerCase(Locale.US)); in getContentTypeFor()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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()
/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/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DString2Test.java781 .toLowerCase().equals(hwlc)); in test_toLowerCase()
785 "\u03c3", "\u03a3".toLowerCase()); in test_toLowerCase()
788 "a\u03c2", "a\u03a3".toLowerCase()); in test_toLowerCase()
791 "\uD801\uDC44", "\uD801\uDC1C".toLowerCase()); in test_toLowerCase()
801 .toLowerCase(java.util.Locale.getDefault()).equals(hwlc)); in test_toLowerCaseLjava_util_Locale()
803 .toLowerCase(Locale.ENGLISH)); in test_toLowerCaseLjava_util_Locale()
805 .toLowerCase(new Locale("tr", ""))); in test_toLowerCaseLjava_util_Locale()
DCharacterTest.java1482 assertEquals("Failed to change case", 't', Character.toLowerCase('T'));
1489 assertEquals('t', Character.toLowerCase((int) 'T'));
1491 assertEquals(0x10428, Character.toLowerCase(0x10400));
1492 assertEquals(0x10428, Character.toLowerCase(0x10428));
1494 assertEquals(0x1D504, Character.toLowerCase(0x1D504));
1495 assertEquals(0x10FFFD, Character.toLowerCase(0x10FFFD));
1496 assertEquals(0x110000, Character.toLowerCase(0x110000));
/libcore/luni/src/test/java/tests/support/
DMockFunction.java38 fc.set_result(args[0].toLowerCase()); in function()
/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/java/util/
DLocale.java354 final String lowercaseLanguage = language.toLowerCase(Locale.ROOT); in normalizeAndValidateLanguage()
601 final String lowercaseAttribute = attribute.toLowerCase(Locale.ROOT); in addUnicodeLocaleAttribute()
631 final String lowercaseAttribute = attribute.toLowerCase(Locale.ROOT); in removeUnicodeLocaleAttribute()
685 final String normalizedValue = value.toLowerCase(Locale.ROOT).replace('_', '-'); in setExtension()
759 final String lowerCaseKey = key.toLowerCase(Locale.ROOT); in setUnicodeLocaleKeyword()
769 final String lowerCaseType = type.toLowerCase(Locale.ROOT).replace("_", "-"); in setUnicodeLocaleKeyword()
1876 byte[] chars = word.toLowerCase(Locale.ROOT).getBytes(StandardCharsets.US_ASCII); in titleCaseAsciiWord()
2009 String adjusted = languageCode.toLowerCase(Locale.US); in adjustLanguageCode()
2126 extensions.put(key.charAt(0), value.toLowerCase(Locale.ROOT)); in extractExtensions()
2161 extensions.put(key.charAt(0), value.toLowerCase(Locale.ROOT)); in extractExtensions()
/libcore/luni/src/main/java/libcore/net/url/
DUrlUtils.java115 return spec.substring(0, colon).toLowerCase(Locale.US); in getSchemePrefix()
/libcore/luni/src/main/java/libcore/icu/
DICU.java349 public static String toLowerCase(String s, Locale locale) { in toLowerCase() method in ICU
350 return toLowerCase(s, locale.toLanguageTag()); in toLowerCase()
353 private static native String toLowerCase(String s, String languageTag); in toLowerCase() method in ICU
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLocaleTest.java317 && isoLang[length / 2].toLowerCase().equals(isoLang[length / 2])); in test_getISOLanguages()
355 String res2 = "\u0049".toLowerCase(); in test_setDefaultLjava_util_Locale()
/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/libart/src/main/java/java/lang/
DString.java522 return Character.toLowerCase(Character.toUpperCase(ch)); in foldCase()
1353 public String toLowerCase() { in toLowerCase() method in String
1354 return CaseMapper.toLowerCase(Locale.getDefault(), this, value, offset, count); in toLowerCase()
1370 public String toLowerCase(Locale locale) { in toLowerCase() method in String
1371 return CaseMapper.toLowerCase(locale, this, value, offset, count); in toLowerCase()
/libcore/luni/src/main/java/java/util/jar/
DAttributes.java175 return name.toLowerCase(Locale.US).hashCode(); in hashCode()
/libcore/xml/src/main/java/org/kxml2/io/
DKXmlSerializer.java340 if (encoding != null && encoding.toLowerCase(Locale.US).startsWith("utf")) { in setOutput()
350 if (encoding.toLowerCase(Locale.US).startsWith("utf")) { in startDocument()

123