Home
last modified time | relevance | path

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

/bionic/tests/
Duchar_test.cpp79 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc32(nullptr, "\xc2", 1, &ps)); in TEST()
90 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc32(nullptr, "\xc2", 1, &ps)); in TEST()
95 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc32(nullptr, "\xf0\xa4", 1, &ps)); in TEST()
360 ASSERT_EQ(3U, mbrtoc32(out, "\xef\xbf\xbe", 3, nullptr)); in TEST()
362 ASSERT_EQ(3U, mbrtoc32(out, "\xef\xbf\xbf", 3, nullptr)); in TEST()
372 auto result = mbrtoc32(&out, "\xf5\x80\x80\x80", 4, nullptr); in TEST()
384 TEST(uchar, mbrtoc32) { in TEST() argument
388 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc32(out, "hello", 0, nullptr)); in TEST()
391 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc32(out, "hello", 0, nullptr)); in TEST()
392 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc32(out, "", 0, nullptr)); in TEST()
[all …]
/bionic/libc/include/
Duchar.h85 size_t mbrtoc32(char32_t* _Nullable __ch32, const char* _Nullable __s, size_t __n, mbstate_t* _Null…
/bionic/libc/bionic/
Dmbrtoc16.cpp96 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/libc/
Dlibc.map.txt629 mbrtoc32; # introduced=21
DAndroid.bp875 "bionic/mbrtoc32.cpp",
/bionic/tools/versioner/platforms/
Dlibc.map.txt629 mbrtoc32; # introduced=21