Home
last modified time | relevance | path

Searched refs:xalloc (Results 1 – 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/cmd/csh/
H A Dsh.misc.c55 n = p = (tchar *)xalloc((unsigned)(p - s)*sizeof (tchar)); in savestr()
60 p = (tchar *) xalloc((strlen_(s) + 1)*sizeof (tchar)); in savestr()
170 ep = (tchar *) xalloc((unsigned)(((p - cp) + in strspl()
180 ep = (tchar *)xalloc((unsigned)(len1 + len2 + 1)*sizeof (tchar)); in strspl()
442 xalloc(size_t size) in xalloc() function
460 return (xalloc(size)); in xrealloc()
466 rptr = xalloc(size); in xrealloc()
533 cp = xalloc(i); in xcalloc()
H A Dsh.err.c179 err_msg = (char *)xalloc(strlen(chbuf)+strlen(gdp)+1); in seterr2()
210 err_msg = (char *)xalloc(strlen(cp)+strlen(chbuf)+1); in seterrc()
H A Dsh.dir.c350 dp = (tchar *)xalloc((unsigned)(cwdlen + len + 2) * sizeof (tchar)); in dfollow()
657 p1 = newcp = (tchar *)xalloc((unsigned) in dcanon()
677 p1 = newcp = (tchar *)xalloc((unsigned) in dcanon()
H A Dsh.hist.c71 np = (struct Hist *) xalloc(sizeof *np); in enthist()
H A Dsh.tchar.c79 to = (tchar *)xalloc(i * sizeof (tchar)); in strtots()
112 to = (char *)xalloc(i + 1); in tstostr()
H A Dsh.lex.c122 struct wordent *new = (struct wordent *)xalloc(sizeof *wdp); in lex()
167 struct wordent *new = (struct wordent *)xalloc(sizeof *wdp); in copylex()
497 buf = xalloc((len+1) * sizeof (tchar)); in addla()
H A Dsh.set.c431 tchar **vec = (tchar **)xalloc(2 * sizeof (tchar **)); in set()
491 p->v_link[f] = c = (struct varent *)xalloc(sizeof (struct varent)); in setq()
H A Dsh.h445 extern void *xalloc(size_t);
H A Dsh.c188 c_max_var_len = (char *)xalloc(c_max_var_len_size + 1); in main()
1322 fdinuse = (int *)xalloc(nbytesused); in initdesc_x()
H A Dsh.dol.c167 wbuf = xalloc((wbufsiz+1) * sizeof (tchar)); in Dword()
H A Dsh.file.c572 items[numitems] = (tchar *)xalloc((unsigned)(strlen_(entry) + 1) * sizeof (tchar)); in search2()
H A Dsh.glob.c582 p = gargv[gargc - 1] = (tchar *) xalloc((unsigned)n*sizeof (tchar)); in Gcat()
/illumos-gate/usr/src/lib/libmp/common/
H A Dlibmp.h75 extern short *xalloc(int, char *);
H A Dold_mp.c62 short *xalloc(int nint, char *s) { return (_mp_xalloc(nint, s)); } in xalloc() function
H A Dmapfile_1-vers63 xalloc;
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmain.c478 sysloglabel = xalloc(j);
590 SaveArgv = (char **) xalloc(sizeof(char *) * (argc + 1));
591 CommandLineArgs = xalloc(j);
666 tz = xalloc(tzlen);
1029 new = (QUEUE_CHAR *) xalloc(sizeof(*new));
1037 new = (QUEUE_CHAR *) xalloc(sizeof(*new));
1045 new = (QUEUE_CHAR *) xalloc(sizeof(*new));
1059 new = (QUEUE_CHAR *) xalloc(sizeof(*new));
2651 p_flags = (BITMAP256 *) xalloc(sizeof(*p_flags));
3430 *argv = xalloc(sizeof(__DEFPATH) + 2);
[all …]
H A Dmilter.c475 buf = (char *) xalloc(expl);
1237 m = (struct milter *) xalloc(sizeof(*m));
1939 buf = (char *) xalloc(s);
2747 buf = (char *) xalloc(len_t);
3974 buf = (char *) xalloc(s);
4157 buf = (char *) xalloc(s);
4238 buf = (char *) xalloc(s);
H A Dsrvrsmtp.c1320 in = xalloc(strlen(inp) + 1);
1324 out = xalloc(strlen(inp));
1454 out2 = xalloc(len);
1697 in = xalloc(1);
1705 in = xalloc(strlen(q) + 1);
1779 out2 = xalloc(len);
4307 auth_param = xalloc(len);
H A Dmap.c1027 map_p = (struct dns_map *) xalloc(sizeof(*map_p));
1355 new = xalloc(sz);
3911 lmap = (SM_LDAP_STRUCT *) xalloc(sizeof(*lmap));
4685 LDAPDefaults = (SM_LDAP_STRUCT *) xalloc(sizeof(*LDAPDefaults));
4780 pmap = (PH_MAP_STRUCT *) xalloc(sizeof(*pmap));
5467 np = xalloc(strlen(name) + 2);
6785 # define xnalloc(s) memset(xalloc(s), '\0', s);
6952 int *fields = (int *) xalloc(sizeof(int) * (MAX_MATCH + 1));
7189 ns_map = (ns_map_list_t *) xalloc(sizeof(*ns_map));
7191 ns_map->map = (ns_map_t *) xalloc(sizeof(*ns_map->map));
H A Dusersmtp.c641 mci->mci_sasl_string = xalloc(len + 1);
645 mci->mci_sasl_string = xalloc(len + 1);
674 mci->mci_sasl_string = xalloc(len + 1);
678 mci->mci_sasl_string = xalloc(len + 1);
H A Dreadcf.c201 (struct rewrite *) xalloc(sizeof(*rwp));
205 rwp->r_next = (struct rewrite *) xalloc(sizeof(*rwp));
1210 m = (struct mailer *) xalloc(sizeof(*m));
1810 avp = (char **) xalloc(sizeof(*avp) * i);
H A Dqueue.c3096 w = (WORK *) xalloc(sizeof(*w));
3164 WorkList = (WORK *) xalloc((sizeof(*WorkList)) *
3460 rev = xalloc(len + 1);
6220 qg->qg_qpaths = (QPATHS *)xalloc((sizeof(*qg->qg_qpaths)) *
6281 qg->qg_qpaths = (QPATHS *) xalloc(sizeof(*qg->qg_qpaths));
7300 qg = (QUEUEGRP *) xalloc(sizeof(*qg));
7642 WorkGrp[0].wg_qgs = (QUEUEGRP **) xalloc(sizeof(QUEUEGRP *)); in makeworkgroups()
H A Dutil.c41 n = xalloc(l + 1);
455 xalloc(sz)
H A Dcollect.c549 buf = xalloc(buflen);
H A Dsendmail.h2673 # define xalloc(size) xalloc_tagged(size, __FILE__, __LINE__) macro
2676 extern char *xalloc __P((int));

12