Home
last modified time | relevance | path

Searched refs:LC_CTYPE (Results 1 – 8 of 8) sorted by relevance

/bionic/benchmarks/
Dstdlib_benchmark.cpp142 setlocale(LC_CTYPE, "C.UTF-8") in BM_stdlib_mbstowcs()
143 || setlocale(LC_CTYPE, "en_US.UTF-8") in BM_stdlib_mbstowcs()
144 || setlocale(LC_CTYPE, "en_GB.UTF-8") in BM_stdlib_mbstowcs()
145 || setlocale(LC_CTYPE, "en.UTF-8") in BM_stdlib_mbstowcs()
146 || setlocale(LC_CTYPE, "de_DE-8") in BM_stdlib_mbstowcs()
147 || setlocale(LC_CTYPE, "fr_FR-8"); in BM_stdlib_mbstowcs()
183 setlocale(LC_CTYPE, "C.UTF-8") in BM_stdlib_mbrtowc()
184 || setlocale(LC_CTYPE, "en_US.UTF-8") in BM_stdlib_mbrtowc()
185 || setlocale(LC_CTYPE, "en_GB.UTF-8") in BM_stdlib_mbrtowc()
186 || setlocale(LC_CTYPE, "en.UTF-8") in BM_stdlib_mbrtowc()
[all …]
/bionic/libc/include/
Dlocale.h40 #define LC_CTYPE 0 macro
54 #define LC_CTYPE_MASK (1 << LC_CTYPE)
/bionic/tests/
Duchar_test.cpp72 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
134 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
171 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in test_mbrtoc16_incomplete()
224 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
255 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
266 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
293 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
319 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in test_mbrtoc32_incomplete()
Dlocale_test.cpp52 EXPECT_STREQ("C.UTF-8", setlocale(LC_CTYPE, nullptr)); in TEST()
Dwchar_test.cpp66 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
283 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
309 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
321 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
331 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in test_mbrtowc_incomplete()
416 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
662 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
Dstdio_test.cpp1329 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
1393 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
/bionic/tests/headers/posix/
Dlocale_h.c64 MACRO(LC_CTYPE); in locale_h()
/bionic/libc/bionic/
Dlocale.cpp160 if (category < LC_CTYPE || category > LC_IDENTIFICATION) { in setlocale()