Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/sendmail/src/
H A Dconvtime.c163 (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 Dutil.c1803 (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 Derr.c1012 (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 Dheaders.c1143 (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 Dmci.c595 (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 Dusersmtp.c2047 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 Ddeliver.c4022 (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 Ddaemon.c3799 (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 Dalias.c675 SPACELEFT(line, p)) == NULL)
H A Dparseaddr.c3216 (void) sm_snprintf(p, SPACELEFT(lbuf, p),
3228 (void) sm_snprintf(p, SPACELEFT(lbuf, p),
H A Dconf.c2524 (void) sm_strlcpy(p, "sendmail: ", SPACELEFT(buf, p));
2529 (void) sm_vsnprintf(p, SPACELEFT(buf, p), fmt, ap);
H A Dmain.c3505 (void) sm_vsnprintf(p, SPACELEFT(buf, p), msg, ap);
/titanic_44/usr/src/cmd/sendmail/libsm/
H A Dldap.c350 (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 Dstring.h26 #define SPACELEFT(buf, ptr) (sizeof buf - ((ptr) - buf)) macro