Home
last modified time | relevance | path

Searched refs:mbrtoc16 (Results 1 – 6 of 6) sorted by relevance

/bionic/tests/
Duchar_test.cpp169 ASSERT_EQ(0U, mbrtoc16(nullptr, nullptr, 0, nullptr)); in TEST()
179 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc16(&out, "hello", 0, nullptr)); in TEST()
182 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc16(&out, "hello", 0, nullptr)); in TEST()
183 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc16(&out, "", 0, nullptr)); in TEST()
184 EXPECT_EQ(1U, mbrtoc16(&out, "hello", 1, nullptr)); in TEST()
188 TEST(uchar, mbrtoc16) { in TEST() argument
195 ASSERT_EQ(1U, mbrtoc16(&out, "abcdef", 6, nullptr)); in TEST()
198 ASSERT_EQ(2U, mbrtoc16(&out, "\xc2\xa2" "cdef", 6, nullptr)); in TEST()
201 ASSERT_EQ(3U, mbrtoc16(&out, "\xe2\x82\xac" "def", 6, nullptr)); in TEST()
204 ASSERT_EQ(4U, mbrtoc16(&out, "\xf4\x8a\xaf\x8d", 6, nullptr)); in TEST()
[all …]
/bionic/libc/include/
Duchar.h79 size_t mbrtoc16(char16_t* _Nullable __ch16, const char* _Nullable __s, size_t __n, mbstate_t* _Null…
/bionic/libc/bionic/
Dmbrtoc16.cpp82 size_t mbrtoc16(char16_t* pc16, const char* s, size_t n, mbstate_t* ps) { in mbrtoc16() function
/bionic/tools/versioner/platforms/
Dlibc.map.txt628 mbrtoc16; # introduced=21
/bionic/libc/
Dlibc.map.txt628 mbrtoc16; # introduced=21
DAndroid.bp874 "bionic/mbrtoc16.cpp",