Home
last modified time | relevance | path

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

12

/external/icu/libicu/test/src/
Duloc_jni_test.cpp119 orig_default_locale = uloc_getDefault(); in SetUp()
140 EXPECT_STREQ(ULOC_JAPAN, uloc_getDefault()); in TEST_F()
144 EXPECT_STREQ("", uloc_getDefault()); in TEST_F()
154 EXPECT_STREQ(locale_ja_with_extension, uloc_getDefault()); in TEST_F()
/external/libchrome/base/i18n/
Dstring_search_unittest.cc26 std::string default_locale(uloc_getDefault()); in TEST()
87 std::string default_locale(uloc_getDefault()); in TEST()
195 const char* default_locale = uloc_getDefault(); in TEST()
205 std::string default_locale(uloc_getDefault()); in TEST()
Dstring_search.cc24 dummy.size(), uloc_getDefault(), in FixedPatternStringSearchIgnoringCaseAndAccents()
/external/icu/icu4c/source/extra/uconv/
Duwmsg.c163 resultLength = u_vformatMessage(uloc_getDefault(), msg, msgLen, result, resultLength, ap, &err); in u_wmsg()
171 uloc_getDefault(), in u_wmsg()
187 uloc_getDefault(), in u_wmsg()
/external/icu/icu4c/source/common/
Duloc.cpp1410 localeID=uloc_getDefault(); in uloc_openKeywords()
1491 localeID=uloc_getDefault(); in _canonicalize()
1504 tag.append(uloc_getDefault(), *err); in _canonicalize()
1654 localeID = uloc_getDefault(); in uloc_getParent()
1689 localeID=uloc_getDefault(); in uloc_getLanguage()
1706 localeID=uloc_getDefault(); in uloc_getScript()
1732 localeID=uloc_getDefault(); in uloc_getCountry()
1777 localeID=uloc_getDefault(); in uloc_getVariant()
1953 localeID = uloc_getDefault(); in uloc_getISO3Language()
1973 localeID = uloc_getDefault(); in uloc_getISO3Country()
[all …]
Dustrcase_locale.cpp33 locale = uloc_getDefault(); in ustrcase_getCaseLocale()
/external/libchrome/base/test/
Dicu_test_util.cc21 : default_locale_(uloc_getDefault()) { in ScopedRestoreICUDefaultLocale()
Dtest_suite.cc459 std::string default_locale(uloc_getDefault()); in Initialize()
/external/icu/icu4c/source/test/cintltst/
Dcintltst.c191 "#### Note: The default locale %s is not available\n", uloc_getDefault()); in main()
196 …*** %s! Can not open a resource bundle for the default locale %s\n", warnOrErr, uloc_getDefault()); in main()
204 fprintf(stdout, "Default locale for this run is %s\n", uloc_getDefault()); in main()
Dcrestst.c155 if ( uprv_strncmp(uloc_getDefault(), "te", 2) == 0 || in TestResourceBundles()
156 uprv_strncmp(uloc_getDefault(), "sh", 2) == 0 || in TestResourceBundles()
157 uprv_strncmp(uloc_getDefault(), "mc", 2) == 0) { in TestResourceBundles()
617 0!=uprv_strcmp(uloc_getDefault(), ures_getLocale(ne, &errorCode)))) { in TestOpenDirect()
619 "or default locale \"%s\" - %s\n", uloc_getDefault(), u_errorName(errorCode)); in TestOpenDirect()
Dcloctst.c366 uprv_strcpy(original, uloc_getDefault()); in TestNullDefault()
368 if (uprv_strcmp(uloc_getDefault(), "qq_BLA") != 0) { in TestNullDefault()
369 log_err(" Mismatch in uloc_setDefault: qq_BLA versus %s\n", uloc_getDefault()); in TestNullDefault()
372 if (uprv_strcmp(uloc_getDefault(), original) != 0) { in TestNullDefault()
386 n_en_US = uloc_getDefault(); in TestNullDefault()
392 n_fr_FR = uloc_getDefault(); in TestNullDefault()
402 n2_en_US = uloc_getDefault(); in TestNullDefault()
709 const char* defaultLocale = uloc_getDefault(); in TestDisplayNames()
2417 expected = uloc_getDefault(); in TestCanonicalization()
6986 const char *defaultLocale = uloc_getDefault(); in TestCDefaultLocale()
Dcdtdptst.c83 UCalendar *cal = ucal_open(NULL, 0, uloc_getDefault(), UCAL_TRADITIONAL, &status); in TestTwoDigitYearDSTParse()
/external/icu/icu4c/source/io/
Dlocbund.cpp79 loc = uloc_getDefault(); in u_locbund_init()
/external/icu/tools/icu4c_srcgen/
Dlibandroidicu_allowlisted_api.txt112 uloc_getDefault
Dlibicu_export.txt225 uloc_getDefault
/external/icu/libicu/
Dlibicu.map.txt215 uloc_getDefault;
/external/icu/libicu/ndk_headers/unicode/
Duloc.h378 uloc_getDefault(void) __INTRODUCED_IN(31);
/external/icu/icu4c/source/samples/cal/
Dcal.c243 c = ucal_open(0, -1, uloc_getDefault(), UCAL_TRADITIONAL, status); in cal()
595 right_cal = ucal_open(0, -1, uloc_getDefault(), UCAL_TRADITIONAL, status); in print_year()
/external/icu/libicu/cts_headers/unicode/
Duloc.h375 uloc_getDefault(void);
/external/icu/libandroidicu/include/unicode/
Duloc.h375 uloc_getDefault(void);
/external/icu/icu4c/source/common/unicode/
Duloc.h375 uloc_getDefault(void);
/external/icu/icu4c/source/samples/date/
Ddate.c226 printf("Default Locale: %s\n", uloc_getDefault()); in version()
/external/icu/icu4c/source/test/iotest/
Dfiletst.c407 || strcmp(u_fgetlocale(myFile), uloc_getDefault()) != 0) in TestCodepageAndLocale()
410 u_fgetlocale(myFile), uloc_getDefault()); in TestCodepageAndLocale()
441 || strcmp(u_fgetlocale(myFile), uloc_getDefault()) != 0) in TestCodepageAndLocale()
444 u_fgetlocale(myFile), uloc_getDefault()); in TestCodepageAndLocale()
/external/icu/icu4c/source/tools/toolutil/
Dudbgutil.cpp492 const char *def = uloc_getDefault(); in paramLocaleDefaultBcp47()
504 STRING_PARAM(paramLocaleDefault, uloc_getDefault())
/external/icu/icu4c/source/test/intltest/
Dlocnmtst.cpp176 if(0 != uprv_strcmp(uloc_getDefault(), locale)) { in TestUldnOpen()
177 errln("uldn_getLocale(uldn_open(NULL))=%s != default locale %s\n", locale, uloc_getDefault()); in TestUldnOpen()

12