/external/chromium/third_party/icu/source/test/intltest/ |
H A D | winutil.h | 32 const char *localeID; member in struct:Win32Utilities::LCIDRecord
|
H A D | windttst.cpp | 117 // NULL localeID means ICU didn't recognize this locale 118 if (lcidRecords[i].localeID == NULL) { 126 char localeID[64]; local 128 uprv_strcpy(localeID, lcidRecords[i].localeID); 129 uprv_strcat(localeID, getCalendarType(calType)); 132 Locale ulocale(localeID); 138 if (uprv_strchr(localeID, '@') > 0) { 139 uprv_strcat(localeID, ";"); 141 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 | 348 void *iter, const char *localeID, uint32_t options) { 352 Locale locale(localeID); 400 csm=ucasemap_open(localeID, options, &errorCode); 345 TestCasingImpl(const UnicodeString &input, const UnicodeString &output, int32_t whichCase, void *iter, const char *localeID, uint32_t options) argument
|
H A D | loctest.cpp | 1557 const char *localeID; member in struct:__anon1568 1596 Locale l(testCases[i].localeID); 1654 testCases[i].expectedLocaleID, testCases[i].localeID, result); 1664 const char *localeID; member in struct:__anon1569 1682 Locale l(testCases[i].localeID); 1686 testCases[i].expectedValue, testCases[i].localeID, testCases[i].keyword, buffer); 1694 const char *localeID; member in struct:__anon1570 1705 Locale loc(testCases[i].localeID); 1708 testCases[i].localeID, testCases[i].baseName, loc.getBaseName()); 2020 const char* localeID) { 2019 _canonicalize(int32_t selector, const char* localeID) argument 2036 const char *localeID; /* input */ member in struct:__anon1571 [all...] |
H A D | numfmtst.cpp | 730 const char *localeID = testCases[i][0]; local 735 uloc_canonicalize(localeID, loc, 256, &status); 738 errln("Could not create currency formatter for locale %s",localeID); 745 + UnicodeString( " for locale: ")+ UnicodeString(localeID) ); 2328 const char* localeID = "pt_PT@currency=PTE"; local 2329 Locale loc(localeID); 2335 dataerrln("Could not create currency formatter for locale %s - %s", localeID, u_errorName(status)); 2342 + UnicodeString( " for locale: ")+ UnicodeString(localeID) );
|
/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 | 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/chromium/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 | locid.cpp | 72 U_CFUNC int32_t locale_getKeywords(const char *localeID, 531 Locale& Locale::init(const char* localeID, UBool canonicalize) argument 557 if(localeID == NULL) { 568 uloc_canonicalize(localeID, fullName, sizeof(fullNameBuffer), &err) : 569 uloc_getName(localeID, fullName, sizeof(fullNameBuffer), &err); 580 uloc_canonicalize(localeID, fullName, length+1, &err) : 581 uloc_getName(localeID, fullName, length+1, &err); 707 const char *localeID = newLocale.getName(); local 708 locale_set_default_internal(localeID);
|
H A D | uloc_tag.c | 888 _appendLanguageToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument 898 len = uloc_getLanguage(localeID, buf, sizeof(buf), &tmpStatus); 943 _appendScriptToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument 953 len = uloc_getScript(localeID, buf, sizeof(buf), &tmpStatus); 989 _appendRegionToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument 999 len = uloc_getCountry(localeID, buf, sizeof(buf), &tmpStatus); 1035 _appendVariantsToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument 1045 len = uloc_getVariant(localeID, buf, sizeof(buf), &tmpStatus); 1149 _appendKeywordsToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument 1154 keywordEnum = uloc_openKeywords(localeID, statu 2109 uloc_toLanguageTag(const char* localeID, char* langtag, int32_t langtagCapacity, UBool strict, UErrorCode* status) argument 2140 uloc_forLanguageTag(const char* langtag, char* localeID, int32_t localeIDCapacity, int32_t* parsedLength, UErrorCode* status) argument [all...] |
H A D | uresbund.c | 261 static UResourceDataEntry *init_entry(const char *localeID, const char *path, UErrorCode *status) { argument 277 if(localeID == NULL) { /* if localeID is NULL, we're trying to open default locale */ 279 } else if(*localeID == 0) { /* if localeID is "" then we try to open root locale */ 282 uprv_strcpy(name, localeID); 444 static UResourceDataEntry *entryOpen(const char* path, const char* localeID, UErrorCode* status) { argument 462 uprv_strcpy(name, localeID); 1854 const char* localeID, UErrorCode* status) { 1867 r->fData = entryOpen(path, localeID, statu 1853 ures_openFillIn(UResourceBundle *r, const char* path, const char* localeID, UErrorCode* status) argument 1885 ures_open(const char* path, const char* localeID, UErrorCode* status) argument 1958 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); 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, 536 locale_getKeywordsStart(const char *localeID) { argument 538 if((result = uprv_strchr(localeID, '@')) != NULL) { 549 if((result = uprv_strchr(localeID, *charToFind)) != NULL) { 606 _getKeywords(const char *localeID, argument 619 const char* pos = localeID; 773 locale_getKeywords(const char *localeID, argument 779 return _getKeywords(localeID, prev, keywords, keywordCapacity, 785 uloc_getKeywordValue(const char* localeID, argument 796 if(status && U_SUCCESS(*status) && localeID) { 1165 ulocimp_getLanguage(const char *localeID, char *language, int32_t languageCapacity, const char **pEnd) argument 1211 ulocimp_getScript(const char *localeID, char *script, int32_t scriptCapacity, const char **pEnd) argument 1249 ulocimp_getCountry(const char *localeID, char *country, int32_t countryCapacity, const char **pEnd) argument 1301 _getVariantEx(const char *localeID, char prev, char *variant, int32_t variantCapacity, UBool needSeparator) argument 1361 _getVariant(const char *localeID, char prev, char *variant, int32_t variantCapacity) argument 1501 uloc_openKeywords(const char* localeID, UErrorCode* status) argument 1564 _canonicalize(const char* localeID, char* result, int32_t resultCapacity, uint32_t options, UErrorCode* err) argument 1800 uloc_getParent(const char* localeID, char* parent, int32_t parentCapacity, UErrorCode* err) argument 1828 uloc_getLanguage(const char* localeID, char* language, int32_t languageCapacity, UErrorCode* err) argument 1849 uloc_getScript(const char* localeID, char* script, int32_t scriptCapacity, UErrorCode* err) argument 1873 uloc_getCountry(const char* localeID, char* country, int32_t countryCapacity, UErrorCode* err) argument 1906 uloc_getVariant(const char* localeID, char* variant, int32_t variantCapacity, UErrorCode* err) argument 1956 uloc_getName(const char* localeID, char* name, int32_t nameCapacity, UErrorCode* err) argument 1965 uloc_getBaseName(const char* localeID, char* name, int32_t nameCapacity, UErrorCode* err) argument 1974 uloc_canonicalize(const char* localeID, char* name, int32_t nameCapacity, UErrorCode* err) argument 1983 uloc_getISO3Language(const char* localeID) argument 2003 uloc_getISO3Country(const char* localeID) argument 2024 uloc_getLCID(const char* localeID) argument [all...] |
/external/chromium/third_party/icu/source/i18n/ |
H A D | ulocdata.c | 43 ulocdata_open(const char *localeID, UErrorCode *status) argument 59 uld->bundle = ures_open(NULL, localeID, status); 179 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status){ argument 189 bundle = ures_open(NULL, localeID, status); 203 ulocdata_getPaperSize(const char* localeID, int32_t *height, int32_t *width, UErrorCode *status){ argument 213 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); 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/chromium/third_party/icu/source/tools/toolutil/ |
H A D | pkgitems.cpp | 225 char localeID[32]; local 273 if(stringLength>=(int32_t)sizeof(localeID)) { 286 localeID[i]=(char)u16; 292 localeID[i]=(char)(u16>>8); 296 localeID[stringLength]=0; 308 uprv_ebcdicFromAscii(ds, localeID, stringLength, localeID, pErrorCode); 317 checkIDSuffix(itemName, localeID, -1, (useResSuffix ? ".res" : ""), check, context, pErrorCode);
|
/external/icu4c/tools/toolutil/ |
H A D | pkgitems.cpp | 265 char localeID[32]; local 266 if(length>=(int32_t)sizeof(localeID)) { 272 u_UCharsToChars(alias, localeID, length); 273 localeID[length]=0; 275 checkIDSuffix(itemName, localeID, -1, (useResSuffix ? ".res" : ""), check, context, pErrorCode);
|
/external/chromium/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 | 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));
|