/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 57 ULocale gpLocale0 = gp.getLocale(0); in TestDefault() 64 ULocale gpLocale1 = gp.getLocale(1); in TestDefault() 71 ULocale gpLocale2 = gp.getLocale(2); in TestDefault() 78 ULocale calLocale = cal.getLocale(ULocale.VALID_LOCALE); in TestDefault() 86 ULocale collLocale = coll.getLocale(ULocale.VALID_LOCALE); in TestDefault() 94 ULocale brkLocale = brk.getLocale(ULocale.VALID_LOCALE); in TestDefault() 112 ULocale nfLocale = nf.getLocale(ULocale.VALID_LOCALE); in TestDefault() 301 ULocale loc = gp.getLocale(j); in TestSetLocales() 303 if (!gp.getLocale(j).toString().equals(RESULTS_LOCALEIDS[i][j])) { in TestSetLocales() 335 ULocale loc = gp.getLocale(j); in TestSetLocales() [all …]
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 54 ULocale gpLocale0 = gp.getLocale(0); in TestDefault() 61 ULocale gpLocale1 = gp.getLocale(1); in TestDefault() 68 ULocale gpLocale2 = gp.getLocale(2); in TestDefault() 75 ULocale calLocale = cal.getLocale(ULocale.VALID_LOCALE); in TestDefault() 83 ULocale collLocale = coll.getLocale(ULocale.VALID_LOCALE); in TestDefault() 91 ULocale brkLocale = brk.getLocale(ULocale.VALID_LOCALE); in TestDefault() 109 ULocale nfLocale = nf.getLocale(ULocale.VALID_LOCALE); in TestDefault() 298 ULocale loc = gp.getLocale(j); in TestSetLocales() 300 if (!gp.getLocale(j).toString().equals(RESULTS_LOCALEIDS[i][j])) { in TestSetLocales() 332 ULocale loc = gp.getLocale(j); in TestSetLocales() [all …]
|
/third_party/skia/modules/skparagraph/src/ |
D | Iterators.h | 21 , fCurrentLocale(defaultStyle.getLocale()) {} in LangIterator() 32 fCurrentLocale = fCurrentStyle->fStyle.getLocale(); in consume() 34 if (fCurrentStyle->fStyle.getLocale() != fCurrentLocale) { in consume()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | MeasureFormat.java | 438 ListFormatter listFormatter = ListFormatter.getInstance(getLocale(), in formatMeasuresInternal() 467 return LongNameHandler.getUnitDisplayName(getLocale(), unit, formatWidth.unitWidth); in getUnitDisplayName() 485 && getLocale().equals(rhs.getLocale()) in equals() 495 …return (getLocale().hashCode() * 31 + getNumberFormatInternal().hashCode()) * 31 + getWidth().hash… in hashCode() 511 public final ULocale getLocale() { in getLocale() method in MeasureFormat 512 return getLocale(ULocale.VALID_LOCALE); in getLocale() 567 return new MeasureFormat(getLocale(), in withNumberFormat() 711 formatter = NumberFormatter.withLocale(getLocale()).unit(unit).perUnit(perUnit) in getUnitFormatterFromCache() 916 … return new MeasureProxy(getLocale(), formatWidth, getNumberFormatInternal(), TIME_UNIT_FORMAT); in toTimeUnitProxy() 920 … return new MeasureProxy(getLocale(), formatWidth, getNumberFormatInternal(), CURRENCY_FORMAT); in toCurrencyProxy() [all …]
|
D | BreakIterator.java | 790 if (cache.getLocale().equals(locale)) { in registerInstance() 850 if (cache.getLocale().equals(where)) { in getBreakInstance() 899 ULocale getLocale() { in getLocale() method in BreakIterator.BreakIteratorCache 966 public final ULocale getLocale(ULocale.Type type) { in getLocale() method in BreakIterator
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MeasureFormat.java | 457 ListFormatter listFormatter = ListFormatter.getInstance(getLocale(), in formatMeasuresInternal() 489 return LongNameHandler.getUnitDisplayName(getLocale(), unit, formatWidth.unitWidth); in getUnitDisplayName() 509 && getLocale().equals(rhs.getLocale()) in equals() 521 …return (getLocale().hashCode() * 31 + getNumberFormatInternal().hashCode()) * 31 + getWidth().hash… in hashCode() 541 public final ULocale getLocale() { in getLocale() method in MeasureFormat 542 return getLocale(ULocale.VALID_LOCALE); in getLocale() 602 return new MeasureFormat(getLocale(), in withNumberFormat() 746 formatter = NumberFormatter.withLocale(getLocale()).unit(unit).perUnit(perUnit) in getUnitFormatterFromCache() 951 … return new MeasureProxy(getLocale(), formatWidth, getNumberFormatInternal(), TIME_UNIT_FORMAT); in toTimeUnitProxy() 955 … return new MeasureProxy(getLocale(), formatWidth, getNumberFormatInternal(), CURRENCY_FORMAT); in toCurrencyProxy() [all …]
|
D | BreakIterator.java | 836 if (cache.getLocale().equals(locale)) { in registerInstance() 895 if (cache.getLocale().equals(where)) { in getBreakInstance() 945 ULocale getLocale() { in getLocale() method in BreakIterator.BreakIteratorCache 1012 public final ULocale getLocale(ULocale.Type type) { in getLocale() method in BreakIterator
|
/third_party/icu/icu4c/source/common/ |
D | locid.cpp | 2249 return getLocale(eROOT); in getRoot() 2255 return getLocale(eENGLISH); in getEnglish() 2261 return getLocale(eFRENCH); in getFrench() 2267 return getLocale(eGERMAN); in getGerman() 2273 return getLocale(eITALIAN); in getItalian() 2279 return getLocale(eJAPANESE); in getJapanese() 2285 return getLocale(eKOREAN); in getKorean() 2291 return getLocale(eCHINESE); in getChinese() 2297 return getLocale(eCHINA); in getSimplifiedChinese() 2303 return getLocale(eTAIWAN); in getTraditionalChinese() [all …]
|
D | locdspnm.cpp | 74 const Locale& getLocale(); 118 ICUDataTable::getLocale() { in getLocale() function in ICUDataTable 171 virtual const Locale& getLocale() const; 203 DefaultLocaleDisplayNames::getLocale() const { 316 virtual const Locale& getLocale() const override; 452 nonConstThis->locale = langData.getLocale() == Locale::getRoot() in initialize() 453 ? regionData.getLocale() in initialize() 454 : langData.getLocale(); in initialize() 526 LocaleDisplayNamesImpl::getLocale() const { in getLocale() function in LocaleDisplayNamesImpl 972 return ((const LocaleDisplayNames *)ldn)->getLocale().getName(); in uldn_getLocale()
|
/third_party/node/deps/icu-small/source/common/ |
D | locid.cpp | 2266 return getLocale(eROOT); in getRoot() 2272 return getLocale(eENGLISH); in getEnglish() 2278 return getLocale(eFRENCH); in getFrench() 2284 return getLocale(eGERMAN); in getGerman() 2290 return getLocale(eITALIAN); in getItalian() 2296 return getLocale(eJAPANESE); in getJapanese() 2302 return getLocale(eKOREAN); in getKorean() 2308 return getLocale(eCHINESE); in getChinese() 2314 return getLocale(eCHINA); in getSimplifiedChinese() 2320 return getLocale(eTAIWAN); in getTraditionalChinese() [all …]
|
D | locdspnm.cpp | 74 const Locale& getLocale(); 118 ICUDataTable::getLocale() { in getLocale() function in ICUDataTable 171 virtual const Locale& getLocale() const; 203 DefaultLocaleDisplayNames::getLocale() const { 316 virtual const Locale& getLocale() const override; 452 nonConstThis->locale = langData.getLocale() == Locale::getRoot() in initialize() 453 ? regionData.getLocale() in initialize() 454 : langData.getLocale(); in initialize() 526 LocaleDisplayNamesImpl::getLocale() const { in getLocale() function in LocaleDisplayNamesImpl 972 return ((const LocaleDisplayNames *)ldn)->getLocale().getName(); in uldn_getLocale()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | locid.cpp | 2287 return getLocale(eROOT); in getRoot() 2293 return getLocale(eENGLISH); in getEnglish() 2299 return getLocale(eFRENCH); in getFrench() 2305 return getLocale(eGERMAN); in getGerman() 2311 return getLocale(eITALIAN); in getItalian() 2317 return getLocale(eJAPANESE); in getJapanese() 2323 return getLocale(eKOREAN); in getKorean() 2329 return getLocale(eCHINESE); in getChinese() 2335 return getLocale(eCHINA); in getSimplifiedChinese() 2341 return getLocale(eTAIWAN); in getTraditionalChinese() [all …]
|
D | locdspnm.cpp | 74 const Locale& getLocale(); 118 ICUDataTable::getLocale() { in getLocale() function in ICUDataTable 171 virtual const Locale& getLocale() const; 203 DefaultLocaleDisplayNames::getLocale() const { 316 virtual const Locale& getLocale() const; 452 nonConstThis->locale = langData.getLocale() == Locale::getRoot() in initialize() 453 ? regionData.getLocale() in initialize() 454 : langData.getLocale(); in initialize() 526 LocaleDisplayNamesImpl::getLocale() const { in getLocale() function in LocaleDisplayNamesImpl 946 return ((const LocaleDisplayNames *)ldn)->getLocale().getName(); in uldn_getLocale()
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
D | RBxliffExporter.java | 68 private String getLocale(Bundle item) { in getLocale() method in RBxliffExporter 251 if (!getLocale(main_bundle).equals("")) { in exportFile() 253 parent_bundle_name = getParentLocale(getLocale(main_bundle)); in exportFile() 282 String mainLocale = getLocale(main_bundle); in exportFile() 285 file_elem.setAttribute("source-language", getLocale(main_bundle)); in exportFile() 289 file_elem.setAttribute("target-language", getLocale(main_bundle)); in exportFile()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | LocaleAliasTest.java | 90 ULocale l1 = c1.getLocale(ULocale.VALID_LOCALE); in TestCalendar() 91 ULocale l2 = c2.getLocale(ULocale.VALID_LOCALE); in TestCalendar() 121 ULocale l1 = df1.getLocale(ULocale.VALID_LOCALE); in TestDateFormat() 122 ULocale l2 = df2.getLocale(ULocale.VALID_LOCALE); in TestDateFormat()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | LocaleAliasTest.java | 93 ULocale l1 = c1.getLocale(ULocale.VALID_LOCALE); in TestCalendar() 94 ULocale l2 = c2.getLocale(ULocale.VALID_LOCALE); in TestCalendar() 124 ULocale l1 = df1.getLocale(ULocale.VALID_LOCALE); in TestDateFormat() 125 ULocale l2 = df2.getLocale(ULocale.VALID_LOCALE); in TestDateFormat()
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
D | dcfmtsym.h | 315 inline Locale getLocale() const; 322 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const; 592 DecimalFormatSymbols::getLocale() const { in getLocale() function
|
/third_party/icu/icu4c/source/i18n/unicode/ |
D | dcfmtsym.h | 315 inline Locale getLocale() const; 322 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const; 585 DecimalFormatSymbols::getLocale() const { in getLocale() function
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
D | dcfmtsym.h | 309 inline Locale getLocale() const; 316 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const; 579 DecimalFormatSymbols::getLocale() const { in getLocale() function
|
/third_party/icu/icu4c/source/test/intltest/ |
D | restsnew.cpp | 466 a.getLocale()==b.getLocale() && in equalRB() 508 if(strcmp(test1.getLocale().getName(), locale->getName()) !=0 ){ in TestOtherAPI() 525 …if(strcmp(defaultresource.getLocale().getName(), explicitdefaultresource.getLocale().getName()) !=… in TestOtherAPI() 527 …explicitdefaultresource.getLocale().getName(), defaultresource.getLocale().getName(), u_errorName(… in TestOtherAPI() 534 strcmp(copyRes.getLocale().getName(), defaultresource.getLocale().getName() ) !=0 || in TestOtherAPI() 535 strcmp(test1.getLocale().getName(), defaultresource.getLocale().getName() ) ==0 ) in TestOtherAPI() 554 strcmp(defSubCopy.getLocale().getName(), defaultSub.getLocale().getName() ) != 0) { in TestOtherAPI()
|
D | svccoll.cpp | 67 Locale loc = ncol->getLocale(ULOC_REQUESTED_LOCALE, status); in TestRegister() 72 loc = ncol->getLocale(ULOC_VALID_LOCALE, status); in TestRegister() 76 loc = ncol->getLocale(ULOC_ACTUAL_LOCALE, status); in TestRegister() 191 Locale nloc = ncol->getLocale(ULOC_VALID_LOCALE, status); in TestRegister() 419 Locale loc = ncol->getLocale(ULOC_REQUESTED_LOCALE, status); in TestRegisterFactory() 424 loc = ncol->getLocale(ULOC_VALID_LOCALE, status); in TestRegisterFactory()
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationServiceTest.java | 48 if (!test.getLocale(ULocale.VALID_LOCALE).equals(ULocale.GERMAN)) { in TestRegister() 49 errln("Collation from Germany is really " + test.getLocale(ULocale.VALID_LOCALE)); in TestRegister() 122 if (!ncol.getLocale(ULocale.VALID_LOCALE).equals(ULocale.US)) { in TestRegister() 123 errln("Collation from US is really " + ncol.getLocale(ULocale.VALID_LOCALE)); in TestRegister() 260 ULocale valid = col.getLocale(ULocale.VALID_LOCALE); in TestRegisterFactory()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | CollationServiceTest.java | 51 if (!test.getLocale(ULocale.VALID_LOCALE).equals(ULocale.GERMAN)) { in TestRegister() 52 errln("Collation from Germany is really " + test.getLocale(ULocale.VALID_LOCALE)); in TestRegister() 125 if (!ncol.getLocale(ULocale.VALID_LOCALE).equals(ULocale.US)) { in TestRegister() 126 errln("Collation from US is really " + ncol.getLocale(ULocale.VALID_LOCALE)); in TestRegister() 263 ULocale valid = col.getLocale(ULocale.VALID_LOCALE); in TestRegisterFactory()
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/ |
D | PreferencesDialog.java | 44 locale = Resources.getLocale(); in PreferencesDialog() 123 String locname = Resources.getLocale().toString(); in initComponents() 124 String loclang = Resources.getLocale().getLanguage(); in initComponents() 125 String loccoun = Resources.getLocale().getCountry(); in initComponents()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralFormatTest.java | 291 if (!cpi.getLocale().equals(new ULocale("en_US"))) { in TestGetLocale() 294 if (cpi.getLocale().equals(new ULocale("jp_JP"))) { in TestGetLocale() 304 if (!cpi.getLocale().equals(new ULocale("en_US"))) { in TestSetLocale() 307 if (cpi.getLocale().equals(new ULocale("jp_JP"))) { in TestSetLocale()
|