Home
last modified time | relevance | path

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

/external/libchrome/base/strings/
Dstring_util_unittest.cc895 wchar_t wdst[10]; in TEST() local
898 EXPECT_EQ(7U, wcslcpy(wdst, L"abcdefg", arraysize(wdst))); in TEST()
899 EXPECT_EQ(0, memcmp(wdst, L"abcdefg", sizeof(wchar_t) * 8)); in TEST()
906 wchar_t wdst[2] = {1, 2}; in TEST() local
910 EXPECT_EQ(7U, wcslcpy(wdst, L"abcdefg", 0)); in TEST()
911 EXPECT_EQ(static_cast<wchar_t>(1), wdst[0]); in TEST()
912 EXPECT_EQ(static_cast<wchar_t>(2), wdst[1]); in TEST()
918 wchar_t wdst[8]; in TEST() local
921 EXPECT_EQ(7U, wcslcpy(wdst, L"abcdefg", arraysize(wdst))); in TEST()
922 EXPECT_EQ(0, memcmp(wdst, L"abcdefg", sizeof(wchar_t) * 8)); in TEST()
[all …]