Home
last modified time | relevance | path

Searched refs:locales (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/
DCalendarHandler.java73 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
75 Calendar calendars[] = new Calendar[locales.length]; in getTestObjects()
77 for (int i = 0; i < locales.length; i += 1) { in getTestObjects()
78 calendars[i] = Calendar.getInstance(pst, locales[i]); in getTestObjects()
90 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
92 BuddhistCalendar calendars[] = new BuddhistCalendar[locales.length]; in getTestObjects()
94 for (int i = 0; i < locales.length; i += 1) { in getTestObjects()
95 calendars[i] = new BuddhistCalendar(tst, locales[i]); in getTestObjects()
107 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
109 ChineseCalendar calendars[] = new ChineseCalendar[locales.length]; in getTestObjects()
[all …]
DExceptionHandler.java45 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
46 ArabicShapingException exceptions[] = new ArabicShapingException[locales.length]; in getTestObjects()
48 for (int i = 0; i < locales.length; i += 1) { in getTestObjects()
49 exceptions[i] = new ArabicShapingException(locales[i].toString()); in getTestObjects()
60 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
62 StringPrepParseException exceptions[] = new StringPrepParseException[locales.length]; in getTestObjects()
64 for (int i = 0; i < locales.length; i += 1) { in getTestObjects()
65 exceptions[i] = new StringPrepParseException(locales[i].toString(), i, rules, i); in getTestObjects()
76 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
77 … UResourceTypeMismatchException exceptions[] = new UResourceTypeMismatchException[locales.length]; in getTestObjects()
[all …]
DFormatHandler.java1132 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
1133 DecimalFormat formats[] = new DecimalFormat[locales.length]; in getTestObjects()
1135 for (int i = 0; i < locales.length; i += 1) { in getTestObjects()
1136 ULocale uloc = ULocale.forLocale(locales[i]); in getTestObjects()
1677 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
1678 … RuleBasedNumberFormat formats[] = new RuleBasedNumberFormat[types.length * locales.length]; in getTestObjects()
1682 for (int l = 0; l < locales.length; l += 1) { in getTestObjects()
1683 … String cannedRules = (String) cannedData.get(locales[l].toString() + "/" + typeNames[t]); in getTestObjects()
1686 formats[i++] = new RuleBasedNumberFormat(cannedRules, locales[l]); in getTestObjects()
1688 formats[i++] = new RuleBasedNumberFormat(locales[l], types[t]); in getTestObjects()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCalendarHandler.java72 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
74 Calendar calendars[] = new Calendar[locales.length]; in getTestObjects()
76 for (int i = 0; i < locales.length; i += 1) { in getTestObjects()
77 calendars[i] = Calendar.getInstance(pst, locales[i]); in getTestObjects()
89 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
91 BuddhistCalendar calendars[] = new BuddhistCalendar[locales.length]; in getTestObjects()
93 for (int i = 0; i < locales.length; i += 1) { in getTestObjects()
94 calendars[i] = new BuddhistCalendar(tst, locales[i]); in getTestObjects()
106 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
108 ChineseCalendar calendars[] = new ChineseCalendar[locales.length]; in getTestObjects()
[all …]
DExceptionHandler.java44 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
45 ArabicShapingException exceptions[] = new ArabicShapingException[locales.length]; in getTestObjects()
47 for (int i = 0; i < locales.length; i += 1) { in getTestObjects()
48 exceptions[i] = new ArabicShapingException(locales[i].toString()); in getTestObjects()
59 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
61 StringPrepParseException exceptions[] = new StringPrepParseException[locales.length]; in getTestObjects()
63 for (int i = 0; i < locales.length; i += 1) { in getTestObjects()
64 exceptions[i] = new StringPrepParseException(locales[i].toString(), i, rules, i); in getTestObjects()
75 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
76 … UResourceTypeMismatchException exceptions[] = new UResourceTypeMismatchException[locales.length]; in getTestObjects()
[all …]
DFormatHandler.java1130 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
1131 DecimalFormat formats[] = new DecimalFormat[locales.length]; in getTestObjects()
1133 for (int i = 0; i < locales.length; i += 1) { in getTestObjects()
1134 ULocale uloc = ULocale.forLocale(locales[i]); in getTestObjects()
1675 Locale locales[] = SerializableTestUtility.getLocales(); in getTestObjects() local
1676 … RuleBasedNumberFormat formats[] = new RuleBasedNumberFormat[types.length * locales.length]; in getTestObjects()
1680 for (int l = 0; l < locales.length; l += 1) { in getTestObjects()
1681 … String cannedRules = (String) cannedData.get(locales[l].toString() + "/" + typeNames[t]); in getTestObjects()
1684 formats[i++] = new RuleBasedNumberFormat(cannedRules, locales[l]); in getTestObjects()
1686 formats[i++] = new RuleBasedNumberFormat(locales[l], types[t]); in getTestObjects()
[all …]
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/
DPluralsMapperTest.java51 Set<String> locales = ImmutableSet.of("en_GB", "en_NZ"); in testSimple() local
53 pluralRule(ORDINAL, locales, ZERO, "zero"), in testSimple()
54 pluralRule(ORDINAL, locales, ONE, "one"), in testSimple()
55 pluralRule(ORDINAL, locales, TWO, "two"), in testSimple()
56 pluralRule(ORDINAL, locales, FEW, "few"), in testSimple()
57 pluralRule(ORDINAL, locales, MANY, "many"), in testSimple()
58 pluralRule(ORDINAL, locales, OTHER, "other"), in testSimple()
60 pluralRule(CARDINAL, locales, ZERO, "!zero!"), in testSimple()
61 pluralRule(CARDINAL, locales, ONE, "!one!"), in testSimple()
62 pluralRule(CARDINAL, locales, TWO, "!two!"), in testSimple()
[all …]
DDayPeriodsMapperTest.java52 Set<String> locales = ImmutableSet.of("en_GB", "en_AU", "en_NZ"); in testSimple() local
54 dayPeriodRule(locales, MORNING1, isBetween("04:00", "12:00")), in testSimple()
55 dayPeriodRule(locales, NOON, isAt("12:00")), in testSimple()
56 dayPeriodRule(locales, AFTERNOON1, isBetween("12:00", "18:00")), in testSimple()
57 dayPeriodRule(locales, EVENING1, isBetween("18:00", "21:00")), in testSimple()
58 dayPeriodRule(locales, NIGHT1, isBetween("21:00", "04:00")), in testSimple()
59 dayPeriodRule(locales, MIDNIGHT, isAt("00:00"))); in testSimple()
112 Set<String> locales = ImmutableSet.of("en_GB"); in testRulesetLabels() local
116 dayPeriodRule(locales, MORNING1, isBetween("04:00", "12:00"), "foo"), in testRulesetLabels()
117 dayPeriodRule(locales, NOON, isAt("12:00"), "foo")); in testRulesetLabels()
[all …]
DPluralRangesMapperTest.java42 Set<String> locales = ImmutableSet.of("en_GB", "en_NZ"); in testSimple() local
44 pluralRange(locales, ZERO, ONE, ZERO), in testSimple()
45 pluralRange(locales, ZERO, FEW, FEW), in testSimple()
46 pluralRange(locales, ONE, TWO, OTHER), in testSimple()
47 pluralRange(locales, ONE, MANY, MANY)); in testSimple()
100 Set<String> locales, PluralCount start, PluralCount end, PluralCount result) { in pluralRange() argument
103 appendAttribute(cldrPath.append("/pluralRanges"), "locales", Joiner.on(' ').join(locales)); in pluralRange()
/third_party/typescript/tests/baselines/reference/
DimportCallExpressionShouldNotGetParen.types6 import(`./locales/${localeName}.js`).then(bar => {
7 >import(`./locales/${localeName}.js`).then(bar => { let x = bar;}) : Promise<void>
8 >import(`./locales/${localeName}.js`).then : <TResult1 = any, TResult2 = never>(onfulfilled?: (valu…
9 >import(`./locales/${localeName}.js`) : Promise<any>
10 >`./locales/${localeName}.js` : string
22 import("./locales/" + localeName + ".js").then(bar => {
23 >import("./locales/" + localeName + ".js").then(bar => { let x = bar;}) : Promise<void>
24 >import("./locales/" + localeName + ".js").then : <TResult1 = any, TResult2 = never>(onfulfilled?: …
25 >import("./locales/" + localeName + ".js") : Promise<any>
26 >"./locales/" + localeName + ".js" : string
[all …]
DnumberFormatCurrencySign.types7locales?: string | string[], options?: Intl.NumberFormatOptions): Intl.NumberFormat; new (locales?…
9locales?: string | string[], options?: Intl.NumberFormatOptions): Intl.NumberFormat; new (locales?…
DbigintWithLib.types69 >bigintVal.toLocaleString : (locales?: string, options?: BigIntToLocaleStringOptions) => string
71 >toLocaleString : (locales?: string, options?: BigIntToLocaleStringOptions) => string
77 >bigintVal.toLocaleString : (locales?: string, options?: BigIntToLocaleStringOptions) => string
79 >toLocaleString : (locales?: string, options?: BigIntToLocaleStringOptions) => string
86 >bigintVal.toLocaleString : (locales?: string, options?: BigIntToLocaleStringOptions) => string
88 >toLocaleString : (locales?: string, options?: BigIntToLocaleStringOptions) => string
98 >bigintVal.toLocaleString : (locales?: string, options?: BigIntToLocaleStringOptions) => string
100 >toLocaleString : (locales?: string, options?: BigIntToLocaleStringOptions) => string
393locales?: string | string[], options?: Intl.NumberFormatOptions): Intl.NumberFormat; new (locales?…
395locales?: string | string[], options?: Intl.NumberFormatOptions): Intl.NumberFormat; new (locales?…
[all …]
DdoYouNeedToChangeYourTargetLibraryES2016Plus.types58locales?: string | string[], options?: Intl.DateTimeFormatOptions): Intl.DateTimeFormat; new (loca…
60locales?: string | string[], options?: Intl.DateTimeFormatOptions): Intl.DateTimeFormat; new (loca…
262locales?: string | string[], options?: Intl.NumberFormatOptions): Intl.NumberFormat; new (locales?…
264locales?: string | string[], options?: Intl.NumberFormatOptions): Intl.NumberFormat; new (locales?…
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestNumberFormat.java259 final Locale[] locales = NumberFormat.getAvailableLocales(); in TestAvailableLocales() local
260 int count = locales.length; in TestAvailableLocales()
269 all += locales[i].getDisplayName(); in TestAvailableLocales()
285 Locale[] locales = allLocales; in TestMonster() local
286 count = locales.length; in TestMonster()
291 locales = new Locale[count]; in TestMonster()
292 locales[0] = allLocales[0]; in TestMonster()
293 locales[1] = allLocales[1]; in TestMonster()
294 locales[2] = allLocales[2]; in TestMonster()
298 locales[3] = new Locale("ar", "AE", ""); in TestMonster()
[all …]
DIntlTestDateFormat.java239 final ULocale[] locales = DateFormat.getAvailableULocales(); in TestAvailableLocales() local
240 long count = locales.length; in TestAvailableLocales()
242 if (locales != null && count != 0) { in TestAvailableLocales()
246 all.append(locales[i].getDisplayName()); in TestAvailableLocales()
255 ULocale[] locales; in TestRoundtrip() local
257 locales = new ULocale[] { in TestRoundtrip()
264 locales = DateFormat.getAvailableULocales(); in TestRoundtrip()
266 long count = locales.length; in TestRoundtrip()
267 if (locales != null && count != 0) { in TestRoundtrip()
269 String name = locales[i].getDisplayName(); in TestRoundtrip()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestNumberFormat.java262 final Locale[] locales = NumberFormat.getAvailableLocales(); in TestAvailableLocales() local
263 int count = locales.length; in TestAvailableLocales()
272 all += locales[i].getDisplayName(); in TestAvailableLocales()
288 Locale[] locales = allLocales; in TestMonster() local
289 count = locales.length; in TestMonster()
294 locales = new Locale[count]; in TestMonster()
295 locales[0] = allLocales[0]; in TestMonster()
296 locales[1] = allLocales[1]; in TestMonster()
297 locales[2] = allLocales[2]; in TestMonster()
301 locales[3] = new Locale("ar", "AE", ""); in TestMonster()
[all …]
DIntlTestDateFormat.java242 final ULocale[] locales = DateFormat.getAvailableULocales(); in TestAvailableLocales() local
243 long count = locales.length; in TestAvailableLocales()
245 if (locales != null && count != 0) { in TestAvailableLocales()
249 all.append(locales[i].getDisplayName()); in TestAvailableLocales()
258 ULocale[] locales; in TestRoundtrip() local
260 locales = new ULocale[] { in TestRoundtrip()
267 locales = DateFormat.getAvailableULocales(); in TestRoundtrip()
269 long count = locales.length; in TestRoundtrip()
270 if (locales != null && count != 0) { in TestRoundtrip()
272 String name = locales[i].getDisplayName(); in TestRoundtrip()
[all …]
/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DLocaleNameTest.java39 Locale[] locales = Locale.getAvailableLocales(); in TestLanguageNames() local
41 for (Locale inLocale : locales) { in TestLanguageNames()
49 for (Locale forLocale : locales) { in TestLanguageNames()
105 Locale[] locales = Locale.getAvailableLocales(); in TestScriptNames() local
106 for (Locale inLocale : locales) { in TestScriptNames()
162 Locale[] locales = Locale.getAvailableLocales(); in TestCountryNames() local
163 for (Locale inLocale : locales) { in TestCountryNames()
171 for (Locale forLocale : locales) { in TestCountryNames()
208 Set<Locale> locales = new HashSet<Locale>(); in TestVariantNames() local
210 locales.add(l); in TestVariantNames()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dtsnmfmt.cpp402 const Locale* locales = NumberFormat::getAvailableLocales(count); in testAvailableLocales() local
404 if (locales && count) in testAvailableLocales()
412 all += locales[i].getName(); in testAvailableLocales()
425 Locale* locales = (Locale*)allLocales; in monsterTest() local
432 locales = quickLocales; in monsterTest()
433 locales[0] = allLocales[0]; in monsterTest()
434 locales[1] = allLocales[1]; in monsterTest()
435 locales[2] = allLocales[2]; in monsterTest()
439 locales[3] = Locale("ar", "AE", ""); in monsterTest()
440 locales[4] = Locale("cs", "CZ", ""); in monsterTest()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DLocaleMatcher.java386 public Builder setSupportedLocales(String locales) { in setSupportedLocales() argument
387 return setSupportedULocales(LocalePriorityList.add(locales).build().getULocales()); in setSupportedLocales()
399 public Builder setSupportedULocales(Collection<ULocale> locales) { in setSupportedULocales() argument
400 supportedLocales = new ArrayList<>(locales); in setSupportedULocales()
413 public Builder setSupportedLocales(Collection<Locale> locales) { in setSupportedLocales() argument
414 supportedLocales = new ArrayList<>(locales.size()); in setSupportedLocales()
415 for (Locale locale : locales) { in setSupportedLocales()
720 private Iterator<ULocale> locales; field in LocaleMatcher.ULocaleLsrIterator
723 ULocaleLsrIterator(Iterator<ULocale> locales) { in ULocaleLsrIterator() argument
724 this.locales = locales; in ULocaleLsrIterator()
[all …]
/third_party/flutter/skia/third_party/externals/icu/scripts/
Ddata_files_to_preserve.txt14 locales/reslocal.mk
22 locales/an.txt
23 locales/ku.txt
24 locales/tg.txt
25 locales/wa.txt
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java383 public Builder setSupportedLocales(String locales) { in setSupportedLocales() argument
384 return setSupportedULocales(LocalePriorityList.add(locales).build().getULocales()); in setSupportedLocales()
396 public Builder setSupportedULocales(Collection<ULocale> locales) { in setSupportedULocales() argument
397 supportedLocales = new ArrayList<>(locales); in setSupportedULocales()
410 public Builder setSupportedLocales(Collection<Locale> locales) { in setSupportedLocales() argument
411 supportedLocales = new ArrayList<>(locales.size()); in setSupportedLocales()
412 for (Locale locale : locales) { in setSupportedLocales()
812 private Iterator<ULocale> locales; field in LocaleMatcher.ULocaleLsrIterator
815 ULocaleLsrIterator(Iterator<ULocale> locales) { in ULocaleLsrIterator() argument
816 this.locales = locales; in ULocaleLsrIterator()
[all …]
/third_party/skia/third_party/externals/icu/patches/
Dardatepattern.patch1 diff --git a/source/data/locales/ar.txt b/source/data/locales/ar.txt
3 --- a/source/data/locales/ar.txt
4 +++ b/source/data/locales/ar.txt
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarFrame.java89 private Locale[] locales = DemoUtility.getG7Locales(); field in CalendarFrame
186 for (int i = 0; i < locales.length; i++) { in init()
188 locales[i].getLanguage().equals(locales[i-1].getLanguage()) || in init()
189 i < locales.length - 1 && in init()
190 locales[i].getLanguage().equals(locales[i+1].getLanguage())) in init()
192 displayMenu.addItem( locales[i].getDisplayName() ); in init()
194 displayMenu.addItem( locales[i].getDisplayLanguage()); in init()
197 thisMatch = DemoUtility.compareLocales(locales[i], defaultLocale); in init()
211 Locale loc = locales[displayMenu.getSelectedIndex()]; in init()
241 calendarPanel = new CalendarPanel( locales[displayMenu.getSelectedIndex()] ); in init()
[all …]
/third_party/skia/third_party/externals/icu/scripts/
Ddata_files_to_preserve.txt11 locales/an.txt
12 locales/ku.txt
13 locales/tg.txt
14 locales/wa.txt

12345678910>>...16