HomeSort by relevance Sort by last modified time
    Searched defs:localeID (Results 1 - 25 of 38) sorted by null

1 2

  /external/icu/icu4c/source/test/intltest/
winutil.h 32 char *localeID;
winutil.cpp 38 char localeID[ULOC_FULLNAME_CAPACITY];
56 localeIDLen = uprv_convertToPosix(lcidRecords[lcidCount].lcid, localeID, sizeof(localeID)/sizeof(localeID[0]), &status);
58 lcidRecords[lcidCount].localeID = new char[localeIDLen + 1];
59 memcpy(lcidRecords[lcidCount].localeID, localeID, localeIDLen);
60 lcidRecords[lcidCount].localeID[localeIDLen] = 0;
62 lcidRecords[lcidCount].localeID = NULL;
88 delete lcidRecords[i].localeID;
    [all...]
windttst.cpp 116 // NULL localeID means ICU didn't recognize this locale
117 if (lcidRecords[i].localeID == NULL) {
125 char localeID[64];
127 uprv_strcpy(localeID, lcidRecords[i].localeID);
128 uprv_strcat(localeID, getCalendarType(calType));
131 Locale ulocale(localeID);
137 if (uprv_strchr(localeID, '@') > 0) {
138 uprv_strcat(localeID, ";");
140 uprv_strcat(localeID, "@")
    [all...]
winnmtst.cpp 229 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestLog *log)
246 UnicodeString locale(localeID);
254 UnicodeString locale(localeID);
262 UnicodeString locale(localeID);
277 char localeID[128];
279 // NULL localeID means ICU didn't recognize the lcid
280 if (lcidRecords[i].localeID == NULL) {
284 strcpy(localeID, lcidRecords[i].localeID);
286 if (strchr(localeID, '@') > 0)
    [all...]
apicoll.cpp     [all...]
loctest.cpp     [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
ResourceBundleWrapper.java 31 private String localeID = null;
84 return localeID;
92 return new ULocale(localeID);
103 public static UResourceBundle getBundleInstance(String baseName, String localeID,
105 UResourceBundle b = instantiateBundle(baseName, localeID, root, disableFallback);
111 throw new MissingResourceException("Could not find the bundle "+ baseName+separator+ localeID,"","");
116 protected static synchronized UResourceBundle instantiateBundle(String baseName, String localeID,
124 if (localeID.length() != 0) {
125 name = name + "_" + localeID;
131 int i = localeID.lastIndexOf('_')
    [all...]
ICUResourceBundle.java 156 WholeBundle(String baseName, String localeID, ClassLoader loader,
159 this.localeID = localeID;
160 this.ulocale = new ULocale(localeID);
166 String localeID;
    [all...]
ICUResourceBundleReader.java 153 final String localeID;
155 ReaderCacheKey(String baseName, String localeID) {
157 this.localeID = (localeID == null) ? "" : localeID;
169 && this.localeID.equals(info.localeID);
173 return baseName.hashCode() ^ localeID.hashCode();
183 String fullName = ICUResourceBundleReader.getFullName(key.baseName, key.localeID);
200 return new ICUResourceBundleReader(inBytes, key.baseName, key.localeID, loader)
    [all...]
  /external/icu/icu4c/source/i18n/
reldtfmt.cpp 458 const char * localeID = (thelocale != NULL)? thelocale.getBaseName(): NULL;
460 UResourceBundle *rb = ures_open(NULL, localeID, &status);
collationruleparser.cpp 605 char localeID[ULOC_FULLNAME_CAPACITY];
607 int32_t length = uloc_forLanguageTag(lang.data(), localeID, ULOC_FULLNAME_CAPACITY,
615 // localeID minus all keywords
617 length = uloc_getBaseName(localeID, baseID, ULOC_FULLNAME_CAPACITY, &errorCode);
628 length = uloc_getKeywordValue(localeID, "collation",
rbnf.cpp     [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
ResourceBundleWrapper.java 29 private String localeID = null;
82 return localeID;
90 return new ULocale(localeID);
101 public static UResourceBundle getBundleInstance(String baseName, String localeID,
103 UResourceBundle b = instantiateBundle(baseName, localeID, root, disableFallback);
109 throw new MissingResourceException("Could not find the bundle "+ baseName+separator+ localeID,"","");
114 protected static synchronized UResourceBundle instantiateBundle(String baseName, String localeID,
122 if (localeID.length() != 0) {
123 name = name + "_" + localeID;
129 int i = localeID.lastIndexOf('_')
    [all...]
ICUResourceBundle.java 152 WholeBundle(String baseName, String localeID, ClassLoader loader,
155 this.localeID = localeID;
156 this.ulocale = new ULocale(localeID);
162 String localeID;
    [all...]
ICUResourceBundleReader.java 151 final String localeID;
153 ReaderCacheKey(String baseName, String localeID) {
155 this.localeID = (localeID == null) ? "" : localeID;
167 && this.localeID.equals(info.localeID);
171 return baseName.hashCode() ^ localeID.hashCode();
181 String fullName = ICUResourceBundleReader.getFullName(key.baseName, key.localeID);
198 return new ICUResourceBundleReader(inBytes, key.baseName, key.localeID, loader)
    [all...]
  /external/icu/icu4c/source/tools/toolutil/
pkgitems.cpp 261 char localeID[32];
262 if(length>=(int32_t)sizeof(localeID)) {
268 u_UCharsToChars(alias, localeID, length);
269 localeID[length]=0;
271 checkIDSuffix(itemName, localeID, -1, (useResSuffix ? ".res" : ""), check, context, pErrorCode);
  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
CollationRuleParser.java 84 String getRules(String localeID, String collationType);
643 ULocale localeID;
645 localeID = new ULocale.Builder().setLanguageTag(v).build();
650 // localeID minus all keywords
651 String baseID = localeID.getBaseName();
653 String collationType = localeID.getKeywordValue("collation");
    [all...]
  /external/icu/icu4c/source/common/
locid.cpp 89 U_CFUNC int32_t locale_getKeywords(const char *localeID,
478 Locale& Locale::init(const char* localeID, UBool canonicalize)
503 if(localeID == NULL) {
514 uloc_canonicalize(localeID, fullName, sizeof(fullNameBuffer), &err) :
515 uloc_getName(localeID, fullName, sizeof(fullNameBuffer), &err);
526 uloc_canonicalize(localeID, fullName, length+1, &err) :
527 uloc_getName(localeID, fullName, length+1, &err);
693 const char *localeID = newLocale.getName();
694 locale_set_default_internal(localeID, status);
731 * Return the LCID value as specified in the "LocaleID" resource for thi
    [all...]
  /external/icu/icu4c/source/tools/genrb/
wrtxml.cpp 188 char* localeID = (char*) uprv_malloc(idLen);
202 uprv_memcpy(localeID, id, pos);
203 localeID[pos]=0; /* NUL terminate the string */
207 canonLen = uloc_canonicalize(localeID, canon, canonCapacity, &status);
210 fprintf(stderr, "Could not canonicalize the locale ID: %s. Error: %s\n", localeID, u_errorName(status));
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
CollationRuleParser.java 80 String getRules(String localeID, String collationType);
639 ULocale localeID;
641 localeID = new ULocale.Builder().setLanguageTag(v).build();
646 // localeID minus all keywords
647 String baseID = localeID.getBaseName();
649 String collationType = localeID.getKeywordValue("collation");
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
CollationAPITest.java     [all...]
CollationTest.java     [all...]
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
CollationAPITest.java     [all...]
CollationTest.java     [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
ULocaleTest.java     [all...]

Completed in 1329 milliseconds

1 2