Home
last modified time | relevance | path

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

1234

/external/icu4c/common/
Dlocid.cpp695 return getLocale(eROOT); in getRoot()
701 return getLocale(eENGLISH); in getEnglish()
707 return getLocale(eFRENCH); in getFrench()
713 return getLocale(eGERMAN); in getGerman()
719 return getLocale(eITALIAN); in getItalian()
725 return getLocale(eJAPANESE); in getJapanese()
731 return getLocale(eKOREAN); in getKorean()
737 return getLocale(eCHINESE); in getChinese()
743 return getLocale(eCHINA); in getSimplifiedChinese()
749 return getLocale(eTAIWAN); in getTraditionalChinese()
[all …]
Dlocbased.cpp16 Locale LocaleBased::getLocale(ULocDataLocaleType type, UErrorCode& status) const { in getLocale() function in LocaleBased
Dlocbased.h58 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
/external/chromium_org/third_party/icu/source/common/
Dlocid.cpp761 return getLocale(eROOT); in getRoot()
767 return getLocale(eENGLISH); in getEnglish()
773 return getLocale(eFRENCH); in getFrench()
779 return getLocale(eGERMAN); in getGerman()
785 return getLocale(eITALIAN); in getItalian()
791 return getLocale(eJAPANESE); in getJapanese()
797 return getLocale(eKOREAN); in getKorean()
803 return getLocale(eCHINESE); in getChinese()
809 return getLocale(eCHINA); in getSimplifiedChinese()
815 return getLocale(eTAIWAN); in getTraditionalChinese()
[all …]
Dlocbased.cpp16 Locale LocaleBased::getLocale(ULocDataLocaleType type, UErrorCode& status) const { in getLocale() function in LocaleBased
Dlocbased.h58 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/
DLanguageCallbackTest.java45 assertEquals("US", lc.getLocale().getCountry()); in testLanguageCallback_01()
53 assertNull(lc.getLocale()); in testLanguageCallback_02()
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/serialization/
DLanguageCallbackTest.java46 assertEquals(((LanguageCallback) golden).getLocale(), in assertDeserialized()
47 ((LanguageCallback) test).getLocale()); in assertDeserialized()
/external/chromium_org/third_party/icu/source/i18n/
Dlocdspnm.cpp66 const Locale& getLocale();
110 ICUDataTable::getLocale() { in getLocale() function in ICUDataTable
163 virtual const Locale& getLocale() const;
194 DefaultLocaleDisplayNames::getLocale() const {
279 virtual const Locale& getLocale() const;
315 nonConstThis->locale = langData.getLocale() == Locale::getRoot() in LocaleDisplayNamesImpl()
316 ? regionData.getLocale() in LocaleDisplayNamesImpl()
317 : langData.getLocale(); in LocaleDisplayNamesImpl()
338 LocaleDisplayNamesImpl::getLocale() const { in getLocale() function in LocaleDisplayNamesImpl
544 return ((const LocaleDisplayNames *)ldn)->getLocale().getName(); in uldn_getLocale()
Dformat.cpp192 Format::getLocale(ULocDataLocaleType type, UErrorCode& status) const { in getLocale() function in Format
194 return locBased.getLocale(type, status); in getLocale()
/external/chromium_org/third_party/icu/source/i18n/unicode/
Ddcfmtsym.h267 inline Locale getLocale() const;
274 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
447 DecimalFormatSymbols::getLocale() const { in getLocale() function
/external/icu4c/i18n/unicode/
Ddcfmtsym.h262 inline Locale getLocale() const;
269 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
447 DecimalFormatSymbols::getLocale() const { in getLocale() function
/external/chromium_org/third_party/icu/source/test/intltest/
Dsvccoll.cpp59 Locale loc = frcol->getLocale(ULOC_REQUESTED_LOCALE, status); in TestRegister()
63 loc = frcol->getLocale(ULOC_VALID_LOCALE, status); in TestRegister()
68 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()
188 Locale nloc = ncol->getLocale(ULOC_VALID_LOCALE, status); in TestRegister()
413 Locale loc = ncol->getLocale(ULOC_REQUESTED_LOCALE, status); in TestRegisterFactory()
417 loc = ncol->getLocale(ULOC_VALID_LOCALE, status); in TestRegisterFactory()
Dloctest.cpp483 if (symb.getLocale(ULOC_VALID_LOCALE, status) != Locale("root")) { in TestDisplayNames()
1826 valid = cal->getLocale(ULOC_VALID_LOCALE, ec); in TestGetLocale()
1827 actual = cal->getLocale(ULOC_ACTUAL_LOCALE, ec); in TestGetLocale()
1835 if (cal->getLocale(ULOC_VALID_LOCALE, ec).getName()[0] != 0) { in TestGetLocale()
1855 valid = dec->getLocale(ULOC_VALID_LOCALE, ec); in TestGetLocale()
1856 actual = dec->getLocale(ULOC_ACTUAL_LOCALE, ec); in TestGetLocale()
1868 valid = sym->getLocale(ULOC_VALID_LOCALE, ec); in TestGetLocale()
1869 actual = sym->getLocale(ULOC_ACTUAL_LOCALE, ec); in TestGetLocale()
1893 valid = dat->getLocale(ULOC_VALID_LOCALE, ec); in TestGetLocale()
1894 actual = dat->getLocale(ULOC_ACTUAL_LOCALE, ec); in TestGetLocale()
[all …]
Drestsnew.cpp419 a.getLocale()==b.getLocale() && in equalRB()
461 if(strcmp(test1.getLocale().getName(), locale->getName()) !=0 ){ in TestOtherAPI()
478 …if(strcmp(defaultresource.getLocale().getName(), explicitdefaultresource.getLocale().getName()) !=… in TestOtherAPI()
480 …explicitdefaultresource.getLocale().getName(), defaultresource.getLocale().getName(), u_errorName(… in TestOtherAPI()
487 strcmp(copyRes.getLocale().getName(), defaultresource.getLocale().getName() ) !=0 || in TestOtherAPI()
488 strcmp(test1.getLocale().getName(), defaultresource.getLocale().getName() ) ==0 ) in TestOtherAPI()
496 strcmp(defSubCopy.getLocale().getName(), defaultSub.getLocale().getName() ) !=0 ){ in TestOtherAPI()
/external/icu4c/test/intltest/
Dsvccoll.cpp59 Locale loc = frcol->getLocale(ULOC_REQUESTED_LOCALE, status); in TestRegister()
63 loc = frcol->getLocale(ULOC_VALID_LOCALE, status); in TestRegister()
68 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()
188 Locale nloc = ncol->getLocale(ULOC_VALID_LOCALE, status); in TestRegister()
413 Locale loc = ncol->getLocale(ULOC_REQUESTED_LOCALE, status); in TestRegisterFactory()
417 loc = ncol->getLocale(ULOC_VALID_LOCALE, status); in TestRegisterFactory()
Dloctest.cpp484 if (symb.getLocale(ULOC_VALID_LOCALE, status) != Locale("root")) { in TestDisplayNames()
1847 valid = cal->getLocale(ULOC_VALID_LOCALE, ec); in TestGetLocale()
1848 actual = cal->getLocale(ULOC_ACTUAL_LOCALE, ec); in TestGetLocale()
1856 if (cal->getLocale(ULOC_VALID_LOCALE, ec).getName()[0] != 0) { in TestGetLocale()
1876 valid = dec->getLocale(ULOC_VALID_LOCALE, ec); in TestGetLocale()
1877 actual = dec->getLocale(ULOC_ACTUAL_LOCALE, ec); in TestGetLocale()
1889 valid = sym->getLocale(ULOC_VALID_LOCALE, ec); in TestGetLocale()
1890 actual = sym->getLocale(ULOC_ACTUAL_LOCALE, ec); in TestGetLocale()
1914 valid = dat->getLocale(ULOC_VALID_LOCALE, ec); in TestGetLocale()
1915 actual = dat->getLocale(ULOC_ACTUAL_LOCALE, ec); in TestGetLocale()
[all …]
Drestsnew.cpp419 a.getLocale()==b.getLocale() && in equalRB()
461 if(strcmp(test1.getLocale().getName(), locale->getName()) !=0 ){ in TestOtherAPI()
478 …if(strcmp(defaultresource.getLocale().getName(), explicitdefaultresource.getLocale().getName()) !=… in TestOtherAPI()
480 …explicitdefaultresource.getLocale().getName(), defaultresource.getLocale().getName(), u_errorName(… in TestOtherAPI()
487 strcmp(copyRes.getLocale().getName(), defaultresource.getLocale().getName() ) !=0 || in TestOtherAPI()
488 strcmp(test1.getLocale().getName(), defaultresource.getLocale().getName() ) ==0 ) in TestOtherAPI()
496 strcmp(defSubCopy.getLocale().getName(), defaultSub.getLocale().getName() ) !=0 ){ in TestOtherAPI()
/external/chromium_org/third_party/icu/source/common/unicode/
Dresbund.h441 getLocale(void) const;
454 getLocale(ULocDataLocaleType type, UErrorCode &status) const;
/external/icu4c/i18n/
Dlocdspnm.cpp68 const Locale& getLocale();
112 ICUDataTable::getLocale() { in getLocale() function in ICUDataTable
165 virtual const Locale& getLocale() const;
197 DefaultLocaleDisplayNames::getLocale() const {
300 virtual const Locale& getLocale() const;
372 nonConstThis->locale = langData.getLocale() == Locale::getRoot() in initialize()
373 ? regionData.getLocale() in initialize()
374 : langData.getLocale(); in initialize()
452 LocaleDisplayNamesImpl::getLocale() const { in getLocale() function in LocaleDisplayNamesImpl
774 return ((const LocaleDisplayNames *)ldn)->getLocale().getName(); in uldn_getLocale()
Dformat.cpp196 Format::getLocale(ULocDataLocaleType type, UErrorCode& status) const { in getLocale() function in Format
198 return locBased.getLocale(type, status); in getLocale()
/external/icu4c/common/unicode/
Dresbund.h444 getLocale(void) const;
458 getLocale(ULocDataLocaleType type, UErrorCode &status) const;
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DMessages.java146 private Locale getLocale() in getLocale() method in Messages
308 Locale locale = getLocale(); in loadResourceBundle()
/external/smack/src/org/apache/harmony/javax/security/auth/callback/
DLanguageCallback.java33 public Locale getLocale() { in getLocale() method in LanguageCallback
/external/apache-http/src/org/apache/http/
DHttpResponse.java148 Locale getLocale(); in getLocale() method

1234