Searched refs:LC_CTYPE (Results 1 – 8 of 8) sorted by relevance
/bionic/benchmarks/ |
D | stdlib_benchmark.cpp | 142 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/ |
D | locale.h | 40 #define LC_CTYPE 0 macro 54 #define LC_CTYPE_MASK (1 << LC_CTYPE)
|
/bionic/tests/ |
D | uchar_test.cpp | 72 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()
|
D | locale_test.cpp | 52 EXPECT_STREQ("C.UTF-8", setlocale(LC_CTYPE, nullptr)); in TEST()
|
D | wchar_test.cpp | 66 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()
|
D | stdio_test.cpp | 1329 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/ |
D | locale_h.c | 64 MACRO(LC_CTYPE); in locale_h()
|
/bionic/libc/bionic/ |
D | locale.cpp | 160 if (category < LC_CTYPE || category > LC_IDENTIFICATION) { in setlocale()
|