Searched refs:bad_chars (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | wchar_test.cpp | 117 const wchar_t bad_chars[] = { L'h', L'i', static_cast<wchar_t>(0xffffffff), 0 }; in TEST() local 137 EXPECT_EQ(static_cast<size_t>(-1), wcstombs(NULL, bad_chars, 0)); in TEST() 140 EXPECT_EQ(static_cast<size_t>(-1), wcstombs(NULL, bad_chars, 256)); in TEST() 146 src = bad_chars; in TEST() 148 EXPECT_EQ(&bad_chars[0], src); in TEST() 151 src = bad_chars; in TEST() 153 EXPECT_EQ(&bad_chars[0], src); in TEST() 171 EXPECT_EQ(static_cast<size_t>(-1), wcstombs(bytes, bad_chars, 256)); in TEST() 206 src = bad_chars; in TEST() 208 EXPECT_EQ(&bad_chars[2], src); in TEST()
|