Home
last modified time | relevance | path

Searched refs:getEnglish (Results 1 – 25 of 38) sorted by relevance

12

/external/icu/icu4c/source/test/intltest/
Dplurfmts.cpp257 pluralFmt.setLocale(Locale::getEnglish(), status); in pluralFormatUnitTest()
267 numFmt = NumberFormat::createInstance(Locale::getEnglish(), status); in pluralFormatUnitTest()
564 PluralFormat pf(Locale::getEnglish(), fmtString, status); in pluralFormatExtendedTest()
566 Locale::getEnglish(), status); in pluralFormatExtendedTest()
630 PluralFormat pf(Locale::getEnglish(), UPLURAL_TYPE_ORDINAL, pattern, errorCode); in ordinalFormatTest()
651 PluralFormat pf2(Locale::getEnglish(), UPLURAL_TYPE_ORDINAL, errorCode); in ordinalFormatTest()
672 PluralFormat pf(Locale::getEnglish(), "one{one meter}other{# meters}", errorCode); in TestDecimals()
675 PluralFormat pf2(Locale::getEnglish(), in TestDecimals()
677 DecimalFormat df("0.0", new DecimalFormatSymbols(Locale::getEnglish(), errorCode), errorCode); in TestDecimals()
Dalphaindextst.cpp86 AlphabeticIndex *index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
113 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
130 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
184 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
212 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
260 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
289 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
561 index.addLabels(Locale::getEnglish(), status); in TestHaniFirst()
Drbbiapts.cpp664 BreakIterator *bi = BreakIterator::createWordInstance(Locale::getEnglish(), status); in TestRuleStatus()
701 bi = BreakIterator::createLineInstance(Locale::getEnglish(), status); in TestRuleStatus()
999 if (avail[i] == Locale::getEnglish()) { in TestRegistration()
1105 …or *rb = (RuleBasedBreakIterator *)BreakIterator::createWordInstance(Locale::getEnglish(), status); in TestCreateFromRBBIData()
1146 …or *bi = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::getEnglish(), status); in TestRefreshInputText()
1241 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1276 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1306 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1325 … builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1329 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
[all …]
Dtmsgfmt.cpp633 Locale::getEnglish(), in testApostropheInPluralAndSelect()
1015 msg.setLocale(Locale::getEnglish()); in testSetLocale()
1017 if (msg.getLocale() != Locale::getEnglish()) { in testSetLocale()
1845 MessageFormat m("a { 0 , number , '#,#'#.0 } z", Locale::getEnglish(), errorCode); in TestTrimArgumentName()
1870 Locale::getEnglish(), errorCode); in TestSelectOrdinal()
1900 Locale::getEnglish(), errorCode); in TestDecimals()
1915 Locale::getEnglish(), errorCode); in TestDecimals()
1929 Locale::getEnglish(), errorCode); in TestDecimals()
1948 Locale::getEnglish(), errorCode); in TestDecimals()
Dapicoll.cpp80 col = Collator::createInstance(Locale::getEnglish(), success); in TestProperty()
86 … StringEnumeration* kwEnum = col->getKeywordValuesForLocale("", Locale::getEnglish(),true,success); in TestProperty()
153 logln(Collator::getDisplayName(Locale::getUS(), Locale::getEnglish(), name)); in TestProperty()
322 coll = (RuleBasedCollator *)Collator::createInstance(Locale::getEnglish(), status); in TestRules()
426 col1 = Collator::createInstance(Locale::getEnglish(), success); in TestHashCode()
443 col3 = Collator::createInstance(Locale::getEnglish(), success); in TestHashCode()
485 col = Collator::createInstance(Locale::getEnglish(), success); in TestCollationKey()
620 col = Collator::createInstance(Locale::getEnglish(), success); in TestElemIter()
777 colerror=Collator::createInstance(Locale::getEnglish(), success); in TestElemIter()
832 Collator *col3 = Collator::createInstance(Locale::getEnglish(), success); in TestOperators()
[all …]
Ddtifmtts.cpp148 const Locale &enLocale = Locale::getEnglish(); in testAPI()
169 … LocalPointer<DateIntervalInfo> dii(new DateIntervalInfo(Locale::getEnglish(), status), status); in testAPI()
326 dtitvfmt = DateIntervalFormat::createInstance("MMMdHHmm", Locale::getEnglish(), status); in testAPI()
1195 const Locale &enLocale = Locale::getEnglish(); in testYearFormats()
Dquantityformattertest.cpp115 NumberFormat::createInstance(Locale::getEnglish(), status)); in TestBasic()
Dnmfmapts.cpp32 Locale::setDefault(Locale::getEnglish(), status); in runIndexedTest()
45 Locale::setDefault(Locale::getEnglish(), status); in runIndexedTest()
Ditformat.cpp93 Locale::setDefault( Locale::getEnglish(), status ); in runIndexedTest()
Dicusvtst.cpp720 service.getDisplayName("en_US_SURFER_DUDE", name, Locale::getEnglish()); in testAPI_Two()
761 service.getDisplayName(actualID, displayName, Locale::getEnglish()); in testAPI_Two()
765 service.getDisplayName(id, displayName, Locale::getEnglish()); in testAPI_Two()
783 service.getDisplayName(actualID, displayName, Locale::getEnglish()); in testAPI_Two()
787 service.getDisplayName(id, displayName, Locale::getEnglish()); in testAPI_Two()
Dsdtfmtts.cpp30 Locale::setDefault(Locale::getEnglish(), status); in runIndexedTest()
Dtsdtfmsy.cpp145 DateFormatSymbols *symbol=new DateFormatSymbols(Locale::getEnglish(), status); in TestGetSetSpecificItems()
186 DateFormatSymbols en(Locale::getEnglish(), status); in TestSymbols()
Dtztest.cpp1386 zone->getDisplayName(Locale::getEnglish(), name); in TestDisplayName()
1430 Locale::getEnglish(), name); in TestDisplayName()
1465 name = zone2->getDisplayName(Locale::getEnglish(),name); in TestDisplayName()
1486 Locale::getEnglish(), status); in TestDisplayName()
1518 name = zone2->getDisplayName(Locale::getEnglish(),name); in TestDisplayName()
Dtsdcfmsy.cpp41 DecimalFormatSymbols en(Locale::getEnglish(), status); in testSymbols()
Ditrbnf.cpp445 RuleBasedNumberFormat formatter(fracRules, Locale::getEnglish(), perror, status); in TestFractionalRuleSet()
1970 RuleBasedNumberFormat rbnf(URBNF_ORDINAL, Locale::getEnglish(), status); in TestSetDecimalFormatSymbols()
1976 DecimalFormatSymbols dfs(Locale::getEnglish(), status); in TestSetDecimalFormatSymbols()
2012 RuleBasedNumberFormat enFormatter(enRules, Locale::getEnglish(), parseError, status); in TestPluralRules()
Ddtptngts.cpp665 …imePatternGenerator *patGen=DateTimePatternGenerator::createInstance(Locale::getEnglish(), status); in testAPI()
677 DateFormat::kFull, Locale::getEnglish()); in testAPI()
Ddtfmapts.cpp33 Locale::setDefault(Locale::getEnglish(), status); in runIndexedTest()
Dencoll.cpp21 myCollation = Collator::createInstance(Locale::getEnglish(), status); in CollationEnglishTest()
Dplurults.cpp133 LocalPointer<PluralRules> newEnPlural(test->forLocale(Locale::getEnglish(), status), status); in testAPI()
250 LocalPointer<PluralRules> en(test->forLocale(Locale::getEnglish(), status)); in testAPI()
Duobjtest.cpp489 TESTCLASSID_NONE_CTOR(AlphabeticIndex, (Locale::getEnglish(), status)); in testIDs()
/external/icu/icu4c/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp60 …Format* dtitvfmtEn = DateIntervalFormat::createInstance(skeletons[j], Locale::getEnglish(),status); in dtitvfmtPreDefined()
123 …* dtitvfmtEn = DateIntervalFormat::createInstance(skeletons[i],Locale::getEnglish(),dtitvinf,statu… in dtitvfmtCustomized()
/external/icu/icu4c/source/tools/tzcode/
Dicuzdump.cpp46 …sdf = new SimpleDateFormat((UnicodeString)"yyyy-MM-dd EEE HH:mm:ss", Locale::getEnglish(), status); in DumpFormatter()
47 DecimalFormatSymbols *symbols = new DecimalFormatSymbols(Locale::getEnglish(), status); in DumpFormatter()
191 GregorianCalendar* gcal = new GregorianCalendar(timezone, Locale::getEnglish(), status); in getCutOverTimes()
/external/icu/icu4c/source/i18n/
Dbrktrans.cpp163 bi = BreakIterator::createWordInstance(Locale::getEnglish(), status); in getBreakIterator()
/external/icu/icu4c/source/common/unicode/
Dlocid.h190 static const Locale &U_EXPORT2 getEnglish(void);
/external/icu/icu4c/source/samples/ustring/
Dustring.cpp370 const Locale &en=Locale::getEnglish(); in demoCaseMapInCPlusPlus()

12