Home
last modified time | relevance | path

Searched refs:SM_ASSERT (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dutil.c99 SM_ASSERT(l >= 2);
185 SM_ASSERT(bufused <= olen);
201 SM_ASSERT(bufused < olen);
204 SM_ASSERT(bufused < olen);
H A Drpool.c189 SM_ASSERT(rpool->sm_bigobjectsize <= rpool->sm_poolsize);
285 SM_ASSERT(rpool->sm_bigobjectsize <= rpool->sm_poolsize);
521 SM_ASSERT(l + 1 > l);
H A Dclock.c549 SM_ASSERT(intvl < (unsigned int) INT_MAX);
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dassert.h99 # define SM_ASSERT(cond) \ macro
103 # define SM_ASSERT(cond) \ macro
108 # define SM_ASSERT(cond) ((void) 0) macro
H A Dexc.h158 # define SM_FINALLY SM_ASSERT(SmExcHandler == &_h); \
166 SM_ASSERT(SmExcHandler == &_h); \
177 SM_ASSERT(SmExcHandler == &_h); \
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dmonitor.c87 SM_ASSERT(Monitor);
88 SM_ASSERT(Mon_exec_time > 0);
156 SM_ASSERT(!Monitor); in mi_monitor_init()
H A Dsmfi.c197 SM_ASSERT(len > l1);
210 SM_ASSERT(offset < len);
211 SM_ASSERT(offset + l1 <= len);
214 SM_ASSERT(offset > l1);
261 SM_ASSERT(len > l1);
273 SM_ASSERT(offset < len);
274 SM_ASSERT(offset + l1 <= len);
277 SM_ASSERT(offset > l1);
328 SM_ASSERT(ctx != NULL);
H A Dlibmilter.h35 #ifdef SM_ASSERT
36 #undef SM_ASSERT
38 #ifndef SM_ASSERT
40 #define SM_ASSERT(x) assert(x) macro
H A Dworker.c168 SM_ASSERT(Tskmgr.tm_signature == TM_SIGNATURE);
169 SM_ASSERT(ctx != NULL);
210 SM_ASSERT(ctx != NULL);
749 SM_ASSERT(ctx != NULL);
768 SM_ASSERT(ctx != NULL);
H A Dengine.c484 SM_ASSERT(ctx != NULL);
485 SM_ASSERT(buf != NULL);
486 SM_ASSERT(newbuf != NULL);
500 SM_ASSERT(len + MILTER_OPTLEN > len);
514 SM_ASSERT(offset + MILTER_LEN_BYTES < len);
520 SM_ASSERT(offset + l <= len);
777 SM_ASSERT(ctx != NULL);
802 SM_ASSERT(ctx != NULL);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dcollect.c443 SM_ASSERT(pbp < peekbuf +
456 SM_ASSERT(pbp < peekbuf +
463 SM_ASSERT(pbp < peekbuf +
524 SM_ASSERT(mstate == MS_UFROM || mstate == MS_HEADER);
641 SM_ASSERT(bp > buf);
644 SM_ASSERT(*(bp - 1) != '\n' || bp > buf + 1);
718 SM_ASSERT(df == NULL);
H A Dheaders.c142 SM_ASSERT(p <= q);
560 SM_ASSERT(l + 2 > l);
678 SM_ASSERT(last != NULL);
2045 SM_ASSERT(sizeof(obuf) > opos * 2);
2059 SM_ASSERT(obp < &obuf[MAXLINE]);
H A Drecipient.c224 SM_ASSERT(p < endp);
229 SM_ASSERT(p < endp);
233 SM_ASSERT(p < endp);
786 SM_ASSERT(pq != NULL);
H A Ddomain.c341 SM_ASSERT(buflen > 0);
976 SM_ASSERT(ret >= 0);
H A Dmilter.c2314 SM_ASSERT(m != NULL);
2315 SM_ASSERT(buf != NULL);
2755 SM_ASSERT(len_n < len_f);
2758 SM_ASSERT(len_t >= len_n + 1 + len_v + 1);
2938 SM_ASSERT(str != NULL);
2940 SM_ASSERT(l + 2 > l);
3369 SM_ASSERT(response != NULL);
3370 SM_ASSERT(pargc != NULL);
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 Dtls.c587 SM_ASSERT(ctx != NULL);
1281 SM_ASSERT((n * 3) + 2 < sizeof(md5h));
H A Dqueue.c2636 SM_ASSERT(wn >= 0);
6110 SM_ASSERT(cp != NULL);
6115 SM_ASSERT(len >= blen - 1);
6156 SM_ASSERT(off < sizeof(relpath));
7053 SM_ASSERT(len > 0);
7082 SM_ASSERT(basedir[len - 1] == '/');
7172 SM_ASSERT(!owner);
8339 SM_ASSERT(j < l);
8438 SM_ASSERT(j < l);
H A Ddeliver.c1388 SM_ASSERT(e->e_from.q_mailer != NULL);
3473 SM_ASSERT(strsize < tobufsize);
3990 SM_ASSERT(0);
4826 SM_ASSERT(pbp < peekbuf +
4865 SM_ASSERT(pbp < peekbuf + sizeof(peekbuf));
4895 SM_ASSERT(pbp < peekbuf +
4938 SM_ASSERT(pbp < peekbuf +
H A Dsfsasl.c948 SM_ASSERT(con != NULL);
H A Dconf.c2210 SM_ASSERT(dn >= 0);
2211 SM_ASSERT(dn < MAXDAEMONS);
5357 SM_ASSERT(n > 0);
H A Dparseaddr.c1491 SM_ASSERT(0);
1515 SM_ASSERT(0);
H A Dmap.c7908 SM_ASSERT(nettolen > strlen(map->map_mname));
7909 SM_ASSERT(nettolen > strlen(key));
H A Dsrvrsmtp.c975 SM_ASSERT(q != NULL || OpMode == MD_SMTP);