/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/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/ |
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/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/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/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 …]
|
D | windtfmt.cpp | 318 const wchar_t *localeName = nullptr; in formatDate() local 322 …localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in formatDate() 325 …result = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, STACK_BU… in formatDate() 329 …int newLength = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, NULL, 0, … in formatDate() 333 … GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, newLength, NULL); in formatDate() 351 const wchar_t *localeName = nullptr; in formatTime() local 355 …localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in formatTime() 358 result = GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, NULL, buffer, STACK_BUFFER_SIZE); in formatTime() 362 int newLength = GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, NULL, NULL, 0); in formatTime() 366 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 …]
|
D | windtfmt.cpp | 313 const wchar_t *localeName = nullptr; in formatDate() local 317 …localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in formatDate() 320 …result = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, STACK_BU… in formatDate() 324 …int newLength = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, NULL, 0, … in formatDate() 328 … GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, newLength, NULL); in formatDate() 346 const wchar_t *localeName = nullptr; in formatTime() local 350 …localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in formatTime() 353 result = GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, NULL, buffer, STACK_BUFFER_SIZE); in formatTime() 357 int newLength = GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, NULL, NULL, 0); in formatTime() 361 GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, NULL, buffer, newLength); in formatTime()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | winnmfmt.cpp | 235 const wchar_t *localeName = nullptr; in Win32NumberFormat() local 239 …localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in Win32NumberFormat() 245 getCurrencyFormat(&fFormatInfo->currency, localeName); in Win32NumberFormat() 247 getNumberFormat(&fFormatInfo->number, localeName); in Win32NumberFormat() 286 const wchar_t *localeName = nullptr; in operator =() local 290 …localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in operator =() 295 getCurrencyFormat(&fFormatInfo->currency, localeName); in operator =() 298 getNumberFormat(&fFormatInfo->number, localeName); in operator =() 399 const wchar_t *localeName = nullptr; in format() local 403 …localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in format() [all …]
|
D | windtfmt.cpp | 319 const wchar_t *localeName = nullptr; in formatDate() local 323 …localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in formatDate() 326 …result = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, nullptr, buffer, STACK… in formatDate() 330 …int newLength = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, nullptr, nullpt… in formatDate() 334 …GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, nullptr, buffer, newLength, nul… in formatDate() 352 const wchar_t *localeName = nullptr; in formatTime() local 356 …localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffe… in formatTime() 359 … result = GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, nullptr, buffer, STACK_BUFFER_SIZE); in formatTime() 363 … int newLength = GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, nullptr, nullptr, 0); in formatTime() 367 GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, nullptr, buffer, newLength); in formatTime()
|
/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() 104 void StaticUnicodeSetsTest::assertInSet(const UnicodeString &localeName, const UnicodeString &setNa… in assertInSet() argument 110 assertInSet(localeName, setName, set, str.char32At(0)); in assertInSet() 113 void StaticUnicodeSetsTest::assertInSet(const UnicodeString &localeName, const UnicodeString &setNa… in assertInSet() argument 119 … localeName + UnicodeString(u" ") + UnicodeString(cp) + UnicodeString(u" is missing in ") + in assertInSet()
|
/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/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/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/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | TrieMapTest.java | 87 String localeName; in init() local 89 localeName = ULocale.getDisplayName(languageCode, locale); in init() 90 if (!localeName.equals(languageCode)) { in init() 91 if (!unicodeTestMap.containsKey(localeName)) { in init() 92 unicodeTestMap.put(localeName, MASK & i++); in init() 98 localeName = ULocale.getDisplayCountry("und-" + countryCode, locale); in init() 99 if (!localeName.equals(countryCode)) { in init() 100 if (!unicodeTestMap.containsKey(localeName)) { in init() 101 unicodeTestMap.put(localeName, MASK & i++); in init() 405 String localeName; in TestTimeGet() local [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | TrieMapTest.java | 84 String localeName; in init() local 86 localeName = ULocale.getDisplayName(languageCode, locale); in init() 87 if (!localeName.equals(languageCode)) { in init() 88 if (!unicodeTestMap.containsKey(localeName)) { in init() 89 unicodeTestMap.put(localeName, MASK & i++); in init() 95 localeName = ULocale.getDisplayCountry("und-" + countryCode, locale); in init() 96 if (!localeName.equals(countryCode)) { in init() 97 if (!unicodeTestMap.containsKey(localeName)) { in init() 98 unicodeTestMap.put(localeName, MASK & i++); in init() 402 String localeName; in TestTimeGet() local [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 => {
|