Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dc16rtomb.cpp55 return c32rtomb(s, static_cast<char32_t>(c16), state); in c16rtomb()
65 return reset_and_return(c32rtomb(s, c32, NULL), state); in c16rtomb()
Dc32rtomb.cpp35 size_t c32rtomb(char* s, char32_t c32, mbstate_t* ps) { in c32rtomb() function
Dwchar.cpp155 return c32rtomb(s, static_cast<char32_t>(wc), state); in wcrtomb()
/bionic/tests/
Duchar_test.cpp54 EXPECT_EQ(static_cast<size_t>(-1), c32rtomb(out, 0x00a2, &ps)); in TEST()
61 EXPECT_EQ(1U, c32rtomb(NULL, 0x00a2, &ps)); in TEST()
66 EXPECT_EQ(1U, c32rtomb(out, L'\0', &ps)); in TEST()
277 TEST(uchar, c32rtomb) { in TEST() argument
279 EXPECT_EQ(1U, c32rtomb(NULL, L'\0', NULL)); in TEST()
280 EXPECT_EQ(1U, c32rtomb(NULL, L'h', NULL)); in TEST()
284 EXPECT_EQ(1U, c32rtomb(bytes, L'\0', NULL)); in TEST()
287 EXPECT_EQ(1U, c32rtomb(bytes, L'h', NULL)); in TEST()
295 EXPECT_EQ(1U, c32rtomb(bytes, L'h', NULL)); in TEST()
299 EXPECT_EQ(2U, c32rtomb(bytes, 0x00a2, NULL)); in TEST()
[all …]
/bionic/libc/include/
Duchar.h41 size_t c32rtomb(char* __restrict, char32_t, mbstate_t* __restrict);
/bionic/libc/
DAndroid.mk98 bionic/c32rtomb.cpp \