/titanic_44/usr/src/cmd/sendmail/src/ |
H A D | convtime.c | 163 (void) sm_snprintf(p, SPACELEFT(buf, p), "%d+", dy); 166 (void) sm_snprintf(p, SPACELEFT(buf, p), "%02d:%02d:%02d", 174 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d week%s", wk, 180 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d day%s", dy, 186 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d hour%s", hr, 192 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d minute%s", mi, 198 (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 | 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 | 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 | 595 (void) sm_snprintf(p, SPACELEFT(buf, p), "MCI@%p: ", mci); 599 (void) sm_snprintf(p, SPACELEFT(buf, p), "NULL"); 602 (void) sm_snprintf(p, SPACELEFT(buf, p), "flags=%lx", mci->mci_flags); 623 (void) sm_strlcpyn(p, SPACELEFT(buf, p), 2, 631 (void) sm_snprintf(p, SPACELEFT(buf, p), 636 (void) sm_snprintf(p, SPACELEFT(buf, p), 642 (void) sm_snprintf(p, SPACELEFT(buf, p), 646 (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)); 4365 (void) sm_snprintf(bp, SPACELEFT(buf, bp), "%02x:",
|
H A D | alias.c | 675 SPACELEFT(line, p)) == NULL)
|
H A D | parseaddr.c | 3216 (void) sm_snprintf(p, SPACELEFT(lbuf, p), 3228 (void) sm_snprintf(p, SPACELEFT(lbuf, p),
|
H A D | conf.c | 2524 (void) sm_strlcpy(p, "sendmail: ", SPACELEFT(buf, p)); 2529 (void) sm_vsnprintf(p, SPACELEFT(buf, p), fmt, ap);
|
H A D | main.c | 3505 (void) sm_vsnprintf(p, SPACELEFT(buf, p), msg, ap);
|
/titanic_44/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));
|
/titanic_44/usr/src/cmd/sendmail/include/sm/ |
H A D | string.h | 26 #define SPACELEFT(buf, ptr) (sizeof buf - ((ptr) - buf)) macro
|