Home
last modified time | relevance | path

Searched refs:getUS (Results 1 – 25 of 31) sorted by relevance

12

/external/icu4c/test/intltest/
Dlocnmtst.cpp94 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS(), ULDN_DIALECT_NAMES); in TestCreateDialect()
102 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); in TestWithKeywordsAndEverything()
137 ULocaleDisplayNames *ldn = uldn_open(Locale::getUS().getName(), ULDN_DIALECT_NAMES, &status); in TestUldnOpenDialect()
153 ULocaleDisplayNames *ldn = uldn_open(Locale::getUS().getName(), ULDN_STANDARD_NAMES, &status); in TestUldnWithKeywordsAndEverything()
225 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); in TestRootEtc()
Dnumrgts.cpp399 NumberFormat *nfcommon = NumberFormat::createCurrencyInstance(Locale::getUS(), status); in assignFloatValue()
400 if (failure(status, "NumberFormat::createCurrencyInstance", Locale::getUS(), TRUE)){ in assignFloatValue()
411 failure(status, "nfcommon->parse", Locale::getUS()); in assignFloatValue()
430 failure(status, "new Decimalformat", Locale::getUS()); in Test4059870()
435 failure(status, "format->parse", Locale::getUS()); in Test4059870()
453 failure(status, "new DecimalFormatSymbols", Locale::getUS()); in Test4083018()
474 if (failure(status, "NumberFormat::createInstance", Locale::getUS(), TRUE)) { in Test4071492()
1400 DecimalFormatSymbols *syms = new DecimalFormatSymbols(Locale::getUS(), status); in Test4108738()
2152 NumberFormat *fmt = NumberFormat::createInstance(Locale::getUS(), status);
2188 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status);
[all …]
Dastrotst.cpp270 GregorianCalendar *cal = new GregorianCalendar(tz->clone(), Locale::getUS(), status); in TestSunriseTimes()
271 GregorianCalendar *cal2 = new GregorianCalendar(tz->clone(), Locale::getUS(), status); in TestSunriseTimes()
278 DateFormat *df_t = DateFormat::createTimeInstance(DateFormat::MEDIUM,Locale::getUS()); in TestSunriseTimes()
279 DateFormat *df_d = DateFormat::createDateInstance(DateFormat::MEDIUM,Locale::getUS()); in TestSunriseTimes()
280 …f_dt = DateFormat::createDateTimeInstance(DateFormat::MEDIUM, DateFormat::MEDIUM, Locale::getUS()); in TestSunriseTimes()
382 …GregorianCalendar *cal3 = new GregorianCalendar(TimeZone::getGMT()->clone(), Locale::getUS(), stat… in TestBasics()
383 …at *d3 = DateFormat::createDateTimeInstance(DateFormat::MEDIUM,DateFormat::MEDIUM,Locale::getUS()); in TestBasics()
Dmiscdtfm.cpp161 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
193 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
224 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
253 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
Ddtfmrgts.cpp124 DateFormat::SHORT, Locale::getUS()); in Test4052408()
226 … SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("yyMMdd"), Locale::getUS(), status); in Test4056591()
711 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString("z"), Locale::getUS(), status); in Test4101483()
744 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("MMMM"), Locale::getUS(), status); in Test4103340()
1032 SimpleDateFormat *format = new SimpleDateFormat(pattern, Locale::getUS(), status); in Test4151631()
1056 SimpleDateFormat fmt(UnicodeString("EEEE, dd-MMM-yy HH:mm:ss z"), Locale::getUS(), status); in Test4151706()
1083 SimpleDateFormat df(format, Locale::getUS(), status); in Test4162071()
1108 SimpleDateFormat fmt("MM/dd/yy", Locale::getUS(), status); in Test4182066()
1109 SimpleDateFormat dispFmt("MMM dd yyyy GG", Locale::getUS(), status); in Test4182066()
1191 SimpleDateFormat sfmt(pattern, Locale::getUS(), status); in Test4210209()
[all …]
Dnumfmtst.cpp212 DecimalFormatSymbols sym(Locale::getUS(), status); in TestPatterns()
270 DecimalFormatSymbols sym(Locale::getUS(), status); in TestExponential()
584 DecimalFormatSymbols *sym = new DecimalFormatSymbols(Locale::getUS(), status); in TestQuotes()
622 DecimalFormatSymbols* sym = new DecimalFormatSymbols(Locale::getUS(), status); in TestCurrencySign()
777 NumberFormat::createCurrencyInstance(Locale::getUS(), ec); in TestCurrencyObject()
798 expectCurrency(*fmt, Locale::getUS(), in TestCurrencyObject()
818 expectCurrency(*fmt, Locale::getUS(), in TestCurrencyObject()
1131 DecimalFormatSymbols US(Locale::getUS(), status); in TestSecondaryGrouping()
1190 DecimalFormatSymbols US(Locale::getUS(), ec); in TestWhiteSpaceParsing()
1240 DecimalFormatSymbols US(Locale::getUS(), status); in TestExponent()
[all …]
Dsvccoll.cpp37 const Locale& US = Locale::getUS(); in TestRegister()
380 info[0] = new CollatorInfo(Locale::getUS(), frcol, NULL); in TestRegisterFactory()
391 Collator* uscol = Collator::createInstance(Locale::getUS(), status); in TestRegisterFactory()
402 Collator* ncol = Collator::createInstance(Locale::getUS(), status); in TestRegisterFactory()
Ditrbnfrt.cpp65 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status); in TestEnglishSpelloutRT()
83 = new RuleBasedNumberFormat(URBNF_DURATION, Locale::getUS(), status); in TestDurationsRT()
Ditrbnf.cpp147 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status); in TestAPI()
203 RuleBasedNumberFormat ruleCtorResult(spelloutRules, Locale::getUS(), perror, status); in TestAPI()
209 RuleBasedNumberFormat nf(spelloutRules, (UnicodeString)"", Locale::getUS(), perror, status); in TestAPI()
222 RuleBasedNumberFormat fromRulesResult(rules, Locale::getUS(), perror, status); in TestAPI()
1067 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status); in TestEnglishSpellout()
1119 = new RuleBasedNumberFormat(URBNF_ORDINAL, Locale::getUS(), status); in TestOrdinalAbbreviations()
1155 = new RuleBasedNumberFormat(URBNF_DURATION, Locale::getUS(), status); in TestDurations()
1889 new RuleBasedNumberFormat(rules, Locale::getUS(), parse_error, status); in TestMultiplierSubstitution()
1986 NumberFormat* decFmt = NumberFormat::createInstance(Locale::getUS(), status); in doLenientParseTest()
Ditrbnfp.cpp125 … RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(rule, Locale::getUS(), perr, status); in TestParse()
Ddcfmtest.cpp310 DecimalFormatSymbols symbols(Locale::getUS(), status); in execParseTest()
376 DecimalFormatSymbols symbols(Locale::getUS(), status); in execFormatTest()
Duobjtest.cpp364 …RY(RelativeDateFormat, DateFormat::createDateInstance(DateFormat::kFullRelative, Locale::getUS())); in testIDs()
373 …TESTCLASSID_FACTORY_HIDDEN(CurrencyFormat, MeasureFormat::createCurrencyFormat(Locale::getUS(), st… in testIDs()
Ddtfmttst.cpp369 …ats[0] = DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull, Locale::getUS()); in TestFieldPosition()
374 dateFormats[2] = new SimpleDateFormat(buf, Locale::getUS(), ec); in TestFieldPosition()
381 dateFormats[3] = new SimpleDateFormat(buf, Locale::getUS(), ec); in TestFieldPosition()
1142 DateFormat::FULL, Locale::getUS()); in TestLocaleDateFormat()
1181 date = DateFormat::createDateInstance(DateFormat::kShort, Locale::getUS()); in TestDateFormatCalendar()
1188 time = DateFormat::createTimeInstance(DateFormat::kShort, Locale::getUS()); in TestDateFormatCalendar()
1196 Locale::getUS()); in TestDateFormatCalendar()
1203 cal = Calendar::createInstance(Locale::getUS(), ec); in TestDateFormatCalendar()
Dloctest.cpp411 if (strcmp(Locale::getUS().getName(), ULOC_US) != 0) { in TestParallelAPIValues()
968 l.getDisplayLanguage(Locale::getUS(), test); in TestSimpleDisplayNames()
1078 Locale::setDefault(Locale::getUS(), status); in TestAtypicalLocales()
1081 localesToTest[i].getDisplayName(Locale::getUS(), name); in TestAtypicalLocales()
1488 en_US_custom.getDisplayVariant(Locale::getUS(), got); in TestVariantParsing()
1495 en_US_custom.getDisplayName(Locale::getUS(), got); in TestVariantParsing()
Dtsdcfmsy.cpp201 DecimalFormatSymbols sym(Locale::getUS(), status); in testSymbols()
Daliastst.cpp184 Locale::setDefault(Locale::getUS(), status); in LocaleAliasTest()
Dcalregts.cpp1811 GregorianCalendar *calendar = new GregorianCalendar(Locale::getUS(), status); in Test4166109()
1855 Locale::getUS(), status); in Test4167060()
1945 Locale::getUS(), status); in Test4197699()
2007 GregorianCalendar cal(TimeZone::createTimeZone("GMT"), Locale::getUS(), status); in TestJ81()
2008 SimpleDateFormat fmt("HH:mm 'w'w 'd'D E d MMM yyyy", Locale::getUS(), status); in TestJ81()
2224 Calendar* pcal = Calendar::createInstance(Locale::getUS(), ec); in TestJ438()
2597 Locale locale(Locale::getUS()); // could also be CHINA in TestTimeZoneTransitionAdd()
Dnmfmapts.cpp254 #define SWAP_LOC Locale::getUS()
Dtmsgfmt.cpp300 form = new MessageFormat(testCases[i], Locale::getUS(), success); in PatternTest()
1635 MessageFormat compMsg("", Locale::getUS(), ec); in TestCompatibleApostrophe()
1641 MessageFormat icuMsg("", Locale::getUS(), ec); in TestCompatibleApostrophe()
Ditercoll.cpp29 en_us = (RuleBasedCollator *)Collator::createInstance(Locale::getUS(), status); in CollationIteratorTest()
/external/icu4c/samples/break/
Dbreak.cpp105 Locale::getUS(), status ); in main()
123 Locale::getUS(), status); in main()
/external/icu4c/common/unicode/
Dlocid.h223 static const Locale &U_EXPORT2 getUS(void);
/external/icu4c/test/perf/DateFmtPerf/
DDateFmtPerf.h84 boundary = BreakIterator::createCharacterInstance(Locale::getUS(), *status); in call()
/external/icu4c/i18n/
Dastro.cpp47 … df = DateFormat::createDateTimeInstance(DateFormat::MEDIUM, DateFormat::MEDIUM, Locale::getUS()); in debug_astro_date()
/external/icu4c/common/
Dlocid.cpp874 Locale::getUS(void) in getUS() function in Locale

12