Home
last modified time | relevance | path

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

123

/external/icu4c/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;
Dresbund.cpp370 const Locale &ResourceBundle::getLocale(void) const in getLocale() function in ResourceBundle
394 const Locale ResourceBundle::getLocale(ULocDataLocaleType type, UErrorCode &status) const in getLocale() function in ResourceBundle
Dbrkiter.cpp428 BreakIterator::getLocale(ULocDataLocaleType type, UErrorCode& status) const { in getLocale() function in BreakIterator
430 return locBased.getLocale(type, status); in getLocale()
/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/icu4c/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/icu4c/i18n/unicode/
Ddcfmtsym.h262 inline Locale getLocale() const;
269 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
444 DecimalFormatSymbols::getLocale() const { in getLocale() function
Dlocdspnm.h70 virtual const Locale& getLocale() const = 0;
Dformat.h249 Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
Dcurrpinf.h138 const Locale& getLocale() const;
/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()
Dapicoll.cpp262 if (frCol->getLocale(ULOC_ACTUAL_LOCALE, success) != Locale::getCanadaFrench()) { in TestProperty()
1616 locale = coll->getLocale(ULOC_REQUESTED_LOCALE, status); in TestGetLocale()
1620 locale = coll->getLocale(ULOC_VALID_LOCALE, status); in TestGetLocale()
1624 locale = coll->getLocale(ULOC_ACTUAL_LOCALE, status); in TestGetLocale()
1641 if(coll->getLocale(ULOC_REQUESTED_LOCALE, status) != "blahaha") { in TestGetLocale()
1644 if(coll->getLocale(ULOC_VALID_LOCALE, status) != in TestGetLocale()
1645 defaultColl->getLocale(ULOC_VALID_LOCALE, status)) { in TestGetLocale()
1649 if(coll->getLocale(ULOC_ACTUAL_LOCALE, status) != in TestGetLocale()
1650 defaultColl->getLocale(ULOC_ACTUAL_LOCALE, status)) { in TestGetLocale()
1662 locale = coll->getLocale(ULOC_REQUESTED_LOCALE, status); in TestGetLocale()
[all …]
Daliastst.cpp136 Locale l1 = c1->getLocale(ULOC_VALID_LOCALE, status); in TestCollation()
137 Locale l2 = c2->getLocale(ULOC_VALID_LOCALE, status); in TestCollation()
/external/webkit/Source/WebCore/platform/text/mac/
DTextBreakIteratorInternalICUMac.mm63 static void getLocale(CFStringRef locale, char localeStringBuffer[maxLocaleStringLength])
74 getLocale(canonicalLanguageIdentifier(topLanguagePreference().get()).get(), localeStringBuffer);
94 getLocale(canonicalLanguageIdentifier(locale.get()).get(), localeStringBuffer);
/external/icu4c/common/unicode/
Dresbund.h441 getLocale(void) const;
454 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/apache-http/src/org/apache/http/
DHttpResponse.java148 Locale getLocale(); in getLocale() method
/external/srec/srec/Recognizer/src/
DRecognizerResult.c83 return self->getLocale(self, locale); in SR_RecognizerResultGetLocale()
/external/apache-xml/src/main/java/org/apache/xml/res/
DXMLMessages.java62 public Locale getLocale() in getLocale() method in XMLMessages
/external/srec/srec/Recognizer/include/
DSR_RecognizerResult.h108 ESR_ReturnCode(*getLocale)(const struct SR_RecognizerResult_t* self, ESR_Locale* locale); member

123