Home
last modified time | relevance | path

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

1234567

/external/libphonenumber/carrier/test/com/google/i18n/phonenumbers/
DPhoneNumberToCarrierMapperTest.java66 carrierMapper.getNameForNumber(UK_MOBILE1, Locale.ENGLISH)); in testGetNameForMobilePortableRegion()
72 assertEquals("", carrierMapper.getSafeDisplayName(UK_MOBILE1, Locale.ENGLISH)); in testGetNameForMobilePortableRegion()
77 carrierMapper.getNameForNumber(AO_MOBILE1, Locale.ENGLISH)); in testGetNameForNonMobilePortableRegion()
79 carrierMapper.getSafeDisplayName(AO_MOBILE1, Locale.ENGLISH)); in testGetNameForNonMobilePortableRegion()
83 assertEquals("", carrierMapper.getNameForNumber(AO_FIXED1, Locale.ENGLISH)); in testGetNameForFixedLineNumber()
84 assertEquals("", carrierMapper.getNameForNumber(UK_FIXED1, Locale.ENGLISH)); in testGetNameForFixedLineNumber()
88 carrierMapper.getNameForValidNumber(AO_FIXED2, Locale.ENGLISH)); in testGetNameForFixedLineNumber()
89 assertEquals("", carrierMapper.getNameForValidNumber(UK_FIXED2, Locale.ENGLISH)); in testGetNameForFixedLineNumber()
94 Locale.ENGLISH)); in testGetNameForFixedOrMobileNumber()
98 assertEquals("British pager", carrierMapper.getNameForNumber(UK_PAGER, Locale.ENGLISH)); in testGetNameForPagerNumber()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DListFormatterTest.java45 checkData(ListFormatter.getInstance(ULocale.ENGLISH), EnglishTestData); in TestEnglish()
48 checkData(ListFormatter.getInstance(Locale.ENGLISH), EnglishTestData); in TestEnglish()
107 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestFromList()
116 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestCreatePatternForNumItems()
124 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestGetPatternForNumItemsException()
135 … "getLocale", ULocale.ENGLISH, ListFormatter.getInstance(ULocale.ENGLISH).getLocale()); in TestGetLocale()
139 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in Test9946()
145 return defaultLocale.equals(ULocale.ENGLISH) || defaultLocale.equals(ULocale.US); in isDefaultLocaleEnglishLike()
DScientificNumberFormatterTest.java26 ULocale.ENGLISH, "<sup>", "</sup>"); in TestBasic()
27 …ficNumberFormatter superscript = ScientificNumberFormatter.getSuperscriptInstance(ULocale.ENGLISH); in TestBasic()
50 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getScientificInstance(ULocale.ENGLISH); in TestPlusSignInExponentMarkup()
63 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getScientificInstance(ULocale.ENGLISH); in TestPlusSignInExponentSuperscript()
74 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getInstance(ULocale.ENGLISH); in TestFixedDecimalMarkup()
84 DecimalFormat decfmt = (DecimalFormat) NumberFormat.getInstance(ULocale.ENGLISH); in TestFixedDecimalSuperscript()
DPluralFormatUnitTest.java107 PluralFormat pf = new PluralFormat(ULocale.ENGLISH, oddAndEven, in TestApplyPatternAndFormat()
126 PluralFormat pf = new PluralFormat(ULocale.ENGLISH, oddAndEven, "otto{foo} other{bar}"); in TestApplyPatternAndFormat()
228 plFmt.setLocale(ULocale.ENGLISH); in TestSetLocale()
231 NumberFormat nrFmt = NumberFormat.getInstance(ULocale.ENGLISH); in TestSetLocale()
311 PluralFormat pf = new PluralFormat(ULocale.ENGLISH, pluralStyle); in TestExtendedPluralFormat()
312 MessageFormat mf = new MessageFormat("{0,plural," + pluralStyle + "}", ULocale.ENGLISH); in TestExtendedPluralFormat()
347 PluralFormat pf = new PluralFormat(ULocale.ENGLISH, PluralType.ORDINAL, pattern); in TestOrdinalFormat()
353 pf = new PluralFormat(ULocale.ENGLISH, PluralType.ORDINAL); in TestOrdinalFormat()
361 PluralFormat pf = new PluralFormat(ULocale.ENGLISH, "one{one meter}other{# meters}"); in TestDecimals()
364 PluralFormat pf2 = new PluralFormat(ULocale.ENGLISH, in TestDecimals()
[all …]
DDateIntervalFormatTest.java1239 …PatternInfo patternInfo = new DateIntervalInfo(ULocale.ENGLISH).getIntervalPattern("yMd", Calendar… in TestSetIntervalPatternNoSideEffect()
1241 new DateIntervalInfo(ULocale.ENGLISH).setIntervalPattern( in TestSetIntervalPatternNoSideEffect()
1243 … patternInfo = new DateIntervalInfo(ULocale.ENGLISH).getIntervalPattern("yMd", Calendar.DATE); in TestSetIntervalPatternNoSideEffect()
1252 DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance("MMMdHHmm", Locale.ENGLISH); in TestGetSetTimeZone()
1342 "yMd", ULocale.ENGLISH); in TestTicket9919GetInstance()
1357 new DateIntervalInfo(ULocale.ENGLISH); in TestTicket9919GetInstance()
1361 "yMd", ULocale.ENGLISH, dateIntervalInfo); in TestTicket9919GetInstance()
1366 dif = DateIntervalFormat.getInstance("yMd", ULocale.ENGLISH); in TestTicket9919GetInstance()
1381 "yMd", ULocale.ENGLISH); in TestTicket9919Setter()
1396 new DateIntervalInfo(ULocale.ENGLISH); in TestTicket9919Setter()
[all …]
DPluralRangesTest.java73 … {3.1, 4.25, ULocale.ENGLISH, FormatWidth.SHORT, MeasureUnit.FAHRENHEIT, "3.1–4.25°F"}, in TestFormatting()
75 {0.0, 1.0, ULocale.ENGLISH, FormatWidth.WIDE, MeasureUnit.INCH, "0–1 inches"}, in TestFormatting()
77 … {0.0, 1.0, ULocale.ENGLISH, FormatWidth.NARROW, Currency.getInstance("EUR"), "€0.00–1.00"}, in TestFormatting()
81 … {0.0, 1.0, ULocale.ENGLISH, FormatWidth.SHORT, Currency.getInstance("EUR"), "EUR0.00–1.00"}, in TestFormatting()
85 … {0.0, 1.0, ULocale.ENGLISH, FormatWidth.WIDE, Currency.getInstance("EUR"), "0.00–1.00 euros"}, in TestFormatting()
DMeasureUnitTest.java435 MeasureFormat fmtEn = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE); in TestExamplesInDocs()
553 NumberFormat nf = NumberFormat.getNumberInstance(ULocale.ENGLISH); in TestFormatPeriodEn()
555 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE, nf); in TestFormatPeriodEn()
557 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.SHORT, nf); in TestFormatPeriodEn()
559 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf); in TestFormatPeriodEn()
561 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NUMERIC, nf); in TestFormatPeriodEn()
604 NumberFormat nf = NumberFormat.getNumberInstance(ULocale.ENGLISH); in Test10219FractionalPlurals()
609 ULocale.ENGLISH, FormatWidth.WIDE, nf); in Test10219FractionalPlurals()
729 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE); in testFormatSingleArg()
734 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE); in testFormatMeasuresZeroArg()
[all …]
DTimeUnitTest.java34 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FractionalPlurals()
37 NumberFormat nf = NumberFormat.getNumberInstance(ULocale.ENGLISH); in Test10219FractionalPlurals()
46 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FactionalPluralsParse()
121 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.ABBREVIATED_NAME); in TestClone()
130 TimeUnitFormat tf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in TestEqHashCode()
131 MeasureFormat tfeq = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in TestEqHashCode()
133 MeasureFormat tfne = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.ABBREVIATED_NAME); in TestEqHashCode()
DTestMessageFormat.java441 MessageFormat msg = new MessageFormat(formatStr, Locale.ENGLISH); in TestSetLocale()
450 msg.setLocale(Locale.ENGLISH); in TestSetLocale()
451 assertEquals("getLocale", Locale.ENGLISH, msg.getLocale()); in TestSetLocale()
466 msg.setLocale(ULocale.ENGLISH); in TestSetLocale()
467 assertEquals("getULocale", ULocale.ENGLISH, msg.getULocale()); in TestSetLocale()
912 NumberFormat.getCurrencyInstance(ULocale.ENGLISH), in TestSetGetFormats()
1323 Locale.ENGLISH); in testApostropheInPluralAndSelect()
1542 MessageFormat ms = new MessageFormat("{number} {date}", ULocale.ENGLISH); in TestSetFormat()
1543 …at decimalFormat = new DecimalFormat("000.000", DecimalFormatSymbols.getInstance(ULocale.ENGLISH)); in TestSetFormat()
1770 new java.text.MessageFormat(pattern, Locale.ENGLISH); in TestCompatibleApostrophe()
[all …]
/external/libphonenumber/geocoder/test/com/google/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoderTest.java107 geocoder.getDescriptionForNumber(KO_NUMBER1, Locale.ENGLISH)); in testGetDescriptionForKoreanNumber()
109 geocoder.getDescriptionForNumber(KO_NUMBER2, Locale.ENGLISH)); in testGetDescriptionForKoreanNumber()
111 geocoder.getDescriptionForNumber(KO_NUMBER3, Locale.ENGLISH)); in testGetDescriptionForKoreanNumber()
120 geocoder.getDescriptionForNumber(AR_MOBILE_NUMBER, Locale.ENGLISH)); in testGetDescriptionForArgentinianMobileNumber()
155 assertEquals("", geocoder.getDescriptionForNumber(US_INVALID_NUMBER, Locale.ENGLISH, in testGetDescriptionForNumberWithUserRegion()
160 assertEquals("", geocoder.getDescriptionForNumber(KO_INVALID_NUMBER, Locale.ENGLISH)); in testGetDescriptionForInvalidNumber()
161 assertEquals("", geocoder.getDescriptionForNumber(US_INVALID_NUMBER, Locale.ENGLISH)); in testGetDescriptionForInvalidNumber()
/external/ant-glob/src/org/apache/tools/ant/taskdefs/condition/
DOs.java32 System.getProperty("os.name").toLowerCase(Locale.ENGLISH);
34 System.getProperty("os.arch").toLowerCase(Locale.ENGLISH);
36 System.getProperty("os.version").toLowerCase(Locale.ENGLISH);
145 family = f.toLowerCase(Locale.ENGLISH); in setFamily()
154 this.name = name.toLowerCase(Locale.ENGLISH); in setName()
163 this.arch = arch.toLowerCase(Locale.ENGLISH); in setArch()
172 this.version = version.toLowerCase(Locale.ENGLISH); in setVersion()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DDisplayNameTest.java84 checkLocale(ULocale.ENGLISH); in TestEnglish()
372 + ":\t" + locale + " [" + locale.getDisplayName(ULocale.ENGLISH) + "]" in check()
373 + "\t" + code + " [" + getter.get(ULocale.ENGLISH, code, context) + "]" in check()
381 + ":\t" + locale + " [" + locale.getDisplayName(ULocale.ENGLISH) + "]" in check()
382 + "\t" + code + " [" + getter.get(ULocale.ENGLISH, code, context) + "]" in check()
383 … + "\t& " + otherCode + " [" + getter.get(ULocale.ENGLISH, otherCode, context) + "]" in check()
391 + "\t" + locale + " [" + locale.getDisplayName(ULocale.ENGLISH) + "]" in check()
392 + "\t" + code + "[" + getter.get(ULocale.ENGLISH, code, context) + "]" in check()
/external/apache-http/src/org/apache/http/impl/cookie/
DRFC2965DomainAttributeHandler.java77 domain = domain.toLowerCase(Locale.ENGLISH); in parse()
122 String host = origin.getHost().toLowerCase(Locale.ENGLISH); in validate()
127 String cookieDomain = cookie.getDomain().toLowerCase(Locale.ENGLISH); in validate()
186 String host = origin.getHost().toLowerCase(Locale.ENGLISH); in match()
/external/apache-http/src/org/apache/http/auth/
DAuthSchemeRegistry.java89 registeredSchemes.put(name.toLowerCase(Locale.ENGLISH), factory); in register()
102 registeredSchemes.remove(name.toLowerCase(Locale.ENGLISH)); in unregister()
122 AuthSchemeFactory factory = registeredSchemes.get(name.toLowerCase(Locale.ENGLISH)); in getAuthScheme()
DAuthScope.java114 this.host = (host == null) ? ANY_HOST: host.toLowerCase(Locale.ENGLISH); in AuthScope()
117 this.scheme = (scheme == null) ? ANY_SCHEME: scheme.toUpperCase(Locale.ENGLISH); in AuthScope()
264 buffer.append(this.scheme.toUpperCase(Locale.ENGLISH)); in toString()
DNTCredentials.java85 username.substring(0, atSlash).toUpperCase(Locale.ENGLISH), in NTCredentials()
116 this.workstation = workstation.toUpperCase(Locale.ENGLISH); in NTCredentials()
/external/apache-http/src/org/apache/http/cookie/
DCookieSpecRegistry.java84 registeredSpecs.put(name.toLowerCase(Locale.ENGLISH), factory); in register()
96 registeredSpecs.remove(id.toLowerCase(Locale.ENGLISH)); in unregister()
116 CookieSpecFactory factory = registeredSpecs.get(name.toLowerCase(Locale.ENGLISH)); in getCookieSpec()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DAlphabeticIndexTest.java244 AlphabeticIndex alphabeticIndex = new AlphabeticIndex(Locale.ENGLISH); in TestFirstCharacters()
294 ULocale additionalLocale = ULocale.ENGLISH; in TestBuckets()
323 {0, ULocale.ENGLISH}, in TestInflow()
324 {0, ULocale.ENGLISH, new ULocale("el")}, in TestInflow()
325 {1, ULocale.ENGLISH, new ULocale("ru")}, in TestInflow()
326 … {0, ULocale.ENGLISH, new ULocale("el"), new UnicodeSet("[\u2C80]"), new ULocale("ru")}, in TestInflow()
327 {0, ULocale.ENGLISH}, in TestInflow()
328 {2, ULocale.ENGLISH, new ULocale("ru"), ULocale.JAPANESE}, in TestInflow()
381 …logln(desiredLocale + "\t" + desiredLocale.getDisplayName(ULocale.ENGLISH) + " - " + desiredLocale… in checkBuckets()
566 … logln(mainChars.size() + "\t" + locale + "\t" + locale.getDisplayName(ULocale.ENGLISH)); in TestBasics()
[all …]
DG7CollationTest.java66 Collator col = Collator.getInstance(Locale.ENGLISH); in TestDemo1()
92 Collator col = Collator.getInstance(Locale.ENGLISH); in TestDemo2()
119 Collator col = Collator.getInstance(Locale.ENGLISH); in TestDemo3()
146 Collator col = Collator.getInstance(Locale.ENGLISH); in TestDemo4()
DCollationDummyTest.java233 coll = Collator.getInstance(Locale.ENGLISH); in TestJB581()
290 enCollation = Collator.getInstance(Locale.ENGLISH); in TestSurrogates()
353 enColl = Collator.getInstance(Locale.ENGLISH); in TestVariableTop()
413 myCollator = Collator.getInstance(Locale.ENGLISH); in TestJB1401()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DPrettyPrinterTest.java24 Collator spaceComp = Collator.getInstance(Locale.ENGLISH); in TestBasicUnicodeSet()
28 .setOrdering(Collator.getInstance(Locale.ENGLISH)) in TestBasicUnicodeSet()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/
DICUPropertyFactory.java66 return UCharacter.toLowerCase(Locale.ENGLISH, UTF16.valueOf(codePoint)); in _getValue()
78 return UCharacter.toTitleCase(Locale.ENGLISH, UTF16.valueOf(codePoint), null); in _getValue()
82 return UCharacter.toUpperCase(Locale.ENGLISH, UTF16.valueOf(codePoint)); in _getValue()
98 … return String.valueOf(UCharacter.toLowerCase(Locale.ENGLISH, UTF16.valueOf(codePoint)).equals( in _getValue()
101 … return String.valueOf(UCharacter.toUpperCase(Locale.ENGLISH, UTF16.valueOf(codePoint)).equals( in _getValue()
104 …return String.valueOf(UCharacter.toTitleCase(Locale.ENGLISH, UTF16.valueOf(codePoint), null).equal… in _getValue()
110 … return String.valueOf(UCharacter.toLowerCase(Locale.ENGLISH, UTF16.valueOf(codePoint)).equals( in _getValue()
213 newValue = newValue == null ? null : newValue.toLowerCase(Locale.ENGLISH); in fixedGetPropertyValueName()
/external/jetty/src/java/org/eclipse/jetty/util/ajax/
DJSONObjectConvertor.java93 name=name.substring(2,3).toLowerCase(Locale.ENGLISH)+name.substring(3); in toJSON()
95 name=name.substring(3,4).toLowerCase(Locale.ENGLISH)+name.substring(4); in toJSON()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DTimer.java79 private DecimalFormat nf = (DecimalFormat) NumberFormat.getNumberInstance(ULocale.ENGLISH);
80 private DecimalFormat pf = (DecimalFormat) NumberFormat.getPercentInstance(ULocale.ENGLISH);
/external/apache-http/src/org/apache/http/
DHttpHost.java91 this.lcHostname = hostname.toLowerCase(Locale.ENGLISH); in HttpHost()
93 this.schemeName = scheme.toLowerCase(Locale.ENGLISH); in HttpHost()

1234567