Home
last modified time | relevance | path

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

/external/libchrome/base/strings/
Dstring_util_unittest.cc1107 wchar_t wdst[10]; in TEST() local
1110 EXPECT_EQ(7U, wcslcpy(wdst, L"abcdefg", arraysize(wdst))); in TEST()
1111 EXPECT_EQ(0, memcmp(wdst, L"abcdefg", sizeof(wchar_t) * 8)); in TEST()
1118 wchar_t wdst[2] = {1, 2}; in TEST() local
1122 EXPECT_EQ(7U, wcslcpy(wdst, L"abcdefg", 0)); in TEST()
1123 EXPECT_EQ(static_cast<wchar_t>(1), wdst[0]); in TEST()
1124 EXPECT_EQ(static_cast<wchar_t>(2), wdst[1]); in TEST()
1130 wchar_t wdst[8]; in TEST() local
1133 EXPECT_EQ(7U, wcslcpy(wdst, L"abcdefg", arraysize(wdst))); in TEST()
1134 EXPECT_EQ(0, memcmp(wdst, L"abcdefg", sizeof(wchar_t) * 8)); in TEST()
[all …]