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