/third_party/typescript/tests/baselines/reference/ |
D | importCallExpressionShouldNotGetParen.types | 2 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 …]
|
D | importCallExpressionShouldNotGetParen.symbols | 2 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))
|
D | importCallExpressionShouldNotGetParen.js | 2 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/ |
D | BasicDurationFormatterFactory.java | 31 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 …]
|
D | BasicPeriodFormatterFactory.java | 62 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()
|
D | BasicDurationFormatter.java | 23 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/ |
D | BasicDurationFormatterFactory.java | 32 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 …]
|
D | BasicPeriodFormatterFactory.java | 64 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()
|
D | BasicDurationFormatter.java | 24 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/ |
D | ResourceBasedPeriodFormatterDataService.java | 86 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/ |
D | ResourceBasedPeriodFormatterDataService.java | 88 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/ |
D | static_unisets_test.cpp | 22 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 118 … localeName + UnicodeString(u" ") + UnicodeString(cp) + UnicodeString(u" is missing in ") + in assertInSet()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | winnmfmt.cpp | 229 const wchar_t *localeName = nullptr; in Win32NumberFormat() local 233 …localeName = 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 283 …localeName = 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 396 …localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in format() [all …]
|
D | windtfmt.cpp | 312 const wchar_t *localeName = nullptr; in formatDate() local 316 …localeName = 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 349 …localeName = 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/ |
D | winnmfmt.cpp | 229 const wchar_t *localeName = nullptr; in Win32NumberFormat() local 233 …localeName = 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 284 …localeName = 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 397 …localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in format() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | winnmfmt.cpp | 234 const wchar_t *localeName = nullptr; in Win32NumberFormat() local 238 …localeName = 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 289 …localeName = 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 402 …localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in format() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | winnmfmt.cpp | 229 const wchar_t *localeName = nullptr; in Win32NumberFormat() local 233 …localeName = 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 284 …localeName = 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 397 …localeName = 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/ |
D | IntlTestNumberFormat.java | 42 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/ |
D | IntlTestNumberFormat.java | 45 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/ |
D | gen_material_localizations.dart | 32 final String localeName = locale.originalString; 34 /// Create an instance of the translation bundle for ${describeLocale(localeName)}. 38 String localeName = '$localeName', 46 localeName: localeName,
|
D | gen_cupertino_localizations.dart | 32 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/ |
D | UResourceBundle.java | 109 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/ |
D | UResourceBundle.java | 109 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/ |
D | importCallExpressionShouldNotGetParen.ts | 4 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/ |
D | stock_messages_all.dart | 21 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,
|