/external/icu4c/test/intltest/ |
D | numrgts.cpp | 382 NumberFormat *nfcommon = NumberFormat::createCurrencyInstance(Locale::getUS(), status); in assignFloatValue() 383 if (failure(status, "NumberFormat::createCurrencyInstance", Locale::getUS())){ in assignFloatValue() 394 failure(status, "nfcommon->parse", Locale::getUS()); in assignFloatValue() 413 failure(status, "new Decimalformat", Locale::getUS()); in Test4059870() 418 failure(status, "format->parse", Locale::getUS()); in Test4059870() 436 failure(status, "new DecimalFormatSymbols", Locale::getUS()); in Test4083018() 457 if (failure(status, "NumberFormat::createInstance", Locale::getUS())) { in Test4071492() 1380 DecimalFormatSymbols *syms = new DecimalFormatSymbols(Locale::getUS(), status); in Test4108738() 2121 NumberFormat *fmt = NumberFormat::createInstance(Locale::getUS(), status); 2157 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); [all …]
|
D | astrotst.cpp | 269 GregorianCalendar *cal = new GregorianCalendar(tz->clone(), Locale::getUS(), status); in TestSunriseTimes() 270 GregorianCalendar *cal2 = new GregorianCalendar(tz->clone(), Locale::getUS(), status); in TestSunriseTimes() 277 DateFormat *df_t = DateFormat::createTimeInstance(DateFormat::MEDIUM,Locale::getUS()); in TestSunriseTimes() 278 DateFormat *df_d = DateFormat::createDateInstance(DateFormat::MEDIUM,Locale::getUS()); in TestSunriseTimes() 279 …f_dt = DateFormat::createDateTimeInstance(DateFormat::MEDIUM, DateFormat::MEDIUM, Locale::getUS()); in TestSunriseTimes() 378 …GregorianCalendar *cal3 = new GregorianCalendar(TimeZone::getGMT()->clone(), Locale::getUS(), stat… in TestBasics() 379 …at *d3 = DateFormat::createDateTimeInstance(DateFormat::MEDIUM,DateFormat::MEDIUM,Locale::getUS()); in TestBasics()
|
D | numfmtst.cpp | 176 DecimalFormatSymbols sym(Locale::getUS(), status); in TestPatterns() 234 DecimalFormatSymbols sym(Locale::getUS(), status); in TestExponential() 548 DecimalFormatSymbols *sym = new DecimalFormatSymbols(Locale::getUS(), status); in TestQuotes() 581 DecimalFormatSymbols* sym = new DecimalFormatSymbols(Locale::getUS(), status); in TestCurrencySign() 729 NumberFormat::createCurrencyInstance(Locale::getUS(), ec); in TestCurrencyObject() 750 expectCurrency(*fmt, Locale::getUS(), in TestCurrencyObject() 770 expectCurrency(*fmt, Locale::getUS(), in TestCurrencyObject() 834 DecimalFormatSymbols US(Locale::getUS(), status); in TestSecondaryGrouping() 893 DecimalFormatSymbols US(Locale::getUS(), ec); in TestWhiteSpaceParsing() 941 DecimalFormatSymbols US(Locale::getUS(), status); in TestExponent() [all …]
|
D | dtfmrgts.cpp | 124 DateFormat::SHORT, Locale::getUS()); in Test4052408() 226 … SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("yyMMdd"), Locale::getUS(), status); in Test4056591() 706 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString("z"), Locale::getUS(), status); in Test4101483() 739 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("MMMM"), Locale::getUS(), status); in Test4103340() 1027 SimpleDateFormat *format = new SimpleDateFormat(pattern, Locale::getUS(), status); in Test4151631() 1051 SimpleDateFormat fmt(UnicodeString("EEEE, dd-MMM-yy HH:mm:ss z"), Locale::getUS(), status); in Test4151706() 1078 SimpleDateFormat df(format, Locale::getUS(), status); in Test4162071() 1103 SimpleDateFormat fmt("MM/dd/yy", Locale::getUS(), status); in Test4182066() 1104 SimpleDateFormat dispFmt("MMM dd yyyy GG", Locale::getUS(), status); in Test4182066() 1186 SimpleDateFormat sfmt(pattern, Locale::getUS(), status); in Test4210209() [all …]
|
D | miscdtfm.cpp | 158 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975() 190 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975() 221 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975() 250 DateFormatSymbols* symbols = new DateFormatSymbols(Locale::getUS(), status); in test4099975()
|
D | svccoll.cpp | 37 const Locale& US = Locale::getUS(); in TestRegister() 374 info[0] = new CollatorInfo(Locale::getUS(), frcol, NULL); in TestRegisterFactory() 385 Collator* uscol = Collator::createInstance(Locale::getUS(), status); in TestRegisterFactory() 396 Collator* ncol = Collator::createInstance(Locale::getUS(), status); in TestRegisterFactory()
|
D | itrbnfrt.cpp | 65 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status); in TestEnglishSpelloutRT() 83 = new RuleBasedNumberFormat(URBNF_DURATION, Locale::getUS(), status); in TestDurationsRT()
|
D | itrbnf.cpp | 141 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status); in TestAPI() 181 RuleBasedNumberFormat ruleCtorResult(spelloutRules, Locale::getUS(), perror, status); in TestAPI() 187 RuleBasedNumberFormat nf(spelloutRules, (UnicodeString)"", Locale::getUS(), perror, status); in TestAPI() 201 RuleBasedNumberFormat fromRulesResult(rules, Locale::getUS(), perror, status); in TestAPI() 1046 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status); in TestEnglishSpellout() 1099 = new RuleBasedNumberFormat(URBNF_ORDINAL, Locale::getUS(), status); in TestOrdinalAbbreviations() 1135 = new RuleBasedNumberFormat(URBNF_DURATION, Locale::getUS(), status); in TestDurations() 1776 new RuleBasedNumberFormat(rules, Locale::getUS(), parse_error, status); in TestMultiplierSubstitution() 1873 NumberFormat* decFmt = NumberFormat::createInstance(Locale::getUS(), status); in doLenientParseTest()
|
D | itrbnfp.cpp | 125 … RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(rule, Locale::getUS(), perr, status); in TestParse()
|
D | dtfmttst.cpp | 356 …ats[0] = DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull, Locale::getUS()); in TestFieldPosition() 361 dateFormats[2] = new SimpleDateFormat(buf, Locale::getUS(), ec); in TestFieldPosition() 368 dateFormats[3] = new SimpleDateFormat(buf, Locale::getUS(), ec); in TestFieldPosition() 1055 DateFormat::FULL, Locale::getUS()); in TestLocaleDateFormat() 1094 date = DateFormat::createDateInstance(DateFormat::kShort, Locale::getUS()); in TestDateFormatCalendar() 1101 time = DateFormat::createTimeInstance(DateFormat::kShort, Locale::getUS()); in TestDateFormatCalendar() 1109 Locale::getUS()); in TestDateFormatCalendar() 1116 cal = Calendar::createInstance(Locale::getUS(), ec); in TestDateFormatCalendar()
|
D | uobjtest.cpp | 253 …RY(RelativeDateFormat, DateFormat::createDateInstance(DateFormat::kFullRelative, Locale::getUS())); in testIDs() 259 TESTCLASSID_CTOR(CurrencyFormat, (Locale::getUS(), status)); in testIDs()
|
D | loctest.cpp | 403 if (strcmp(Locale::getUS().getName(), ULOC_US) != 0) { in TestParallelAPIValues() 937 l.getDisplayLanguage(Locale::getUS(), test); in TestSimpleDisplayNames() 1047 Locale::setDefault(Locale::getUS(), status); in TestAtypicalLocales() 1050 localesToTest[i].getDisplayName(Locale::getUS(), name); in TestAtypicalLocales() 1452 en_US_custom.getDisplayVariant(Locale::getUS(), got); in TestVariantParsing() 1459 en_US_custom.getDisplayName(Locale::getUS(), got); in TestVariantParsing()
|
D | tsdcfmsy.cpp | 154 DecimalFormatSymbols sym(Locale::getUS(), status); in testSymbols()
|
D | calregts.cpp | 1769 GregorianCalendar *calendar = new GregorianCalendar(Locale::getUS(), status); in Test4166109() 1813 Locale::getUS(), status); in Test4167060() 1903 Locale::getUS(), status); in Test4197699() 1965 GregorianCalendar cal(TimeZone::createTimeZone("GMT"), Locale::getUS(), status); in TestJ81() 1966 SimpleDateFormat fmt("HH:mm 'w'w 'd'D E d MMM yyyy", Locale::getUS(), status); in TestJ81() 2182 Calendar* pcal = Calendar::createInstance(Locale::getUS(), ec); in TestJ438() 2477 Locale locale(Locale::getUS()); // could also be CHINA in TestTimeZoneTransitionAdd()
|
D | aliastst.cpp | 184 Locale::setDefault(Locale::getUS(), status); in LocaleAliasTest()
|
D | nmfmapts.cpp | 254 #define SWAP_LOC Locale::getUS()
|
D | itercoll.cpp | 29 en_us = (RuleBasedCollator *)Collator::createInstance(Locale::getUS(), status); in CollationIteratorTest()
|
D | regcoll.cpp | 24 en_us = (RuleBasedCollator *)Collator::createInstance(Locale::getUS(), status); in CollationRegressionTest()
|
D | transapi.cpp | 254 t->getDisplayName(t->getID(), Locale::getUS(), name); in TestGetDisplayName()
|
D | tmsgfmt.cpp | 287 form = new MessageFormat(testCases[i], Locale::getUS(), success); in PatternTest()
|
D | rbbitst.cpp | 1103 BreakIterator::getDisplayName(Locale::getUS(), result); in TestGetDisplayName() 1104 if (Locale::getDefault() == Locale::getUS() && result != "English (United States)") in TestGetDisplayName() 1108 BreakIterator::getDisplayName(Locale::getFrance(), Locale::getUS(), result); in TestGetDisplayName()
|
/external/icu4c/samples/break/ |
D | break.cpp | 105 Locale::getUS(), status ); in main() 123 Locale::getUS(), status); in main()
|
/external/icu4c/common/unicode/ |
D | locid.h | 221 static const Locale &U_EXPORT2 getUS(void);
|
/external/icu4c/i18n/ |
D | astro.cpp | 43 … df = DateFormat::createDateTimeInstance(DateFormat::MEDIUM, DateFormat::MEDIUM, Locale::getUS()); in debug_astro_date()
|
/external/icu4c/common/ |
D | locid.cpp | 1119 Locale::getUS(void) in getUS() function in Locale
|