Home
last modified time | relevance | path

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

12345

/external/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp101 Locale::getEnglish(), in notationSimple()
116 Locale::getEnglish(), in notationSimple()
131 Locale::getEnglish(), in notationSimple()
142 Locale::getEnglish(), in notationScientific()
157 Locale::getEnglish(), in notationScientific()
173 Locale::getEnglish(), in notationScientific()
188 Locale::getEnglish(), in notationScientific()
203 Locale::getEnglish(), in notationScientific()
213 Locale::getEnglish(), in notationCompact()
228 Locale::getEnglish(), in notationCompact()
[all …]
Dplurfmts.cpp259 pluralFmt.setLocale(Locale::getEnglish(), status); in pluralFormatUnitTest()
269 numFmt = NumberFormat::createInstance(Locale::getEnglish(), status); in pluralFormatUnitTest()
566 PluralFormat pf(Locale::getEnglish(), fmtString, status); in pluralFormatExtendedTest()
568 Locale::getEnglish(), status); in pluralFormatExtendedTest()
632 PluralFormat pf(Locale::getEnglish(), UPLURAL_TYPE_ORDINAL, pattern, errorCode); in ordinalFormatTest()
653 PluralFormat pf2(Locale::getEnglish(), UPLURAL_TYPE_ORDINAL, errorCode); in ordinalFormatTest()
674 PluralFormat pf(Locale::getEnglish(), "one{one meter}other{# meters}", errorCode); in TestDecimals()
677 PluralFormat pf2(Locale::getEnglish(), in TestDecimals()
679 DecimalFormat df("0.0", new DecimalFormatSymbols(Locale::getEnglish(), errorCode), errorCode); in TestDecimals()
Ddtifmtts.cpp153 const Locale &enLocale = Locale::getEnglish(); in testAPI()
174 … LocalPointer<DateIntervalInfo> dii(new DateIntervalInfo(Locale::getEnglish(), status), status); in testAPI()
331 dtitvfmt = DateIntervalFormat::createInstance("MMMdHHmm", Locale::getEnglish(), status); in testAPI()
1182 const Locale &enLocale = Locale::getEnglish(); in testYearFormats()
1526 DateIntervalFormat::createInstance(UDAT_HOUR_MINUTE, Locale::getEnglish(), status)); in testTicket11985()
1562 …matter(DateIntervalFormat::createInstance(UDAT_YEAR_MONTH_DAY, Locale::getEnglish(), status), stat… in testTicket11669()
1564 …LocalPointer<Calendar> intervalStart(Calendar::createInstance(*tz, Locale::getEnglish(), status), … in testTicket11669()
1565 …LocalPointer<Calendar> intervalEnd(Calendar::createInstance(*tz, Locale::getEnglish(), status), st… in testTicket11669()
1601 …matter(DateIntervalFormat::createInstance(UDAT_YEAR_MONTH_DAY, Locale::getEnglish(), status), stat… in testTicket12065()
Dalphaindextst.cpp90 AlphabeticIndex *index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
117 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
134 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
188 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
216 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
264 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
293 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
565 index.addLabels(Locale::getEnglish(), status); in TestHaniFirst()
Drbbiapts.cpp667 BreakIterator *bi = BreakIterator::createWordInstance(Locale::getEnglish(), status); in TestRuleStatus()
704 bi = BreakIterator::createLineInstance(Locale::getEnglish(), status); in TestRuleStatus()
1002 if (avail[i] == Locale::getEnglish()) { in TestRegistration()
1069 LocalPointer<BreakIterator> bi(BreakIterator::createLineInstance(Locale::getEnglish(), status)); in TestGetBinaryRules()
1127 …or *bi = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::getEnglish(), status); in TestRefreshInputText()
1222 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1257 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1287 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1306 … builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1310 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
[all …]
Dnumbertest_patternmodifier.cpp31 DecimalFormatSymbols symbols(Locale::getEnglish(), status); in testBasic()
93 DecimalFormatSymbols symbols(Locale::getEnglish(), status); in testPatternWithNoPlaceholder()
136 DecimalFormatSymbols symbols(Locale::getEnglish(), status); in testMutableEqualsImmutable()
Dtmsgfmt.cpp638 Locale::getEnglish(), in testApostropheInPluralAndSelect()
1022 msg.setLocale(Locale::getEnglish()); in testSetLocale()
1024 if (msg.getLocale() != Locale::getEnglish()) { in testSetLocale()
1850 MessageFormat m("a { 0 , number , '#,#'#.0 } z", Locale::getEnglish(), errorCode); in TestTrimArgumentName()
1875 Locale::getEnglish(), errorCode); in TestSelectOrdinal()
1905 Locale::getEnglish(), errorCode); in TestDecimals()
1920 Locale::getEnglish(), errorCode); in TestDecimals()
1934 Locale::getEnglish(), errorCode); in TestDecimals()
1953 Locale::getEnglish(), errorCode); in TestDecimals()
1974 MessageFormat mf1("{0,select,a{A}ab{AB}abc{ABC}other{?}}", Locale::getEnglish(), errorCode); in TestArgIsPrefixOfAnother()
[all …]
Dapicoll.cpp83 col = Collator::createInstance(Locale::getEnglish(), success); in TestProperty()
149 logln(Collator::getDisplayName(Locale::getUS(), Locale::getEnglish(), name)); in TestProperty()
230 LocalPointer<Collator> col(Collator::createInstance(Locale::getEnglish(), errorCode)); in TestKeywordValues()
236 col->getKeywordValuesForLocale("collation", Locale::getEnglish(), TRUE, errorCode)); in TestKeywordValues()
341 coll = (RuleBasedCollator *)Collator::createInstance(Locale::getEnglish(), status); in TestRules()
445 col1 = Collator::createInstance(Locale::getEnglish(), success); in TestHashCode()
462 col3 = Collator::createInstance(Locale::getEnglish(), success); in TestHashCode()
504 col = Collator::createInstance(Locale::getEnglish(), success); in TestCollationKey()
639 col = Collator::createInstance(Locale::getEnglish(), success); in TestElemIter()
796 colerror=Collator::createInstance(Locale::getEnglish(), success); in TestElemIter()
[all …]
Ditrbnf.cpp476 RuleBasedNumberFormat formatter(fracRules, Locale::getEnglish(), perror, status); in TestFractionalRuleSet()
1999 RuleBasedNumberFormat rbnf(URBNF_ORDINAL, Locale::getEnglish(), status); in TestSetDecimalFormatSymbols()
2005 DecimalFormatSymbols dfs(Locale::getEnglish(), status); in TestSetDecimalFormatSymbols()
2041 RuleBasedNumberFormat enFormatter(enRules, Locale::getEnglish(), parseError, status); in TestPluralRules()
2146 RuleBasedNumberFormat enFormatter(enRules, Locale::getEnglish(), parseError, status); in TestInfinityNaN()
2165 RuleBasedNumberFormat enFormatter2(enRules2, Locale::getEnglish(), parseError, status); in TestInfinityNaN()
2200 RuleBasedNumberFormat enFormatter(enRules, Locale::getEnglish(), parseError, status); in TestVariableDecimalPoint()
2213 DecimalFormatSymbols decimalFormatSymbols(Locale::getEnglish(), status); in TestVariableDecimalPoint()
2227 RuleBasedNumberFormat rbnf(URBNF_SPELLOUT, Locale::getEnglish(), status); in TestLargeNumbers()
2263 …RuleBasedNumberFormat rbnf(numberPattern, UnicodeString(), Locale::getEnglish(), parseError, statu… in TestCompactDecimalFormatStyle()
Drbbitst.cpp319 BreakIterator *bi = BreakIterator::createSentenceInstance(Locale::getEnglish(), status); in TestBug5775()
1255 …bi = (RuleBasedBreakIterator *)BreakIterator::createCharacterInstance(Locale::getEnglish(), statu… in TestUnicodeFiles()
1262 bi = (RuleBasedBreakIterator *)BreakIterator::createWordInstance(Locale::getEnglish(), status); in TestUnicodeFiles()
1269 …bi = (RuleBasedBreakIterator *)BreakIterator::createSentenceInstance(Locale::getEnglish(), status… in TestUnicodeFiles()
1276 bi = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::getEnglish(), status); in TestUnicodeFiles()
2695 fCharBI = BreakIterator::createCharacterInstance(Locale::getEnglish(), status); in RBBILineMonkey()
4298 …eakIterator> charBreaks(BreakIterator::createCharacterInstance(Locale::getEnglish(), status), stat… in TestEmoji()
4299 …LocalPointer<BreakIterator> wordBreaks(BreakIterator::createWordInstance(Locale::getEnglish(), sta… in TestEmoji()
4300 …LocalPointer<BreakIterator> lineBreaks(BreakIterator::createLineInstance(Locale::getEnglish(), sta… in TestEmoji()
4368 …r> biEn((RuleBasedBreakIterator *)BreakIterator::createWordInstance(Locale::getEnglish(), status)); in TestBug12519()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestExampleGenerator.java329 result = new ExampleGenerator(nativeCldrFile, info.getEnglish(), in getExampleGenerator()
372 showCldrFile(info.getEnglish()); in TestPaths()
431 CLDRFile english = info.getEnglish(); in TestSymbols()
447 info.getEnglish(), info.getEnglish(), in TestFallbackFormat()
509 final CLDRFile nativeCldrFile = info.getEnglish(); in Test4607()
511 info.getEnglish(), info.getEnglish(), in Test4607()
525 info.getEnglish(), CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in showCldrFile()
616 info.getEnglish(), CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in checkCompactExampleFor()
650 …ExampleGenerator exampleGenerator = new ExampleGenerator(cldrFile, info.getEnglish(), CLDRPaths.DE… in checkDayPeriod()
DTestLocale.java198 CLDRFile english = testInfo.getEnglish(); in TestLocalePartsValidity()
385 ExampleGenerator eg = new ExampleGenerator(f, testInfo.getEnglish(), in TestBrackets()
412 testInfo.getEnglish().getName("zh")); in TestLocaleNamePattern()
414 .getEnglish().getName("zh-US")); in TestLocaleNamePattern()
416 .getEnglish().getName("zh-Arab-US")); in TestLocaleNamePattern()
426 testInfo.getEnglish().getName("zh_Hans")); in TestExtendedLanguage()
428 "Simplified Chinese (Singapore)", testInfo.getEnglish() in TestExtendedLanguage()
431 testInfo.getEnglish().getName("en-US")); in TestExtendedLanguage()
434 testInfo.getEnglish().getName("en-Arab-US")); in TestExtendedLanguage()
DTestDisplayAndInputProcessor.java25 showCldrFile(info.getEnglish()); in TestAll()
34 DisplayAndInputProcessor daip = new DisplayAndInputProcessor(info.getEnglish(), true); in TestAExemplars()
193 info.getEnglish(), false); in TestCompactNumberFormats()
205 info.getEnglish(), false); in TestPatternCanonicalization()
213 info.getEnglish(), false); in TestCurrencyFormatSpaces()
267 info.getEnglish(), false); in TestQuoteNormalization()
DTestOutdatedPaths.java44 PathHeader.Factory pathHeaders = PathHeader.getFactory(testInfo.getEnglish()); in TestShow()
66 + CLDRConfig.getInstance().getEnglish() in checkShow()
DTestCoverage.java42 CLDRFile engCldrFile = testInfo.getEnglish(); in TestBasic()
66 PathHeader.Factory phf = PathHeader.getFactory(testInfo.getEnglish()); in TestSelected()
134 return locale + "\t" + testInfo.getEnglish().getName(locale); in getLocaleAndName()
DLanguageTest.java209 + (parser.getRegion().isEmpty() ? "?" : testInfo.getEnglish() in getLocaleName()
231 String name = testInfo.getEnglish().getName("script", script); in getScriptName()
251 String name = testInfo.getEnglish().getName("language", language); in getLanguageName()
DTestCLDRFile.java67 … CLDRFile english = testInfo.getEnglish(); // testInfo.getFullCldrFactory().make("en", false); in testFallbackNames()
321 CLDRFile english = testInfo.getEnglish(); in testSimple()
422 PathHeader.Factory phf = PathHeader.getFactory(testInfo.getEnglish()); in testGeorgeBailey()
502 CLDRFile eng = CLDRConfig.getInstance().getEnglish(); in TestConstructedBailey()
712 PathHeader.Factory pathHeaderFactory = PathHeader.getFactory(testInfo.getEnglish()); in TestExtraPaths()
DTestCheckCLDR.java85 final CLDRFile english = testInfo.getEnglish(); in TestCheckConsistentCasing()
99 static final CLDRFile english = testInfo.getEnglish();
327 final CLDRFile english = testInfo.getEnglish(); in TestCheckNames()
364 CheckCLDR.setDisplayInformation(testInfo.getEnglish()); // just in case in TestCheckDates()
/external/icu/icu4c/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp63 …Format* dtitvfmtEn = DateIntervalFormat::createInstance(skeletons[j], Locale::getEnglish(),status); in dtitvfmtPreDefined()
126 …* dtitvfmtEn = DateIntervalFormat::createInstance(skeletons[i],Locale::getEnglish(),dtitvinf,statu… in dtitvfmtCustomized()
/external/icu/icu4c/source/tools/tzcode/
Dicuzdump.cpp50 …sdf = new SimpleDateFormat((UnicodeString)"yyyy-MM-dd EEE HH:mm:ss", Locale::getEnglish(), status); in DumpFormatter()
51 DecimalFormatSymbols *symbols = new DecimalFormatSymbols(Locale::getEnglish(), status); in DumpFormatter()
195 GregorianCalendar* gcal = new GregorianCalendar(timezone, Locale::getEnglish(), status); in getCutOverTimes()
/external/cldr/tools/java/org/unicode/cldr/util/
DLanguageGroup.java124 CLDRFile english = CLDRConfig.getInstance().getEnglish(); in main()
167 return getName(CLDRConfig.getInstance().getEnglish()); in toString()
/external/cldr/tools/java/org/unicode/cldr/tool/
DDeriveScripts.java129 CLDRFile english = CONFIG.getEnglish(); in showLine()
138 CLDRFile english = CONFIG.getEnglish(); in main()
DChart.java20 public static final CLDRFile ENGLISH = CONFIG.getEnglish();
/external/icu/icu4c/source/tools/gencolusb/
Dverify_uset.cpp62 Collator *col = Collator::createInstance(Locale::getEnglish(), errorCode); in main()
/external/cldr/tools/java/org/unicode/cldr/test/
DFactoryCheckCLDR.java27 return CLDRConfig.getInstance().getEnglish(); in getEnglishFile()

12345