Home
last modified time | relevance | path

Searched refs:setlocale (Results 1 – 16 of 16) sorted by relevance

/bionic/tests/
Dlocale_test.cpp50 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()
Dlanginfo_test.cpp34 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()
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()
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()
Dstdlib_test.cpp766 ASSERT_STREQ("C.UTF-8", setlocale(LC_ALL, "C.UTF-8")); in TEST()
Dstdio_test.cpp1228 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/
Dstdlib_benchmark.cpp165 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/
Dlocale.h104 char* setlocale(int __category, const char* __locale_name);
/bionic/tests/headers/posix/
Dlocale_h.c84 FUNCTION(setlocale, char* (*f)(int, const char*)); in locale_h()
/bionic/libc/bionic/
Dlocale.cpp158 char* setlocale(int category, const char* locale_name) { in setlocale() function
/bionic/libc/tools/
Dposix-2013.txt914 setlocale
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_085.S1762 CALL(setlocale)
Dliblinker_reloc_bench_063.S11155 CALL(setlocale)
Dliblinker_reloc_bench_151.S13941 CALL(setlocale)
/bionic/tools/versioner/platforms/
Dlibc.map.txt931 setlocale;
/bionic/libc/
Dlibc.map.txt931 setlocale;