HomeSort by relevance Sort by last modified time
    Searched refs:localeID (Results 1 - 25 of 28) sorted by null

1 2

  /external/icu4c/test/intltest/
winutil.cpp 38 const char* localeID = NULL;
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;
winutil.h 32 char *localeID;
windttst.cpp 116 // NULL localeID means ICU didn't recognize this locale
117 if (lcidRecords[i].localeID == NULL) {
125 char localeID[64];
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...]
winnmtst.cpp 229 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestLog *log)
246 UnicodeString locale(localeID);
254 UnicodeString locale(localeID);
262 UnicodeString locale(localeID);
277 char localeID[128];
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, '@') > 0)
    [all...]
ustrtest.h 105 void *iter, const char *localeID, uint32_t options);
loctest.cpp     [all...]
strcase.cpp 347 void *iter, const char *localeID, uint32_t options) {
351 Locale locale(localeID);
396 LocalUCaseMapPointer csm(ucasemap_open(localeID, options, errorCode));
  /external/icu4c/common/
ulocimp.h 48 ulocimp_getLanguage(const char *localeID,
53 ulocimp_getScript(const char *localeID,
58 ulocimp_getCountry(const char *localeID,
63 locale_getKeywordsStart(const char *localeID);
uloc.cpp 55 locale_getKeywords(const char *localeID,
525 #define _hasBCP47Extension(id) (id && uprv_strstr(id, "@") == NULL && getShortestSubtagLength(localeID) == 1)
533 /* Gets the size of the shortest subtag in the given localeID. */
534 static int32_t getShortestSubtagLength(const char *localeID) {
535 int32_t localeIDLength = uprv_strlen(localeID);
542 if (localeID[i] != '_' && localeID[i] != '-') {
565 locale_getKeywordsStart(const char *localeID) {
567 if((result = uprv_strchr(localeID, '@')) != NULL) {
578 if((result = uprv_strchr(localeID, *charToFind)) != NULL)
    [all...]
ures_cnv.c 29 const char *localeID,
75 return ures_open(path, localeID, status);
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,
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);
    [all...]
locid.cpp 89 U_CFUNC int32_t locale_getKeywords(const char *localeID,
453 Locale& Locale::init(const char* localeID, UBool canonicalize)
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();
627 locale_set_default_internal(localeID, status);
664 * Return the LCID value as specified in the "LocaleID" resource for thi
    [all...]
uloc_tag.c 994 _appendLanguageToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) {
1004 len = uloc_getLanguage(localeID, buf, sizeof(buf), &tmpStatus);
1049 _appendScriptToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) {
1059 len = uloc_getScript(localeID, buf, sizeof(buf), &tmpStatus);
1091 _appendRegionToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) {
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) {
1143 len = uloc_getVariant(localeID, buf, sizeof(buf), &tmpStatus);
    [all...]
putil.cpp     [all...]
uresbund.cpp 315 static UResourceDataEntry *init_entry(const char *localeID, const char *path, UErrorCode *status) {
330 if(localeID == NULL) { /* if localeID is NULL, we're trying to open default locale */
332 } else if(*localeID == 0) { /* if localeID is "" then we try to open root locale */
335 name = localeID;
513 static UResourceDataEntry *entryOpen(const char* path, const char* localeID, UErrorCode* status) {
537 uprv_strncpy(name, localeID, sizeof(name) - 1);
    [all...]
  /external/webkit/Source/JavaScriptCore/icu/unicode/
uloc.h 172 * uloc_getDisplayName(const char* localeID,
365 * @param localeID the new ICU default locale. A value of NULL will try to get
372 uloc_setDefault(const char* localeID,
378 * @param localeID the locale to get the ISO language code with
379 * @param language the language code for localeID
388 uloc_getLanguage(const char* localeID,
396 * @param localeID the locale to get the ISO language code with
397 * @param script the language code for localeID
406 uloc_getScript(const char* localeID,
414 * @param localeID the locale to get the country code wit
    [all...]
  /external/webkit/Source/WebCore/icu/unicode/
uloc.h 172 * uloc_getDisplayName(const char* localeID,
365 * @param localeID the new ICU default locale. A value of NULL will try to get
372 uloc_setDefault(const char* localeID,
378 * @param localeID the locale to get the ISO language code with
379 * @param language the language code for localeID
388 uloc_getLanguage(const char* localeID,
396 * @param localeID the locale to get the ISO language code with
397 * @param script the language code for localeID
406 uloc_getScript(const char* localeID,
414 * @param localeID the locale to get the country code wit
    [all...]
  /external/icu4c/common/unicode/
uloc.h 172 * 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 the locale to get the country code wit
    [all...]
ures.h 166 /** This function does not care what kind of localeID is passed in. It simply opens a bundle with
339 * @param localeID specifies the locale for which we want to open the resource
347 const char* localeID,
    [all...]
  /external/icu4c/i18n/unicode/
ulocdata.h 71 * @param localeID Specifies the locale associated with this locale
77 ulocdata_open(const char *localeID, UErrorCode *status);
193 * Returns the measurement system used in the locale specified by the localeID.
196 * @param localeID The id of the locale for which the measurement system to be retrieved.
203 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status);
214 * @param localeID The id of the locale for which the paper size information to be retrieved.
222 ulocdata_getPaperSize(const char *localeID, int32_t *height, int32_t *width, UErrorCode *status);
  /external/icu4c/i18n/
ulocdata.c 49 ulocdata_open(const char *localeID, UErrorCode *status)
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){
200 bundle = ures_open(NULL, localeID, status);
214 ulocdata_getPaperSize(const char* localeID, int32_t *height, int32_t *width, UErrorCode *status){
224 bundle = ures_open(NULL, localeID, status);
  /external/icu4c/test/cintltst/
cloctst.c     [all...]
  /external/icu4c/tools/toolutil/
pkgitems.cpp 263 char localeID[32];
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/
wrtxml.cpp 178 char* localeID = (char*) uprv_malloc(idLen);
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));
    [all...]
  /libcore/luni/src/main/native/
libcore_icu_ICU.cpp 99 ScopedUtfChars localeID(env, javaLocale);
101 uloc_addLikelySubtags(localeID.c_str(), maximizedLocaleID, sizeof(maximizedLocaleID), &status);
110 ScopedUtfChars localeID(env, javaLocale);
112 uloc_getScript(localeID.c_str(), script, sizeof(script), &status);
    [all...]

Completed in 500 milliseconds

1 2