Searched refs:sm_malloc (Results 1 - 22 of 22) sorted by relevance

/freebsd-13-stable/contrib/sendmail/include/sm/
H A Dheap.h32 # define sm_malloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, SmHeapGroup) macro
44 # define sm_malloc_tagged(size, file, line, grp) sm_malloc(size)
51 extern void *sm_malloc __P((size_t));
/freebsd-13-stable/contrib/sendmail/libsm/
H A Dt-heap.c37 p = sm_malloc(10);
H A Dsetvbuf.c115 if ((buf = sm_malloc(size)) == NULL)
126 buf = sm_malloc(size);
H A Dvasprintf.c70 fake.f_bf.smb_base = fake.f_p = (unsigned char *)sm_malloc(SM_VA_BUFSIZE);
H A Dconfig.c83 newenv = (char **) sm_malloc(sizeof(char *) * (envlen + 2));
H A Dmakebuf.c55 if ((p = sm_malloc(size)) == NULL)
H A Dniprop.c185 propval = p = sm_malloc(alen);
H A Dsem.c58 semvals = (unsigned short *) sm_malloc(nsem * sizeof semvals);
H A Dheap.c29 #undef sm_malloc macro
44 "@(#)$Debug: sm_check_heap - check sm_malloc, sm_realloc, sm_free calls $");
120 sm_malloc(size) function
H A Dstrio.c228 s = sm_malloc(sizeof(SM_STR_OBJ_T));
H A Drpool.c90 p = sm_malloc(sizeof(SM_POOLHDR_T) + size);
103 ** can be NULL, use sm_malloc() then.
202 ** can be NULL, use sm_malloc() then.
H A Dmbdb.c451 new = sm_malloc(len);
H A Dvfprintf.c1022 sm_malloc(sizeof(va_list) * (tablemax + 1));
/freebsd-13-stable/contrib/sendmail/src/
H A Dsasl.c61 return sm_malloc((size_t) size);
87 p = sm_malloc(size);
H A Dbf.c132 bfp = (struct bf *) sm_malloc(sizeof(struct bf));
143 bfp->bf_buf = (char *) sm_malloc(bsize);
162 bfp->bf_filename = (char *) sm_malloc(l);
844 bfp->bf_buf = (char *) sm_malloc(bsize);
H A Dsm_resolve.c209 *tlsa = (char *) sm_malloc(txtlen);
274 dr = (DNS_REPLY_T *) sm_malloc(sizeof(*dr));
327 *rr = (RESOURCE_RECORD_T *) sm_malloc(sizeof(**rr));
363 sm_malloc(sizeof(*((*rr)->rr_u.rr_mx)) + l);
381 sm_malloc(sizeof(*((*rr)->rr_u.rr_srv)) + l);
412 (*rr)->rr_u.rr_txt = (char *) sm_malloc(txtlen + 1);
437 (*rr)->rr_u.rr_data = (unsigned char*) sm_malloc(size);
835 tlsa = sm_malloc(txtlen + 1);
1348 reply = (unsigned char *)sm_malloc(IP_MAXPACKET);
H A Dtlsh.c141 end = buf = sm_malloc(len);
H A Dsfsasl.c111 so = (struct sasl_obj *) sm_malloc(sizeof(struct sasl_obj));
503 so = (struct tls_obj *) sm_malloc(sizeof(struct tls_obj));
H A Ddomain.c314 dane_tlsa = (dane_tlsa_P) sm_malloc(sizeof(*dane_tlsa));
1164 buf = (char *) sm_malloc(len);
H A Dqueue.c7919 WorkGrp[j].wg_qgs = (QUEUEGRP **)sm_malloc(sizeof(QUEUEGRP *) *
8480 lsplits = sm_malloc(l);
8605 lsplits = sm_malloc(l);
H A Dmap.c1267 appdomain = (char *) sm_malloc(len);
8598 replybuf = (char *) sm_malloc(replylen + 1);
H A Dsrvrsmtp.c3514 new = (QUEUE_CHAR *) sm_malloc(sizeof(QUEUE_CHAR));

Completed in 181 milliseconds