Searched refs:localeID (Results 1 - 25 of 60) sorted by relevance

123

/external/chromium_org/third_party/icu/source/test/intltest/
H A Dwinutil.cpp38 char localeID[ULOC_FULLNAME_CAPACITY]; local
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...]
H A Dwinutil.h32 char *localeID; member in struct:Win32Utilities::LCIDRecord
H A Dwindttst.cpp116 // 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 Dwinnmtst.cpp229 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 Dustrtest.h105 void *iter, const char *localeID, uint32_t options);
/external/icu/icu4c/source/test/intltest/
H A Dwinutil.cpp38 char localeID[ULOC_FULLNAME_CAPACITY]; local
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...]
H A Dwinutil.h32 char *localeID; member in struct:Win32Utilities::LCIDRecord
H A Dwindttst.cpp116 // 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 Dwinnmtst.cpp229 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 Dustrtest.h105 void *iter, const char *localeID, uint32_t options);
/external/chromium_org/third_party/icu/source/common/
H A Dulocimp.h48 ulocimp_getLanguage(const char *localeID,
53 ulocimp_getScript(const char *localeID,
58 ulocimp_getCountry(const char *localeID,
63 locale_getKeywordsStart(const char *localeID);
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 Dures_cnv.c29 const char *localeID,
75 return ures_open(path, localeID, status);
28 ures_openU(const UChar *myPath, const char *localeID, UErrorCode *status) argument
H A Dloclikely.cpp30 * 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...]
/external/icu/icu4c/source/common/
H A Dulocimp.h48 ulocimp_getLanguage(const char *localeID,
53 ulocimp_getScript(const char *localeID,
58 ulocimp_getCountry(const char *localeID,
63 locale_getKeywordsStart(const char *localeID);
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 Dures_cnv.c29 const char *localeID,
75 return ures_open(path, localeID, status);
28 ures_openU(const UChar *myPath, const char *localeID, UErrorCode *status) argument
H A Dloclikely.cpp30 * 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...]
/external/chromium_org/third_party/icu/source/common/unicode/
H A Duloc.h172 * 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 th
[all...]
/external/icu/icu4c/source/common/unicode/
H A Duloc.h172 * 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 th
[all...]
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Dulocdata.h75 * @param localeID Specifies the locale associated with this locale
81 ulocdata_open(const char *localeID, UErrorCode *status);
197 * Returns the measurement system used in the locale specified by the localeID.
200 * @param localeID The id of the locale for which the measurement system to be retrieved.
207 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status);
218 * @param localeID The id of the locale for which the paper size information to be retrieved.
226 ulocdata_getPaperSize(const char *localeID, int32_t *height, int32_t *width, UErrorCode *status);
/external/icu/icu4c/source/i18n/unicode/
H A Dulocdata.h73 * @param localeID Specifies the locale associated with this locale
79 ulocdata_open(const char *localeID, UErrorCode *status);
195 * Returns the measurement system used in the locale specified by the localeID.
198 * @param localeID The id of the locale for which the measurement system to be retrieved.
205 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status);
216 * @param localeID The id of the locale for which the paper size information to be retrieved.
224 ulocdata_getPaperSize(const char *localeID, int32_t *height, int32_t *width, UErrorCode *status);
/external/icu/icu4c/source/i18n/
H A Ducol_imp.h64 static UnicodeString *loadRules(const char *localeID, const char *collationType,
H A Dulocdata.c50 ulocdata_open(const char *localeID, UErrorCode *status) argument
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){ argument
200 uloc_addLikelySubtags(localeID, fullLoc, ULOC_FULLNAME_CAPACITY, status);
225 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status){ argument
234 measurement = measurementTypeBundleForLocale(localeID, MEASUREMENT_SYSTEM, status);
244 ulocdata_getPaperSize(const char* localeID, int32_t *height, int32_t *width, UErrorCode *status){ argument
253 paperSizeBundle = measurementTypeBundleForLocale(localeID, PAPER_SIZE, status);
/external/chromium_org/third_party/icu/source/i18n/
H A Dulocdata.c50 ulocdata_open(const char *localeID, UErrorCode *status) argument
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){ argument
200 uloc_addLikelySubtags(localeID, fullLoc, ULOC_FULLNAME_CAPACITY, status);
225 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status){ argument
234 measurement = measurementTypeBundleForLocale(localeID, MEASUREMENT_SYSTEM, status);
244 ulocdata_getPaperSize(const char* localeID, int32_t *height, int32_t *width, UErrorCode *status){ argument
253 paperSizeBundle = measurementTypeBundleForLocale(localeID, PAPER_SIZE, status);

Completed in 2103 milliseconds

123