Searched refs:src1 (Results 1 - 3 of 3) sorted by relevance
/sendmail/libsm/ |
H A D | t-strl.c | 31 char src1[N][SIZE], dst1[SIZE], dst2[SIZE]; local 92 (void) sm_strlcpy(src1[k], "abcdef", sizeof src1); 95 one = sm_strlcpyn(dst1, sizeof dst1, 3, src1[0], "/", src1[1]); 96 two = sm_snprintf(dst2, sizeof dst2, "%s/%s", src1[0], src1[1]); 99 one = sm_strlcpyn(dst1, 10, 3, src1[0], "/", src1[1]); 100 two = sm_snprintf(dst2, 10, "%s/%s", src1[ [all...] |
H A D | b-strcmp.c | 56 char src1[SIZE], src2[SIZE]; local 87 (void) sm_strlcpy(src1, "1234567890", SIZE); 91 (void) sm_strlcpy(src1, "1234567890", SIZE); 95 (void) sm_strlcpy(src1, "1234567892", SIZE); 100 k, src1, src2); 108 j += strcasecmp(src1, src2); 119 j += sm_strcasecmp(src1, src2);
|
H A D | strl.c | 129 ** dst = dst "+" src1 "+" src2 130 ** use this instead of sm_strlcat(dst,src1); sm_strlcat(dst,src2); 135 ** src1 -- "from" string 1. 148 sm_strlcat2(dst, src1, src2, len) 150 register const char *src1; 161 return o + strlen(src1) + strlen(src2); 165 /* copy the first string; i: index in src1; j: index in dst */ 166 for (i = 0, j = o; i < len && (dst[j] = src1[i]) != 0; i++, j++) 169 /* src1: end reached? */ 170 if (src1[ [all...] |
Completed in 14 milliseconds