HomeSort by relevance Sort by last modified time
    Searched refs:localeName (Results 1 - 25 of 27) sorted by null

1 2

  /external/webkit/Source/WebCore/platform/win/
LanguageWin.cpp 40 String localeName = String::createUninitialized(localeChars, localeNameBuf);
44 if (localeName.isEmpty())
47 localeName.truncate(localeName.length() - 1);
48 return localeName;
  /libcore/luni/src/main/java/libcore/icu/
ICU.java 68 public static Locale localeFromString(String localeName) {
69 int first = localeName.indexOf('_');
70 int second = localeName.indexOf('_', first + 1);
73 return new Locale(localeName);
76 return new Locale(localeName.substring(0, first), localeName.substring(first + 1));
79 return new Locale(localeName.substring(0, first), localeName.substring(first + 1, second), localeName.substring(second + 1));
88 for (String localeName : localeNames)
    [all...]
NativePluralRules.java 62 private static native int forLocaleImpl(String localeName);
LocaleData.java 104 String localeName = locale.toString();
106 LocaleData localeData = localeDataCache.get(localeName);
113 LocaleData localeData = localeDataCache.get(localeName);
117 localeDataCache.put(localeName, newLocaleData);
  /external/libxslt/libxslt/
xsltlocale.c 39 static const xmlChar* xsltDefaultRegion(const xmlChar *localeName);
82 char localeName[XSLTMAX_LANGTAGLEN+6]; /* 6 chars for ".utf8\0" */
85 char *q = localeName;
113 locale = newlocale(LC_COLLATE_MASK, localeName, NULL);
119 q = localeName + llen + 1;
125 locale = newlocale(LC_COLLATE_MASK, localeName, NULL);
134 region = (char *)xsltDefaultRegion((xmlChar *)localeName);
138 q = localeName + llen + 1;
142 locale = newlocale(LC_COLLATE_MASK, localeName, NULL);
150 xmlChar localeName[XSLTMAX_LANGTAGLEN+1]
    [all...]
  /external/icu4c/test/intltest/
tsnmfmt.h 52 void testLocale(/* char *par, */const Locale& locale, const UnicodeString& localeName);
tsdate.cpp 67 IntlTestDateFormat::testLocale(/*char* par, */const Locale& locale, const UnicodeString& localeName)
80 fTestName = (UnicodeString) "Time test " + (int32_t) timeStyle + " (" + localeName + ")";
91 fTestName = (UnicodeString) "Date test " + (int32_t) dateStyle + " (" + localeName + ")";
104 fTestName = (UnicodeString) "DateTime test " + (int32_t) dateStyle + "/" + (int32_t) timeStyle + " (" + localeName + ")";
tsnmfmt.cpp 74 IntlTestNumberFormat::testLocale(/* char* par, */const Locale& locale, const UnicodeString& localeName)
80 logln((UnicodeString)name + " (" + localeName + ")");
86 logln((UnicodeString)name + " (" + localeName + ")");
92 logln((UnicodeString)name + " (" + localeName + ")");
dadrcoll.cpp 181 char localeName[256];
182 testSetting.extract(0, testSetting.length(), localeName, "");
183 col = Collator::createInstance(localeName, status);
tsmthred.cpp 587 const char *localeName = NULL;
591 localeName = loc.getName();
592 // localeName = "en";
596 res = ures_open(NULL, localeName, &status);
    [all...]
tztest.cpp     [all...]
  /libcore/luni/src/main/native/
libcore_icu_NativePluralRules.cpp 33 static jint NativePluralRules_forLocaleImpl(JNIEnv* env, jclass, jstring localeName) {
34 Locale locale = Locale::createFromName(ScopedUtfChars(env, localeName).c_str());
libcore_icu_ICU.cpp 85 Locale getLocale(JNIEnv* env, jstring localeName) {
86 return Locale::createFromName(ScopedUtfChars(env, localeName).c_str());
161 ScopedUtfChars localeName(env, javaLocaleName);
167 const UChar* chars = ucurr_getName(icuCurrencyCode.getTerminatedBuffer(), localeName.c_str(),
180 ScopedUtfChars localeName(env, locale);
182 ScopedResourceBundle currLoc(ures_open(U_ICUDATA_CURR, localeName.c_str(), &status));
552 ScopedUtfChars localeName(env, locale);
553 if (localeName.c_str() == NULL) {
558 ScopedResourceBundle root(ures_open(NULL, localeName.c_str(), &status));
648 jstring countryCode = env->NewStringUTF(Locale::createFromName(localeName.c_str()).getCountry())
    [all...]
libcore_icu_TimeZones.cpp 32 extern Locale getLocale(JNIEnv* env, jstring localeName);
94 static jobjectArray TimeZones_getZoneStringsImpl(JNIEnv* env, jclass, jstring localeName, jobjectArray timeZoneIds) {
95 Locale locale = getLocale(env, localeName);
libcore_icu_NativeCollation.cpp 113 static jint NativeCollation_openCollator(JNIEnv* env, jclass, jstring localeName) {
114 ScopedUtfChars localeChars(env, localeName);
  /external/icu4c/i18n/unicode/
plurrule.h 287 void getNextLocale(const UnicodeString& localeData, int32_t* curIndex, UnicodeString& localeName);
tmutfmt.h 241 void searchInLocaleChain(EStyle style, const char* key, const char* localeName,
  /frameworks/base/tools/layoutlib/bridge/src/libcore/icu/
ICU_Delegate.java 35 /*package*/ static String toLowerCase(String s, String localeName) {
40 /*package*/ static String toUpperCase(String s, String localeName) {
  /external/icu4c/common/
resbund.cpp 376 const char *localeName = ures_getLocaleInternal(fResource, &status);
377 Locale *tLocale = new Locale(localeName);
putil.c     [all...]
  /external/icu4c/i18n/
tmutfmt.cpp 577 const char* localeName = fLocale.getName();
578 searchInLocaleChain(style, key, localeName,
601 TimeUnitFormat::searchInLocaleChain(EStyle style, const char* key, const char* localeName,
612 uprv_strcpy(parentLocale, localeName);
671 uprv_strcpy(pLocale, localeName);
727 searchInLocaleChain(style, key, localeName, srcTimeUnitField, srcPluralCount,
    [all...]
plurrule.cpp 388 PluralRules::getNextLocale(const UnicodeString& localeData, int32_t* curIndex, UnicodeString& localeName) {
391 localeName.remove();
403 localeName+=localeData.charAt(i++);
rbnf.cpp 995 UnicodeString localeName(localeParam.getBaseName(), -1, UnicodeString::kInvariant);
996 int32_t len = localeName.length();
997 UChar* localeStr = localeName.getBuffer(len + 1);
    [all...]
  /external/icu4c/test/cintltst/
cldrtest.c 446 const char *localeName)
452 expectedLCID = uloc_getLCID(localeName);
455 localeName);
466 if(strcmp(localeName, lcidStringC) != 0) {
469 uloc_getLanguage(localeName, langName, sizeof(langName), &status);
474 localeName, lcidStringC, expectedLCID);
478 localeName, expectedLCID, lcidStringC);
    [all...]
  /libcore/luni/src/main/java/java/util/
ResourceBundle.java 477 String localeName = locale.toString();
478 String bundleName = localeName.isEmpty()
480 : (base + "_" + localeName);
    [all...]

Completed in 544 milliseconds

1 2