Searched refs:RoundTrip (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | iconv_test.cpp | 291 static void RoundTrip(const char* dst_enc, const char* expected_bytes, size_t n) { in RoundTrip() function 335 RoundTrip("ascii//TRANSLIT", "$??", 3); in TEST() 339 RoundTrip("utf8", "\x24\xe2\x82\xac\xf0\x90\x90\xb7", 8); in TEST() 343 RoundTrip("utf16be", "\x00\x24" "\x20\xac" "\xd8\x01\xdc\x37", 8); in TEST() 347 RoundTrip("utf16le", "\x24\x00" "\xac\x20" "\x01\xd8\x37\xdc", 8); in TEST() 351 RoundTrip("utf32be", "\x00\x00\x00\x24" "\x00\x00\x20\xac" "\x00\x01\x04\x37", 12); in TEST() 355 RoundTrip("utf32le", "\x24\x00\x00\x00" "\xac\x20\x00\x00" "\x37\x04\x01\x00", 12); in TEST() 359 RoundTrip("wchar_t", "\x24\x00\x00\x00" "\xac\x20\x00\x00" "\x37\x04\x01\x00", 12); in TEST()
|