/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | winutil.h | 32 char *localeID; member in struct:Win32Utilities::LCIDRecord
|
H A D | winutil.cpp | 38 const char* localeID = NULL; local 55 localeID = uprv_convertToPosix(lcidRecords[lcidCount].lcid, &status); 57 lcidRecords[lcidCount].localeID = new char[strlen(localeID)]; 59 strcpy(lcidRecords[lcidCount].localeID, localeID); 84 delete lcidRecords[i].localeID;
|
H A D | windttst.cpp | 116 // NULL localeID means ICU didn't recognize this locale 117 if (lcidRecords[i].localeID == NULL) { 125 char localeID[64]; local 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...] |
H A D | winnmtst.cpp | 229 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestLog *log) argument 246 UnicodeString locale(localeID); 254 UnicodeString locale(localeID); 262 UnicodeString locale(localeID); 277 char localeID[128]; local 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, ' [all...] |
H A D | strcase.cpp | 350 void *iter, const char *localeID, uint32_t options) { 354 Locale locale(localeID); 399 LocalUCaseMapPointer csm(ucasemap_open(localeID, options, errorCode)); 347 TestCasingImpl(const UnicodeString &input, const UnicodeString &output, int32_t whichCase, void *iter, const char *localeID, uint32_t options) argument
|
/external/icu4c/test/intltest/ |
H A D | winutil.h | 32 char *localeID; member in struct:Win32Utilities::LCIDRecord
|
H A D | winutil.cpp | 38 const char* localeID = NULL; local 55 localeID = uprv_convertToPosix(lcidRecords[lcidCount].lcid, &status); 57 lcidRecords[lcidCount].localeID = new char[strlen(localeID)]; 59 strcpy(lcidRecords[lcidCount].localeID, localeID); 84 delete lcidRecords[i].localeID;
|
H A D | windttst.cpp | 116 // NULL localeID means ICU didn't recognize this locale 117 if (lcidRecords[i].localeID == NULL) { 125 char localeID[64]; local 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...] |
H A D | winnmtst.cpp | 229 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestLog *log) argument 246 UnicodeString locale(localeID); 254 UnicodeString locale(localeID); 262 UnicodeString locale(localeID); 277 char localeID[128]; local 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, ' [all...] |
H A D | strcase.cpp | 347 void *iter, const char *localeID, uint32_t options) { 351 Locale locale(localeID); 396 LocalUCaseMapPointer csm(ucasemap_open(localeID, options, errorCode)); 344 TestCasingImpl(const UnicodeString &input, const UnicodeString &output, int32_t whichCase, void *iter, const char *localeID, uint32_t options) argument
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | ures_cnv.c | 29 const char *localeID, 75 return ures_open(path, localeID, status); 28 ures_openU(const UChar *myPath, const char *localeID, UErrorCode *status) argument
|
H A D | loclikely.cpp | 30 * This function looks for the localeID in the likelySubtags resource. 32 * @param localeID The tag to find. 38 findLikelySubtags(const char* localeID, argument 50 s = ures_getStringByKey(subtags, localeID, &resLen, &tmpErr); 445 * @param localeID The locale ID to parse. 453 * @return The number of chars of the localeID parameter consumed. 457 const char* localeID, 466 const char* position = localeID; 470 localeID == NULL || 553 return (int32_t)(position - localeID); 456 parseTagString( const char* localeID, char* lang, int32_t* langLength, char* script, int32_t* scriptLength, char* region, int32_t* regionLength, UErrorCode* err) argument 842 _uloc_addLikelySubtags(const char* localeID, char* maximizedLocaleID, int32_t maximizedLocaleIDCapacity, UErrorCode* err) argument 937 _uloc_minimizeSubtags(const char* localeID, char* minimizedLocaleID, int32_t minimizedLocaleIDCapacity, UErrorCode* err) argument 1190 do_canonicalize(const char* localeID, char* buffer, int32_t bufferCapacity, UErrorCode* err) argument 1217 uloc_addLikelySubtags(const char* localeID, char* maximizedLocaleID, int32_t maximizedLocaleIDCapacity, UErrorCode* err) argument 1241 uloc_minimizeSubtags(const char* localeID, char* minimizedLocaleID, int32_t minimizedLocaleIDCapacity, UErrorCode* err) argument [all...] |
H A D | locid.cpp | 71 U_CFUNC int32_t locale_getKeywords(const char *localeID, 512 Locale& Locale::init(const char* localeID, UBool canonicalize) argument 538 if(localeID == NULL) { 549 uloc_canonicalize(localeID, fullName, sizeof(fullNameBuffer), &err) : 550 uloc_getName(localeID, fullName, sizeof(fullNameBuffer), &err); 561 uloc_canonicalize(localeID, fullName, length+1, &err) : 562 uloc_getName(localeID, fullName, length+1, &err); 692 const char *localeID = newLocale.getName(); local 693 locale_set_default_internal(localeID);
|
H A D | uloc.c | 55 locale_getKeywords(const char *localeID, 532 #define _hasBCP47Extension(id) (id && uprv_strstr(id, "@") == NULL && getShortestSubtagLength(localeID) == 1) 540 /* Gets the size of the shortest subtag in the given localeID. */ 541 static int32_t getShortestSubtagLength(const char *localeID) { argument 542 int32_t localeIDLength = uprv_strlen(localeID); 549 if (localeID[i] != '_' && localeID[i] != '-') { 572 locale_getKeywordsStart(const char *localeID) { argument 574 if((result = uprv_strchr(localeID, '@')) != NULL) { 585 if((result = uprv_strchr(localeID, *charToFin 642 _getKeywords(const char *localeID, char prev, char *keywords, int32_t keywordCapacity, char *values, int32_t valuesCapacity, int32_t *valLen, UBool valuesToo, const char* addKeyword, const char* addValue, UErrorCode *status) argument 823 locale_getKeywords(const char *localeID, char prev, char *keywords, int32_t keywordCapacity, char *values, int32_t valuesCapacity, int32_t *valLen, UBool valuesToo, UErrorCode *status) argument 835 uloc_getKeywordValue(const char* localeID, const char* keywordName, char* buffer, int32_t bufferCapacity, UErrorCode* status) argument 1224 ulocimp_getLanguage(const char *localeID, char *language, int32_t languageCapacity, const char **pEnd) argument 1270 ulocimp_getScript(const char *localeID, char *script, int32_t scriptCapacity, const char **pEnd) argument 1308 ulocimp_getCountry(const char *localeID, char *country, int32_t countryCapacity, const char **pEnd) argument 1360 _getVariantEx(const char *localeID, char prev, char *variant, int32_t variantCapacity, UBool needSeparator) argument 1420 _getVariant(const char *localeID, char prev, char *variant, int32_t variantCapacity) argument 1560 uloc_openKeywords(const char* localeID, UErrorCode* status) argument 1631 _canonicalize(const char* localeID, char* result, int32_t resultCapacity, uint32_t options, UErrorCode* err) argument 1875 uloc_getParent(const char* localeID, char* parent, int32_t parentCapacity, UErrorCode* err) argument 1903 uloc_getLanguage(const char* localeID, char* language, int32_t languageCapacity, UErrorCode* err) argument 1924 uloc_getScript(const char* localeID, char* script, int32_t scriptCapacity, UErrorCode* err) argument 1948 uloc_getCountry(const char* localeID, char* country, int32_t countryCapacity, UErrorCode* err) argument 1981 uloc_getVariant(const char* localeID, char* variant, int32_t variantCapacity, UErrorCode* err) argument 2042 uloc_getName(const char* localeID, char* name, int32_t nameCapacity, UErrorCode* err) argument 2051 uloc_getBaseName(const char* localeID, char* name, int32_t nameCapacity, UErrorCode* err) argument 2060 uloc_canonicalize(const char* localeID, char* name, int32_t nameCapacity, UErrorCode* err) argument 2069 uloc_getISO3Language(const char* localeID) argument 2089 uloc_getISO3Country(const char* localeID) argument 2110 uloc_getLCID(const char* localeID) argument [all...] |
H A D | uloc_tag.c | 923 _appendLanguageToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument 933 len = uloc_getLanguage(localeID, buf, sizeof(buf), &tmpStatus); 978 _appendScriptToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument 988 len = uloc_getScript(localeID, buf, sizeof(buf), &tmpStatus); 1020 _appendRegionToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument 1030 len = uloc_getCountry(localeID, buf, sizeof(buf), &tmpStatus); 1062 _appendVariantsToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool *hadPosix, UErrorCode* status) { argument 1072 len = uloc_getVariant(localeID, buf, sizeof(buf), &tmpStatus); 1183 _appendKeywordsToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool hadPosix, UErrorCode* status) { argument 1188 keywordEnum = uloc_openKeywords(localeID, statu 2187 uloc_toLanguageTag(const char* localeID, char* langtag, int32_t langtagCapacity, UBool strict, UErrorCode* status) argument 2219 uloc_forLanguageTag(const char* langtag, char* localeID, int32_t localeIDCapacity, int32_t* parsedLength, UErrorCode* status) argument [all...] |
H A D | uresbund.c | 318 static UResourceDataEntry *init_entry(const char *localeID, const char *path, UErrorCode *status) { argument 333 if(localeID == NULL) { /* if localeID is NULL, we're trying to open default locale */ 335 } else if(*localeID == 0) { /* if localeID is "" then we try to open root locale */ 338 uprv_strcpy(name, localeID); 516 static UResourceDataEntry *entryOpen(const char* path, const char* localeID, UErrorCode* status) { argument 540 uprv_strcpy(name, localeID); 1979 const char* localeID, UErrorCode* status) { 1992 r->fData = entryOpen(path, localeID, statu 1978 ures_openFillIn(UResourceBundle *r, const char* path, const char* localeID, UErrorCode* status) argument 2010 ures_open(const char* path, const char* localeID, UErrorCode* status) argument 2083 ures_openDirect(const char* path, const char* localeID, UErrorCode* status) argument [all...] |
/external/icu4c/common/ |
H A D | ures_cnv.c | 29 const char *localeID, 75 return ures_open(path, localeID, status); 28 ures_openU(const UChar *myPath, const char *localeID, UErrorCode *status) argument
|
H A D | loclikely.cpp | 30 * This function looks for the localeID in the likelySubtags resource. 32 * @param localeID The tag to find. 38 findLikelySubtags(const char* localeID, argument 50 s = ures_getStringByKey(subtags, localeID, &resLen, &tmpErr); 450 * @param localeID The locale ID to parse. 458 * @return The number of chars of the localeID parameter consumed. 462 const char* localeID, 471 const char* position = localeID; 475 localeID == NULL || 561 return (int32_t)(position - localeID); 461 parseTagString( const char* localeID, char* lang, int32_t* langLength, char* script, int32_t* scriptLength, char* region, int32_t* regionLength, UErrorCode* err) argument 849 _uloc_addLikelySubtags(const char* localeID, char* maximizedLocaleID, int32_t maximizedLocaleIDCapacity, UErrorCode* err) argument 947 _uloc_minimizeSubtags(const char* localeID, char* minimizedLocaleID, int32_t minimizedLocaleIDCapacity, UErrorCode* err) argument 1203 do_canonicalize(const char* localeID, char* buffer, int32_t bufferCapacity, UErrorCode* err) argument 1230 uloc_addLikelySubtags(const char* localeID, char* maximizedLocaleID, int32_t maximizedLocaleIDCapacity, UErrorCode* err) argument 1254 uloc_minimizeSubtags(const char* localeID, char* minimizedLocaleID, int32_t minimizedLocaleIDCapacity, UErrorCode* err) argument [all...] |
H A D | locid.cpp | 89 U_CFUNC int32_t locale_getKeywords(const char *localeID, 453 Locale& Locale::init(const char* localeID, UBool canonicalize) argument 479 if(localeID == NULL) { 490 uloc_canonicalize(localeID, fullName, sizeof(fullNameBuffer), &err) : 491 uloc_getName(localeID, fullName, sizeof(fullNameBuffer), &err); 502 uloc_canonicalize(localeID, fullName, length+1, &err) : 503 uloc_getName(localeID, fullName, length+1, &err); 626 const char *localeID = newLocale.getName(); local 627 locale_set_default_internal(localeID, status);
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | ulocdata.c | 49 ulocdata_open(const char *localeID, UErrorCode *status) argument 66 uld->bundle = ures_open(NULL, localeID, status); 67 uld->langBundle = ures_open(U_ICUDATA_LANG, localeID, status); 188 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status){ argument 198 bundle = ures_open(NULL, localeID, status); 212 ulocdata_getPaperSize(const char* localeID, int32_t *height, int32_t *width, UErrorCode *status){ argument 222 bundle = ures_open(NULL, localeID, status);
|
/external/icu4c/i18n/ |
H A D | ulocdata.c | 49 ulocdata_open(const char *localeID, UErrorCode *status) argument 66 uld->bundle = ures_open(NULL, localeID, status); 67 uld->langBundle = ures_open(U_ICUDATA_LANG, localeID, status); 191 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status){ argument 201 bundle = ures_open(NULL, localeID, status); 215 ulocdata_getPaperSize(const char* localeID, int32_t *height, int32_t *width, UErrorCode *status){ argument 225 bundle = ures_open(NULL, localeID, status);
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
H A D | pkgitems.cpp | 263 char localeID[32]; local 264 if(length>=(int32_t)sizeof(localeID)) { 270 u_UCharsToChars(alias, localeID, length); 271 localeID[length]=0; 273 checkIDSuffix(itemName, localeID, -1, (useResSuffix ? ".res" : ""), check, context, pErrorCode);
|
/external/icu4c/tools/toolutil/ |
H A D | pkgitems.cpp | 263 char localeID[32]; local 264 if(length>=(int32_t)sizeof(localeID)) { 270 u_UCharsToChars(alias, localeID, length); 271 localeID[length]=0; 273 checkIDSuffix(itemName, localeID, -1, (useResSuffix ? ".res" : ""), check, context, pErrorCode);
|
/external/chromium_org/third_party/icu/source/tools/genrb/ |
H A D | wrtxml.cpp | 176 char* localeID = (char*) uprv_malloc(idLen); local 190 uprv_memcpy(localeID, id, pos); 191 localeID[pos]=0; /* NUL terminate the string */ 195 canonLen = uloc_canonicalize(localeID, canon, canonCapacity, &status); 198 fprintf(stderr, "Could not canonicalize the locale ID: %s. Error: %s\n", localeID, u_errorName(status));
|
/external/icu4c/tools/genrb/ |
H A D | wrtxml.cpp | 178 char* localeID = (char*) uprv_malloc(idLen); local 192 uprv_memcpy(localeID, id, pos); 193 localeID[pos]=0; /* NUL terminate the string */ 197 canonLen = uloc_canonicalize(localeID, canon, canonCapacity, &status); 200 fprintf(stderr, "Could not canonicalize the locale ID: %s. Error: %s\n", localeID, u_errorName(status));
|