Home
last modified time | relevance | path

Searched refs:uloc_getDefault (Results 1 – 23 of 23) sorted by relevance

/external/icu/icu4c/source/extra/uconv/
Duwmsg.c158 resultLength = u_vformatMessage(uloc_getDefault(), msg, msgLen, result, resultLength, ap, &err); in u_wmsg()
166 uloc_getDefault(), in u_wmsg()
182 uloc_getDefault(), in u_wmsg()
/external/icu/icu4c/source/test/cintltst/
Dcintltst.c187 "#### Note: The default locale %s is not available\n", uloc_getDefault()); in main()
192 …*** %s! Can not open a resource bundle for the default locale %s\n", warnOrErr, uloc_getDefault()); in main()
200 fprintf(stdout, "Default locale for this run is %s\n", uloc_getDefault()); in main()
Dcloctst.c340 uprv_strcpy(original, uloc_getDefault()); in TestNullDefault()
342 if (uprv_strcmp(uloc_getDefault(), "qq_BLA") != 0) { in TestNullDefault()
343 log_err(" Mismatch in uloc_setDefault: qq_BLA versus %s\n", uloc_getDefault()); in TestNullDefault()
346 if (uprv_strcmp(uloc_getDefault(), original) != 0) { in TestNullDefault()
360 n_en_US = uloc_getDefault(); in TestNullDefault()
366 n_fr_FR = uloc_getDefault(); in TestNullDefault()
376 n2_en_US = uloc_getDefault(); in TestNullDefault()
2090 expected = uloc_getDefault(); in TestCanonicalization()
Dcdtdptst.c81 UCalendar *cal = ucal_open(NULL, 0, uloc_getDefault(), UCAL_TRADITIONAL, &status); in TestTwoDigitYearDSTParse()
Dcnmdptst.c901 …UEnumeration *ALL = ucurr_getKeywordValuesForLocale("currency", uloc_getDefault(), FALSE, &status); in TestGetKeywordValuesForLocale()
Dccaltst.c1582 … UEnumeration *ALL = ucal_getKeywordValuesForLocale("calendar", uloc_getDefault(), FALSE, &status); in TestGetKeywordValuesForLocale()
1645 …us, "Failed to get ALL keyword values for default locale %s: %s.\n", uloc_getDefault(), u_errorNam… in TestGetKeywordValuesForLocale()
Dcldrtest.c1313 ULocaleData *uld = ulocdata_open(uloc_getDefault(), &status); in TestCoverage()
Dusrchtst.c1750 strsrch = usearch_open(pattern, 1, text, 1, uloc_getDefault(), NULL, &status); in TestDiacriticMatch()
/external/icu/icu4c/source/common/
Duloc.cpp1565 localeID=uloc_getDefault(); in uloc_openKeywords()
1644 localeID=uloc_getDefault(); in _canonicalize()
1666 const char *d = uloc_getDefault(); in _canonicalize()
1878 localeID = uloc_getDefault(); in uloc_getParent()
1907 localeID=uloc_getDefault(); in uloc_getLanguage()
1927 localeID=uloc_getDefault(); in uloc_getScript()
1951 localeID=uloc_getDefault(); in uloc_getCountry()
1989 localeID=uloc_getDefault(); in uloc_getVariant()
2068 localeID = uloc_getDefault(); in uloc_getISO3Language()
2088 localeID = uloc_getDefault(); in uloc_getISO3Country()
[all …]
Dustrcase_locale.cpp54 locale=uloc_getDefault(); in ustrcase_setTempCaseMapLocale()
Duresbund.cpp128 …if(uprv_strcmp(resB->fName, uloc_getDefault())==0 || uprv_strcmp(resB->fName, kRootLocaleName)==0)… in getFallbackData()
323 name = uloc_getDefault(); in init_entry()
454 const char *defaultLoc = uloc_getDefault(); in findFirstExisting()
669 uprv_strcpy(name, uloc_getDefault()); in entryOpen()
1863 …if(uprv_strcmp(dataEntry->fName, uloc_getDefault())==0 || uprv_strcmp(dataEntry->fName, kRootLocal… in ures_getByKeyWithFallback()
/external/icu/icu4c/source/io/
Dlocbund.cpp77 loc = uloc_getDefault(); in u_locbund_init()
/external/icu/icu4c/source/test/intltest/
Dlocnmtst.cpp171 if(0 != uprv_strcmp(uloc_getDefault(), locale)) { in TestUldnOpen()
172 errln("uldn_getLocale(uldn_open(NULL))=%s != default locale %s\n", locale, uloc_getDefault()); in TestUldnOpen()
/external/icu/icu4c/source/samples/cal/
Dcal.c239 c = ucal_open(0, -1, uloc_getDefault(), UCAL_TRADITIONAL, status); in cal()
591 right_cal = ucal_open(0, -1, uloc_getDefault(), UCAL_TRADITIONAL, status); in print_year()
/external/icu/icu4c/source/common/unicode/
Duloc.h369 uloc_getDefault(void);
Durename.h1033 #define uloc_getDefault U_ICU_ENTRY_POINT_RENAME(uloc_getDefault) macro
/external/icu/icu4c/source/test/iotest/
Dfiletst.c376 || strcmp(u_fgetlocale(myFile), uloc_getDefault()) != 0) in TestCodepageAndLocale()
379 u_fgetlocale(myFile), uloc_getDefault()); in TestCodepageAndLocale()
410 || strcmp(u_fgetlocale(myFile), uloc_getDefault()) != 0) in TestCodepageAndLocale()
413 u_fgetlocale(myFile), uloc_getDefault()); in TestCodepageAndLocale()
/external/icu/icu4c/source/samples/date/
Ddate.c213 printf("Default Locale: %s\n", uloc_getDefault()); in version()
/external/icu/icu4c/source/tools/toolutil/
Dudbgutil.cpp479 const char *def = uloc_getDefault(); in paramLocaleDefaultBcp47()
491 STRING_PARAM(paramLocaleDefault, uloc_getDefault())
/external/icu/icu4c/source/i18n/
Dlocdspnm.cpp825 locale = uloc_getDefault(); in uldn_open()
838 locale = uloc_getDefault(); in uldn_openForContext()
Ducal.cpp150 locale = uloc_getDefault(); in ucal_open()
Dnumfmt.cpp1184 loc = uloc_getDefault(); in getEffectiveCurrency()
/external/icu/icu4c/source/test/depstest/
Ddependencies.txt453 resourcebundle # for uloc_getDefault()