Lines Matching refs:src_len
491 size_t src_len = NUM_WCHARS(sizeof(src)) - 1; in TEST() local
492 EXPECT_EQ(dst + src_len, wcpncpy(dst, src, src_len + 1)); in TEST()
500 EXPECT_EQ(dst + src_len, wcpncpy(dst, src, src_len + 4)); in TEST()
502 EXPECT_EQ(dst[src_len], L'\0'); in TEST()
503 EXPECT_EQ(dst[src_len+1], L'\0'); in TEST()
504 EXPECT_EQ(dst[src_len+2], L'\0'); in TEST()
505 EXPECT_EQ(dst[src_len+3], L'\0'); in TEST()
506 EXPECT_EQ(dst[src_len+4], L'x'); in TEST()
521 size_t src_len = NUM_WCHARS(sizeof(src)) - 1; in TEST() local
522 EXPECT_EQ(dst, wcsncpy(dst, src, src_len + 1)); in TEST()
530 EXPECT_EQ(dst, wcsncpy(dst, src, src_len + 4)); in TEST()
532 EXPECT_EQ(dst[src_len], L'\0'); in TEST()
533 EXPECT_EQ(dst[src_len+1], L'\0'); in TEST()
534 EXPECT_EQ(dst[src_len+2], L'\0'); in TEST()
535 EXPECT_EQ(dst[src_len+3], L'\0'); in TEST()
536 EXPECT_EQ(dst[src_len+4], L'x'); in TEST()