/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
|
H A D | loctest.cpp | 1590 const char *localeID; member in struct:__anon5539 1629 Locale l(testCases[i].localeID); 1687 testCases[i].expectedLocaleID, testCases[i].localeID, result); 1697 const char *localeID; member in struct:__anon5540 1715 Locale l(testCases[i].localeID); 1719 testCases[i].expectedValue, testCases[i].localeID, testCases[i].keyword, buffer); 1761 const char *localeID; member in struct:__anon5542 1772 Locale loc(testCases[i].localeID); 1775 testCases[i].localeID, testCases[i].baseName, loc.getBaseName()); 2088 const char* localeID) { 2087 _canonicalize(int32_t selector, const char* localeID) argument 2104 const char *localeID; /* input */ member in struct:__anon5543 [all...] |
H A D | numfmtst.cpp | 745 const char *localeID = testCases[i][0]; local 750 uloc_canonicalize(localeID, loc, 256, &status); 753 errln("Could not create currency formatter for locale %s",localeID); 760 + UnicodeString( " for locale: ")+ UnicodeString(localeID) ); 2599 const char* localeID = "pt_PT@currency=PTE"; local 2600 Locale loc(localeID); 2606 dataerrln("Could not create currency formatter for locale %s - %s", localeID, u_errorName(status)); 2613 + UnicodeString( " for locale: ")+ UnicodeString(localeID) ); 6428 const char *localeID = parentLocaleTests[i][0]; local 6432 uloc_canonicalize(localeID, lo [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 850 _uloc_addLikelySubtags(const char* localeID, char* maximizedLocaleID, int32_t maximizedLocaleIDCapacity, UErrorCode* err) argument 948 _uloc_minimizeSubtags(const char* localeID, char* minimizedLocaleID, int32_t minimizedLocaleIDCapacity, UErrorCode* err) argument 1204 do_canonicalize(const char* localeID, char* buffer, int32_t bufferCapacity, UErrorCode* err) argument 1231 uloc_addLikelySubtags(const char* localeID, char* maximizedLocaleID, int32_t maximizedLocaleIDCapacity, UErrorCode* err) argument 1255 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 812 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 824 uloc_getKeywordValue(const char* localeID, const char* keywordName, char* buffer, int32_t bufferCapacity, UErrorCode* status) argument 1213 ulocimp_getLanguage(const char *localeID, char *language, int32_t languageCapacity, const char **pEnd) argument 1259 ulocimp_getScript(const char *localeID, char *script, int32_t scriptCapacity, const char **pEnd) argument 1297 ulocimp_getCountry(const char *localeID, char *country, int32_t countryCapacity, const char **pEnd) argument 1349 _getVariantEx(const char *localeID, char prev, char *variant, int32_t variantCapacity, UBool needSeparator) argument 1409 _getVariant(const char *localeID, char prev, char *variant, int32_t variantCapacity) argument 1549 uloc_openKeywords(const char* localeID, UErrorCode* status) argument 1620 _canonicalize(const char* localeID, char* result, int32_t resultCapacity, uint32_t options, UErrorCode* err) argument 1870 uloc_getParent(const char* localeID, char* parent, int32_t parentCapacity, UErrorCode* err) argument 1898 uloc_getLanguage(const char* localeID, char* language, int32_t languageCapacity, UErrorCode* err) argument 1919 uloc_getScript(const char* localeID, char* script, int32_t scriptCapacity, UErrorCode* err) argument 1943 uloc_getCountry(const char* localeID, char* country, int32_t countryCapacity, UErrorCode* err) argument 1976 uloc_getVariant(const char* localeID, char* variant, int32_t variantCapacity, UErrorCode* err) argument 2037 uloc_getName(const char* localeID, char* name, int32_t nameCapacity, UErrorCode* err) argument 2046 uloc_getBaseName(const char* localeID, char* name, int32_t nameCapacity, UErrorCode* err) argument 2055 uloc_canonicalize(const char* localeID, char* name, int32_t nameCapacity, UErrorCode* err) argument 2064 uloc_getISO3Language(const char* localeID) argument 2084 uloc_getISO3Country(const char* localeID) argument 2105 uloc_getLCID(const char* localeID) argument [all...] |
H A D | uloc_tag.c | 1017 _appendLanguageToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument 1027 len = uloc_getLanguage(localeID, buf, sizeof(buf), &tmpStatus); 1072 _appendScriptToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument 1082 len = uloc_getScript(localeID, buf, sizeof(buf), &tmpStatus); 1114 _appendRegionToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument 1124 len = uloc_getCountry(localeID, buf, sizeof(buf), &tmpStatus); 1156 _appendVariantsToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool *hadPosix, UErrorCode* status) { argument 1166 len = uloc_getVariant(localeID, buf, sizeof(buf), &tmpStatus); 1280 _appendKeywordsToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool hadPosix, UErrorCode* status) { argument 1288 keywordEnum = uloc_openKeywords(localeID, statu 1879 _appendPrivateuseToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool hadPosix, UErrorCode* status) argument 2661 uloc_toLanguageTag(const char* localeID, char* langtag, int32_t langtagCapacity, UBool strict, UErrorCode* status) argument 2740 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 336 if(localeID == NULL) { /* if localeID is NULL, we're trying to open default locale */ 338 } else if(*localeID == 0) { /* if localeID is "" then we try to open root locale */ 341 uprv_strcpy(name, localeID); 519 static UResourceDataEntry *entryOpen(const char* path, const char* localeID, UErrorCode* status) { argument 546 uprv_strcpy(name, localeID); 1996 const char* localeID, UErrorCode* status) { 2009 r->fData = entryOpen(path, localeID, statu 1995 ures_openFillIn(UResourceBundle *r, const char* path, const char* localeID, UErrorCode* status) argument 2027 ures_open(const char* path, const char* localeID, UErrorCode* status) argument 2100 ures_openDirect(const char* path, const char* localeID, UErrorCode* status) argument [all...] |
/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); 190 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status){ argument 200 bundle = ures_open(NULL, localeID, status); 214 ulocdata_getPaperSize(const char* localeID, int32_t *height, int32_t *width, UErrorCode *status){ argument 224 bundle = ures_open(NULL, localeID, status);
|
/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/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));
|
/external/icu4c/test/cintltst/ |
H A D | cloctst.c | 1585 const char *localeID; member in struct:__anon5455 1634 keywords = uloc_openKeywords(testCases[i].localeID, &status); 1638 testCases[i].localeID, 1665 resultLen = uloc_getName(testCases[i].localeID, buffer, 256, &status); 1668 testCases[i].localeID, testCases[i].expectedLocaleID, buffer); 1670 resultLen = uloc_canonicalize(testCases[i].localeID, buffer, 256, &status); 1673 testCases[i].localeID, testCases[i].expectedCanonicalID, buffer); 1682 const char *localeID; member in struct:__anon5456 1700 resultLen = uloc_getKeywordValue(testCases[i].localeID, testCases[i].keyword, buffer, 256, &status); 1703 testCases[i].expectedValue, testCases[i].localeID, testCase 1877 _canonicalize(int32_t selector, const char* localeID, char* result, int32_t resultCapacity, UErrorCode* ec) argument 1896 const char *localeID; /* input */ member in struct:__anon5458 2038 const char *localeID; member in struct:__anon5459 2101 const char *localeID; member in struct:__anon5460 2182 const char* localeID = "es@collation=phonebook;calendar=buddhist;currency=DEM"; local 2233 const char* localeID = "es"; local 2251 const char *localeID; member in struct:__anon5461 [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | com.ibm.icu_4.2.1.v20100412.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |