/libcore/luni/src/test/java/libcore/java/text/ |
D | SimpleDateFormatTest.java | 101 Locale en = Locale.ENGLISH; in testStandAloneNames() 131 assertCannotParse(Locale.ENGLISH, "MMMMM", "J"); in testFiveCount_parsing() 132 assertCannotParse(Locale.ENGLISH, "LLLLL", "J"); in testFiveCount_parsing() 133 assertCannotParse(Locale.ENGLISH, "EEEEE", "T"); in testFiveCount_parsing() 134 assertCannotParse(Locale.ENGLISH, "ccccc", "T"); in testFiveCount_parsing() 140 assertEquals("1", formatDateUtc(Locale.ENGLISH, "M")); in testFiveCount_M() 141 assertEquals("01", formatDateUtc(Locale.ENGLISH, "MM")); in testFiveCount_M() 142 assertEquals("Jan", formatDateUtc(Locale.ENGLISH, "MMM")); in testFiveCount_M() 143 assertEquals("January", formatDateUtc(Locale.ENGLISH, "MMMM")); in testFiveCount_M() 144 assertEquals("J", formatDateUtc(Locale.ENGLISH, "MMMMM")); in testFiveCount_M() [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatter.java | 137 … DateTimeFormatter base = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_withLocale() 144 … DateTimeFormatter base = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_withLocale_null() 362 .toFormatter(Locale.ENGLISH) in test_format_withZone_withChronology() 394 .toFormatter(Locale.ENGLISH) in test_format_withChronology_nonChronoFieldMapLink() 403 … DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_format_TemporalAccessor_simple() 410 … DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_format_TemporalAccessor_noSuchField() 416 … DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_format_TemporalAccessor_null() 423 … DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_print_TemporalAppendable() 431 … DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_print_TemporalAppendable_noSuchField() 438 … DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_print_TemporalAppendable_nullTemporal() [all …]
|
D | TCKChronoPrinterParser.java | 132 …oralAccessor parsed = builder.toFormatter().parseUnresolved(text.toLowerCase(Locale.ENGLISH), pos); in test_parseValid_caseSensitive_lowercaseRejected() 141 …oralAccessor parsed = builder.toFormatter().parseUnresolved(text.toLowerCase(Locale.ENGLISH), pos); in test_parseValid_caseInsensitive()
|
D | TCKDateTimeTextPrinting.java | 140 DateTimeFormatter f = builder.appendText(field, style).toFormatter(Locale.ENGLISH); in test_appendText2arg_format() 150 DateTimeFormatter f = builder.appendText(field).toFormatter(Locale.ENGLISH); in test_appendText1arg_format()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestNonIsoFormatter.java | 93 { HIJRAH, ARABIC, Locale.ENGLISH, HIJRAH.date(IsoDate), in formatData() 125 { ISO8601, Locale.ENGLISH, "ISO-8601 Calendar" }, in chronoNamesData() 126 { BUDDHIST, Locale.ENGLISH, "Buddhist Calendar" }, in chronoNamesData() 127 { HIJRAH, Locale.ENGLISH, "Islamic Calendar (Umm al-Qura)" }, in chronoNamesData() 128 { JAPANESE, Locale.ENGLISH, "Japanese Calendar" }, in chronoNamesData() 129 { MINGUO, Locale.ENGLISH, "Minguo Calendar" }, in chronoNamesData()
|
D | TestDateTimeFormatter.java | 104 .toFormatter(Locale.ENGLISH) in test_withLocale_same() 106 DateTimeFormatter test = base.withLocale(Locale.ENGLISH); in test_withLocale_same()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ScannerTest.java | 1086 s.useLocale(Locale.ENGLISH); in test_nextIntI() 1136 s.useLocale(Locale.ENGLISH); in test_nextIntI() 1147 s.useLocale(Locale.ENGLISH); in test_nextIntI() 1155 s.useLocale(Locale.ENGLISH); in test_nextIntI() 1260 s.useLocale(Locale.ENGLISH); in test_nextInt() 1312 s.useLocale(Locale.ENGLISH); in test_nextInt() 1323 s.useLocale(Locale.ENGLISH); in test_nextInt() 1333 s.useLocale(Locale.ENGLISH); in test_nextInt() 1542 s.useLocale(Locale.ENGLISH); in test_nextFloat() 1554 s.useLocale(Locale.ENGLISH); in test_nextFloat() [all …]
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | RFC822Name.java | 156 return name.toUpperCase(Locale.ENGLISH).hashCode(); in hashCode() 192 (((RFC822Name)inputName).getName()).toLowerCase(Locale.ENGLISH); in constrains() 193 String thisName = name.toLowerCase(Locale.ENGLISH); in constrains()
|
D | DNSName.java | 162 return name.toUpperCase(Locale.ENGLISH).hashCode(); in hashCode() 203 (((DNSName)inputName).getName()).toLowerCase(Locale.ENGLISH); in constrains() 204 String thisName = name.toLowerCase(Locale.ENGLISH); in constrains()
|
D | AlgorithmId.java | 570 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/luni/src/test/java/libcore/java/time/chrono/ |
D | ChronologyDisplayNameTest.java | 54 String displayName = chronology.getDisplayName(TextStyle.FULL, Locale.ENGLISH); in testDisplayName() 65 String displayName = era.getDisplayName(TextStyle.FULL, Locale.ENGLISH); in testEras()
|
D | JapaneseChronologyTest.java | 127 heisei.format(formatter.withLocale(Locale.ENGLISH))); in test_JapaneseEras_dateTimeFormatter() 132 reiwa.format(formatter.withLocale(Locale.ENGLISH))); in test_JapaneseEras_dateTimeFormatter()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractFileTypeDetector.java | 71 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/util/ |
D | SimpleTimeZoneTest.java | 210 GregorianCalendar cal = new GregorianCalendar(timeZone, Locale.ENGLISH); in findDstEntryAndExit() 247 Locale.ENGLISH); in formatCalendar() 253 Calendar cal = new GregorianCalendar(timeZone, Locale.ENGLISH); in formatTime() 262 GregorianCalendar calendar = new GregorianCalendar(timeZone, Locale.ENGLISH); in checkDstTransitionTimes()
|
D | GregorianCalendarTest.java | 66 Calendar greg = new GregorianCalendar(LOS_ANGELES, Locale.ENGLISH); in test_computeFields_dayOfWeekAndWeekOfYearSet() 82 greg = new GregorianCalendar(LOS_ANGELES, Locale.ENGLISH); in test_computeFields_dayOfWeekAndWeekOfYearSet() 90 greg = new GregorianCalendar(LOS_ANGELES, Locale.ENGLISH); in test_computeFields_dayOfWeekAndWeekOfYearSet() 110 gc = new GregorianCalendar(LOS_ANGELES, Locale.ENGLISH); in test_fieldsAffectedByGregorianCutOver() 140 gc = new GregorianCalendar(LONDON, Locale.ENGLISH); in test_fieldsAffectedByGregorianCutOver() 328 GregorianCalendar cal = new GregorianCalendar(timeZone, Locale.ENGLISH); in getDstLosAngeles2014() 336 Calendar cal = new GregorianCalendar(timeZone, Locale.ENGLISH); in checkDstLosAngeles2014()
|
D | FormatterTest.java | 63 assertEquals("1E+02", String.format(Locale.ENGLISH, "%.0E", 100.0)); in test_internationalizedExponent() 64 assertEquals("1e+02", String.format(Locale.ENGLISH, "%.0e", 100.0)); in test_internationalizedExponent()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | SignatureFileVerifier.java | 75 (Locale.ENGLISH); 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()
|
D | DisabledAlgorithmConstraints.java | 154 param = param.toLowerCase(Locale.ENGLISH); in checkProperty() 156 if (block.toLowerCase(Locale.ENGLISH).indexOf(param) >= 0) { in checkProperty() 261 toUpperCase(Locale.ENGLISH)); in Constraints() 265 constraintEntry.toUpperCase(Locale.ENGLISH), in Constraints()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | SimpleDateFormatTest.java | 85 DateFormatSymbols symbols = new DateFormatSymbols(Locale.ENGLISH); in test_ConstructorLjava_lang_StringLjava_text_DateFormatSymbols() 227 DateFormatSymbols symbols = new DateFormatSymbols(Locale.ENGLISH); in test_hashCode() 256 SimpleDateFormat format = new SimpleDateFormat("", Locale.ENGLISH); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 412 SimpleDateFormat format = new SimpleDateFormat("", Locale.ENGLISH); in test_format_time_zones() 495 SimpleDateFormat format = new SimpleDateFormat("", Locale.ENGLISH); in verifyFormatTimezone() 641 SimpleDateFormat pFormat = new SimpleDateFormat("h z", Locale.ENGLISH); in test_parse_h_z_2DigitOffsetFromGMT_doesNotParse() 659 SimpleDateFormat pFormat = new SimpleDateFormat("h z", Locale.ENGLISH); in test_parse_h_z_4DigitOffsetFromGMT() 801 SimpleDateFormat format = new SimpleDateFormat("", Locale.ENGLISH); in test_parse_nullParsePosition() 810 SimpleDateFormat format = new SimpleDateFormat("", Locale.ENGLISH); in test_parse_nullInput() 819 SimpleDateFormat pFormat = new SimpleDateFormat(pattern, Locale.ENGLISH); in assertParse()
|
/libcore/luni/src/test/java/libcore/libcore/icu/ |
D | ICUTest.java | 59 assertEquals(Locale.ENGLISH, ICU.localeFromIcuLocaleId("en")); in test_localeFromString() 60 assertEquals(Locale.ENGLISH, ICU.localeFromIcuLocaleId("en_")); in test_localeFromString() 61 assertEquals(Locale.ENGLISH, ICU.localeFromIcuLocaleId("en__")); in test_localeFromString()
|
D | AlphabeticIndexTest.java | 35 verifyIndex(Locale.ENGLISH); in test_english()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | JarFile.java | 346 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/luni/src/test/java/libcore/java/time/format/ |
D | DateTimeFormatterTest.java | 43 new DateTimeFormatterBuilder().toFormatter(Locale.ENGLISH), in test_getDecimalStyle()
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyRep.java | 141 this.format = format.toUpperCase(Locale.ENGLISH); in KeyRep()
|
/libcore/ojluni/src/main/java/javax/crypto/spec/ |
D | SecretKeySpec.java | 200 this.algorithm.toLowerCase(Locale.ENGLISH).hashCode()); in hashCode()
|