Home
last modified time | relevance | path

Searched refs:ENGLISH (Results 1 – 25 of 62) sorted by relevance

123

/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java101 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/
DTCKDateTimeFormatter.java137 … 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 …]
DTCKChronoPrinterParser.java132 …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()
DTCKDateTimeTextPrinting.java140 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/
DTestNonIsoFormatter.java93 { 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()
DTestDateTimeFormatter.java104 .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/
DScannerTest.java1086 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/
DRFC822Name.java156 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()
DDNSName.java162 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()
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/luni/src/test/java/libcore/java/time/chrono/
DChronologyDisplayNameTest.java54 String displayName = chronology.getDisplayName(TextStyle.FULL, Locale.ENGLISH); in testDisplayName()
65 String displayName = era.getDisplayName(TextStyle.FULL, Locale.ENGLISH); in testEras()
DJapaneseChronologyTest.java127 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/
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/util/
DSimpleTimeZoneTest.java210 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()
DGregorianCalendarTest.java66 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()
DFormatterTest.java63 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/
DSignatureFileVerifier.java75 (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()
DDisabledAlgorithmConstraints.java154 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/
DSimpleDateFormatTest.java85 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/
DICUTest.java59 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()
DAlphabeticIndexTest.java35 verifyIndex(Locale.ENGLISH); in test_english()
/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/luni/src/test/java/libcore/java/time/format/
DDateTimeFormatterTest.java43 new DateTimeFormatterBuilder().toFormatter(Locale.ENGLISH), in test_getDecimalStyle()
/libcore/ojluni/src/main/java/java/security/
DKeyRep.java141 this.format = format.toUpperCase(Locale.ENGLISH); in KeyRep()
/libcore/ojluni/src/main/java/javax/crypto/spec/
DSecretKeySpec.java200 this.algorithm.toLowerCase(Locale.ENGLISH).hashCode()); in hashCode()

123