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

/bionic/libc/include/
H A Duchar.h41 size_t c32rtomb(char* __restrict, char32_t, mbstate_t* __restrict);
/bionic/libc/bionic/
H A Dc16rtomb.cpp55 return c32rtomb(s, static_cast<char32_t>(c16), state);
65 return reset_and_return(c32rtomb(s, c32, NULL), state);
H A Dc32rtomb.cpp35 size_t c32rtomb(char* s, char32_t c32, mbstate_t* ps) { function
40 // Equivalent to c32rtomb(buf, U'\0', ps).
H A Dwchar.cpp155 return c32rtomb(s, static_cast<char32_t>(wc), state);
/bionic/tests/
H A Duchar_test.cpp51 // Any non-initial state is invalid when calling c32rtomb.
54 EXPECT_EQ(static_cast<size_t>(-1), c32rtomb(out, 0x00a2, &ps));
57 // If the first argument to c32rtomb is NULL or the second is L'\0' the shift
61 EXPECT_EQ(1U, c32rtomb(NULL, 0x00a2, &ps));
66 EXPECT_EQ(1U, c32rtomb(out, L'\0', &ps));
277 TEST(uchar, c32rtomb) {
279 EXPECT_EQ(1U, c32rtomb(NULL, L'\0', NULL));
280 EXPECT_EQ(1U, c32rtomb(NULL, L'h', NULL));
284 EXPECT_EQ(1U, c32rtomb(bytes, L'\0', NULL));
287 EXPECT_EQ(1U, c32rtomb(byte
[all...]
/bionic/libc/
H A DAndroid.mk96 bionic/c32rtomb.cpp \

Completed in 128 milliseconds