Home
last modified time | relevance | path

Searched refs:LC_GLOBAL_LOCALE (Results 1 – 10 of 10) sorted by relevance

/bionic/tests/
Dctype_test.cpp46 EXPECT_TRUE(isalnum_l(i, LC_GLOBAL_LOCALE)) << i; in TEST()
48 EXPECT_FALSE(isalnum_l(i, LC_GLOBAL_LOCALE)) << i; in TEST()
68 EXPECT_TRUE(isalpha_l(i, LC_GLOBAL_LOCALE)) << i; in TEST()
70 EXPECT_FALSE(isalpha_l(i, LC_GLOBAL_LOCALE)) << i; in TEST()
98 EXPECT_TRUE(isblank_l(i, LC_GLOBAL_LOCALE)) << i; in TEST()
100 EXPECT_FALSE(isblank_l(i, LC_GLOBAL_LOCALE)) << i; in TEST()
118 EXPECT_TRUE(iscntrl_l(i, LC_GLOBAL_LOCALE)) << i; in TEST()
120 EXPECT_FALSE(iscntrl_l(i, LC_GLOBAL_LOCALE)) << i; in TEST()
138 EXPECT_TRUE(isdigit_l(i, LC_GLOBAL_LOCALE)) << i; in TEST()
140 EXPECT_FALSE(isdigit_l(i, LC_GLOBAL_LOCALE)) << i; in TEST()
[all …]
Duchar_test.cpp73 uselocale(LC_GLOBAL_LOCALE); in TEST()
135 uselocale(LC_GLOBAL_LOCALE); in TEST()
172 uselocale(LC_GLOBAL_LOCALE); in test_mbrtoc16_incomplete()
225 uselocale(LC_GLOBAL_LOCALE); in TEST()
256 uselocale(LC_GLOBAL_LOCALE); in TEST()
267 uselocale(LC_GLOBAL_LOCALE); in TEST()
294 uselocale(LC_GLOBAL_LOCALE); in TEST()
320 uselocale(LC_GLOBAL_LOCALE); in test_mbrtoc32_incomplete()
Dwchar_test.cpp67 uselocale(LC_GLOBAL_LOCALE); in TEST()
292 uselocale(LC_GLOBAL_LOCALE); in TEST()
318 uselocale(LC_GLOBAL_LOCALE); in TEST()
330 uselocale(LC_GLOBAL_LOCALE); in TEST()
340 uselocale(LC_GLOBAL_LOCALE); in test_mbrtowc_incomplete()
425 uselocale(LC_GLOBAL_LOCALE); in TEST()
585 EXPECT_EQ(24U, wcsftime_l(buf, sizeof(buf), L"%c", &t, LC_GLOBAL_LOCALE)); in TEST()
673 uselocale(LC_GLOBAL_LOCALE); in TEST()
780 wcstoll_l(L"123", nullptr, -1, LC_GLOBAL_LOCALE); in TEST()
783 wcstoll_l(L"123", nullptr, 1, LC_GLOBAL_LOCALE); in TEST()
[all …]
Dlocale_test.cpp100 locale_t cloned_global = duplocale(LC_GLOBAL_LOCALE); in TEST()
108 EXPECT_EQ(LC_GLOBAL_LOCALE, original); in TEST()
Dtime_test.cpp291 strptime_l("11:14", "%R", &t, LC_GLOBAL_LOCALE); in TEST()
292 strftime_l(buf, sizeof(buf), "%H:%M", &t, LC_GLOBAL_LOCALE); in TEST()
296 strptime_l("09:41:53", "%T", &t, LC_GLOBAL_LOCALE); in TEST()
297 strftime_l(buf, sizeof(buf), "%H:%M:%S", &t, LC_GLOBAL_LOCALE); in TEST()
Dstring_test.cpp69 ASSERT_STREQ("Success", strerror_l(0, LC_GLOBAL_LOCALE)); in TEST()
1617 ASSERT_TRUE(strcoll_l("aab", "aac", LC_GLOBAL_LOCALE) < 0); in TEST()
1618 ASSERT_TRUE(strcoll_l("aab", "aab", LC_GLOBAL_LOCALE) == 0); in TEST()
1619 ASSERT_TRUE(strcoll_l("aac", "aab", LC_GLOBAL_LOCALE) > 0); in TEST()
1648 ASSERT_EQ(strxfrm_l(dst1, src1, 0, LC_GLOBAL_LOCALE), 3U); in TEST()
1650 ASSERT_EQ(strxfrm_l(dst1, src1, sizeof(dst1), LC_GLOBAL_LOCALE), 3U); in TEST()
Dstdio_test.cpp1384 uselocale(LC_GLOBAL_LOCALE); in TEST()
1448 uselocale(LC_GLOBAL_LOCALE); in TEST()
/bionic/libc/bionic/
Dlocale.cpp62 if (other == LC_GLOBAL_LOCALE) { in __locale_t()
74 if (l == LC_GLOBAL_LOCALE) { in __ctype_get_mb_cur_max()
191 old_locale = LC_GLOBAL_LOCALE; in uselocale()
/bionic/libc/include/
Dlocale.h107 #define LC_GLOBAL_LOCALE __BIONIC_CAST(reinterpret_cast, locale_t, -1L) macro
/bionic/tests/headers/posix/
Dlocale_h.c77 MACRO_TYPE(locale_t, LC_GLOBAL_LOCALE); in locale_h()