Home
last modified time | relevance | path

Searched refs:getLocale (Results 1 - 25 of 252) sorted by relevance

1234567891011

/third_party/skia/modules/skparagraph/src/
H A DIterators.h21 , fCurrentLocale(defaultStyle.getLocale()) {} in LangIterator()
32 fCurrentLocale = fCurrentStyle->fStyle.getLocale();
34 if (fCurrentStyle->fStyle.getLocale() != fCurrentLocale) {
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
H A 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()
100 ULocale dfLocale = df.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( in TestSetLocales()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A 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()
103 ULocale dfLocale = df.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( in TestSetLocales()
[all...]
H A DPluralFormatTest.java290 /* Tests the method public ULocale getLocale() */
294 if (!cpi.getLocale().equals(new ULocale("en_US"))) { in TestGetLocale()
295 errln("CurrencyPluralInfo.getLocale() was suppose to return true " + "when passing the same ULocale"); in TestGetLocale()
297 if (cpi.getLocale().equals(new ULocale("jp_JP"))) { in TestGetLocale()
298 errln("CurrencyPluralInfo.getLocale() was not suppose to return true " + "when passing a different ULocale"); in TestGetLocale()
307 if (!cpi.getLocale().equals(new ULocale("en_US"))) { in TestSetLocale()
310 if (cpi.getLocale().equals(new ULocale("jp_JP"))) { in TestSetLocale()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A 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().hashCode(); 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()
619 // Needed for getLocale(ULocale.VALID_LOCALE). in MeasureFormat()
746 formatter = NumberFormatter.withLocale(getLocale()) in getUnitFormatterFromCache()
[all...]
H A 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/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A 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().hashCode(); 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()
584 // Needed for getLocale(ULocale.VALID_LOCALE). in MeasureFormat()
711 formatter = NumberFormatter.withLocale(getLocale()) in getUnitFormatterFromCache()
[all...]
H A 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/icu4c/source/common/
H A Dlocid.cpp2249 return getLocale(eROOT);
2255 return getLocale(eENGLISH);
2261 return getLocale(eFRENCH);
2267 return getLocale(eGERMAN);
2273 return getLocale(eITALIAN);
2279 return getLocale(eJAPANESE);
2285 return getLocale(eKOREAN);
2291 return getLocale(eCHINESE);
2297 return getLocale(eCHINA);
2303 return getLocale(eTAIWA
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dlocid.cpp2266 return getLocale(eROOT);
2272 return getLocale(eENGLISH);
2278 return getLocale(eFRENCH);
2284 return getLocale(eGERMAN);
2290 return getLocale(eITALIAN);
2296 return getLocale(eJAPANESE);
2302 return getLocale(eKOREAN);
2308 return getLocale(eCHINESE);
2314 return getLocale(eCHINA);
2320 return getLocale(eTAIWA
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dlocid.cpp2287 return getLocale(eROOT);
2293 return getLocale(eENGLISH);
2299 return getLocale(eFRENCH);
2305 return getLocale(eGERMAN);
2311 return getLocale(eITALIAN);
2317 return getLocale(eJAPANESE);
2323 return getLocale(eKOREAN);
2329 return getLocale(eCHINESE);
2335 return getLocale(eCHINA);
2341 return getLocale(eTAIWA
[all...]
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Ddcfmtsym.h315 inline Locale getLocale() const;
322 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
592 DecimalFormatSymbols::getLocale() const { in getLocale() function in DecimalFormatSymbols
/third_party/icu/icu4c/source/i18n/unicode/
H A Ddcfmtsym.h315 inline Locale getLocale() const;
322 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
585 DecimalFormatSymbols::getLocale() const { in getLocale() function in DecimalFormatSymbols
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Ddcfmtsym.h309 inline Locale getLocale() const;
316 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
579 DecimalFormatSymbols::getLocale() const { in getLocale() function in DecimalFormatSymbols
/third_party/icu/tools/unicodetools/com/ibm/rbm/
H A 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/test/intltest/
H A Drestsnew.cpp466 a.getLocale()==b.getLocale() && in equalRB()
507 logln("Testing getLocale()\n"); in TestOtherAPI()
508 if(strcmp(test1.getLocale().getName(), locale->getName()) !=0 ){ in TestOtherAPI()
509 errln("FAIL: ResourceBundle::getLocale() failed\n"); in TestOtherAPI()
525 if(strcmp(defaultresource.getLocale().getName(), explicitdefaultresource.getLocale().getName()) != 0){ in TestOtherAPI()
527 explicitdefaultresource.getLocale().getName(), defaultresource.getLocale().getName(), u_errorName(err)); in TestOtherAPI()
534 strcmp(copyRes.getLocale() in TestOtherAPI()
[all...]
/third_party/icu/icu4c/source/common/unicode/
H A Dresbund.h44 * 11/09/99 weiv Added getLocale(), fRealLocale, removed fRealLocaleID
315 * Same as getLocale().getName() .
446 * @deprecated ICU 2.8 Use getLocale(ULocDataLocaleType type, UErrorCode &status) overload instead.
449 getLocale(void) const;
463 getLocale(ULocDataLocaleType type, UErrorCode &status) const;
/third_party/node/deps/icu-small/source/common/unicode/
H A Dresbund.h44 * 11/09/99 weiv Added getLocale(), fRealLocale, removed fRealLocaleID
315 * Same as getLocale().getName() .
446 * @deprecated ICU 2.8 Use getLocale(ULocDataLocaleType type, UErrorCode &status) overload instead.
449 getLocale(void) const;
463 getLocale(ULocDataLocaleType type, UErrorCode &status) const;
/third_party/skia/third_party/externals/icu/source/common/unicode/
H A Dresbund.h44 * 11/09/99 weiv Added getLocale(), fRealLocale, removed fRealLocaleID
315 * Same as getLocale().getName() .
446 * @deprecated ICU 2.8 Use getLocale(ULocDataLocaleType type, UErrorCode &status) overload instead.
449 getLocale(void) const;
463 getLocale(ULocDataLocaleType type, UErrorCode &status) const;
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/
H A DPreferencesDialog.java44 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/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DLocaleAliasTest.java92 //Test function "getLocale(ULocale.VALID_LOCALE)" in TestCalendar()
93 ULocale l1 = c1.getLocale(ULocale.VALID_LOCALE); in TestCalendar()
94 ULocale l2 = c2.getLocale(ULocale.VALID_LOCALE); in TestCalendar()
104 logln("Calendar(getLocale) old:"+l1+" new:"+l2); in TestCalendar()
123 //Test function "getLocale" in TestDateFormat()
124 ULocale l1 = df1.getLocale(ULocale.VALID_LOCALE); in TestDateFormat()
125 ULocale l2 = df2.getLocale(ULocale.VALID_LOCALE); in TestDateFormat()
135 TestFmwk.logln("DateFormat(getLocale) old:"+l1+" new:"+l2); in TestDateFormat()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DPluralFormatTest.java287 /* Tests the method public ULocale getLocale() */
291 if (!cpi.getLocale().equals(new ULocale("en_US"))) { in TestGetLocale()
292 errln("CurrencyPluralInfo.getLocale() was suppose to return true " + "when passing the same ULocale"); in TestGetLocale()
294 if (cpi.getLocale().equals(new ULocale("jp_JP"))) { in TestGetLocale()
295 errln("CurrencyPluralInfo.getLocale() was not suppose to return true " + "when passing a different ULocale"); in TestGetLocale()
304 if (!cpi.getLocale().equals(new ULocale("en_US"))) { in TestSetLocale()
307 if (cpi.getLocale().equals(new ULocale("jp_JP"))) { in TestSetLocale()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DLocaleAliasTest.java89 //Test function "getLocale(ULocale.VALID_LOCALE)" in TestCalendar()
90 ULocale l1 = c1.getLocale(ULocale.VALID_LOCALE); in TestCalendar()
91 ULocale l2 = c2.getLocale(ULocale.VALID_LOCALE); in TestCalendar()
101 logln("Calendar(getLocale) old:"+l1+" new:"+l2); in TestCalendar()
120 //Test function "getLocale" in TestDateFormat()
121 ULocale l1 = df1.getLocale(ULocale.VALID_LOCALE); in TestDateFormat()
122 ULocale l2 = df2.getLocale(ULocale.VALID_LOCALE); in TestDateFormat()
132 TestFmwk.logln("DateFormat(getLocale) old:"+l1+" new:"+l2); in TestDateFormat()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationAPITest.java892 assertNotEquals("getLocale()", ULocale.GERMAN, col1.getLocale(ULocale.ACTUAL_LOCALE)); in TestSubClass()
1071 ULocale locale = coll.getLocale(ULocale.ACTUAL_LOCALE); in TestGetLocale()
1073 errln("Collator.getInstance(\"root\").getLocale(actual) != ULocale.ROOT; " + in TestGetLocale()
1074 "getLocale().getName() = \"" + locale.getName() + "\""); in TestGetLocale()
1078 locale = coll.getLocale(ULocale.ACTUAL_LOCALE); in TestGetLocale()
1080 errln("Collator.getInstance(\"\").getLocale(actual) != ULocale.ROOT; " + in TestGetLocale()
1081 "getLocale().getName() = \"" + locale.getName() + "\""); in TestGetLocale()
1124 // Note: C++ getLocale() recognizes ULOC_REQUESTED_LOCALE in TestGetLocale()
1126 locale = coll.getLocale(ULocal in TestGetLocale()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
H A DCollationAPITest.java895 assertNotEquals("getLocale()", ULocale.GERMAN, col1.getLocale(ULocale.ACTUAL_LOCALE)); in TestSubClass()
1074 ULocale locale = coll.getLocale(ULocale.ACTUAL_LOCALE); in TestGetLocale()
1076 errln("Collator.getInstance(\"root\").getLocale(actual) != ULocale.ROOT; " + in TestGetLocale()
1077 "getLocale().getName() = \"" + locale.getName() + "\""); in TestGetLocale()
1081 locale = coll.getLocale(ULocale.ACTUAL_LOCALE); in TestGetLocale()
1083 errln("Collator.getInstance(\"\").getLocale(actual) != ULocale.ROOT; " + in TestGetLocale()
1084 "getLocale().getName() = \"" + locale.getName() + "\""); in TestGetLocale()
1127 // Note: C++ getLocale() recognizes ULOC_REQUESTED_LOCALE in TestGetLocale()
1129 locale = coll.getLocale(ULocal in TestGetLocale()
[all...]

Completed in 26 milliseconds

1234567891011