/bionic/tests/ |
D | locale_test.cpp | 50 TEST(locale, setlocale) { in TEST() argument 51 EXPECT_STREQ("C.UTF-8", setlocale(LC_ALL, nullptr)); in TEST() 52 EXPECT_STREQ("C.UTF-8", setlocale(LC_CTYPE, nullptr)); in TEST() 55 EXPECT_EQ(nullptr, setlocale(-1, nullptr)); in TEST() 58 EXPECT_EQ(nullptr, setlocale(13, nullptr)); in TEST() 65 EXPECT_STREQ("C.UTF-8", setlocale(LC_ALL, "")); in TEST() 67 EXPECT_STREQ("C", setlocale(LC_ALL, "C")); in TEST() 68 EXPECT_STREQ("C", setlocale(LC_ALL, "POSIX")); in TEST() 71 EXPECT_EQ(nullptr, setlocale(LC_ALL, "this-is-not-a-locale")); in TEST()
|
D | langinfo_test.cpp | 34 ASSERT_STREQ("C.UTF-8", setlocale(LC_ALL, "C.UTF-8")); in TEST() 40 ASSERT_STREQ("C.UTF-8", setlocale(LC_ALL, "C.UTF-8")); in TEST() 100 ASSERT_STREQ("C.UTF-8", setlocale(LC_ALL, "C.UTF-8")); in TEST() 107 ASSERT_STREQ("C.UTF-8", setlocale(LC_ALL, "C.UTF-8")); in TEST() 114 ASSERT_STREQ("C.UTF-8", setlocale(LC_ALL, "C.UTF-8")); in TEST() 130 ASSERT_STREQ("C.UTF-8", setlocale(LC_ALL, "C.UTF-8")); in TEST() 138 ASSERT_STREQ("C.UTF-8", setlocale(LC_ALL, "C.UTF-8")); in TEST()
|
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 | 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 | stdlib_test.cpp | 766 ASSERT_STREQ("C.UTF-8", setlocale(LC_ALL, "C.UTF-8")); in TEST()
|
D | stdio_test.cpp | 1228 setlocale(LC_ALL, "C.UTF-8"); in TEST() 1379 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST() 1443 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
|
/bionic/benchmarks/ |
D | stdlib_benchmark.cpp | 165 setlocale(LC_CTYPE, "C.UTF-8") in BM_stdlib_mbstowcs() 166 || setlocale(LC_CTYPE, "en_US.UTF-8") in BM_stdlib_mbstowcs() 167 || setlocale(LC_CTYPE, "en_GB.UTF-8") in BM_stdlib_mbstowcs() 168 || setlocale(LC_CTYPE, "en.UTF-8") in BM_stdlib_mbstowcs() 169 || setlocale(LC_CTYPE, "de_DE-8") in BM_stdlib_mbstowcs() 170 || setlocale(LC_CTYPE, "fr_FR-8"); in BM_stdlib_mbstowcs() 206 setlocale(LC_CTYPE, "C.UTF-8") in BM_stdlib_mbrtowc() 207 || setlocale(LC_CTYPE, "en_US.UTF-8") in BM_stdlib_mbrtowc() 208 || setlocale(LC_CTYPE, "en_GB.UTF-8") in BM_stdlib_mbrtowc() 209 || setlocale(LC_CTYPE, "en.UTF-8") in BM_stdlib_mbrtowc() [all …]
|
/bionic/libc/include/ |
D | locale.h | 104 char* setlocale(int __category, const char* __locale_name);
|
/bionic/tests/headers/posix/ |
D | locale_h.c | 84 FUNCTION(setlocale, char* (*f)(int, const char*)); in locale_h()
|
/bionic/libc/bionic/ |
D | locale.cpp | 158 char* setlocale(int category, const char* locale_name) { in setlocale() function
|
/bionic/libc/tools/ |
D | posix-2013.txt | 914 setlocale
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_085.S | 1762 CALL(setlocale)
|
D | liblinker_reloc_bench_063.S | 11155 CALL(setlocale)
|
D | liblinker_reloc_bench_151.S | 13941 CALL(setlocale)
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 931 setlocale;
|
/bionic/libc/ |
D | libc.map.txt | 931 setlocale;
|