Searched refs:SM_ASSERT (Results 1 - 25 of 29) sorted by last modified time

12

/freebsd-11-stable/contrib/sendmail/src/
H A Dutil.c40 SM_ASSERT(l + 1 > l);
2509 SM_ASSERT(ProcListSize < INT_MAX - PROC_LIST_SEG);
2549 SM_ASSERT(CurChildren < INT_MAX);
H A Dtlsh.c130 SM_ASSERT(cert != NULL);
131 SM_ASSERT(fp != NULL);
132 SM_ASSERT(mdalg != NULL);
196 SM_ASSERT(rr != NULL);
H A Dtls.c962 SM_ASSERT(ctx != NULL);
1135 SM_ASSERT(store != NULL);
1619 SM_ASSERT((n * 3) + 2 < sizeof(md5h));
H A Dsrvrsmtp.c1228 SM_ASSERT(q != NULL || OpMode == MD_SMTP);
5643 SM_ASSERT(val != NULL);
5644 SM_ASSERT(user != NULL);
5645 SM_ASSERT(user_len > 0);
5735 /* SM_ASSERT(len > 0); see above */
H A Dsm_resolve.c1570 SM_ASSERT(i < SM_MAX_ADDRS);
H A Dsfsasl.c966 SM_ASSERT(con != NULL);
H A Drecipient.c222 SM_ASSERT(p < endp);
227 SM_ASSERT(p < endp);
231 SM_ASSERT(p < endp);
789 SM_ASSERT(pq != NULL);
H A Dreadcf.c1260 SM_ASSERT(0);
H A Dqueue.c2678 SM_ASSERT(wn >= 0);
6189 SM_ASSERT(cp != NULL);
6194 SM_ASSERT(len >= blen - 1);
6235 SM_ASSERT(off < sizeof(relpath));
7253 SM_ASSERT(len > 0);
7282 SM_ASSERT(basedir[len - 1] == '/');
7372 SM_ASSERT(!owner);
8551 SM_ASSERT(j < l);
8650 SM_ASSERT(j < l);
H A Dparseaddr.c1499 SM_ASSERT(0);
1523 SM_ASSERT(0);
H A Dmilter.c2241 SM_ASSERT(idx >= 0 && idx <= MAXFILTERS);
2302 SM_ASSERT(m != NULL);
2303 SM_ASSERT(buf != NULL);
2329 SM_ASSERT(m->mf_idx > 0 && m->mf_idx < MAXFILTERS);
2720 SM_ASSERT(len_n < len_f);
2723 SM_ASSERT(len_t >= len_n + 1 + len_v + 1);
2903 SM_ASSERT(str != NULL);
2905 SM_ASSERT(l + 2 > l);
3338 SM_ASSERT(response != NULL);
3339 SM_ASSERT(parg
[all...]
H A Dmap.c8548 SM_ASSERT(nettolen > strlen(map->map_mname));
8549 SM_ASSERT(nettolen > strlen(key));
H A Dheaders.c142 SM_ASSERT(p <= q);
574 SM_ASSERT(l + 2 > l);
692 SM_ASSERT(last != NULL);
2074 SM_ASSERT(sizeof(obuf) > opos * 2);
2088 SM_ASSERT(obp < &obuf[MAXLINE]);
H A Ddomain.c300 SM_ASSERT(dane_tlsa != NULL);
724 SM_ASSERT(buflen > 0);
1340 SM_ASSERT(sli < SLSIZE);
1354 SM_ASSERT(sli < SLSIZE);
1361 SM_ASSERT(sli < SLSIZE);
1470 SM_ASSERT(ret >= 0);
H A Ddeliver.c1435 SM_ASSERT(e->e_from.q_mailer != NULL);
3664 SM_ASSERT(strsize < tobufsize);
4195 SM_ASSERT(0);
5087 SM_ASSERT(pbp < peekbuf +
5126 SM_ASSERT(pbp < peekbuf + sizeof(peekbuf));
5156 SM_ASSERT(pbp < peekbuf +
5199 SM_ASSERT(pbp < peekbuf +
5513 /* SM_ASSERT(fd >= 0); */
H A Dconf.c1120 SM_ASSERT(svcno < MAXMAPSTACK);
1123 SM_ASSERT(svcno < MAXMAPSTACK);
1127 SM_ASSERT(svcno < MAXMAPSTACK);
1132 SM_ASSERT(svcno < MAXMAPSTACK);
1136 SM_ASSERT(svcno < MAXMAPSTACK);
1146 SM_ASSERT(svcno < MAXMAPSTACK);
1151 SM_ASSERT(svcno < MAXMAPSTACK);
1156 SM_ASSERT(svcno < MAXMAPSTACK);
1159 SM_ASSERT(svcno < MAXMAPSTACK);
2283 SM_ASSERT(d
[all...]
H A Dcollect.c452 SM_ASSERT(pbp < peekbuf +
465 SM_ASSERT(pbp < peekbuf +
472 SM_ASSERT(pbp < peekbuf +
532 SM_ASSERT(mstate == MS_UFROM || mstate == MS_HEADER);
649 SM_ASSERT(bp > buf);
652 SM_ASSERT(*(bp - 1) != '\n' || bp > buf + 1);
724 SM_ASSERT(df == NULL);
/freebsd-11-stable/contrib/sendmail/libsm/
H A Drpool.c187 SM_ASSERT(rpool->sm_bigobjectsize <= rpool->sm_poolsize);
283 SM_ASSERT(rpool->sm_bigobjectsize <= rpool->sm_poolsize);
519 SM_ASSERT(l + 1 > l);
H A Dclock.c547 SM_ASSERT(intvl < (unsigned int) INT_MAX);
/freebsd-11-stable/contrib/sendmail/libmilter/
H A Dworker.c172 SM_ASSERT(ctx != NULL);
213 SM_ASSERT(ctx != NULL);
803 SM_ASSERT(ctx != NULL);
822 SM_ASSERT(ctx != NULL);
H A Dsmfi.c195 SM_ASSERT(len > l1);
208 SM_ASSERT(offset < len);
209 SM_ASSERT(offset + l1 <= len);
212 SM_ASSERT(offset > l1);
259 SM_ASSERT(len > l1);
270 SM_ASSERT(offset < len);
271 SM_ASSERT(offset + l1 <= len);
274 SM_ASSERT(offset > l1);
325 SM_ASSERT(ctx != NULL);
H A Dmonitor.c85 SM_ASSERT(Monitor);
86 SM_ASSERT(Mon_exec_time > 0);
154 SM_ASSERT(!Monitor);
H A Dlibmilter.h35 #ifdef SM_ASSERT
36 #undef SM_ASSERT macro
38 #ifndef SM_ASSERT
40 #define SM_ASSERT(x) assert(x) macro
H A Dengine.c488 SM_ASSERT(ctx != NULL);
489 SM_ASSERT(buf != NULL);
490 SM_ASSERT(newbuf != NULL);
504 SM_ASSERT(len + MILTER_OPTLEN > len);
518 SM_ASSERT(offset + MILTER_LEN_BYTES < len);
524 SM_ASSERT(offset + l <= len);
785 SM_ASSERT(ctx != NULL);
810 SM_ASSERT(ctx != NULL);
/freebsd-11-stable/contrib/sendmail/include/sm/
H A Dassert.h97 # define SM_ASSERT(cond) \ macro
99 "SM_ASSERT(" #cond ") failed"), 0)))
101 # define SM_ASSERT(cond) \ macro
103 "SM_ASSERT(cond) failed"), 0)))
106 # define SM_ASSERT(cond) ((void) 0) macro

Completed in 313 milliseconds

12