Searched refs:bp (Results 1 - 18 of 18) sorted by relevance

/sendmail/libsm/
H A Dt-qic.c56 char *obp, *bp; local
63 bp = str2prt(line_in);
69 fprintf(stderr, "in: %s\n", bp);
70 bp = str2prt(line_back);
71 fprintf(stderr, "out:%s\n", bp);
77 fprintf(stderr, "%s -> ", bp);
78 bp = str2prt(obp);
79 fprintf(stderr, "%s\n", bp);
167 char *bp; local
169 bp
194 char *bp; local
223 char *bp; local
[all...]
H A Dmbdb.c243 register char *bp = buf; local
251 if (bp >= &buf[buflen - 1])
260 (void) sm_strlcpy(bp, user, buflen - (bp - buf));
261 *bp = toupper(*bp);
262 bp += strlen(bp);
268 *bp++ = Latin1ToASCII[(unsigned char) *p - 128];
271 *bp
[all...]
/sendmail/sendmail/
H A Dmime.c120 char *bp; local
499 bp = buf;
563 *bp = '\0';
567 bp = buf;
570 *bp++ = Base64Code[(c1 >> 2)];
575 *bp++ = Base64Code[c1];
576 *bp++ = '=';
577 *bp++ = '=';
581 *bp++ = Base64Code[c1];
586 *bp
751 static unsigned char *bp = NULL; local
[all...]
H A Derr.c981 char *bp; local
1003 bp = buf;
1012 (void) sm_strlcpy(bp, err, SPACELEFT(buf, bp));
1015 (void) sm_strlcpy(bp, sys_errlist[errnum],
1016 SPACELEFT(buf, bp));
1018 (void) sm_snprintf(bp, SPACELEFT(buf, bp),
1021 bp += strlen(bp);
[all...]
H A Dcollect.c289 register char *bp; local
324 buf = bp = bufbuf;
537 if (bp >= &buf[buflen - 2])
560 memmove(buf, obuf, bp - obuf);
561 bp = &buf[bp - obuf];
568 *bp++ = c;
591 *bp = '\0';
604 bp = buf;
651 SM_ASSERT(bp > bu
[all...]
H A Ddeliver.c4028 char *bp = buf; local
4030 (void) sm_strlcpy(bp, exmsg + 1, SPACELEFT(buf, bp));
4031 bp += strlen(bp);
4067 (void) sm_strlcpyn(bp,
4068 SPACELEFT(buf, bp),
4071 bp += strlen(bp);
4075 (void) sm_strlcpyn(bp, SPACELEF
4236 register char *bp; local
4702 register char *bp; local
[all...]
H A Ddomain.c198 register char *bp; local
323 bp = MXHostBuf;
331 (RES_UNC_T) bp, buflen)) < 0)
348 (RES_UNC_T) bp, buflen)) < 0)
351 n = strlen(bp);
363 if (wordinclass(bp, 'w'))
367 bp, pref);
378 weight[nmx] = mxrand(bp);
380 mxhosts[nmx++] = bp;
381 bp
[all...]
H A Dheaders.c1295 #define SM_HAVE_ROOM ((bp < buflim) && (buflim <= bufend))
1298 ** Append a character to bp if we have room.
1306 *bp++ = (c); \
1334 register char *bp; local
1345 bp = bufhead = buf;
1353 bufhead = bp;
1422 if (bp != bufhead)
1445 if (copylev > 0 && SM_HAVE_ROOM && bp > bufhead)
1446 bp--;
1483 bp
2289 char *bp; local
[all...]
H A Dmacro.c611 char *bp; local
646 bp = mbuf;
647 while (*++p != '\0' && *p != '}' && bp < &mbuf[sizeof(mbuf) - 1])
650 *bp++ = *p;
654 *bp = '\0';
H A Dreadcf.c96 char *bp; local
166 (bp = fgetfolded(buf, &bufsize, cf)) != NULL)
170 if (bp[0] == '#')
172 if (bp != buf)
173 sm_free(bp); /* XXX */
178 nbp = translate_dollars(bp, bp, &bufsize);
179 if (nbp != bp && bp != buf)
180 sm_free(bp);
782 char *bp; local
857 xputs(sm_debug_file(), bp); local
[all...]
H A Dmilter.c1891 char *buf, *bp; local
1917 bp = buf;
1918 *bp++ = command;
1933 (void) sm_strlcpy(bp, macros[i], s - (bp - buf));
1934 bp += strlen(bp) + 1;
1935 (void) sm_strlcpy(bp, exp, s - (bp - buf));
1936 bp
2767 char *bp; local
3888 char *buf, *bp; local
4074 char *buf, *bp; local
4175 char *buf, *bp; local
[all...]
H A Dutil.c1398 char *bp = buf; local
1433 nn = (p - bp);
1439 memmove(nbp, bp, p - bp);
1440 p = &nbp[p - bp];
1441 if (bp != buf)
1442 sm_free(bp);
1443 bp = nbp;
1444 n = nn - (p - bp);
1458 if (p == bp)
2323 static char *bp = NULL; local
[all...]
H A Dqueue.c3939 char *bp; local
3958 bp = NULL;
4071 bp = SM_LAST_DIR_DELIM(qf);
4072 if (bp == NULL)
4076 delim = *bp;
4077 *bp = '\0';
4089 *bp = delim;
4090 bp = NULL;
4174 (bp = fgetfolded(buf, &bufsize, qfp)) != NULL)
4183 sm_dprintf("+++++ %s\n", bp);
8514 char *bp; local
[all...]
H A Dsavemail.c1528 static char *bp = NULL; local
1558 if (bp != NULL)
1559 sm_free(bp); /* XXX */
1560 bp = sm_pmalloc_x(l);
1565 for (p = bp; *t != '\0'; )
1581 return bp;
1600 static char *bp = NULL; local
1611 if (bp != NULL)
1612 sm_free(bp); /* XXX */
1613 bp
[all...]
H A Denvelope.c980 char *bp; local
1185 bp = buf + 1;
1186 cataddr(pvp, NULL, bp, sizeof(buf) - 2, '\0', false);
1187 if (*bp == '@' && !bitnset(M_NOBRACKET, e->e_from.q_mailer->m_flags))
1190 (void) sm_strlcat(bp, ">", sizeof(buf) - 1);
1191 *--bp = '<';
1193 e->e_sender = sm_rpool_strdup_x(e->e_rpool, bp);
H A Ddaemon.c4322 register char *bp; local
4372 bp = &buf[strlen(buf)];
4376 (void) sm_snprintf(bp, SPACELEFT(buf, bp), "%02x:",
4378 bp += 3;
4380 *--bp = '\0';
H A Dmap.c323 register char *bp; local
378 bp = buf;
381 memmove(bp, s, slen);
382 bp += slen;
396 *bp++ = c;
407 *bp++ = '%';
417 *bp++ = c;
421 (void) sm_strlcpy(bp, map->map_app, len);
423 *bp = '\0';
H A Dsrvrsmtp.c1044 struct timeval bp, ep, tp; /* {begin,end,total}pause */ local
1062 gettimeofday(&bp, NULL);
1072 timersub(&ep, &bp, &tp);

Completed in 984 milliseconds