/external/icu/icu4c/source/test/intltest/ |
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...] |
winutil.h | 32 char *localeID;
|
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...] |
ustrtest.h | 106 void *iter, const char *localeID, uint32_t options);
|
/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/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/common/unicode/ |
uloc.h | 172 * uloc_getDisplayName(const char* localeID, 382 * @param localeID the new ICU default locale. A value of NULL will try to get 389 uloc_setDefault(const char* localeID, 396 * @param localeID the locale to get the ISO language code with 397 * @param language the language code for localeID 406 uloc_getLanguage(const char* localeID, 414 * @param localeID the locale to get the ISO language code with 415 * @param script the language code for localeID 424 uloc_getScript(const char* localeID, 432 * @param localeID the locale to get the country code wit [all...] |
/external/icu/icu4c/source/common/ |
uloc.cpp | 54 locale_getKeywords(const char *localeID, 524 #define _hasBCP47Extension(id) (id && uprv_strstr(id, "@") == NULL && getShortestSubtagLength(localeID) == 1) 532 /* Gets the size of the shortest subtag in the given localeID. */ 533 static int32_t getShortestSubtagLength(const char *localeID) { 534 int32_t localeIDLength = uprv_strlen(localeID); 541 if (localeID[i] != '_' && localeID[i] != '-') { 564 locale_getKeywordsStart(const char *localeID) { 566 if((result = uprv_strchr(localeID, '@')) != NULL) { 577 if((result = uprv_strchr(localeID, *charToFind)) != NULL) [all...] |
ulocimp.h | 48 ulocimp_getLanguage(const char *localeID, 53 ulocimp_getScript(const char *localeID, 58 ulocimp_getCountry(const char *localeID, 63 locale_getKeywordsStart(const char *localeID);
|
ures_cnv.c | 29 const char *localeID, 75 return ures_open(path, localeID, status);
|
loclikely.cpp | 32 * This function looks for the localeID in the likelySubtags resource. 34 * @param localeID The tag to find. 40 findLikelySubtags(const char* localeID, 52 s = ures_getStringByKey(subtags, localeID, &resLen, &tmpErr); 452 * @param localeID The locale ID to parse. 460 * @return The number of chars of the localeID parameter consumed. 464 const char* localeID, 473 const char* position = localeID; 477 localeID == NULL || 563 return (int32_t)(position - localeID); [all...] |
uloc_tag.c | 628 _appendLanguageToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { 638 len = uloc_getLanguage(localeID, buf, sizeof(buf), &tmpStatus); 683 _appendScriptToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { 693 len = uloc_getScript(localeID, buf, sizeof(buf), &tmpStatus); 725 _appendRegionToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { 735 len = uloc_getCountry(localeID, buf, sizeof(buf), &tmpStatus); 767 _appendVariantsToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool *hadPosix, UErrorCode* status) { 777 len = uloc_getVariant(localeID, buf, sizeof(buf), &tmpStatus); 891 _appendKeywordsToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool hadPosix, UErrorCode* status) { 899 keywordEnum = uloc_openKeywords(localeID, status) [all...] |
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/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
ULocale.java | 279 * The raw localeID that we were passed in. 281 private String localeID; 384 private ULocale(String localeID, Locale locale) { 385 this.localeID = localeID; 394 this.localeID = getName(forLocale(loc).toString()); 426 * <p>This constructor does not canonicalize the localeID. So, for 430 * or {@link #canonicalize} if you need to canonicalize the localeID. 432 * @param localeID string representation of the locale, e.g: 436 public ULocale(String localeID) { [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
ULocale.java | 276 * The raw localeID that we were passed in. 278 private String localeID; 381 private ULocale(String localeID, Locale locale) { 382 this.localeID = localeID; 391 this.localeID = getName(forLocale(loc).toString()); 422 * <p>This constructor does not canonicalize the localeID. So, for 426 * or {@link #canonicalize} if you need to canonicalize the localeID. 428 * @param localeID string representation of the locale, e.g: 431 public ULocale(String localeID) { [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
ULocale.java | 301 * The raw localeID that we were passed in. 303 private String localeID; 406 private ULocale(String localeID, Locale locale) { 407 this.localeID = localeID; 416 this.localeID = getName(forLocale(loc).toString()); 448 * <p>This constructor does not canonicalize the localeID. So, for 452 * or {@link #canonicalize} if you need to canonicalize the localeID. 454 * @param localeID string representation of the locale, e.g: 458 public ULocale(String localeID) { [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
ulocdata.h | 73 * @param localeID Specifies the locale associated with this locale 79 ulocdata_open(const char *localeID, UErrorCode *status); 196 * Returns the measurement system used in the locale specified by the localeID. 199 * @param localeID The id of the locale for which the measurement system to be retrieved. 206 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status); 217 * @param localeID The id of the locale for which the paper size information to be retrieved. 225 ulocdata_getPaperSize(const char *localeID, int32_t *height, int32_t *width, UErrorCode *status);
|
/external/icu/icu4c/source/i18n/ |
ulocdata.c | 50 ulocdata_open(const char *localeID, UErrorCode *status) 67 uld->bundle = ures_open(NULL, localeID, status); 68 uld->langBundle = ures_open(U_ICUDATA_LANG, localeID, status); 191 static UResourceBundle * measurementTypeBundleForLocale(const char *localeID, const char *measurementType, UErrorCode *status){ 200 uloc_addLikelySubtags(localeID, fullLoc, ULOC_FULLNAME_CAPACITY, status); 225 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status){ 234 measurement = measurementTypeBundleForLocale(localeID, MEASUREMENT_SYSTEM, status); 244 ulocdata_getPaperSize(const char* localeID, int32_t *height, int32_t *width, UErrorCode *status){ 253 paperSizeBundle = measurementTypeBundleForLocale(localeID, PAPER_SIZE, status);
|
ucol_imp.h | 70 static void loadRules(const char *localeID, const char *collationType,
|
/external/icu/icu4c/source/test/cintltst/ |
cloctst.c | [all...] |