Home
last modified time | relevance | path

Searched refs:getLocale (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/third_party/flutter/skia/third_party/externals/icu/source/common/
Dlocid.cpp1068 return getLocale(eROOT); in getRoot()
1074 return getLocale(eENGLISH); in getEnglish()
1080 return getLocale(eFRENCH); in getFrench()
1086 return getLocale(eGERMAN); in getGerman()
1092 return getLocale(eITALIAN); in getItalian()
1098 return getLocale(eJAPANESE); in getJapanese()
1104 return getLocale(eKOREAN); in getKorean()
1110 return getLocale(eCHINESE); in getChinese()
1116 return getLocale(eCHINA); in getSimplifiedChinese()
1122 return getLocale(eTAIWAN); in getTraditionalChinese()
[all …]
Dlocdspnm.cpp74 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;
449 nonConstThis->locale = langData.getLocale() == Locale::getRoot() in initialize()
450 ? regionData.getLocale() in initialize()
451 : langData.getLocale(); in initialize()
523 LocaleDisplayNamesImpl::getLocale() const { in getLocale() function in LocaleDisplayNamesImpl
894 return ((const LocaleDisplayNames *)ldn)->getLocale().getName(); in uldn_getLocale()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DGlobalizationPreferencesTest.java57 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/
DGlobalizationPreferencesTest.java54 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/
DIterators.h21 , fCurrentLocale(defaultStyle.getLocale()) {} in LangIterator()
32 fCurrentLocale = fCurrentStyle->fStyle.getLocale(); in consume()
34 if (fCurrentStyle->fStyle.getLocale() != fCurrentLocale) { in consume()
/third_party/flutter/skia/modules/skparagraph/src/
DIterators.h67 , fCurrentLocale(defaultStyle.getLocale()) {} in LangIterator()
78 fCurrentLocale = fCurrentStyle->fStyle.getLocale(); in consume()
80 if (fCurrentStyle->fStyle.getLocale() != fCurrentLocale) { in consume()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DMeasureFormat.java438 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 …]
DBreakIterator.java790 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/
DMeasureFormat.java457 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 …]
DBreakIterator.java836 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/node/deps/icu-small/source/common/
Dlocid.cpp2256 return getLocale(eROOT); in getRoot()
2262 return getLocale(eENGLISH); in getEnglish()
2268 return getLocale(eFRENCH); in getFrench()
2274 return getLocale(eGERMAN); in getGerman()
2280 return getLocale(eITALIAN); in getItalian()
2286 return getLocale(eJAPANESE); in getJapanese()
2292 return getLocale(eKOREAN); in getKorean()
2298 return getLocale(eCHINESE); in getChinese()
2304 return getLocale(eCHINA); in getSimplifiedChinese()
2310 return getLocale(eTAIWAN); in getTraditionalChinese()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dlocid.cpp2287 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 …]
/third_party/icu/icu4c/source/common/
Dlocid.cpp2283 return getLocale(eROOT); in getRoot()
2289 return getLocale(eENGLISH); in getEnglish()
2295 return getLocale(eFRENCH); in getFrench()
2301 return getLocale(eGERMAN); in getGerman()
2307 return getLocale(eITALIAN); in getItalian()
2313 return getLocale(eJAPANESE); in getJapanese()
2319 return getLocale(eKOREAN); in getKorean()
2325 return getLocale(eCHINESE); in getChinese()
2331 return getLocale(eCHINA); in getSimplifiedChinese()
2337 return getLocale(eTAIWAN); in getTraditionalChinese()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Ddcfmtsym.h309 inline Locale getLocale() const;
316 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
579 DecimalFormatSymbols::getLocale() const { in getLocale() function
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Ddcfmtsym.h296 inline Locale getLocale() const;
303 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
570 DecimalFormatSymbols::getLocale() const { in getLocale() function
/third_party/node/deps/icu-small/source/i18n/unicode/
Ddcfmtsym.h315 inline Locale getLocale() const;
322 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
585 DecimalFormatSymbols::getLocale() const { in getLocale() function
/third_party/icu/icu4c/source/i18n/unicode/
Ddcfmtsym.h309 inline Locale getLocale() const;
316 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
579 DecimalFormatSymbols::getLocale() const { in getLocale() function
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DLocaleAliasTest.java93 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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleAliasTest.java90 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/tools/unicodetools/com/ibm/rbm/
DRBxliffExporter.java68 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/icu4c/source/common/unicode/
Dresbund.h449 getLocale(void) const;
463 getLocale(ULocDataLocaleType type, UErrorCode &status) const;
/third_party/node/deps/icu-small/source/common/unicode/
Dresbund.h449 getLocale(void) const;
463 getLocale(ULocDataLocaleType type, UErrorCode &status) const;
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dresbund.h449 getLocale(void) const;
463 getLocale(ULocDataLocaleType type, UErrorCode &status) const;
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dresbund.h446 getLocale(void) const;
460 getLocale(ULocDataLocaleType type, UErrorCode &status) const;
/third_party/icu/icu4c/source/test/intltest/
Drestsnew.cpp464 a.getLocale()==b.getLocale() && in equalRB()
506 if(strcmp(test1.getLocale().getName(), locale->getName()) !=0 ){ in TestOtherAPI()
523 …if(strcmp(defaultresource.getLocale().getName(), explicitdefaultresource.getLocale().getName()) !=… in TestOtherAPI()
525 …explicitdefaultresource.getLocale().getName(), defaultresource.getLocale().getName(), u_errorName(… in TestOtherAPI()
532 strcmp(copyRes.getLocale().getName(), defaultresource.getLocale().getName() ) !=0 || in TestOtherAPI()
533 strcmp(test1.getLocale().getName(), defaultresource.getLocale().getName() ) ==0 ) in TestOtherAPI()
552 strcmp(defSubCopy.getLocale().getName(), defaultSub.getLocale().getName() ) != 0) { in TestOtherAPI()

12345678910>>...12