Searched refs:mbrtoc16 (Results 1 – 4 of 4) sorted by relevance
/bionic/tests/ |
D | uchar_test.cpp | 154 ASSERT_EQ(0U, mbrtoc16(NULL, NULL, 0, NULL)); in TEST() 165 ASSERT_EQ(0U, mbrtoc16(&out, "hello", 0, NULL)); in TEST() 168 ASSERT_EQ(0U, mbrtoc16(&out, "hello", 0, NULL)); in TEST() 169 ASSERT_EQ(0U, mbrtoc16(&out, "", 0, NULL)); in TEST() 170 ASSERT_EQ(1U, mbrtoc16(&out, "hello", 1, NULL)); in TEST() 177 TEST(uchar, mbrtoc16) { in TEST() argument 185 ASSERT_EQ(1U, mbrtoc16(&out, "abcdef", 6, NULL)); in TEST() 188 ASSERT_EQ(2U, mbrtoc16(&out, "\xc2\xa2" "cdef", 6, NULL)); in TEST() 191 ASSERT_EQ(3U, mbrtoc16(&out, "\xe2\x82\xac" "def", 6, NULL)); in TEST() 203 mbrtoc16(&out, "\xf4\x8a\xaf\x8d", 6, NULL)); in TEST() [all …]
|
/bionic/libc/include/ |
D | uchar.h | 42 size_t mbrtoc16(char16_t* __restrict,
|
/bionic/libc/bionic/ |
D | mbrtoc16.cpp | 61 size_t mbrtoc16(char16_t* pc16, const char* s, size_t n, mbstate_t* ps) { in mbrtoc16() function
|
/bionic/libc/ |
D | Android.mk | 135 bionic/mbrtoc16.cpp \
|