Home
last modified time | relevance | path

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

/bionic/tests/
Duchar_test.cpp115 ASSERT_EQ(0U, mbrtoc16(nullptr, nullptr, 0, nullptr)); in TEST()
122 ASSERT_EQ(0U, mbrtoc16(&out, "hello", 0, nullptr)); in TEST()
125 ASSERT_EQ(0U, mbrtoc16(&out, "hello", 0, nullptr)); in TEST()
126 ASSERT_EQ(0U, mbrtoc16(&out, "", 0, nullptr)); in TEST()
127 ASSERT_EQ(1U, mbrtoc16(&out, "hello", 1, nullptr)); in TEST()
131 TEST(uchar, mbrtoc16) { in TEST() argument
138 ASSERT_EQ(1U, mbrtoc16(&out, "abcdef", 6, nullptr)); in TEST()
141 ASSERT_EQ(2U, mbrtoc16(&out, "\xc2\xa2" "cdef", 6, nullptr)); in TEST()
144 ASSERT_EQ(3U, mbrtoc16(&out, "\xe2\x82\xac" "def", 6, nullptr)); in TEST()
152 mbrtoc16(&out, "\xf4\x8a\xaf\x8d", 6, nullptr)); in TEST()
[all …]
/bionic/libc/include/
Duchar.h83 size_t mbrtoc16(char16_t* _Nullable __ch16, const char* _Nullable __s, size_t __n, mbstate_t* _Null…
/bionic/libc/bionic/
Dmbrtoc16.cpp61 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.bp1076 "bionic/mbrtoc16.cpp",