Home
last modified time | relevance | path

Searched refs:SPACELEFT (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/sendmail/src/
H A Dconvtime.c162 (void) sm_snprintf(p, SPACELEFT(buf, p), "%d+", dy);
165 (void) sm_snprintf(p, SPACELEFT(buf, p), "%02d:%02d:%02d",
173 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d week%s", wk,
179 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d day%s", dy,
185 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d hour%s", hr,
191 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d minute%s", mi,
197 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d second%s", se,
H A Dutil.c1947 (void) sm_snprintf(p, SPACELEFT(buf, p), "%3d: ", fd);
1960 (void) sm_snprintf(p, SPACELEFT(buf, p),
1967 (void) sm_snprintf(p, SPACELEFT(buf, p), "CLOSED");
1976 (void) sm_snprintf(p, SPACELEFT(buf, p), "fl=0x%x, ", i);
1980 (void) sm_snprintf(p, SPACELEFT(buf, p), "mode=%o: ",
1987 (void) sm_snprintf(p, SPACELEFT(buf, p), "SOCK ");
1992 (void) sm_snprintf(p, SPACELEFT(buf, p), "(%s)",
2004 (void) sm_snprintf(p, SPACELEFT(buf, p),
2009 (void) sm_snprintf(p, SPACELEFT(buf, p),
2013 (void) sm_snprintf(p, SPACELEFT(buf, p),
[all …]
H A Derr.c1171 (void) sm_strlcpy(bp, err, SPACELEFT(buf, bp));
1175 SPACELEFT(buf, bp));
1177 (void) sm_snprintf(bp, SPACELEFT(buf, bp),
1185 (void) sm_snprintf(bp, SPACELEFT(buf, bp),
1192 (void) sm_snprintf(bp, SPACELEFT(buf, bp),
1198 SPACELEFT(buf, bp));
1203 (void) sm_snprintf(bp, SPACELEFT(buf, bp),
1291 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2,
1295 (void) sm_strlcpy(bp, dnsmsg, SPACELEFT(buf, bp));
H A Dheaders.c1197 (void) sm_snprintf(p, SPACELEFT(hbuf, p),
1215 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp),
1225 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp),
1231 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp),
1238 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp),
1245 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp),
1255 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp), ", auth=%.20s", p);
1285 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp),
1292 (void) sm_snprintf(sbp, SPACELEFT(sbuf, sbp),
2058 if (SPACELEFT(obuf, obp) - 1 < (size_t) l)
[all …]
H A Dmci.c667 (void) sm_snprintf(p, SPACELEFT(buf, p), "MCI@%p: ", (void *)mci);
671 (void) sm_snprintf(p, SPACELEFT(buf, p), "NULL");
674 (void) sm_snprintf(p, SPACELEFT(buf, p), "flags=%lx", mci->mci_flags);
695 (void) sm_strlcpyn(p, SPACELEFT(buf, p), 2,
703 (void) sm_snprintf(p, SPACELEFT(buf, p),
708 (void) sm_snprintf(p, SPACELEFT(buf, p),
714 (void) sm_snprintf(p, SPACELEFT(buf, p),
718 (void) sm_snprintf(p, SPACELEFT(buf, p),
H A Dusersmtp.c2139 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp),
2155 SPACELEFT(optbuf, bufp) > strlen(bodytype) + 7)
2157 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp),
2192 SPACELEFT(optbuf, bufp) > strlen(e->e_envid) + 7)
2194 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp),
2201 SPACELEFT(optbuf, bufp) > 9)
2203 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp),
2212 SPACELEFT(optbuf, bufp) > strlen(e->e_auth_param) + 7
2218 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp),
2229 IS_DLVR_BY(e) && SPACELEFT(optbuf, bufp) > 17)
[all …]
H A Ddeliver.c5092 (void) sm_strlcpy(bp, exmsg + 1, SPACELEFT(buf, bp));
5130 SPACELEFT(buf, bp),
5137 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ": ",
5145 SPACELEFT(buf, bp));
5356 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", ctladdr=",
5361 (void) sm_snprintf(bp, SPACELEFT(buf, bp), " (%d/%d)",
5369 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", delay=",
5375 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", xdelay=",
5383 (void) sm_strlcpyn(bp, SPACELEFT(buf, bp), 2, ", mailer=",
5393 (void) sm_snprintf(bp, SPACELEFT(buf, bp), ", pri=%ld",
[all …]
H A Ddaemon.c4017 (void) sm_snprintf(p, SPACELEFT(hbuf, p),
4036 SPACELEFT(hbuf, p),
4056 (void) sm_snprintf(p, SPACELEFT(hbuf, p), "]");
4065 (void) sm_snprintf(p, SPACELEFT(hbuf, p), " [%.100s]",
4071 (void) sm_strlcpy(p, " (may be forged)", SPACELEFT(hbuf, p));
4626 for (l = sizeof(sap->sa.sa_data); --l >= 0 && SPACELEFT(buf, bp) > 3; )
4628 (void) sm_snprintf(bp, SPACELEFT(buf, bp), "%02x:",
H A Dsendmail.h248 (void) sm_snprintf(bp, SPACELEFT(buf, bp), ", tls_version=%.10s", p); \
253 (void) sm_snprintf(bp, SPACELEFT(buf, bp), ", cipher=%.20s", p); \
263 (void) sm_snprintf(bp, SPACELEFT(buf, bp), ", tls_verify=%.20s", p); \
H A Dalias.c755 SPACELEFT(lbuf, p))) < 0)
H A Dparseaddr.c3315 (void) sm_snprintf(p, SPACELEFT(lbuf, p),
3327 (void) sm_snprintf(p, SPACELEFT(lbuf, p),
H A Dconf.c2602 (void) sm_strlcpy(p, "sendmail: ", SPACELEFT(buf, p));
2607 (void) sm_vsnprintf(p, SPACELEFT(buf, p), fmt, ap);
H A Dmain.c3649 (void) sm_vsnprintf(p, SPACELEFT(buf, p), msg, ap);
/freebsd/contrib/sendmail/libsm/
H A Dldap.c626 (void) sm_snprintf(fp, SPACELEFT(filter, fp),
636 (void) sm_snprintf(fp, SPACELEFT(filter, fp),
642 while (SPACELEFT(filter, fp) > 0 &&
654 SPACELEFT(filter, fp));
664 (void) sm_snprintf(fp, SPACELEFT(filter, fp),
670 (void) sm_strlcpy(fp, p, SPACELEFT(filter, fp));
/freebsd/contrib/sendmail/include/sm/
H A Dstring.h24 #define SPACELEFT(buf, ptr) (sizeof buf - ((ptr) - buf)) macro