Home
last modified time | relevance | path

Searched refs:LC_ALL (Results 1 – 9 of 9) sorted by relevance

/bionic/tests/
Dlocale_test.cpp51 EXPECT_STREQ("C.UTF-8", setlocale(LC_ALL, 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()
83 EXPECT_EQ(nullptr, newlocale(LC_ALL, nullptr, nullptr)); in TEST()
89 EXPECT_EQ(nullptr, newlocale(LC_ALL, "this-is-not-a-locale", nullptr)); in TEST()
94 locale_t l = newlocale(LC_ALL, "C", nullptr); in TEST()
110 locale_t n = newlocale(LC_ALL, "C", nullptr); in TEST()
125 locale_t cloc = newlocale(LC_ALL, "C", nullptr); in TEST()
[all …]
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()
Dstrings_test.cpp48 locale_t l = newlocale(LC_ALL, "C", nullptr); in TEST()
63 locale_t l = newlocale(LC_ALL, "C", nullptr); in TEST()
Dwctype_test.cpp27 UtfLocale() : l(newlocale(LC_ALL, "C.UTF-8", nullptr)) {} in UtfLocale()
Dstdlib_test.cpp711 ASSERT_STREQ("C.UTF-8", setlocale(LC_ALL, "C.UTF-8")); in TEST()
Dtime_test.cpp245 locale_t cloc = newlocale(LC_ALL, "C.UTF-8", nullptr); in TEST()
Dstdio_test.cpp791 locale_t cloc = newlocale(LC_ALL, "C.UTF-8", nullptr); in TEST()
1178 setlocale(LC_ALL, "C.UTF-8"); in TEST()
/bionic/libc/include/
Dlocale.h46 #define LC_ALL 6 macro
/bionic/tests/headers/posix/
Dlocale_h.c62 MACRO(LC_ALL); in locale_h()