/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | convtime.c | 161 (void) sm_snprintf(p, SPACELEFT(buf, p), "%d+", dy); 164 (void) sm_snprintf(p, SPACELEFT(buf, p), "%02d:%02d:%02d", 172 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d week%s", wk, 178 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d day%s", dy, 184 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d hour%s", hr, 190 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d minute%s", mi, 196 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d second%s", se,
|
H A D | util.c | 1803 (void) sm_snprintf(p, SPACELEFT(buf, p), "%3d: ", fd); 1816 (void) sm_snprintf(p, SPACELEFT(buf, p), 1823 (void) sm_snprintf(p, SPACELEFT(buf, p), "CLOSED"); 1832 (void) sm_snprintf(p, SPACELEFT(buf, p), "fl=0x%x, ", i); 1836 (void) sm_snprintf(p, SPACELEFT(buf, p), "mode=%o: ", 1843 (void) sm_snprintf(p, SPACELEFT(buf, p), "SOCK "); 1848 (void) sm_snprintf(p, SPACELEFT(buf, p), "(%s)", 1860 (void) sm_snprintf(p, SPACELEFT(buf, p), 1865 (void) sm_snprintf(p, SPACELEFT(buf, p), 1869 (void) sm_snprintf(p, SPACELEFT(buf, p), [all …]
|
H A D | err.c | 1010 (void) sm_strlcpy(bp, err, SPACELEFT(buf, bp)); 1014 SPACELEFT(buf, bp)); 1016 (void) sm_snprintf(bp, SPACELEFT(buf, bp), 1024 (void) sm_snprintf(bp, SPACELEFT(buf, bp), 1031 (void) sm_snprintf(bp, SPACELEFT(buf, bp), 1037 SPACELEFT(buf, bp)); 1042 (void) sm_snprintf(bp, SPACELEFT(buf, bp), 1130 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, 1134 (void) sm_strlcpy(bp, dnsmsg, SPACELEFT(buf, bp));
|
H A D | headers.c | 1143 (void) sm_snprintf(p, SPACELEFT(hbuf, p), 1152 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp), 1159 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp), 1165 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp), 1172 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp), 1179 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp), 1203 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp), 1210 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp), 1964 if (SPACELEFT(obuf, obp) - 1 < (size_t) l) 1965 l = SPACELEFT(obuf, obp) - 1; [all …]
|
H A D | mci.c | 593 (void) sm_snprintf(p, SPACELEFT(buf, p), "MCI@%p: ", mci); 597 (void) sm_snprintf(p, SPACELEFT(buf, p), "NULL"); 600 (void) sm_snprintf(p, SPACELEFT(buf, p), "flags=%lx", mci->mci_flags); 621 (void) sm_strlcpyn(p, SPACELEFT(buf, p), 2, 629 (void) sm_snprintf(p, SPACELEFT(buf, p), 634 (void) sm_snprintf(p, SPACELEFT(buf, p), 640 (void) sm_snprintf(p, SPACELEFT(buf, p), 644 (void) sm_snprintf(p, SPACELEFT(buf, p),
|
H A D | usersmtp.c | 2047 SPACELEFT(optbuf, bufp) > strlen(bodytype) + 7) 2049 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), 2084 SPACELEFT(optbuf, bufp) > strlen(e->e_envid) + 7) 2086 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), 2093 SPACELEFT(optbuf, bufp) > 9) 2095 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), 2104 SPACELEFT(optbuf, bufp) > strlen(e->e_auth_param) + 7 2110 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), 2121 IS_DLVR_BY(e) && SPACELEFT(optbuf, bufp) > 17) 2135 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), [all …]
|
H A D | deliver.c | 4022 (void) sm_strlcpy(bp, exmsg + 1, SPACELEFT(buf, bp)); 4060 SPACELEFT(buf, bp), 4067 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ": ", 4239 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", ctladdr=", 4244 (void) sm_snprintf(bp, SPACELEFT(buf, bp), " (%d/%d)", 4252 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", delay=", 4258 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", xdelay=", 4266 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", mailer=", 4272 (void) sm_snprintf(bp, SPACELEFT(buf, bp), ", pri=%ld", 4281 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", relay=", [all …]
|
H A D | daemon.c | 3799 (void) sm_snprintf(p, SPACELEFT(hbuf, p), 3818 SPACELEFT(hbuf, p), 3838 (void) sm_snprintf(p, SPACELEFT(hbuf, p), "]"); 3847 (void) sm_snprintf(p, SPACELEFT(hbuf, p), " [%.100s]", 3853 (void) sm_strlcpy(p, " (may be forged)", SPACELEFT(hbuf, p)); 4363 for (l = sizeof(sap->sa.sa_data); --l >= 0 && SPACELEFT(buf, bp) > 3; ) 4365 (void) sm_snprintf(bp, SPACELEFT(buf, bp), "%02x:",
|
H A D | alias.c | 673 SPACELEFT(line, p)) == NULL)
|
H A D | parseaddr.c | 3214 (void) sm_snprintf(p, SPACELEFT(lbuf, p), 3226 (void) sm_snprintf(p, SPACELEFT(lbuf, p),
|
H A D | conf.c | 2525 (void) sm_strlcpy(p, "sendmail: ", SPACELEFT(buf, p)); 2530 (void) sm_vsnprintf(p, SPACELEFT(buf, p), fmt, ap);
|
H A D | main.c | 3505 (void) sm_vsnprintf(p, SPACELEFT(buf, p), msg, ap);
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | ldap.c | 350 (void) sm_snprintf(fp, SPACELEFT(filter, fp), 360 (void) sm_snprintf(fp, SPACELEFT(filter, fp), 366 while (SPACELEFT(filter, fp) > 0 && 378 SPACELEFT(filter, fp)); 388 (void) sm_snprintf(fp, SPACELEFT(filter, fp), 394 (void) sm_strlcpy(fp, p, SPACELEFT(filter, fp));
|
/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | string.h | 24 #define SPACELEFT(buf, ptr) (sizeof buf - ((ptr) - buf)) macro
|