Searched defs:localeID (Results 26 - 45 of 45) sorted by relevance

12

/external/chromium_org/third_party/icu/source/common/
H A Duloc.cpp55 locale_getKeywords(const char *localeID,
517 #define _hasBCP47Extension(id) (id && uprv_strstr(id, "@") == NULL && getShortestSubtagLength(localeID) == 1)
525 /* Gets the size of the shortest subtag in the given localeID. */
526 static int32_t getShortestSubtagLength(const char *localeID) { argument
527 int32_t localeIDLength = uprv_strlen(localeID);
534 if (localeID[i] != '_' && localeID[i] != '-') {
557 locale_getKeywordsStart(const char *localeID) { argument
559 if((result = uprv_strchr(localeID, '@')) != NULL) {
570 if((result = uprv_strchr(localeID, *charToFin
627 _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
808 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
820 uloc_getKeywordValue(const char* localeID, const char* keywordName, char* buffer, int32_t bufferCapacity, UErrorCode* status) argument
1211 ulocimp_getLanguage(const char *localeID, char *language, int32_t languageCapacity, const char **pEnd) argument
1258 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
[all...]
H A Duloc_tag.c994 _appendLanguageToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument
1004 len = uloc_getLanguage(localeID, buf, sizeof(buf), &tmpStatus);
1049 _appendScriptToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument
1059 len = uloc_getScript(localeID, buf, sizeof(buf), &tmpStatus);
1091 _appendRegionToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument
1101 len = uloc_getCountry(localeID, buf, sizeof(buf), &tmpStatus);
1133 _appendVariantsToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool *hadPosix, UErrorCode* status) { argument
1143 len = uloc_getVariant(localeID, buf, sizeof(buf), &tmpStatus);
1257 _appendKeywordsToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool hadPosix, UErrorCode* status) { argument
1265 keywordEnum = uloc_openKeywords(localeID, statu
1942 _appendPrivateuseToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool hadPosix, UErrorCode* status) argument
2613 uloc_toLanguageTag(const char* localeID, char* langtag, int32_t langtagCapacity, UBool strict, UErrorCode* status) argument
2692 uloc_forLanguageTag(const char* langtag, char* localeID, int32_t localeIDCapacity, int32_t* parsedLength, UErrorCode* status) argument
[all...]
H A Duresbund.cpp306 static UResourceDataEntry *init_entry(const char *localeID, const char *path, UErrorCode *status) { argument
321 if(localeID == NULL) { /* if localeID is NULL, we're trying to open default locale */
323 } else if(*localeID == 0) { /* if localeID is "" then we try to open root locale */
326 name = localeID;
504 static UResourceDataEntry *entryOpen(const char* path, const char* localeID, UErrorCode* status) { argument
528 uprv_strncpy(name, localeID, sizeof(name) - 1);
2020 const char* localeID, UErrorCode* status) {
2028 uloc_getBaseName(localeID, canonLocaleI
2019 ures_openFillIn(UResourceBundle *r, const char* path, const char* localeID, UErrorCode* status) argument
2058 ures_open(const char* path, const char* localeID, UErrorCode* status) argument
2131 ures_openDirect(const char* path, const char* localeID, UErrorCode* status) argument
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dloctest.cpp1590 const char *localeID; member in struct:__anon12316
1629 Locale l(testCases[i].localeID);
1687 testCases[i].expectedLocaleID, testCases[i].localeID, result);
1697 const char *localeID; member in struct:__anon12317
1715 Locale l(testCases[i].localeID);
1720 testCases[i].expectedValue, testCases[i].localeID, testCases[i].keyword, buffer);
1763 const char *localeID; member in struct:__anon12319
1774 Locale loc(testCases[i].localeID);
1777 testCases[i].localeID, testCases[i].baseName, loc.getBaseName());
2094 const char* localeID) {
2093 _canonicalize(int32_t selector, const char* localeID) argument
2110 const char *localeID; /* input */ member in struct:__anon12320
[all...]
H A Ddtfmttst.cpp111 const char *localeID; member in struct:__anon12303
171 Locale locale(EXPECTED[i].localeID);
187 if(errorCode.logDataIfFailureAndReset("DateTimePatternGenerator::createInstance() failed for locale ID \"%s\"", EXPECTED[i].localeID)) {
196 EXPECTED[i].actualPattern, EXPECTED[i].localeID);
H A Dnumfmtst.cpp761 const char *localeID = testCases[i][0]; local
766 uloc_canonicalize(localeID, loc, 256, &status);
769 errln("Could not create currency formatter for locale %s",localeID);
776 + UnicodeString( " for locale: ")+ UnicodeString(localeID) );
2694 const char* localeID = "pt_PT@currency=PTE"; local
2695 Locale loc(localeID);
2701 dataerrln("Could not create currency formatter for locale %s - %s", localeID, u_errorName(status));
2708 + UnicodeString( " for locale: ")+ UnicodeString(localeID) );
6576 const char *localeID = parentLocaleTests[i][0]; local
6580 uloc_canonicalize(localeID, lo
[all...]
/external/icu/icu4c/source/common/
H A Duloc.cpp55 locale_getKeywords(const char *localeID,
517 #define _hasBCP47Extension(id) (id && uprv_strstr(id, "@") == NULL && getShortestSubtagLength(localeID) == 1)
525 /* Gets the size of the shortest subtag in the given localeID. */
526 static int32_t getShortestSubtagLength(const char *localeID) { argument
527 int32_t localeIDLength = uprv_strlen(localeID);
534 if (localeID[i] != '_' && localeID[i] != '-') {
557 locale_getKeywordsStart(const char *localeID) { argument
559 if((result = uprv_strchr(localeID, '@')) != NULL) {
570 if((result = uprv_strchr(localeID, *charToFin
627 _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
808 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
820 uloc_getKeywordValue(const char* localeID, const char* keywordName, char* buffer, int32_t bufferCapacity, UErrorCode* status) argument
1211 ulocimp_getLanguage(const char *localeID, char *language, int32_t languageCapacity, const char **pEnd) argument
1258 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
[all...]
H A Duloc_tag.c994 _appendLanguageToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument
1004 len = uloc_getLanguage(localeID, buf, sizeof(buf), &tmpStatus);
1049 _appendScriptToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument
1059 len = uloc_getScript(localeID, buf, sizeof(buf), &tmpStatus);
1091 _appendRegionToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) { argument
1101 len = uloc_getCountry(localeID, buf, sizeof(buf), &tmpStatus);
1133 _appendVariantsToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool *hadPosix, UErrorCode* status) { argument
1143 len = uloc_getVariant(localeID, buf, sizeof(buf), &tmpStatus);
1257 _appendKeywordsToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool hadPosix, UErrorCode* status) { argument
1265 keywordEnum = uloc_openKeywords(localeID, statu
1942 _appendPrivateuseToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool hadPosix, UErrorCode* status) argument
2613 uloc_toLanguageTag(const char* localeID, char* langtag, int32_t langtagCapacity, UBool strict, UErrorCode* status) argument
2692 uloc_forLanguageTag(const char* langtag, char* localeID, int32_t localeIDCapacity, int32_t* parsedLength, UErrorCode* status) argument
[all...]
H A Duresbund.cpp306 static UResourceDataEntry *init_entry(const char *localeID, const char *path, UErrorCode *status) { argument
321 if(localeID == NULL) { /* if localeID is NULL, we're trying to open default locale */
323 } else if(*localeID == 0) { /* if localeID is "" then we try to open root locale */
326 name = localeID;
504 static UResourceDataEntry *entryOpen(const char* path, const char* localeID, UErrorCode* status) { argument
528 uprv_strncpy(name, localeID, sizeof(name) - 1);
2020 const char* localeID, UErrorCode* status) {
2028 uloc_getBaseName(localeID, canonLocaleI
2019 ures_openFillIn(UResourceBundle *r, const char* path, const char* localeID, UErrorCode* status) argument
2058 ures_open(const char* path, const char* localeID, UErrorCode* status) argument
2131 ures_openDirect(const char* path, const char* localeID, UErrorCode* status) argument
[all...]
/external/icu/icu4c/source/i18n/
H A Dcollationbuilder.cpp60 const char *localeID, const char *collationType,
73 const char *localeID, const char *collationType,
76 return rules = CollationLoader::loadRules(localeID, collationType, errorCode);
72 getRules( const char *localeID, const char *collationType, const char *& , UErrorCode &errorCode) argument
H A Drbnf.cpp1537 const char * localeID = (thelocale != NULL)? thelocale.getBaseName(): NULL; local
1539 UResourceBundle *rb = ures_open(NULL, localeID, &status);
/external/icu/icu4c/source/test/intltest/
H A Dapicoll.cpp2427 const char *localeID = "it-u-ks-xyz"; local
2429 coll.adoptInstead(Collator::createInstance(localeID, errorCode));
2432 localeID, u_errorName(errorCode));
2436 localeID = "it@colHiraganaQuaternary=true";
2438 coll.adoptInstead(Collator::createInstance(localeID, errorCode));
2441 localeID, u_errorName(errorCode));
2444 localeID = "it-u-vt-u24";
2446 coll.adoptInstead(Collator::createInstance(localeID, errorCode));
2449 localeID, u_errorName(errorCode));
H A Dcollationtest.cpp862 const char *localeID = "root"; local
864 Locale locale(localeID);
918 } while((localeID = locales->next(NULL, errorCode)) != NULL);
1241 CharString localeID; local
1242 localeID.appendInvariantChars(fileLine.tempSubString(9), errorCode);
1244 localeID.data()[at - 9] = '@';
1246 Locale locale(localeID.data());
H A Dloctest.cpp1590 const char *localeID; member in struct:__anon22126
1629 Locale l(testCases[i].localeID);
1687 testCases[i].expectedLocaleID, testCases[i].localeID, result);
1697 const char *localeID; member in struct:__anon22127
1715 Locale l(testCases[i].localeID);
1720 testCases[i].expectedValue, testCases[i].localeID, testCases[i].keyword, buffer);
1763 const char *localeID; member in struct:__anon22129
1774 Locale loc(testCases[i].localeID);
1777 testCases[i].localeID, testCases[i].baseName, loc.getBaseName());
2094 const char* localeID) {
2093 _canonicalize(int32_t selector, const char* localeID) argument
2110 const char *localeID; /* input */ member in struct:__anon22130
[all...]
H A Ddtfmttst.cpp113 const char *localeID; member in struct:__anon22112
173 Locale locale(EXPECTED[i].localeID);
189 if(errorCode.logDataIfFailureAndReset("DateTimePatternGenerator::createInstance() failed for locale ID \"%s\"", EXPECTED[i].localeID)) {
198 EXPECTED[i].actualPattern, EXPECTED[i].localeID);
H A Dnumfmtst.cpp765 const char *localeID = testCases[i][0]; local
770 uloc_canonicalize(localeID, loc, 256, &status);
773 errln("Could not create currency formatter for locale %s",localeID);
780 + UnicodeString( " for locale: ")+ UnicodeString(localeID) );
2719 const char* localeID = "pt_PT@currency=PTE"; local
2720 Locale loc(localeID);
2726 dataerrln("Could not create currency formatter for locale %s - %s", localeID, u_errorName(status));
2733 + UnicodeString( " for locale: ")+ UnicodeString(localeID) );
6605 const char *localeID = parentLocaleTests[i][0]; local
6609 uloc_canonicalize(localeID, lo
[all...]
/external/icu/icu4c/source/tools/genrb/
H A Dparse.cpp677 const char *localeID, const char *collationType,
690 const char *localeID, const char *collationType,
694 int localeLength = strlen(localeID);
707 memcpy(filename, localeID, localeLength);
689 getRules( const char *localeID, const char *collationType, const char *& , UErrorCode &errorCode) argument
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcloctst.c1669 const char *localeID; member in struct:__anon12217
1718 keywords = uloc_openKeywords(testCases[i].localeID, &status);
1722 testCases[i].localeID,
1749 resultLen = uloc_getName(testCases[i].localeID, buffer, 256, &status);
1753 testCases[i].localeID, testCases[i].expectedLocaleID, buffer);
1755 resultLen = uloc_canonicalize(testCases[i].localeID, buffer, 256, &status);
1758 testCases[i].localeID, testCases[i].expectedCanonicalID, buffer);
1767 const char *localeID; member in struct:__anon12218
1785 resultLen = uloc_getKeywordValue(testCases[i].localeID, testCases[i].keyword, buffer, 256, &status);
1789 testCases[i].expectedValue, testCases[i].localeID, testCase
1963 _canonicalize(int32_t selector, const char* localeID, char* result, int32_t resultCapacity, UErrorCode* ec) argument
1982 const char *localeID; /* input */ member in struct:__anon12220
2124 const char *localeID; member in struct:__anon12221
2187 const char *localeID; member in struct:__anon12222
2268 const char* localeID = "es@collation=phonebook;calendar=buddhist;currency=DEM"; local
2319 const char* localeID = "es"; local
2337 const char *localeID; member in struct:__anon12223
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dcloctst.c1670 const char *localeID; member in struct:__anon22017
1719 keywords = uloc_openKeywords(testCases[i].localeID, &status);
1723 testCases[i].localeID,
1750 resultLen = uloc_getName(testCases[i].localeID, buffer, 256, &status);
1754 testCases[i].localeID, testCases[i].expectedLocaleID, buffer);
1756 resultLen = uloc_canonicalize(testCases[i].localeID, buffer, 256, &status);
1759 testCases[i].localeID, testCases[i].expectedCanonicalID, buffer);
1768 const char *localeID; member in struct:__anon22018
1786 resultLen = uloc_getKeywordValue(testCases[i].localeID, testCases[i].keyword, buffer, 256, &status);
1790 testCases[i].expectedValue, testCases[i].localeID, testCase
1964 _canonicalize(int32_t selector, const char* localeID, char* result, int32_t resultCapacity, UErrorCode* ec) argument
1983 const char *localeID; /* input */ member in struct:__anon22020
2125 const char *localeID; member in struct:__anon22021
2188 const char *localeID; member in struct:__anon22022
2269 const char* localeID = "es@collation=phonebook;calendar=buddhist;currency=DEM"; local
2320 const char* localeID = "es"; local
2338 const char *localeID; member in struct:__anon22023
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 5256 milliseconds

12