Lines Matching refs:dst1
33 char src1[N][SIZE], dst1[SIZE], dst2[SIZE];
97 one = sm_strlcpyn(dst1, sizeof dst1, 3, src1[0], "/", src1[1]);
100 SM_TEST(strcmp(dst1, dst2) == 0);
101 one = sm_strlcpyn(dst1, 10, 3, src1[0], "/", src1[1]);
104 SM_TEST(strcmp(dst1, dst2) == 0);
105 one = sm_strlcpyn(dst1, 5, 3, src1[0], "/", src1[1]);
108 SM_TEST(strcmp(dst1, dst2) == 0);
109 one = sm_strlcpyn(dst1, 0, 3, src1[0], "/", src1[1]);
112 SM_TEST(strcmp(dst1, dst2) == 0);
113 one = sm_strlcpyn(dst1, sizeof dst1, 5, src1[0], "/", src1[1], "/", src1[2]);
116 SM_TEST(strcmp(dst1, dst2) == 0);
117 one = sm_strlcpyn(dst1, 15, 5, src1[0], "/", src1[1], "/", src1[2]);
120 SM_TEST(strcmp(dst1, dst2) == 0);
121 one = sm_strlcpyn(dst1, 20, 5, src1[0], "/", src1[1], "/", src1[2]);
124 SM_TEST(strcmp(dst1, dst2) == 0);
126 one = sm_strlcpyn(dst1, sizeof dst1, 0);
129 SM_TEST(strcmp(dst1, r) == 0);
130 one = sm_strlcpyn(dst1, 20, 1, src1[0]);
133 one = sm_strlcpyn(dst1, 2, 1, src1[0]);