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, NULL)); in TEST()
52 EXPECT_STREQ("C.UTF-8", setlocale(LC_CTYPE, NULL)); in TEST()
55 EXPECT_EQ(NULL, setlocale(-1, NULL)); in TEST()
58 EXPECT_EQ(NULL, setlocale(13, NULL)); 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(NULL, 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.cpp98 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
180 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
233 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in test_mbrtoc16_incomplete()
289 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
341 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
371 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in test_mbrtoc32_incomplete()
Dwchar_test.cpp64 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
281 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
307 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in test_mbrtowc_incomplete()
392 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
546 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
Dstdlib_test.cpp601 ASSERT_STREQ("C.UTF-8", setlocale(LC_ALL, "C.UTF-8")); in TEST()
Dstdio_test.cpp806 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
870 ASSERT_STREQ("C.UTF-8", setlocale(LC_CTYPE, "C.UTF-8")); in TEST()
/bionic/libc/include/
Dlocale.h104 char* setlocale(int, const char*);
/bionic/libc/bionic/
Dlocale.cpp146 char* setlocale(int category, const char* locale_name) { in setlocale() function
/bionic/libc/tools/
Dposix-2013.txt914 setlocale
/bionic/libc/
Dlibc.mips64.map846 setlocale;
Dlibc.x86_64.map846 setlocale;
Dlibc.arm64.map846 setlocale;
Dlibc.x86.map901 setlocale;
Dlibc.mips.map903 setlocale;
Dlibc.arm.map905 setlocale;
Dlibc.map.txt930 setlocale;