Lines Matching refs:src_len
620 size_t src_len = NUM_WCHARS(sizeof(src)) - 1; in TEST() local
621 EXPECT_EQ(dst + src_len, wcpncpy(dst, src, src_len + 1)); in TEST()
629 EXPECT_EQ(dst + src_len, wcpncpy(dst, src, src_len + 4)); in TEST()
631 EXPECT_EQ(dst[src_len], L'\0'); in TEST()
632 EXPECT_EQ(dst[src_len+1], L'\0'); in TEST()
633 EXPECT_EQ(dst[src_len+2], L'\0'); in TEST()
634 EXPECT_EQ(dst[src_len+3], L'\0'); in TEST()
635 EXPECT_EQ(dst[src_len+4], L'x'); in TEST()
650 size_t src_len = NUM_WCHARS(sizeof(src)) - 1; in TEST() local
651 EXPECT_EQ(dst, wcsncpy(dst, src, src_len + 1)); in TEST()
661 EXPECT_EQ(dst, wcsncpy(dst, src, src_len + 4)); in TEST()
663 EXPECT_EQ(dst[src_len], L'\0'); in TEST()
664 EXPECT_EQ(dst[src_len+1], L'\0'); in TEST()
665 EXPECT_EQ(dst[src_len+2], L'\0'); in TEST()
666 EXPECT_EQ(dst[src_len+3], L'\0'); in TEST()
667 EXPECT_EQ(dst[src_len+4], L'x'); in TEST()