/sendmail/sendmail/ |
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 | err.c | 1012 (void) sm_strlcpy(bp, err, SPACELEFT(buf, bp)); 1016 SPACELEFT(buf, bp)); 1018 (void) sm_snprintf(bp, SPACELEFT(buf, bp), 1026 (void) sm_snprintf(bp, SPACELEFT(buf, bp), 1033 (void) sm_snprintf(bp, SPACELEFT(buf, bp), 1039 SPACELEFT(buf, bp)); 1044 (void) sm_snprintf(bp, SPACELEFT(buf, bp), 1132 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, 1136 (void) sm_strlcpy(bp, dnsmsg, SPACELEFT(buf, bp));
|
H A D | util.c | 1802 (void) sm_snprintf(p, SPACELEFT(buf, p), "%3d: ", fd); 1815 (void) sm_snprintf(p, SPACELEFT(buf, p), 1822 (void) sm_snprintf(p, SPACELEFT(buf, p), "CLOSED"); 1831 (void) sm_snprintf(p, SPACELEFT(buf, p), "fl=0x%x, ", i); 1835 (void) sm_snprintf(p, SPACELEFT(buf, p), "mode=%o: ", 1842 (void) sm_snprintf(p, SPACELEFT(buf, p), "SOCK "); 1847 (void) sm_snprintf(p, SPACELEFT(buf, p), "(%s)", 1859 (void) sm_snprintf(p, SPACELEFT(buf, p), 1864 (void) sm_snprintf(p, SPACELEFT(buf, p), 1868 (void) sm_snprintf(p, SPACELEFT(bu [all...] |
H A D | headers.c | 1157 (void) sm_snprintf(p, SPACELEFT(hbuf, p), 1166 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp), 1173 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp), 1179 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp), 1186 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp), 1193 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp), 1217 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp), 1224 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp), 1974 ** XXX This is broken for SPACELEFT()==0 1975 ** However, SPACELEFT() i [all...] |
H A D | mci.c | 620 (void) sm_snprintf(p, SPACELEFT(buf, p), "MCI@%p: ", mci); 624 (void) sm_snprintf(p, SPACELEFT(buf, p), "NULL"); 627 (void) sm_snprintf(p, SPACELEFT(buf, p), "flags=%lx", mci->mci_flags); 648 (void) sm_strlcpyn(p, SPACELEFT(buf, p), 2, 656 (void) sm_snprintf(p, SPACELEFT(buf, p), 661 (void) sm_snprintf(p, SPACELEFT(buf, p), 667 (void) sm_snprintf(p, SPACELEFT(buf, p), 671 (void) sm_snprintf(p, SPACELEFT(buf, p),
|
H A D | deliver.c | 4030 (void) sm_strlcpy(bp, exmsg + 1, SPACELEFT(buf, bp)); 4068 SPACELEFT(buf, bp), 4075 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ": ", 4247 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", ctladdr=", 4252 (void) sm_snprintf(bp, SPACELEFT(buf, bp), " (%d/%d)", 4260 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", delay=", 4266 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", xdelay=", 4274 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", mailer=", 4280 (void) sm_snprintf(bp, SPACELEFT(buf, bp), ", pri=%ld", 4289 (void) sm_strlcpyn(bp, SPACELEFT(bu [all...] |
H A D | usersmtp.c | 2053 SPACELEFT(optbuf, bufp) > strlen(bodytype) + 7) 2055 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), 2090 SPACELEFT(optbuf, bufp) > strlen(e->e_envid) + 7) 2092 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), 2099 SPACELEFT(optbuf, bufp) > 9) 2101 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), 2110 SPACELEFT(optbuf, bufp) > strlen(e->e_auth_param) + 7 2116 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), 2127 IS_DLVR_BY(e) && SPACELEFT(optbuf, bufp) > 17) 2141 (void) sm_snprintf(bufp, SPACELEFT(optbu [all...] |
H A D | daemon.c | 3806 (void) sm_snprintf(p, SPACELEFT(hbuf, p), 3825 SPACELEFT(hbuf, p), 3845 (void) sm_snprintf(p, SPACELEFT(hbuf, p), "]"); 3854 (void) sm_snprintf(p, SPACELEFT(hbuf, p), " [%.100s]", 3860 (void) sm_strlcpy(p, " (may be forged)", SPACELEFT(hbuf, p)); 4376 (void) sm_snprintf(bp, SPACELEFT(buf, bp), "%02x:",
|
H A D | alias.c | 673 SPACELEFT(line, p)) < 0)
|
H A D | parseaddr.c | 3223 (void) sm_snprintf(p, SPACELEFT(lbuf, p), 3235 (void) sm_snprintf(p, SPACELEFT(lbuf, p),
|
H A D | conf.c | 2529 (void) sm_strlcpy(p, "sendmail: ", SPACELEFT(buf, p)); 2534 (void) sm_vsnprintf(p, SPACELEFT(buf, p), fmt, ap);
|
H A D | main.c | 3508 (void) sm_vsnprintf(p, SPACELEFT(buf, p), msg, ap);
|
/sendmail/include/sm/ |
H A D | string.h | 24 #define SPACELEFT(buf, ptr) (sizeof buf - ((ptr) - buf)) macro
|
/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));
|