/external/icu/icu4c/source/test/intltest/ |
winutil.cpp | 38 char localeID[ULOC_FULLNAME_CAPACITY]; 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...] |
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...] |
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...] |
/external/chromium_org/third_party/icu/source/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;
|
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...] |
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...] |
/external/icu/icu4c/source/common/ |
lrucache.h | 28 void get(const char *localeId, const T *&ptr, UErrorCode &status) { 29 const T *value = (const T *) _get(localeId, status); 35 UBool contains(const char *localeId) const; 38 virtual SharedObject *create(const char *localeId, UErrorCode &status)=0; 45 char *localeId; 72 void init(char *localeId, CacheEntry *cacheEntry); 73 const SharedObject *_get(const char *localeId, UErrorCode &status); 76 typedef SharedObject *CreateFunc(const char *localeId, UErrorCode &status); 88 virtual SharedObject *create(const char *localeId, UErrorCode &status);
|
lrucache.cpp | 22 : moreRecent(NULL), lessRecent(NULL), localeId(NULL), cachedData(NULL), 44 uprv_free(localeId); 45 localeId = NULL; 50 U_ASSERT(localeId == NULL); 51 localeId = adoptedLocId; 73 UBool LRUCache::contains(const char *localeId) const { 74 return (uhash_get(localeIdToEntries, localeId) != NULL); 78 const SharedObject *LRUCache::_get(const char *localeId, UErrorCode &status) { 84 localeIdToEntries, localeId)); 98 uhash_remove(localeIdToEntries, entry->localeId); [all...] |
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, 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) { 527 int32_t localeIDLength = uprv_strlen(localeID); 534 if (localeID[i] != '_' && localeID[i] != '-') { 557 locale_getKeywordsStart(const char *localeID) { 559 if((result = uprv_strchr(localeID, '@')) != NULL) { 570 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...] |
locresdata.cpp | 155 _uloc_getOrientationHelper(const char* localeId, 165 uloc_canonicalize(localeId, localeBuffer, sizeof(localeBuffer), status); 205 uloc_getCharacterOrientation(const char* localeId, 208 return _uloc_getOrientationHelper(localeId, "characters", status); 214 * @param localeID locale name 219 uloc_getLineOrientation(const char* localeId, 222 return _uloc_getOrientationHelper(localeId, "lines", status);
|
/external/chromium_org/third_party/icu/source/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);
|
ures_cnv.c | 29 const char *localeID, 75 return ures_open(path, localeID, status);
|
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) { 542 int32_t localeIDLength = uprv_strlen(localeID); 549 if (localeID[i] != '_' && localeID[i] != '-') { 572 locale_getKeywordsStart(const char *localeID) { 574 if((result = uprv_strchr(localeID, '@')) != NULL) { 585 if((result = uprv_strchr(localeID, *charToFind)) != NULL) [all...] |
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); 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); [all...] |
locresdata.cpp | 155 _uloc_getOrientationHelper(const char* localeId, 165 uloc_canonicalize(localeId, localeBuffer, sizeof(localeBuffer), status); 205 uloc_getCharacterOrientation(const char* localeId, 208 return _uloc_getOrientationHelper(localeId, "characters", status); 214 * @param localeID locale name 220 uloc_getLineOrientation(const char* localeId, 223 return _uloc_getOrientationHelper(localeId, "lines", status);
|
/external/chromium_org/third_party/icu/source/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, 395 * @param localeID the locale to get the ISO language code with 396 * @param language the language code for localeID 405 uloc_getLanguage(const char* localeID, 413 * @param localeID the locale to get the ISO language code with 414 * @param script the language code for localeID 423 uloc_getScript(const char* localeID, 431 * @param localeID the locale to get the country code wit [all...] |
/external/icu/icu4c/source/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...] |
/external/chromium_org/third_party/icu/source/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); 188 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status){ 198 bundle = ures_open(NULL, localeID, status); 212 ulocdata_getPaperSize(const char* localeID, int32_t *height, int32_t *width, UErrorCode *status){ 222 bundle = ures_open(NULL, localeID, status);
|
/external/icu/icu4c/source/i18n/ |
ulocdata.c | 50 ulocdata_open(const char *localeID, UErrorCode *status) 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){ 200 uloc_addLikelySubtags(localeID, fullLoc, ULOC_FULLNAME_CAPACITY, status); 225 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status){ 234 measurement = measurementTypeBundleForLocale(localeID, MEASUREMENT_SYSTEM, status); 244 ulocdata_getPaperSize(const char* localeID, int32_t *height, int32_t *width, UErrorCode *status){ 253 paperSizeBundle = measurementTypeBundleForLocale(localeID, PAPER_SIZE, status);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
ntquery.h | 175 STDAPI CITextToSelectTree(WCHAR const *pwszRestriction,DBCOMMANDTREE **ppTree,ULONG cProperties,CIPROPERTYDEF *pProperties,LCID LocaleID); 176 STDAPI CITextToSelectTreeEx(WCHAR const *pwszRestriction,ULONG ulDialect,DBCOMMANDTREE **ppTree,ULONG cProperties,CIPROPERTYDEF *pProperties,LCID LocaleID); 177 STDAPI CITextToFullTree(WCHAR const *pwszRestriction,WCHAR const *pwszColumns,WCHAR const *pwszSortColumns,WCHAR const *pwszGroupings,DBCOMMANDTREE **ppTree,ULONG cProperties,CIPROPERTYDEF *pProperties,LCID LocaleID); 178 STDAPI CITextToFullTreeEx(WCHAR const *pwszRestriction,ULONG ulDialect,WCHAR const *pwszColumns,WCHAR const *pwszSortColumns,WCHAR const *pwszGroupings,DBCOMMANDTREE **ppTree,ULONG cProperties,CIPROPERTYDEF *pProperties,LCID LocaleID); 179 STDAPI CIBuildQueryNode(WCHAR const *wcsProperty,DBCOMMANDOP dbOperator,PROPVARIANT const *pvarPropertyValue,DBCOMMANDTREE **ppTree,ULONG cProperties,CIPROPERTYDEF const *pProperty,LCID LocaleID); 181 STDAPI CIRestrictionToFullTree(DBCOMMANDTREE const *pTree,WCHAR const *pwszColumns,WCHAR const *pwszSortColumns,WCHAR const *pwszGroupings,DBCOMMANDTREE **ppTree,ULONG cProperties,CIPROPERTYDEF *pReserved,LCID LocaleID);
|