Home
last modified time | relevance | path

Searched refs:emalloc (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/cpc/common/
H A Dstrtoset.c70 static void *emalloc(size_t n);
274 tmp = (tmp_attr_t *)emalloc(sizeof (tmp_attr_t)); in doattr()
369 attrs[i] = emalloc(sizeof (tmp_attr_t)); in cpc_strtoset()
417 toks = (char **)emalloc(ntoks * sizeof (char *)); in cpc_strtoset()
420 tok_funcs = (int (**)(int, char *))emalloc(ntoks * in cpc_strtoset()
430 toks[x] = (char *)emalloc(TOK_SIZE); in cpc_strtoset()
439 toks[x] = (char *)emalloc(TOK_SIZE); in cpc_strtoset()
448 toks[x] = (char *)emalloc(TOK_SIZE); in cpc_strtoset()
458 toks[x] = (char *)emalloc(toklen); in cpc_strtoset()
471 toks[x] = (char *)emalloc(toklen); in cpc_strtoset()
[all …]
H A Dsetgrp.c63 static void *emalloc(size_t n);
70 sgrp = emalloc(sizeof (*sgrp)); in cpc_setgrp_new()
150 sgrp->sets[sgrp->nelem].picnums = emalloc(sgrp->sets[sgrp->nelem].nreqs in cpc_setgrp_newset()
153 sgrp->sets[sgrp->nelem].hdr = emalloc((sgrp->sets[sgrp->nelem].nreqs * in cpc_setgrp_newset()
218 new = emalloc(sizeof (*new)); in cpc_setgrp_clone()
219 newa = emalloc(old->nelem * sizeof (*newa)); in cpc_setgrp_clone()
383 emalloc(size_t n) in emalloc() function
H A Dcaps.c85 emalloc(size_t size) in emalloc() function
126 lists = emalloc(npics * sizeof (struct evlist *)); in allpics_equal()
129 lists[i] = emalloc(sizeof (struct evlist)); in allpics_equal()
131 lists[i]->list = emalloc(1); in allpics_equal()
/illumos-gate/usr/src/cmd/grpck/
H A Dgrpck.c83 emalloc(size_t size) in emalloc() function
134 t = (struct node *)emalloc(sizeof (*t) + strlen(pwp->pw_name)); in main()
143 emalloc(sizeof (struct group)); in main()
316 emalloc(sizeof (*t) + strlen(nptr)); in main()
325 emalloc(sizeof (struct group)); in main()
354 gp = (struct group *)emalloc(sizeof (struct group)); in main()
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk3.c131 np->n_string = (STRING) emalloc(length); in strassign()
170 np->n_string = emalloc(len); in nassign()
201 np->n_string = emalloc(len); in nassign()
332 np->n_string = emalloc(length = (length+1) * sizeof (wchar_t)); in stringnode()
359 new = (STRING)emalloc(len = (wcslen(old)+1) * sizeof (wchar_t)); in strsave()
376 np = (NODE *)emalloc(sizeof (NODE) + in emptynode()
985 cp = emalloc((llen+len+1) * sizeof (wchar_t)); in exprconcat()
1556 fieldbuf = emalloc(NLINE * sizeof (wchar_t)); in fieldsplit()
1613 fieldbuf = emalloc(NLINE * sizeof (wchar_t)); in lfield()
2138 ocp = emalloc(i * sizeof (wchar_t)); in makeindex()
[all …]
H A Dawk1.c91 linebuf = emalloc(NLINE * sizeof (wchar_t)); in main()
247 ofiles = (OFILE *)emalloc(sizeof (OFILE)*NIOSTREAM); in awkvarinit()
1067 p = (char *)emalloc(m); in renode()
1238 emalloc(unsigned n) in emalloc() function
H A Dawk2.c563 cp = emalloc(NLINE * sizeof (wchar_t)); in f_getline()
715 bptr = *cp = emalloc(sizeof (wchar_t) * (cplen + wcslen(fmt))); in xprintf()
H A Dawk.h281 wchar_t *emalloc(unsigned);
H A Dawk4.c630 alist = (NODE **) emalloc(nel*sizeof(NODE *)); in f_asort()
/illumos-gate/usr/src/cmd/zic/
H A Dzic.c367 #define emalloc(size) memcheck(imalloc(size)) macro
2079 emalloc((int)((strlen(cp) + 1) * sizeof (*array)));