Lines Matching defs:dst2
33 char src1[N][SIZE], dst1[SIZE], dst2[SIZE];
98 two = sm_snprintf(dst2, sizeof dst2, "%s/%s", src1[0], src1[1]);
100 SM_TEST(strcmp(dst1, dst2) == 0);
102 two = sm_snprintf(dst2, 10, "%s/%s", src1[0], src1[1]);
104 SM_TEST(strcmp(dst1, dst2) == 0);
106 two = sm_snprintf(dst2, 5, "%s/%s", src1[0], src1[1]);
108 SM_TEST(strcmp(dst1, dst2) == 0);
110 two = sm_snprintf(dst2, 0, "%s/%s", src1[0], src1[1]);
112 SM_TEST(strcmp(dst1, dst2) == 0);
114 two = sm_snprintf(dst2, sizeof dst2, "%s/%s/%s", src1[0], src1[1], src1[2]);
116 SM_TEST(strcmp(dst1, dst2) == 0);
118 two = sm_snprintf(dst2, 15, "%s/%s/%s", src1[0], src1[1], src1[2]);
120 SM_TEST(strcmp(dst1, dst2) == 0);
122 two = sm_snprintf(dst2, 20, "%s/%s/%s", src1[0], src1[1], src1[2]);
124 SM_TEST(strcmp(dst1, dst2) == 0);
131 two = sm_snprintf(dst2, 20, "%s", src1[0]);
134 two = sm_snprintf(dst2, 2, "%s", src1[0]);