Home
last modified time | relevance | path

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

/bionic/tests/
Duchar_test.cpp38 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc32(nullptr, "\xc2", 1, &ps)); in TEST()
45 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc32(nullptr, "\xc2", 1, &ps)); in TEST()
50 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc32(nullptr, "\xf0\xa4", 1, &ps)); in TEST()
259 ASSERT_EQ(3U, mbrtoc32(out, "\xef\xbf\xbe", 3, nullptr)); in TEST()
261 ASSERT_EQ(3U, mbrtoc32(out, "\xef\xbf\xbf", 3, nullptr)); in TEST()
271 ASSERT_EQ(static_cast<size_t>(-1), mbrtoc32(out, "\xf5\x80\x80\x80", 4, nullptr)); in TEST()
275 TEST(uchar, mbrtoc32) { in TEST() argument
279 ASSERT_EQ(0U, mbrtoc32(out, "hello", 0, nullptr)); in TEST()
282 ASSERT_EQ(0U, mbrtoc32(out, "hello", 0, nullptr)); in TEST()
283 ASSERT_EQ(0U, mbrtoc32(out, "", 0, nullptr)); in TEST()
[all …]
/bionic/libc/include/
Duchar.h91 size_t mbrtoc32(char32_t* _Nullable __ch32, const char* _Nullable __s, size_t __n, mbstate_t* _Null…
/bionic/libc/bionic/
Dmbrtoc16.cpp75 size_t nconv = mbrtoc32(&c32, s, n, state); in mbrtoc16()
Dmbrtoc32.cpp36 size_t mbrtoc32(char32_t* pc32, const char* s, size_t n, mbstate_t* ps) { in mbrtoc32() function
Dwchar.cpp65 return mbrtoc32(reinterpret_cast<char32_t*>(pwc), s, n, state); in mbrtowc()
Diconv.cpp162 src_bytes_used = mbrtoc32(&wc, *src_buf, *src_bytes_left, &ps); in GetNext()
/bionic/tools/versioner/platforms/
Dlibc.map.txt629 mbrtoc32; # introduced=21
/bionic/libc/
Dlibc.map.txt629 mbrtoc32; # introduced=21
DAndroid.bp1087 "bionic/mbrtoc32.cpp",