Home | History | Annotate | Download | only in base

Lines Matching full:wdst

1348     wchar_t wdst[10];
1351 EXPECT_EQ(7U, base::wcslcpy(wdst, L"abcdefg", arraysize(wdst)));
1352 EXPECT_EQ(0, memcmp(wdst, L"abcdefg", sizeof(wchar_t) * 8));
1359 wchar_t wdst[2] = {1, 2};
1363 EXPECT_EQ(7U, base::wcslcpy(wdst, L"abcdefg", 0));
1365 EXPECT_EQ(1U, wdst[0]);
1366 EXPECT_EQ(2U, wdst[1]);
1368 EXPECT_EQ(1, wdst[0]);
1369 EXPECT_EQ(2, wdst[1]);
1376 wchar_t wdst[8];
1379 EXPECT_EQ(7U, base::wcslcpy(wdst, L"abcdefg", arraysize(wdst)));
1380 EXPECT_EQ(0, memcmp(wdst, L"abcdefg", sizeof(wchar_t) * 8));
1386 wchar_t wdst[7];
1389 EXPECT_EQ(7U, base::wcslcpy(wdst, L"abcdefg", arraysize(wdst)));
1390 EXPECT_EQ(0, memcmp(wdst, L"abcdef", sizeof(wchar_t) * 7));
1396 wchar_t wdst[3];
1399 EXPECT_EQ(7U, base::wcslcpy(wdst, L"abcdefg", arraysize(wdst)));
1400 EXPECT_EQ(0, memcmp(wdst, L"ab", sizeof(wchar_t) * 3));