Home
last modified time | relevance | path

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

/system/libbase/
Dutf8_test.cpp146 } convert_cases[] = { in TEST() local
171 for (size_t i = 0; i < arraysize(convert_cases); i++) { in TEST()
174 const bool success = UTF8ToWide(convert_cases[i].utf8, in TEST()
175 strlen(convert_cases[i].utf8), in TEST()
177 EXPECT_EQ(convert_cases[i].success, success); in TEST()
182 std::wstring expected(convert_cases[i].wide); in TEST()
210 } convert_cases[] = { in TEST() local
240 for (size_t i = 0; i < arraysize(convert_cases); i++) { in TEST()
243 const bool success = WideToUTF8(convert_cases[i].utf16, in TEST()
244 wcslen(convert_cases[i].utf16), in TEST()
[all …]