/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | LocaleMatcher.java | 358 private final Locale defaultLocale; field in LocaleMatcher 371 private ULocale defaultLocale; field in LocaleMatcher.Builder 457 public Builder setDefaultULocale(ULocale defaultLocale) { in setDefaultULocale() argument 458 this.defaultLocale = defaultLocale; in setDefaultULocale() 470 public Builder setDefaultLocale(Locale defaultLocale) { in setDefaultLocale() argument 471 this.defaultLocale = ULocale.forLocale(defaultLocale); in setDefaultLocale() 553 if (defaultLocale != null) { in toString() 554 s.append(" default=").append(defaultLocale); in toString() 605 ULocale udef = builder.defaultLocale; in LocaleMatcher() 683 defaultLocale = def; in LocaleMatcher() [all …]
|
D | ULocale.java | 515 private static Locale defaultLocale = Locale.getDefault(); field in ULocale 522 defaultULocale = forLocale(defaultLocale); 535 defaultCategoryLocales[idx] = defaultLocale; 563 if (!defaultLocale.equals(currentDefault)) { in getDefault() 564 defaultLocale = currentDefault; in getDefault() 599 defaultLocale = newLocale.toLocale(); in setDefault() 600 Locale.setDefault(defaultLocale); in setDefault() 643 if (!defaultLocale.equals(currentDefault)) { in getDefault() 644 defaultLocale = currentDefault; in getDefault()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | LocaleMatcher.java | 353 private final Locale defaultLocale; field in LocaleMatcher 365 private ULocale defaultLocale; field in LocaleMatcher.Builder 455 this.defaultLocale = null; in setNoDefaultLocale() 470 public Builder setDefaultULocale(ULocale defaultLocale) { in setDefaultULocale() argument 471 this.defaultLocale = defaultLocale; in setDefaultULocale() 486 public Builder setDefaultLocale(Locale defaultLocale) { in setDefaultLocale() argument 487 this.defaultLocale = ULocale.forLocale(defaultLocale); in setDefaultLocale() 628 if (defaultLocale != null) { in toString() 629 s.append(" default=").append(defaultLocale); in toString() 680 ULocale udef = builder.defaultLocale; in LocaleMatcher() [all …]
|
D | ULocale.java | 550 private static Locale defaultLocale = Locale.getDefault(); field in ULocale 557 defaultULocale = forLocale(defaultLocale); 570 defaultCategoryLocales[idx] = defaultLocale; 599 if (!defaultLocale.equals(currentDefault)) { in getDefault() 600 defaultLocale = currentDefault; in getDefault() 635 defaultLocale = newLocale.toLocale(); in setDefault() 636 Locale.setDefault(defaultLocale); in setDefault() 680 if (!defaultLocale.equals(currentDefault)) { in getDefault() 681 defaultLocale = currentDefault; in getDefault()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | localematcher.cpp | 241 LocaleMatcher::Builder &LocaleMatcher::Builder::setDefaultLocale(const Locale *defaultLocale) { in setDefaultLocale() argument 244 if (defaultLocale != nullptr) { in setDefaultLocale() 245 clone = defaultLocale->clone(); in setDefaultLocale() 368 ownedDefaultLocale(nullptr), defaultLocale(nullptr) { in LocaleMatcher() 478 defaultLocale = def; in LocaleMatcher() 517 ownedDefaultLocale(src.ownedDefaultLocale), defaultLocale(src.defaultLocale) { in LocaleMatcher() 526 src.defaultLocale = nullptr; in LocaleMatcher() 556 defaultLocale = src.defaultLocale; in operator =() 566 src.defaultLocale = nullptr; in operator =() 629 return U_SUCCESS(errorCode) && suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestMatch() [all …]
|
/third_party/node/deps/icu-small/source/common/ |
D | localematcher.cpp | 241 LocaleMatcher::Builder &LocaleMatcher::Builder::setDefaultLocale(const Locale *defaultLocale) { in setDefaultLocale() argument 244 if (defaultLocale != nullptr) { in setDefaultLocale() 245 clone = defaultLocale->clone(); in setDefaultLocale() 368 ownedDefaultLocale(nullptr), defaultLocale(nullptr) { in LocaleMatcher() 478 defaultLocale = def; in LocaleMatcher() 517 ownedDefaultLocale(src.ownedDefaultLocale), defaultLocale(src.defaultLocale) { in LocaleMatcher() 526 src.defaultLocale = nullptr; in LocaleMatcher() 556 defaultLocale = src.defaultLocale; in operator =() 566 src.defaultLocale = nullptr; in operator =() 629 return U_SUCCESS(errorCode) && suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestMatch() [all …]
|
D | uresbund.cpp | 466 findFirstExisting(const char* path, char* name, const char* defaultLocale, in findFirstExisting() argument 478 *isDefault = (UBool)(uprv_strncmp(name, defaultLocale, uprv_strlen(name)) == 0); in findFirstExisting() 674 const char *defaultLocale = uloc_getDefault(); in entryOpen() local 679 r = findFirstExisting(path, name, defaultLocale, &isRoot, &hasChopped, &isDefault, &intStatus); in entryOpen() 719 uprv_strcpy(name, defaultLocale); in entryOpen() 720 … r = findFirstExisting(path, name, defaultLocale, &isRoot, &hasChopped, &isDefault, &intStatus); in entryOpen() 744 … r = findFirstExisting(path, name, defaultLocale, &isRoot, &hasChopped, &isDefault, &intStatus); in entryOpen()
|
/third_party/icu/icu4c/source/common/ |
D | localematcher.cpp | 241 LocaleMatcher::Builder &LocaleMatcher::Builder::setDefaultLocale(const Locale *defaultLocale) { in setDefaultLocale() argument 244 if (defaultLocale != nullptr) { in setDefaultLocale() 245 clone = defaultLocale->clone(); in setDefaultLocale() 368 ownedDefaultLocale(nullptr), defaultLocale(nullptr) { in LocaleMatcher() 478 defaultLocale = def; in LocaleMatcher() 517 ownedDefaultLocale(src.ownedDefaultLocale), defaultLocale(src.defaultLocale) { in LocaleMatcher() 526 src.defaultLocale = nullptr; in LocaleMatcher() 556 defaultLocale = src.defaultLocale; in operator =() 566 src.defaultLocale = nullptr; in operator =() 629 return U_SUCCESS(errorCode) && suppIndex >= 0 ? supportedLocales[suppIndex] : defaultLocale; in getBestMatch() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | svccoll.cpp | 160 const Locale& defaultLocale = Locale::getDefault(); in TestRegister() local 162 …((defaultLocale == Locale::getKorean() && defaultLocale == Locale::getJapanese()) && displayName =… in TestRegister() 163 ((defaultLocale == Locale::getChinese()) && displayName != zh_fuFU)) { in TestRegister() 169 …((defaultLocale == Locale::getKorean() && defaultLocale == Locale::getJapanese()) && displayName =… in TestRegister() 170 ((defaultLocale == Locale::getChinese()) && displayName != zh_fuFU)) { in TestRegister()
|
D | localematchertest.cpp | 564 Locale defaultLocale(test.def.data()); in dataDriven() local 565 builder.setDefaultLocale(&defaultLocale); in dataDriven()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | ShCompile_test.cpp | 57 std::locale defaultLocale; member in ShCompileTest::ScopedRestoreDefaultLocale 66 defaultLocale = std::locale(); in ScopedRestoreDefaultLocale() 71 std::locale::global(defaultLocale); in ~ScopedRestoreDefaultLocale()
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | ShCompile_test.cpp | 57 std::locale defaultLocale; member in ShCompileTest::ScopedRestoreDefaultLocale 66 defaultLocale = std::locale(); in ScopedRestoreDefaultLocale() 71 std::locale::global(defaultLocale); in ~ScopedRestoreDefaultLocale()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | ListFormatterTest.java | 217 ULocale defaultLocale = ULocale.getDefault(ULocale.Category.FORMAT); in isDefaultLocaleEnglishLike() local 218 return defaultLocale.equals(ULocale.ENGLISH) || defaultLocale.equals(ULocale.US); in isDefaultLocaleEnglishLike()
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
D | localematcher.h | 438 Builder &setDefaultLocale(const Locale *defaultLocale); 708 const Locale *defaultLocale; variable
|
/third_party/node/deps/icu-small/source/common/unicode/ |
D | localematcher.h | 436 Builder &setDefaultLocale(const Locale *defaultLocale); 702 const Locale *defaultLocale; variable
|
/third_party/icu/icu4c/source/common/unicode/ |
D | localematcher.h | 438 Builder &setDefaultLocale(const Locale *defaultLocale); 708 const Locale *defaultLocale; variable
|
/third_party/flutter/flutter/examples/stocks/lib/i18n/ |
D | stock_messages_es.dart | 12 final _keepAnalysisHappy = Intl.defaultLocale;
|
D | stock_messages_en.dart | 12 final _keepAnalysisHappy = Intl.defaultLocale;
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | ListFormatterTest.java | 214 ULocale defaultLocale = ULocale.getDefault(ULocale.Category.FORMAT); in isDefaultLocaleEnglishLike() local 215 return defaultLocale.equals(ULocale.ENGLISH) || defaultLocale.equals(ULocale.US); in isDefaultLocaleEnglishLike()
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
D | CalendarFrame.java | 182 Locale defaultLocale = Locale.getDefault(); in init() local 197 thisMatch = DemoUtility.compareLocales(locales[i], defaultLocale); in init()
|
D | CalendarCalc.java | 269 Locale defaultLocale = Locale.getDefault(); in buildGUI() local 283 thisMatch = DemoUtility.compareLocales(locales[i], defaultLocale); in buildGUI()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | ICUResourceBundleTest.java | 951 ULocale defaultLocale = ULocale.getDefault(); in TestJavaULocaleBundleLoading() local 952 if(!defaultBundle.getULocale().equals(defaultLocale)){ in TestJavaULocaleBundleLoading() 963 ULocale.setDefault(defaultLocale); in TestJavaULocaleBundleLoading()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUResourceBundleTest.java | 948 ULocale defaultLocale = ULocale.getDefault(); in TestJavaULocaleBundleLoading() local 949 if(!defaultBundle.getULocale().equals(defaultLocale)){ in TestJavaULocaleBundleLoading() 960 ULocale.setDefault(defaultLocale); in TestJavaULocaleBundleLoading()
|
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | TestFmwk.java | 51 private final static Locale defaultLocale = Locale.US; field in TestFmwk 79 Locale.setDefault(defaultLocale); in testInitialize()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/ |
D | TestFmwk.java | 52 private final static Locale defaultLocale = Locale.US; field in TestFmwk 80 Locale.setDefault(defaultLocale); in testInitialize()
|