Home
last modified time | relevance | path

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

1234

/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/main/java/libcore/content/type/
DMimeMap.java133 extension = toLowerCase(extension); in guessMimeTypeFromExtension()
160 mimeType = toLowerCase(mimeType); in guessExtensionFromMimeType()
191 private static @NonNull String toLowerCase(@NonNull String s) { in toLowerCase() method in MimeMap
192 return s.toLowerCase(Locale.ROOT); in toLowerCase()
264 this.mimeOrExt = toLowerCase(spec.substring(1)); in Element()
267 this.mimeOrExt = toLowerCase(spec); in Element()
370 && s.equals(toLowerCase(s)); in isValidMimeTypeOrExtension()
/libcore/ojluni/src/main/java/sun/net/util/
DURLUtil.java50 protocol = protocol.toLowerCase(); in urlNoFragString()
58 host = host.toLowerCase(); in urlNoFragString()
/libcore/libart/src/main/java/java/lang/
DCaseMapper.java45 public static String toLowerCase(Locale locale, String s) { in toLowerCase() method in CaseMapper
50 return CaseMapperNative.toLowerCase(s, locale); in toLowerCase()
59 return CaseMapperNative.toLowerCase(s, locale); in toLowerCase()
63 newCh = Character.toLowerCase(ch); in toLowerCase()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeParseContext.java225 Character.toLowerCase(ch1) != Character.toLowerCase(ch2)) { in subSequenceEquals()
258 Character.toLowerCase(c1) == Character.toLowerCase(c2); in charEqualsIgnoreCase()
/libcore/benchmarks/src/benchmarks/regression/
DSchemePrefixBenchmark.java42 return spec.substring(0, colon).toLowerCase(Locale.US); in JAVA()
62 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()
/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractFileTypeDetector.java71 String type = s.substring(0, slash).trim().toLowerCase(Locale.ENGLISH); in parse()
76 subtype = subtype.trim().toLowerCase(Locale.ENGLISH); in parse()
/libcore/luni/src/test/java/libcore/java/lang/
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()
DStringTest.java213 assertEquals(LATIN_SMALL_I, LATIN_SMALL_I.toLowerCase(tr_TR)); in testCaseMapping_tr_TR()
214 assertEquals(LATIN_SMALL_I, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toLowerCase(tr_TR)); in testCaseMapping_tr_TR()
215 assertEquals(LATIN_SMALL_DOTLESS_I, LATIN_SMALL_DOTLESS_I.toLowerCase(tr_TR)); in testCaseMapping_tr_TR()
222 assertEquals(LATIN_SMALL_DOTLESS_I, LATIN_CAPITAL_I.toLowerCase(tr_TR)); in testCaseMapping_tr_TR()
231 assertEquals(LATIN_SMALL_I, LATIN_SMALL_I.toLowerCase(en_US)); in testCaseMapping_en_US()
232 assertEquals(LATIN_SMALL_I, LATIN_CAPITAL_I.toLowerCase(en_US)); in testCaseMapping_en_US()
233 assertEquals(LATIN_SMALL_DOTLESS_I, LATIN_SMALL_DOTLESS_I.toLowerCase(en_US)); in testCaseMapping_en_US()
238 …sertEquals(LATIN_SMALL_I + COMBINING_DOT_ABOVE, LATIN_CAPITAL_I_WITH_DOT_ABOVE.toLowerCase(en_US)); in testCaseMapping_en_US()
/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/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/ojluni/src/main/java/sun/util/locale/
DLocaleMatcher.java121 tag = tag.toLowerCase(); in filterBasic()
146 tag = tag.toLowerCase(); in filterExtended()
219 tag = tag.toLowerCase(); in lookupTag()
246 ranges = ranges.replace(" ", "").toLowerCase(); in parse()
439 keyMap.put(key.toLowerCase(), key); in mapEquivalents()
455 list.add(new LanguageRange(equivalent.toLowerCase() in mapEquivalents()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DString2Test.java784 .toLowerCase().equals(hwlc)); in test_toLowerCase()
788 "\u03c3", "\u03a3".toLowerCase()); in test_toLowerCase()
791 "a\u03c2", "a\u03a3".toLowerCase()); in test_toLowerCase()
794 "\uD801\uDC44", "\uD801\uDC1C".toLowerCase()); in test_toLowerCase()
804 .toLowerCase(java.util.Locale.getDefault()).equals(hwlc)); in test_toLowerCaseLjava_util_Locale()
806 .toLowerCase(Locale.ENGLISH)); in test_toLowerCaseLjava_util_Locale()
808 .toLowerCase(new Locale("tr", ""))); in test_toLowerCaseLjava_util_Locale()
/libcore/ojluni/src/main/java/sun/security/x509/
DRFC822Name.java192 (((RFC822Name)inputName).getName()).toLowerCase(Locale.ENGLISH); in constrains()
193 String thisName = name.toLowerCase(Locale.ENGLISH); in constrains()
DDNSName.java203 (((DNSName)inputName).getName()).toLowerCase(Locale.ENGLISH); in constrains()
204 String thisName = name.toLowerCase(Locale.ENGLISH); in constrains()
/libcore/ojluni/src/main/java/sun/net/ftp/
DFtpDirEntry.java276 facts.put(fact.toLowerCase(), value); in addFact()
288 return facts.get(fact.toLowerCase()); in getFact()
/libcore/ojluni/src/main/java/java/net/
DHttpCookie.java388 domain = pattern.toLowerCase(); in setDomain()
775 int h1 = name.toLowerCase().hashCode(); in hashCode()
776 int h2 = (domain!=null) ? domain.toLowerCase().hashCode() : 0; in hashCode()
817 if (RESERVED_NAMES.contains(value.toLowerCase(Locale.US))) { in isToken()
1025 CookieAttributeAssignor assignor = assignors.get(attrName.toLowerCase()); in assignAttribute()
1134 header = header.toLowerCase(); in guessCookieVersion()
/libcore/ojluni/src/main/java/sun/net/www/
DURLConnection.java240 proxiedHosts.put(host.toLowerCase(), null); in setProxiedHost()
244 return proxiedHosts.containsKey(host.toLowerCase()); in isProxiedHost()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKChronoPrinterParser.java132 …TemporalAccessor parsed = builder.toFormatter().parseUnresolved(text.toLowerCase(Locale.ENGLISH), … in test_parseValid_caseSensitive_lowercaseRejected()
141 …TemporalAccessor parsed = builder.toFormatter().parseUnresolved(text.toLowerCase(Locale.ENGLISH), … in test_parseValid_caseInsensitive()
/libcore/luni/src/test/java/tests/support/
DMockFunction.java38 fc.set_result(args[0].toLowerCase()); in function()
/libcore/ojluni/src/main/java/java/lang/
DString.java1205 c1 = Character.toLowerCase(c1); in compare()
1206 c2 = Character.toLowerCase(c2); in compare()
1375 if (Character.toLowerCase(u1) == Character.toLowerCase(u2)) { in regionMatches()
2664 public String toLowerCase(Locale locale) { in toLowerCase() method in String
2666 return CaseMapper.toLowerCase(locale, this); in toLowerCase()
2688 public String toLowerCase() { in toLowerCase() method in String
2689 return toLowerCase(Locale.getDefault()); in toLowerCase()
/libcore/ojluni/src/main/java/javax/crypto/spec/
DSecretKeySpec.java200 this.algorithm.toLowerCase(Locale.ENGLISH).hashCode()); in hashCode()
/libcore/ojluni/src/main/java/sun/net/spi/
DDefaultProxySelector.java210 final String urlhost = host.toLowerCase(); in select()
390 String regex = disjunctToRegex(disjunct.toLowerCase()); in toPattern()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLocaleTest.java312 && isoLang[length / 2].toLowerCase().equals(isoLang[length / 2])); in test_getISOLanguages()
350 String res2 = "\u0049".toLowerCase(); in test_setDefaultLjava_util_Locale()

1234