Searched refs:s2 (Results 1 - 9 of 9) sorted by relevance

/sendmail/libsm/
H A Dt-strrevcmp.c24 char *s2; local
29 s2 = "equal";
30 SM_TEST(sm_strrevcmp(s1, s2) == 0);
33 s2 = "qual";
34 SM_TEST(sm_strrevcmp(s1, s2) > 0);
37 s2 = "equal";
38 SM_TEST(sm_strrevcmp(s1, s2) < 0);
41 s2 = "equal";
42 SM_TEST(sm_strrevcmp(s1, s2) < 0);
45 s2
[all...]
H A Dstrrevcmp.c26 ** s2 -- second string.
29 ** strcasecmp(reverse(s1), reverse(s2))
33 sm_strrevcasecmp(s1, s2)
34 const char *s1, *s2;
39 i2 = strlen(s2) - 1;
42 charmap[(unsigned char) s2[i2]])
60 charmap[(unsigned char) s2[i2]]);
68 ** s2 -- second string.
71 ** strcmp(reverse(s1), reverse(s2))
75 sm_strrevcmp(s1, s2)
[all...]
H A Dstrcasecmp.c70 sm_strcasecmp(s1, s2)
71 const char *s1, *s2;
74 const unsigned char *us2 = (const unsigned char *)s2;
87 sm_strncasecmp(s1, s2, n)
88 const char *s1, *s2;
95 register const unsigned char *us2 = (const unsigned char *)s2;
H A Dt-strl.c29 char *s1, *s2, *s3; local
36 s2 = "123";
42 SM_TEST(sm_strlcat(s3, s2, 8) == 6);
50 SM_TEST(sm_strlcat(s3, s2, 3) == 4);
56 SM_TEST(sm_strlcat2(s3, r, s2, MAXL) == 7);
62 SM_TEST(sm_strlcat2(s3, r, s2, 6) == 7);
68 SM_TEST(sm_strlcat2(s3, r, s2, 2) == 7);
74 SM_TEST(sm_strlcat2(s3, r, s2, 4) == 7);
80 SM_TEST(sm_strlcat2(s3, r, s2, 5) == 7);
86 SM_TEST(sm_strlcat2(s3, r, s2,
[all...]
H A Dt-qic.c24 show_diff(s1, s2)
26 const char *s2;
30 for (i = 0; s1[i] != '\0' && s2[i] != '\0'; i++)
32 if (s1[i] != s2[i])
34 fprintf(stderr, "i=%d, s1[]=%u, s2[]=%u\n",
36 (unsigned char) s2[i]);
40 if (s1[i] != s2[i])
42 fprintf(stderr, "i=%d, s1[]=%u, s2[]=%u\n",
43 i, (unsigned char) s1[i], (unsigned char) s2[i]);
/sendmail/sendmail/
H A Dsasl.c153 ** s1, s2 -- lists of items (separated by single blanks).
161 intersect(s1, s2, rpool)
162 char *s1, *s2;
168 if (s1 == NULL || s2 == NULL) /* NULL string(s) -> NULL result */
171 l2 = strlen(s2);
191 /* does the current word appear in s2 ? */
192 if (iteminlist(h1, s2, " ") != NULL)
H A Dtls.c1369 char *vers, *s1, *s2, *cbits, *algbits; local
1375 s2 = macget(mac, macid("{cipher}"));
1382 vers, s1, s2, /* sm_snprintf() can deal with NULL */
1395 s2 = macget(mac, macid("{cert_issuer}"));
1398 who, s1, s2,
H A Dusersmtp.c315 ** s1, s2 -- lists of items (separated by single blanks).
323 str_union(s1, s2, rpool)
324 char *s1, *s2;
331 return s2;
332 if (s2 == NULL || *s2 == '\0')
335 l2 = strlen(s2);
350 return s2;
354 h1 = s2;
355 h = s2;
[all...]
/sendmail/libmilter/
H A Dengine.c1791 ** s1,s2 -- pointer to result strings
1798 dec_arg2(buf, len, s1, s2)
1802 char **s2;
1814 *s2 = buf + i + 1;

Completed in 1580 milliseconds