Home
last modified time | relevance | path

Searched refs:localeName (Results 1 – 25 of 153) sorted by relevance

1234567

/third_party/typescript/tests/baselines/reference/
DimportCallExpressionShouldNotGetParen.types2 const localeName = "zh-CN";
3 >localeName : "zh-CN"
6 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
11 >localeName : "zh-CN"
22 import("./locales/" + localeName + ".js").then(bar => {
23 >import("./locales/" + localeName + ".js").then(bar => { let x = bar;}) : Promise<void>
[all …]
DimportCallExpressionShouldNotGetParen.symbols2 const localeName = "zh-CN";
3 >localeName : Symbol(localeName, Decl(importCallExpressionShouldNotGetParen.ts, 0, 5))
5 import(`./locales/${localeName}.js`).then(bar => {
6 >import(`./locales/${localeName}.js`).then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --))
7 >localeName : Symbol(localeName, Decl(importCallExpressionShouldNotGetParen.ts, 0, 5))
17 import("./locales/" + localeName + ".js").then(bar => {
18 >import("./locales/" + localeName + ".js").then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --))
19 >localeName : Symbol(localeName, Decl(importCallExpressionShouldNotGetParen.ts, 0, 5))
DimportCallExpressionShouldNotGetParen.js2 const localeName = "zh-CN"; constant
3 import(`./locales/${localeName}.js`).then(bar => {
7 import("./locales/" + localeName + ".js").then(bar => {
13 const localeName = "zh-CN"; constant
14 import(`./locales/${localeName}.js`).then(bar => {
17 import("./locales/" + localeName + ".js").then(bar => {
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicDurationFormatterFactory.java31 private String localeName; field in BasicDurationFormatterFactory
40 this.localeName = Locale.getDefault().toString(); in BasicDurationFormatterFactory()
120 public DurationFormatterFactory setLocale(String localeName) { in setLocale() argument
121 if (!localeName.equals(this.localeName)) { in setLocale()
122 this.localeName = localeName; in setLocale()
124 builder = builder.withLocale(localeName); in setLocale()
127 formatter = formatter.withLocale(localeName); in setLocale()
162 fallback = fallback.withLocale(localeName).withTimeZone(timeZone); in getFormatter()
180 .setLocale(localeName) in getPeriodFormatter()
194 .setLocale(localeName) in getPeriodBuilder()
[all …]
DBasicPeriodFormatterFactory.java62 private String localeName; field in BasicPeriodFormatterFactory
68 this.localeName = Locale.getDefault().toString(); in BasicPeriodFormatterFactory()
85 public PeriodFormatterFactory setLocale(String localeName) { in setLocale() argument
87 this.localeName = localeName; in setLocale()
199 return new BasicPeriodFormatter(this, localeName, getData(), in getFormatter()
214 data = ds.get(localeName); in getData()
DBasicDurationFormatter.java23 private String localeName; field in BasicDurationFormatter
45 String localeName,
51 this.localeName = localeName;
79 if (!locName.equals(localeName)) {
101 localeName, tz);
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/
DBasicDurationFormatterFactory.java32 private String localeName; field in BasicDurationFormatterFactory
41 this.localeName = Locale.getDefault().toString(); in BasicDurationFormatterFactory()
121 public DurationFormatterFactory setLocale(String localeName) { in setLocale() argument
122 if (!localeName.equals(this.localeName)) { in setLocale()
123 this.localeName = localeName; in setLocale()
125 builder = builder.withLocale(localeName); in setLocale()
128 formatter = formatter.withLocale(localeName); in setLocale()
163 fallback = fallback.withLocale(localeName).withTimeZone(timeZone); in getFormatter()
181 .setLocale(localeName) in getPeriodFormatter()
195 .setLocale(localeName) in getPeriodBuilder()
[all …]
DBasicPeriodFormatterFactory.java64 private String localeName; field in BasicPeriodFormatterFactory
70 this.localeName = Locale.getDefault().toString(); in BasicPeriodFormatterFactory()
87 public PeriodFormatterFactory setLocale(String localeName) { in setLocale() argument
89 this.localeName = localeName; in setLocale()
201 return new BasicPeriodFormatter(this, localeName, getData(), in getFormatter()
216 data = ds.get(localeName); in getData()
DBasicDurationFormatter.java24 private String localeName; field in BasicDurationFormatter
46 String localeName,
52 this.localeName = localeName;
80 if (!locName.equals(localeName)) {
102 localeName, tz);
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
DResourceBasedPeriodFormatterDataService.java86 public PeriodFormatterData get(String localeName) { in get() argument
88 int x = localeName.indexOf('@'); in get()
90 localeName = localeName.substring(0, x); in get()
94 if (lastLocale != null && lastLocale.equals(localeName)) { in get()
98 PeriodFormatterData ld = cache.get(localeName); in get()
100 String ln = localeName; in get()
129 ld = new PeriodFormatterData(localeName, dr); in get()
140 "Duration data not found for " + localeName, PATH, in get()
141 localeName); in get()
147 cache.put(localeName, ld); in get()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/impl/
DResourceBasedPeriodFormatterDataService.java88 public PeriodFormatterData get(String localeName) { in get() argument
90 int x = localeName.indexOf('@'); in get()
92 localeName = localeName.substring(0, x); in get()
96 if (lastLocale != null && lastLocale.equals(localeName)) { in get()
100 PeriodFormatterData ld = cache.get(localeName); in get()
102 String ln = localeName; in get()
131 ld = new PeriodFormatterData(localeName, dr); in get()
142 "Duration data not found for " + localeName, PATH, in get()
143 localeName); in get()
149 cache.put(localeName, ld); in get()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dstatic_unisets_test.cpp22 void assertInSet(const UnicodeString& localeName, const UnicodeString &setName,
24 void assertInSet(const UnicodeString& localeName, const UnicodeString &setName,
77 UnicodeString localeName; in testSetCoverage() local
78 locale.getDisplayName(localeName); in testSetCoverage()
79 assertSuccess(UnicodeString("Making DFS for ") + localeName, status); in testSetCoverage()
81 #define ASSERT_IN_SET(name, foo) assertInSet(localeName, UnicodeString("" #name ""), name, foo) in testSetCoverage()
103 void StaticUnicodeSetsTest::assertInSet(const UnicodeString &localeName, const UnicodeString &setNa… in assertInSet() argument
109 assertInSet(localeName, setName, set, str.char32At(0)); in assertInSet()
112 void StaticUnicodeSetsTest::assertInSet(const UnicodeString &localeName, const UnicodeString &setNa… in assertInSet() argument
118localeName + UnicodeString(u" ") + UnicodeString(cp) + UnicodeString(u" is missing in ") + in assertInSet()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dwinnmfmt.cpp229 const wchar_t *localeName = nullptr; in Win32NumberFormat() local
233localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in Win32NumberFormat()
239 getCurrencyFormat(&fFormatInfo->currency, localeName); in Win32NumberFormat()
241 getNumberFormat(&fFormatInfo->number, localeName); in Win32NumberFormat()
279 const wchar_t *localeName = nullptr; in operator =() local
283localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in operator =()
288 getCurrencyFormat(&fFormatInfo->currency, localeName); in operator =()
291 getNumberFormat(&fFormatInfo->number, localeName); in operator =()
392 const wchar_t *localeName = nullptr; in format() local
396localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in format()
[all …]
Dwindtfmt.cpp312 const wchar_t *localeName = nullptr; in formatDate() local
316localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in formatDate()
319 …result = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, STACK_BU… in formatDate()
323 …int newLength = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, NULL, 0, … in formatDate()
327 … GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, newLength, NULL); in formatDate()
345 const wchar_t *localeName = nullptr; in formatTime() local
349localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in formatTime()
352 result = GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, NULL, buffer, STACK_BUFFER_SIZE); in formatTime()
356 int newLength = GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, NULL, NULL, 0); in formatTime()
360 GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, NULL, buffer, newLength); in formatTime()
/third_party/skia/third_party/externals/icu/source/i18n/
Dwinnmfmt.cpp229 const wchar_t *localeName = nullptr; in Win32NumberFormat() local
233localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in Win32NumberFormat()
239 getCurrencyFormat(&fFormatInfo->currency, localeName); in Win32NumberFormat()
241 getNumberFormat(&fFormatInfo->number, localeName); in Win32NumberFormat()
280 const wchar_t *localeName = nullptr; in operator =() local
284localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in operator =()
289 getCurrencyFormat(&fFormatInfo->currency, localeName); in operator =()
292 getNumberFormat(&fFormatInfo->number, localeName); in operator =()
393 const wchar_t *localeName = nullptr; in format() local
397localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in format()
[all …]
/third_party/icu/icu4c/source/i18n/
Dwinnmfmt.cpp234 const wchar_t *localeName = nullptr; in Win32NumberFormat() local
238localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in Win32NumberFormat()
244 getCurrencyFormat(&fFormatInfo->currency, localeName); in Win32NumberFormat()
246 getNumberFormat(&fFormatInfo->number, localeName); in Win32NumberFormat()
285 const wchar_t *localeName = nullptr; in operator =() local
289localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in operator =()
294 getCurrencyFormat(&fFormatInfo->currency, localeName); in operator =()
297 getNumberFormat(&fFormatInfo->number, localeName); in operator =()
398 const wchar_t *localeName = nullptr; in format() local
402localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in format()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dwinnmfmt.cpp229 const wchar_t *localeName = nullptr; in Win32NumberFormat() local
233localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in Win32NumberFormat()
239 getCurrencyFormat(&fFormatInfo->currency, localeName); in Win32NumberFormat()
241 getNumberFormat(&fFormatInfo->number, localeName); in Win32NumberFormat()
280 const wchar_t *localeName = nullptr; in operator =() local
284localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in operator =()
289 getCurrencyFormat(&fFormatInfo->currency, localeName); in operator =()
292 getNumberFormat(&fFormatInfo->number, localeName); in operator =()
393 const wchar_t *localeName = nullptr; in format() local
397localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in format()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestNumberFormat.java42 String localeName = locale + " (" + locale.getDisplayName() + ")"; in _testLocale() local
44 logln("Number test " + localeName); in _testLocale()
48 logln("Currency test " + localeName); in _testLocale()
52 logln("Percent test " + localeName); in _testLocale()
57 logln("Scientific test " + localeName); in _testLocale()
69 String localeName = locale + " (" + locale.getDisplayName() + ")"; in TestLocale() local
71 logln("Number test " + localeName); in TestLocale()
75 logln("Currency test " + localeName); in TestLocale()
79 logln("Percent test " + localeName); in TestLocale()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestNumberFormat.java45 String localeName = locale + " (" + locale.getDisplayName() + ")"; in _testLocale() local
47 logln("Number test " + localeName); in _testLocale()
51 logln("Currency test " + localeName); in _testLocale()
55 logln("Percent test " + localeName); in _testLocale()
60 logln("Scientific test " + localeName); in _testLocale()
72 String localeName = locale + " (" + locale.getDisplayName() + ")"; in TestLocale() local
74 logln("Number test " + localeName); in TestLocale()
78 logln("Currency test " + localeName); in TestLocale()
82 logln("Percent test " + localeName); in TestLocale()
/third_party/flutter/flutter/dev/tools/localization/
Dgen_material_localizations.dart32 final String localeName = locale.originalString;
34 /// Create an instance of the translation bundle for ${describeLocale(localeName)}.
38 String localeName = '$localeName',
46 localeName: localeName,
Dgen_cupertino_localizations.dart32 final String localeName = locale.originalString;
34 /// Create an instance of the translation bundle for ${describeLocale(localeName)}.
38 String localeName = '$localeName',
48 localeName: localeName,
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DUResourceBundle.java109 public static UResourceBundle getBundleInstance(String baseName, String localeName){ in getBundleInstance() argument
110 return getBundleInstance(baseName, localeName, ICUResourceBundle.ICU_DATA_CLASS_LOADER, in getBundleInstance()
125 public static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() argument
127 return getBundleInstance(baseName, localeName, root, false); in getBundleInstance()
145 protected static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() argument
147 return instantiateBundle(baseName, localeName, root, disableFallback); in getBundleInstance()
354 protected static UResourceBundle instantiateBundle(String baseName, String localeName, in instantiateBundle() argument
360 return ICUResourceBundle.getBundleInstance(baseName, localeName, root, disableFallback); in instantiateBundle()
363 return ResourceBundleWrapper.getBundleInstance(baseName, localeName, root, in instantiateBundle()
370 b = ICUResourceBundle.getBundleInstance(baseName, localeName, root, in instantiateBundle()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUResourceBundle.java109 public static UResourceBundle getBundleInstance(String baseName, String localeName){ in getBundleInstance() argument
110 return getBundleInstance(baseName, localeName, ICUResourceBundle.ICU_DATA_CLASS_LOADER, in getBundleInstance()
126 public static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() argument
128 return getBundleInstance(baseName, localeName, root, false); in getBundleInstance()
147 protected static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() argument
149 return instantiateBundle(baseName, localeName, root, disableFallback); in getBundleInstance()
369 protected static UResourceBundle instantiateBundle(String baseName, String localeName, in instantiateBundle() argument
375 return ICUResourceBundle.getBundleInstance(baseName, localeName, root, disableFallback); in instantiateBundle()
378 return ResourceBundleWrapper.getBundleInstance(baseName, localeName, root, in instantiateBundle()
385 b = ICUResourceBundle.getBundleInstance(baseName, localeName, root, in instantiateBundle()
[all …]
/third_party/typescript/tests/cases/conformance/dynamicImport/
DimportCallExpressionShouldNotGetParen.ts4 const localeName = "zh-CN"; constant
5 import(`./locales/${localeName}.js`).then(bar => {
9 import("./locales/" + localeName + ".js").then(bar => {
/third_party/flutter/flutter/examples/stocks/lib/i18n/
Dstock_messages_all.dart21 MessageLookupByLibrary _findExact(localeName) {
22 switch (localeName) {
32 /// User programs should call this before using [localeName] for messages.
33 Future<bool> initializeMessages(String localeName) async {
35 localeName,

1234567